]>
Commit | Line | Data |
---|---|---|
b2143ff4 | 1 | $fa-font-path: '~fork-awesome/fonts'; |
a33c5653 | 2 | |
b2143ff4 | 3 | @import '~fork-awesome/scss/fork-awesome'; |
a33c5653 A |
4 | @import '~purecss/build/pure.css'; |
5 | @import '~purecss/build/grids-responsive.css'; | |
6 | @import '~pure-extras/css/pure-extras.css'; | |
7 | @import '~awesomplete/awesomplete.css'; | |
8 | ||
c69585f3 A |
9 | $white: #fff; |
10 | $black: #000; | |
11 | $almost-white: #f5f5f5; | |
12 | $dark-grey: #252525; | |
13 | $light-grey: #797979; | |
14 | $main-green: #1b926c; | |
15 | $light-green: #b0ddce; | |
8fc0a984 | 16 | $dark-green: #186446; |
c69585f3 A |
17 | $red: #ac2925; |
18 | $orange: #f89406; | |
19 | $blue: #0b5ea6; | |
20 | $background-color: #d0d0d0; | |
21 | $background-linklist-info: #ddd; | |
22 | $light-shadow: rgba(255, 255, 255, .078); | |
23 | $dark-shadow: rgba(0, 0, 0, .298); | |
24 | $warning-text: #97600d; | |
25 | $form-input-border: #d8d8d8; | |
26 | $form-input-background: #eee; | |
27 | ||
a5a0c039 A |
28 | :root { |
29 | --main-color: #{$main-green}; | |
30 | --background-color: #{$background-color}; | |
31 | --dark-main-color: #{$dark-green}; | |
32 | } | |
33 | ||
c69585f3 | 34 | // General |
402b0346 | 35 | body { |
a5a0c039 | 36 | background: var(--background-color); |
402b0346 A |
37 | } |
38 | ||
39 | .strong { | |
c69585f3 | 40 | font-weight: bold; |
402b0346 A |
41 | } |
42 | ||
43 | .clear { | |
c69585f3 | 44 | clear: both; |
402b0346 A |
45 | } |
46 | ||
47 | .center { | |
c69585f3 A |
48 | margin: auto; |
49 | text-align: center; | |
402b0346 A |
50 | } |
51 | ||
52 | .label { | |
c69585f3 A |
53 | display: inline-block; |
54 | border-radius: .25rem; | |
55 | padding: .25em .4em; | |
56 | vertical-align: baseline; | |
57 | text-align: center; | |
58 | line-height: 1; | |
59 | white-space: nowrap; | |
60 | font-size: 75%; | |
61 | font-weight: 700; | |
402b0346 A |
62 | } |
63 | ||
64 | pre { | |
c69585f3 | 65 | max-width: 100%; |
402b0346 A |
66 | } |
67 | ||
68 | @font-face { | |
c69585f3 A |
69 | font-family: 'Roboto'; |
70 | font-weight: 400; | |
71 | font-style: normal; | |
96746d71 A |
72 | src: |
73 | local('Roboto'), | |
74 | local('Roboto-Regular'), | |
75 | url('../fonts/Roboto-Regular.woff2') format('woff2'), | |
76 | url('../fonts/Roboto-Regular.woff') format('woff'); | |
ad5c7570 A |
77 | } |
78 | ||
79 | @font-face { | |
c69585f3 A |
80 | font-family: 'Roboto'; |
81 | font-weight: 700; | |
82 | font-style: normal; | |
96746d71 A |
83 | src: |
84 | local('Roboto'), | |
85 | local('Roboto-Bold'), | |
86 | url('../fonts/Roboto-Bold.woff2') format('woff2'), | |
87 | url('../fonts/Roboto-Bold.woff') format('woff'); | |
c69585f3 A |
88 | } |
89 | ||
90 | body, | |
91 | .pure-g [class*='pure-u'] { | |
92 | font-family: Roboto, Arial, sans-serif; | |
93 | } | |
94 | ||
95 | // Extends Pure grids responsive to hide items. | |
96 | // Use xx-0 to hide an item on xx screen. | |
97 | // Display it at any level with xx-visible. | |
98 | .pure-u-0 { | |
99 | display: none !important; | |
100 | } | |
101 | ||
402b0346 | 102 | @media screen and (min-width: 35.5em) { |
c69585f3 A |
103 | .pure-u-sm-0 { |
104 | display: none !important; | |
105 | } | |
106 | ||
107 | .pure-u-sm-visible { | |
108 | display: inline-block !important; | |
109 | } | |
402b0346 | 110 | } |
c69585f3 | 111 | |
402b0346 | 112 | @media screen and (min-width: 48em) { |
c69585f3 A |
113 | .pure-u-md-0 { |
114 | display: none !important; | |
115 | } | |
116 | ||
117 | .pure-u-md-visible { | |
118 | display: inline-block !important; | |
119 | } | |
402b0346 | 120 | } |
c69585f3 | 121 | |
402b0346 | 122 | @media screen and (min-width: 64em) { |
c69585f3 A |
123 | .pure-u-lg-0 { |
124 | display: none !important; | |
125 | } | |
126 | ||
127 | .pure-u-lg-visible { | |
128 | display: inline-block !important; | |
129 | } | |
402b0346 | 130 | } |
c69585f3 | 131 | |
402b0346 | 132 | @media screen and (min-width: 80em) { |
c69585f3 A |
133 | .pure-u-xl-0 { |
134 | display: none !important; | |
135 | } | |
136 | ||
137 | .pure-u-xl-visible { | |
138 | display: inline-block !important; | |
139 | } | |
402b0346 A |
140 | } |
141 | ||
c69585f3 A |
142 | // Make pure-extras alert closable. |
143 | .pure-alert-closable { | |
144 | .fa-times { | |
402b0346 | 145 | float: right; |
c69585f3 | 146 | } |
402b0346 | 147 | } |
c69585f3 | 148 | |
402b0346 | 149 | .pure-alert-close { |
c69585f3 | 150 | cursor: pointer; |
402b0346 A |
151 | } |
152 | ||
153 | .pure-alert-success { | |
a5a0c039 | 154 | background-color: var(--main-color); |
402b0346 A |
155 | } |
156 | ||
28f26524 A |
157 | .pure-alert-warning { |
158 | a { | |
159 | color: $warning-text; | |
160 | font-weight: bold; | |
161 | } | |
162 | } | |
163 | ||
e85b7a05 A |
164 | .page-single-alert { |
165 | margin-top: 100px; | |
166 | } | |
167 | ||
c69585f3 A |
168 | .anchor { |
169 | &:target { | |
402b0346 | 170 | padding-top: 40px; |
c69585f3 | 171 | } |
402b0346 | 172 | } |
c69585f3 A |
173 | |
174 | // MENU | |
402b0346 | 175 | .shaarli-menu { |
c69585f3 A |
176 | position: fixed; |
177 | top: 0; | |
178 | transition: max-height .5s; | |
179 | z-index: 999; | |
a5a0c039 | 180 | background: var(--main-color); |
c69585f3 A |
181 | width: 100%; |
182 | // Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 | |
183 | max-height: 45px; | |
184 | overflow: hidden; | |
185 | -webkit-font-smoothing: antialiased; | |
186 | ||
187 | &.open { | |
188 | transition: max-height .75s; | |
189 | max-height: 500px; | |
190 | } | |
402b0346 A |
191 | } |
192 | ||
402b0346 | 193 | .pure-menu-item { |
c69585f3 A |
194 | // Chrome bugfix: with 100% height, it only displays the first element. |
195 | height: 45px; | |
196 | ||
197 | &:hover { | |
198 | &::after { | |
199 | display: block; | |
200 | margin: -4px auto 0; | |
201 | background: $white; | |
202 | width: 100%; | |
203 | height: 4px; | |
204 | content: ''; | |
205 | } | |
206 | } | |
402b0346 A |
207 | } |
208 | ||
209 | .head-logo { | |
c69585f3 A |
210 | float: left; |
211 | margin: 0 5px 0 0; | |
402b0346 A |
212 | } |
213 | ||
c69585f3 A |
214 | %menu-link { |
215 | padding: .8em 1em; | |
216 | color: $almost-white; | |
402b0346 A |
217 | } |
218 | ||
c69585f3 A |
219 | %menu-link-hover { |
220 | background: transparent; | |
221 | color: $white; | |
402b0346 A |
222 | } |
223 | ||
c69585f3 A |
224 | .pure-menu-link { |
225 | @extend %menu-link; | |
226 | ||
227 | &:visited { | |
228 | @extend %menu-link; | |
229 | } | |
230 | ||
231 | &:hover, | |
232 | &:focus { | |
233 | @extend %menu-link-hover; | |
234 | } | |
402b0346 A |
235 | } |
236 | ||
c69585f3 A |
237 | .pure-menu-selected { |
238 | .pure-menu-link { | |
239 | @extend %menu-link; | |
240 | ||
241 | &:visited { | |
242 | @extend %menu-link; | |
243 | } | |
244 | ||
245 | &:hover, | |
246 | &:focus { | |
247 | @extend %menu-link-hover; | |
248 | } | |
249 | } | |
402b0346 A |
250 | } |
251 | ||
c69585f3 A |
252 | .menu-toggle { |
253 | display: none; | |
254 | position: absolute; | |
255 | top: 5px; | |
256 | right: 0; | |
257 | width: 34px; | |
258 | height: 45px; | |
259 | ||
260 | .bar { | |
402b0346 | 261 | display: block; |
402b0346 A |
262 | position: absolute; |
263 | top: 18px; | |
264 | right: 7px; | |
c69585f3 A |
265 | border-radius: 100px; |
266 | background-color: $light-green; | |
267 | width: 20px; | |
268 | height: 2px; | |
269 | transition-duration: .5s; | |
402b0346 | 270 | |
c69585f3 A |
271 | &:first-child { |
272 | transform: translateY(-6px); | |
273 | } | |
274 | } | |
402b0346 | 275 | |
c69585f3 A |
276 | &.x { |
277 | .bar { | |
278 | transform: rotate(45deg); | |
402b0346 | 279 | |
c69585f3 A |
280 | &:first-child { |
281 | transform: rotate(-45deg); | |
282 | } | |
283 | } | |
284 | } | |
402b0346 A |
285 | } |
286 | ||
287 | @media screen and (max-width: 64em) { | |
c69585f3 A |
288 | .menu-toggle { |
289 | display: block; | |
290 | } | |
402b0346 A |
291 | } |
292 | ||
293 | .header-buttons { | |
c69585f3 | 294 | text-align: right; |
402b0346 A |
295 | } |
296 | ||
297 | .linkcount { | |
c69585f3 A |
298 | color: $dark-grey; |
299 | font-size: .8em; | |
402b0346 A |
300 | } |
301 | ||
302 | @media screen and (min-width: 64em) { | |
c69585f3 A |
303 | .linkcount { |
304 | position: absolute; | |
305 | right: 5px; | |
306 | } | |
307 | } | |
308 | ||
309 | .searchform-block { | |
310 | width: 100%; | |
311 | text-align: center; | |
312 | ||
313 | input { | |
314 | &[type='text'] { | |
315 | border: medium none currentColor; | |
316 | border-radius: 2px; | |
317 | box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset; | |
318 | background: $almost-white; | |
319 | padding: 0 5px; | |
320 | width: 260px; | |
321 | height: 30px; | |
322 | color: $dark-grey; | |
323 | ||
324 | &::-webkit-input-placeholder { | |
325 | color: $light-grey; | |
326 | } | |
402b0346 | 327 | } |
c69585f3 | 328 | } |
402b0346 | 329 | |
c69585f3 A |
330 | button { |
331 | border: 0; | |
402b0346 | 332 | border-radius: 2px; |
a5a0c039 | 333 | background-color: var(--main-color); |
c69585f3 A |
334 | padding: 4px 8px 6px; |
335 | color: $almost-white; | |
336 | } | |
402b0346 A |
337 | } |
338 | ||
c69585f3 A |
339 | @media screen and (max-width: 64em) { |
340 | .searchform { | |
341 | margin: 0 auto; | |
342 | max-width: 260px; | |
343 | } | |
402b0346 A |
344 | } |
345 | ||
c69585f3 A |
346 | .search-tagcloud { |
347 | button { | |
f210d94f | 348 | width: 90%; |
c69585f3 | 349 | } |
402b0346 A |
350 | } |
351 | ||
f210d94f | 352 | @media screen and (max-width: 64em) { |
c69585f3 A |
353 | .search-linklist { |
354 | button { | |
355 | width: 100%; | |
f210d94f | 356 | } |
402b0346 | 357 | |
c69585f3 A |
358 | .awesomplete { |
359 | margin: 5px 0; | |
402b0346 | 360 | } |
c69585f3 | 361 | } |
402b0346 A |
362 | } |
363 | ||
c69585f3 A |
364 | .header-search, |
365 | .search-linklist, | |
366 | .search-tagcloud { | |
367 | button { | |
368 | &:hover { | |
a5a0c039 | 369 | color: var(--background-color); |
c69585f3 A |
370 | } |
371 | } | |
29a837f3 A |
372 | } |
373 | ||
c69585f3 A |
374 | .header-search, |
375 | .search-linklist { | |
376 | padding: 6px 0; | |
29a837f3 A |
377 | } |
378 | ||
c69585f3 | 379 | @media screen and (max-width: 64em) { |
96746d71 | 380 | .header-search, |
c69585f3 A |
381 | .header-search * { |
382 | visibility: hidden; | |
383 | } | |
402b0346 A |
384 | } |
385 | ||
c69585f3 A |
386 | %subheader-form-input { |
387 | border: medium none currentColor; | |
388 | border-radius: 2px; | |
389 | box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset; | |
390 | background: $almost-white; | |
391 | padding: 5px 5px 3px 15px; | |
c69585f3 | 392 | color: $dark-grey; |
70401690 A |
393 | } |
394 | ||
402b0346 | 395 | .subheader-form { |
c69585f3 A |
396 | display: block; |
397 | position: fixed; | |
398 | visibility: hidden; | |
399 | z-index: 999; | |
a5a0c039 | 400 | background: var(--main-color); |
c69585f3 A |
401 | padding: 5px 0; |
402 | width: 100%; | |
403 | height: 30px; | |
404 | text-align: center; | |
405 | ||
406 | input { | |
407 | &[type='text'], | |
408 | &[type='password'] { | |
409 | @extend %subheader-form-input; | |
410 | ||
411 | &::-webkit-input-placeholder { | |
412 | color: $dark-grey; | |
413 | } | |
402b0346 | 414 | } |
c69585f3 | 415 | } |
402b0346 | 416 | |
c69585f3 A |
417 | &[type='submit'] { |
418 | display: inline-block; | |
419 | margin: 0 0 5px; | |
420 | border: 1px solid $almost-white; | |
402b0346 | 421 | border-radius: 2px; |
a5a0c039 | 422 | background: var(--main-color); |
c69585f3 A |
423 | padding: 4px 0; |
424 | width: 100px; | |
425 | height: 28px; | |
426 | color: $almost-white; | |
402b0346 | 427 | |
c69585f3 A |
428 | &:hover { |
429 | background: $almost-white; | |
a5a0c039 | 430 | color: var(--main-color); |
c69585f3 A |
431 | } |
432 | } | |
433 | ||
434 | .remember-me { | |
435 | @extend %subheader-form-input; | |
402b0346 | 436 | |
402b0346 | 437 | display: inline-block; |
402b0346 | 438 | cursor: pointer; |
c69585f3 A |
439 | padding: 5px 20px 3px; |
440 | width: auto; | |
402b0346 | 441 | |
c69585f3 A |
442 | label, |
443 | input { | |
444 | cursor: pointer; | |
445 | } | |
446 | } | |
447 | ||
448 | a { | |
449 | &.button { | |
450 | border: 2px solid $almost-white; | |
451 | border-radius: 5px; | |
452 | padding: 3px 10px; | |
453 | text-decoration: none; | |
454 | color: $almost-white; | |
455 | font-weight: bold; | |
456 | } | |
457 | } | |
402b0346 A |
458 | } |
459 | ||
c69585f3 A |
460 | .header-login-form { |
461 | input { | |
462 | &[type='text'], | |
463 | &[type='password'] { | |
464 | width: 200px; | |
465 | ||
466 | // because chrome | |
467 | &::-webkit-input-placeholder { | |
468 | color: $light-grey; | |
469 | } | |
470 | } | |
471 | } | |
402b0346 A |
472 | } |
473 | ||
c69585f3 A |
474 | @media screen and (min-width: 64em) { |
475 | .subheader-form { | |
476 | &.open { | |
477 | visibility: visible; | |
478 | ||
479 | * { | |
480 | visibility: visible; | |
481 | } | |
482 | } | |
483 | } | |
402b0346 A |
484 | } |
485 | ||
486 | .new-version-message { | |
c69585f3 | 487 | text-align: center; |
402b0346 | 488 | |
c69585f3 A |
489 | a { |
490 | color: $warning-text; | |
402b0346 | 491 | font-weight: bold; |
c69585f3 | 492 | } |
402b0346 A |
493 | } |
494 | ||
8eac2e54 A |
495 | .header-alert-message { |
496 | text-align: center; | |
497 | } | |
498 | ||
c69585f3 A |
499 | // CONTENT - GENERAL |
500 | .container { | |
501 | position: relative; | |
502 | z-index: 2; | |
503 | margin-top: 45px; | |
402b0346 A |
504 | } |
505 | ||
c69585f3 | 506 | // Plugins additional forms |
402b0346 | 507 | .toolbar-plugin { |
c69585f3 A |
508 | margin: 5px 0; |
509 | text-align: center; | |
510 | ||
511 | input { | |
512 | &[type='text'] { | |
513 | border: medium none currentColor; | |
514 | border-radius: 2px; | |
515 | box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset; | |
516 | background: $almost-white; | |
517 | padding: 0 5px; | |
518 | width: 300px; | |
519 | height: 30px; | |
520 | color: $dark-grey; | |
521 | ||
522 | &::-webkit-input-placeholder { | |
523 | color: $light-grey; | |
524 | } | |
525 | } | |
402b0346 | 526 | |
c69585f3 A |
527 | &[type='submit'] { |
528 | border: medium none currentColor; | |
529 | border-radius: 2px; | |
530 | background: $almost-white; | |
531 | padding: 0 10px; | |
532 | height: 30px; | |
533 | color: $dark-grey; | |
534 | ||
535 | &:hover { | |
536 | background: $white; | |
537 | } | |
538 | } | |
539 | } | |
70401690 A |
540 | } |
541 | ||
402b0346 | 542 | @media screen and (max-width: 64em) { |
c69585f3 A |
543 | .toolbar-plugin { |
544 | input { | |
545 | &[type='text'] { | |
402b0346 | 546 | width: 70%; |
c69585f3 | 547 | } |
402b0346 | 548 | } |
c69585f3 | 549 | } |
402b0346 A |
550 | } |
551 | ||
c69585f3 A |
552 | // CONTENT - LINKLIST PAGING |
553 | // 64em -> lg | |
402b0346 | 554 | .linklist-filters { |
c69585f3 A |
555 | margin: 5px 0; |
556 | color: $dark-grey; | |
557 | font-size: .9em; | |
402b0346 | 558 | |
c69585f3 | 559 | a { |
54ee2408 A |
560 | display: inline-block; |
561 | margin: 3px 0; | |
402b0346 A |
562 | padding: 5px 8px; |
563 | text-decoration: none; | |
c69585f3 | 564 | } |
402b0346 | 565 | |
c69585f3 A |
566 | .filter-off { |
567 | background: $almost-white; | |
568 | color: $dark-grey; | |
569 | } | |
402b0346 | 570 | |
c69585f3 | 571 | .filter-on { |
a5a0c039 | 572 | background: var(--main-color); |
c69585f3 A |
573 | color: $light-green; |
574 | } | |
402b0346 | 575 | |
c69585f3 A |
576 | .filter-block { |
577 | background: $red; | |
578 | color: $almost-white; | |
579 | } | |
9d4736a3 A |
580 | } |
581 | ||
402b0346 | 582 | .linklist-pages { |
c69585f3 A |
583 | margin: 5px 0; |
584 | text-align: center; | |
585 | color: $dark-grey; | |
402b0346 | 586 | |
c69585f3 | 587 | a { |
402b0346 | 588 | text-decoration: none; |
c69585f3 A |
589 | color: $dark-grey; |
590 | ||
591 | &:hover { | |
592 | color: $white; | |
593 | } | |
594 | } | |
402b0346 A |
595 | } |
596 | ||
c69585f3 A |
597 | %linksperpage-button { |
598 | display: inline-block; | |
599 | width: 20px; | |
600 | text-align: center; | |
402b0346 A |
601 | } |
602 | ||
603 | .linksperpage { | |
c69585f3 A |
604 | margin: 5px 0; |
605 | text-align: right; | |
606 | color: $dark-grey; | |
607 | font-size: .9em; | |
402b0346 | 608 | |
c69585f3 A |
609 | form { |
610 | display: inline; | |
611 | } | |
402b0346 | 612 | |
c69585f3 A |
613 | a { |
614 | @extend %linksperpage-button; | |
402b0346 | 615 | |
c69585f3 A |
616 | background: $almost-white; |
617 | padding: 5px; | |
618 | text-decoration: none; | |
619 | color: $dark-grey; | |
c69585f3 | 620 | |
e813934a KC |
621 | &.selected { |
622 | background: var(--main-color); | |
623 | color: $white; | |
96746d71 | 624 | } |
816ffba7 KC |
625 | } |
626 | ||
c69585f3 A |
627 | input { |
628 | &[type='text'] { | |
629 | @extend %linksperpage-button; | |
630 | ||
631 | margin: 0; | |
632 | border: medium none currentColor; | |
633 | background: $almost-white; | |
634 | padding: 4px 5px 3px 8px; | |
635 | height: 20px; | |
636 | color: $dark-grey; | |
637 | font-size: .8em; | |
638 | } | |
639 | } | |
402b0346 A |
640 | } |
641 | ||
c69585f3 A |
642 | // CONTENT - LINKLIST ITEMS |
643 | %private-border { | |
644 | display: block; | |
645 | position: absolute; | |
646 | top: 0; | |
647 | left: 3px; | |
648 | z-index: 1; | |
649 | background: $orange; | |
650 | width: 2px; | |
651 | height: 96%; | |
652 | content: ''; | |
402b0346 A |
653 | } |
654 | ||
402b0346 | 655 | .linklist-item { |
7b4fea0e | 656 | position: relative; |
c69585f3 A |
657 | margin: 0 0 10px; |
658 | box-shadow: 1px 1px 3px $light-grey; | |
659 | background: $almost-white; | |
660 | ||
661 | &.private { | |
7b4fea0e A |
662 | &::before { |
663 | display: block; | |
664 | position: absolute; | |
665 | top: 0; | |
666 | left: 0; | |
667 | z-index: 1; | |
668 | background: $orange; | |
669 | width: 2px; | |
670 | height: 100%; | |
671 | content: ''; | |
c69585f3 A |
672 | } |
673 | } | |
4e3875c0 A |
674 | |
675 | .search-highlight { | |
676 | background-color: yellow; | |
677 | } | |
94c17565 A |
678 | } |
679 | ||
680 | .linklist-item-buttons { | |
c69585f3 A |
681 | position: relative; |
682 | z-index: 99; | |
683 | background: transparent; | |
684 | width: 23px; | |
94c17565 A |
685 | } |
686 | ||
687 | .linklist-item-buttons-right { | |
c69585f3 A |
688 | float: right; |
689 | margin-right: -25px; | |
94c17565 A |
690 | } |
691 | ||
692 | .linklist-item-buttons * { | |
c69585f3 A |
693 | display: block; |
694 | float: left; | |
695 | margin: auto; | |
696 | width: 100%; | |
697 | text-align: center; | |
402b0346 A |
698 | } |
699 | ||
700 | .linklist-item-title { | |
c69585f3 A |
701 | position: relative; |
702 | margin: 0; | |
703 | background: $almost-white; | |
704 | word-wrap: break-word; | |
402b0346 | 705 | |
c69585f3 A |
706 | h2 { |
707 | margin: 0; | |
708 | padding: 3px 10px 0; | |
402b0346 | 709 | line-height: 30px; |
c69585f3 | 710 | word-wrap: break-word; |
402b0346 | 711 | |
c69585f3 A |
712 | a { |
713 | vertical-align: middle; | |
714 | text-decoration: none; | |
715 | color: $dark-grey; | |
716 | font-size: .7em; | |
717 | ||
718 | &:visited { | |
719 | .linklist-link { | |
a5a0c039 | 720 | color: var(--dark-main-color); |
c69585f3 A |
721 | } |
722 | } | |
723 | ||
724 | &:hover { | |
725 | color: $dark-grey; | |
726 | } | |
727 | } | |
728 | } | |
402b0346 | 729 | |
c69585f3 | 730 | .linklist-link { |
a5a0c039 | 731 | color: var(--main-color); |
402b0346 | 732 | font-size: 1.1em; |
402b0346 | 733 | |
c69585f3 A |
734 | &:hover { |
735 | color: $dark-grey; | |
736 | } | |
737 | } | |
402b0346 | 738 | |
d3defcac A |
739 | .label { |
740 | font-family: Arial, sans-serif; | |
741 | font-size: .65em; | |
742 | } | |
743 | ||
c69585f3 A |
744 | .label-private { |
745 | border: solid 1px $orange; | |
746 | color: $orange; | |
d3defcac A |
747 | } |
748 | ||
749 | .label-sticky { | |
750 | border: solid 1px $blue; | |
751 | color: $blue; | |
c69585f3 | 752 | } |
402b0346 A |
753 | } |
754 | ||
94c17565 | 755 | .fold-button { |
c69585f3 A |
756 | display: none; |
757 | color: $dark-grey; | |
402b0346 A |
758 | } |
759 | ||
760 | .linklist-item-editbuttons { | |
c69585f3 A |
761 | float: right; |
762 | padding: 8px 5px; | |
402b0346 | 763 | |
c69585f3 | 764 | * { |
402b0346 A |
765 | display: block; |
766 | float: left; | |
767 | margin: 0 1px; | |
c69585f3 | 768 | } |
402b0346 | 769 | |
c69585f3 | 770 | a { |
402b0346 | 771 | font-size: 1em; |
c69585f3 A |
772 | } |
773 | ||
fc574e64 | 774 | .link-checkbox { |
c69585f3 A |
775 | display: none; |
776 | } | |
402b0346 A |
777 | } |
778 | ||
779 | .edit-link { | |
c69585f3 A |
780 | color: $blue; |
781 | font-size: 1.2em; | |
402b0346 A |
782 | } |
783 | ||
784 | .delete-link { | |
c69585f3 A |
785 | color: $red !important; |
786 | font-size: 1.3em; | |
402b0346 A |
787 | } |
788 | ||
4154c25b | 789 | .pin-link { |
d9bf5b31 | 790 | font-size: 1.3em; |
4154c25b A |
791 | } |
792 | ||
793 | .pinned-link { | |
d9bf5b31 | 794 | color: $blue !important; |
4154c25b A |
795 | } |
796 | ||
402b0346 | 797 | .linklist-item-description { |
c69585f3 A |
798 | position: relative; |
799 | padding: 0 10px; | |
800 | line-height: 1.3em; | |
801 | color: $dark-grey; | |
802 | word-wrap: break-word; | |
402b0346 | 803 | |
c69585f3 | 804 | a { |
402b0346 | 805 | text-decoration: none; |
a5a0c039 | 806 | color: var(--main-color); |
402b0346 | 807 | |
c69585f3 A |
808 | &:hover { |
809 | color: $dark-grey; | |
810 | } | |
402b0346 | 811 | |
c69585f3 | 812 | &:visited { |
a5a0c039 | 813 | color: var(--dark-main-color); |
c69585f3 A |
814 | } |
815 | } | |
402b0346 A |
816 | } |
817 | ||
818 | .linklist-item-thumbnail { | |
c69585f3 A |
819 | position: relative; |
820 | float: right; | |
821 | z-index: 50; | |
822 | margin: 0; | |
823 | padding: 0 0 0 5px; | |
824 | height: 90px; | |
402b0346 A |
825 | } |
826 | ||
827 | .linklist-item-infos { | |
c69585f3 A |
828 | background: $background-linklist-info; |
829 | padding: 4px 8px; | |
830 | color: $dark-grey; | |
402b0346 | 831 | |
c69585f3 | 832 | a { |
402b0346 | 833 | text-decoration: none; |
c69585f3 | 834 | color: $dark-grey; |
402b0346 | 835 | |
c69585f3 A |
836 | &:hover { |
837 | color: $black; | |
838 | } | |
839 | } | |
402b0346 | 840 | |
c69585f3 A |
841 | .linklist-item-tags { |
842 | font-size: .8em; | |
843 | } | |
402b0346 | 844 | |
c69585f3 | 845 | .label-tag { |
402b0346 | 846 | font-size: 1em; |
c69585f3 A |
847 | } |
848 | ||
849 | .mobile-buttons { | |
850 | text-align: right; | |
851 | } | |
852 | ||
853 | .linklist-plugin-icon { | |
854 | display: inline-block; | |
855 | margin: 0 2px; | |
856 | width: 16px; | |
857 | height: 16px; | |
858 | } | |
402b0346 A |
859 | } |
860 | ||
861 | .linklist-item-infos-dateblock { | |
c69585f3 | 862 | font-size: .9em; |
402b0346 A |
863 | } |
864 | ||
865 | .linklist-plugin-icon { | |
c69585f3 A |
866 | width: 13px; |
867 | height: 13px; | |
402b0346 A |
868 | } |
869 | ||
870 | .linklist-item-infos-url { | |
c69585f3 A |
871 | height: 23px; |
872 | overflow: hidden; | |
873 | text-align: right; | |
874 | text-overflow: ellipsis; | |
875 | line-height: 23px; | |
876 | white-space: nowrap; | |
877 | font-size: .8em; | |
402b0346 A |
878 | } |
879 | ||
94c17565 | 880 | .linklist-item-infos-controls-group { |
c69585f3 A |
881 | display: inline-block; |
882 | border-right: 1px solid $light-grey; | |
883 | padding-right: 6px; | |
94c17565 A |
884 | } |
885 | ||
886 | .ctrl-edit { | |
c69585f3 | 887 | margin: 0 7px; |
94c17565 A |
888 | } |
889 | ||
4154c25b | 890 | .ctrl-delete { |
d9bf5b31 | 891 | margin: 0 7px 0 0; |
4154c25b A |
892 | } |
893 | ||
c69585f3 | 894 | // 64em -> lg |
402b0346 | 895 | @media screen and (max-width: 64em) { |
c69585f3 A |
896 | .linklist-item-infos-url { |
897 | text-align: left; | |
898 | } | |
402b0346 A |
899 | } |
900 | ||
c69585f3 A |
901 | // Footer |
902 | .footer-container { | |
903 | margin: 20px 0; | |
904 | padding: 5px; | |
905 | text-align: center; | |
906 | color: $dark-grey; | |
402b0346 | 907 | |
c69585f3 | 908 | &::before { |
402b0346 | 909 | display: block; |
402b0346 | 910 | margin: 10px auto; |
a5a0c039 | 911 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); |
c69585f3 A |
912 | width: 80%; |
913 | height: 1px; | |
914 | content: ''; | |
915 | } | |
916 | ||
917 | a { | |
918 | color: $dark-grey; | |
919 | } | |
920 | } | |
921 | ||
922 | // PAGE FORM | |
923 | %page-form-input { | |
924 | margin: 10px 0; | |
925 | border: solid 1px $form-input-border; | |
926 | border-radius: 2px; | |
927 | background: $form-input-background; | |
928 | padding: 5px 5px 3px 15px; | |
929 | width: 90%; | |
930 | height: 35px; | |
931 | color: $dark-grey; | |
932 | box-sizing: border-box; | |
933 | } | |
934 | ||
935 | %page-form-button { | |
936 | display: inline-block; | |
937 | margin: 15px 5px; | |
938 | border: 0; | |
939 | box-shadow: 1px 1px 1px $form-input-border, -1px -1px 6px $form-input-border, -1px 1px 2px $form-input-border, 1px -1px 2px $form-input-border; | |
a5a0c039 | 940 | background: var(--main-color); |
c69585f3 A |
941 | min-width: 150px; |
942 | height: 35px; | |
943 | vertical-align: center; | |
944 | text-decoration: none; | |
945 | line-height: 35px; | |
946 | color: $almost-white; | |
947 | font-size: 1.2em; | |
948 | font-weight: normal; | |
402b0346 A |
949 | } |
950 | ||
402b0346 | 951 | .page-form { |
c69585f3 A |
952 | margin: 20px 0 0; |
953 | box-shadow: 1px 1px 2px $light-grey; | |
954 | background: $almost-white; | |
955 | overflow: hidden; | |
956 | color: $dark-grey; | |
957 | ||
958 | .window-title { | |
959 | margin: 0 0 10px; | |
960 | background: $almost-white; | |
402b0346 A |
961 | padding: 10px 0; |
962 | width: 100%; | |
402b0346 | 963 | text-align: center; |
a5a0c039 | 964 | color: var(--main-color); |
c69585f3 | 965 | } |
402b0346 | 966 | |
c69585f3 | 967 | .window-subtitle { |
402b0346 | 968 | text-align: center; |
c69585f3 | 969 | } |
402b0346 | 970 | |
c69585f3 | 971 | a { |
aa4797ba | 972 | text-decoration: none; |
a5a0c039 | 973 | color: var(--main-color); |
c69585f3 | 974 | font-weight: bold; |
402b0346 | 975 | |
c69585f3 A |
976 | &.button { |
977 | @extend %page-form-button; | |
978 | } | |
979 | } | |
980 | ||
981 | p { | |
402b0346 | 982 | margin: 0; |
c69585f3 A |
983 | padding: 5px 10px; |
984 | } | |
402b0346 | 985 | |
c69585f3 A |
986 | input { |
987 | &[type='text'] { | |
988 | @extend %page-form-input; | |
989 | ||
990 | &::-webkit-input-placeholder { | |
991 | color: $light-grey; | |
992 | } | |
993 | } | |
994 | ||
995 | &[type='password'] { | |
996 | @extend %page-form-input; | |
997 | ||
998 | &::-webkit-input-placeholder { | |
999 | color: $light-grey; | |
1000 | } | |
1001 | } | |
1002 | ||
1003 | &[type='submit'] { | |
1004 | @extend %page-form-button; | |
1005 | } | |
1006 | } | |
1007 | ||
1008 | textarea { | |
1009 | @extend %page-form-input; | |
402b0346 | 1010 | |
402b0346 | 1011 | padding: 15px 5px 3px 15px; |
c69585f3 | 1012 | min-height: 240px; |
402b0346 A |
1013 | resize: vertical; |
1014 | overflow-y: auto; | |
c69585f3 A |
1015 | word-wrap: break-word; |
1016 | } | |
402b0346 | 1017 | |
c69585f3 A |
1018 | select { |
1019 | color: $dark-grey; | |
1020 | } | |
402b0346 | 1021 | |
c69585f3 A |
1022 | .button { |
1023 | &.button-red { | |
1024 | background: $red; | |
1025 | } | |
1026 | } | |
402b0346 | 1027 | |
c69585f3 A |
1028 | .submit-buttons { |
1029 | margin-bottom: 10px; | |
1030 | } | |
402b0346 | 1031 | |
c69585f3 A |
1032 | section { |
1033 | margin: 10px 0 25px; | |
1034 | } | |
402b0346 | 1035 | |
c69585f3 A |
1036 | table, |
1037 | th, | |
1038 | td { | |
1039 | border-width: 1px 0; | |
1040 | border-style: solid; | |
1041 | border-color: $light-grey; | |
1042 | } | |
402b0346 | 1043 | |
c69585f3 A |
1044 | th, |
1045 | td { | |
1046 | padding: 5px; | |
1047 | } | |
1048 | ||
1049 | table { | |
0cf76ccb | 1050 | margin: 10px auto 25px auto; |
c69585f3 A |
1051 | width: 90%; |
1052 | ||
1053 | .order { | |
1054 | text-decoration: none; | |
1055 | color: $dark-grey; | |
402b0346 | 1056 | } |
c69585f3 | 1057 | } |
402b0346 | 1058 | |
c69585f3 A |
1059 | .awesomplete { |
1060 | width: 90%; | |
1061 | ||
1062 | input { | |
1063 | width: 100%; | |
1064 | } | |
1065 | } | |
1066 | ||
1067 | div { | |
1068 | .awesomplete { | |
1069 | > ul { | |
1070 | color: $black; | |
1071 | } | |
402b0346 | 1072 | } |
c69585f3 A |
1073 | } |
1074 | } | |
1075 | ||
1076 | @media screen and (min-width: 64em) { | |
1077 | .page-form { | |
1078 | .submit-buttons { | |
1079 | position: relative; | |
1080 | ||
1081 | .button { | |
1082 | &.button-red { | |
1083 | position: absolute; | |
1084 | right: 5%; | |
1085 | } | |
1086 | } | |
1087 | } | |
1088 | } | |
402b0346 A |
1089 | } |
1090 | ||
1091 | @media screen and (max-width: 64em) { | |
c69585f3 A |
1092 | .page-form { |
1093 | .submit-buttons { | |
1094 | .button { | |
402b0346 | 1095 | margin: auto; |
c69585f3 | 1096 | } |
402b0346 | 1097 | } |
c69585f3 | 1098 | } |
402b0346 A |
1099 | } |
1100 | ||
c69585f3 A |
1101 | // PAGE FORM - LIGHT |
1102 | .page-form-light { | |
1103 | div, | |
1104 | p { | |
402b0346 | 1105 | text-align: center; |
c69585f3 | 1106 | } |
402b0346 A |
1107 | } |
1108 | ||
c69585f3 A |
1109 | // PAGE FORM - COMPLETE |
1110 | %page-form-valign { | |
1111 | position: absolute; | |
1112 | top: 50%; | |
1113 | transform: translateY(-50%); | |
402b0346 A |
1114 | } |
1115 | ||
c69585f3 A |
1116 | .page-form-complete { |
1117 | div, | |
1118 | p { | |
1119 | color: $dark-grey; | |
1120 | } | |
1121 | ||
1122 | .form-label, | |
1123 | .form-input { | |
402b0346 A |
1124 | position: relative; |
1125 | height: 60px; | |
c69585f3 | 1126 | } |
402b0346 | 1127 | |
c69585f3 A |
1128 | .form-label { |
1129 | label { | |
1130 | @extend %page-form-valign; | |
402b0346 | 1131 | |
c69585f3 A |
1132 | right: 0; |
1133 | padding: 0 20px; | |
1134 | text-align: right; | |
1135 | } | |
1136 | } | |
402b0346 | 1137 | |
c69585f3 | 1138 | .label-name { |
402b0346 | 1139 | font-weight: bold; |
c69585f3 | 1140 | } |
402b0346 | 1141 | |
c69585f3 A |
1142 | .label-desc { |
1143 | font-size: .8em; | |
1144 | } | |
402b0346 | 1145 | |
c69585f3 A |
1146 | .form-input { |
1147 | input { | |
1148 | @extend %page-form-valign; | |
402b0346 | 1149 | |
c69585f3 A |
1150 | &[type='text'], |
1151 | &[type='password'] { | |
1152 | margin: 0; | |
1153 | } | |
1154 | } | |
402b0346 | 1155 | |
c69585f3 A |
1156 | select { |
1157 | &.align { | |
1158 | @extend %page-form-valign; | |
1159 | } | |
1160 | } | |
1161 | } | |
402b0346 | 1162 | |
c69585f3 A |
1163 | textarea { |
1164 | margin: 0; | |
1165 | } | |
402b0346 | 1166 | |
c69585f3 A |
1167 | .timezone { |
1168 | @extend %page-form-valign; | |
1169 | } | |
402b0346 A |
1170 | } |
1171 | ||
c69585f3 A |
1172 | // Awesomeplete fix |
1173 | div { | |
1174 | &.awesomplete { | |
402b0346 | 1175 | width: inherit; |
402b0346 | 1176 | |
c69585f3 A |
1177 | > input { |
1178 | display: inherit; | |
1179 | } | |
402b0346 | 1180 | |
c69585f3 A |
1181 | > ul { |
1182 | z-index: 9999; | |
1183 | } | |
1184 | } | |
402b0346 A |
1185 | } |
1186 | ||
c69585f3 A |
1187 | form { |
1188 | &[name='linkform'] { | |
1189 | &.page-form { | |
1190 | overflow: visible; | |
1191 | } | |
1192 | } | |
402b0346 A |
1193 | } |
1194 | ||
c69585f3 A |
1195 | @media screen and (max-width: 64em) { |
1196 | %page-form-valign-mobile { | |
1197 | position: inherit; | |
1198 | top: inherit; | |
1199 | transform: translateY(0); | |
1200 | } | |
402b0346 | 1201 | |
c69585f3 A |
1202 | .page-form-complete { |
1203 | .form-label { | |
1204 | height: inherit; | |
402b0346 | 1205 | |
c69585f3 A |
1206 | label { |
1207 | @extend %page-form-valign-mobile; | |
15162272 | 1208 | |
c69585f3 A |
1209 | display: block; |
1210 | margin: 10px 0 0; | |
1211 | text-align: left; | |
1212 | } | |
402b0346 A |
1213 | } |
1214 | ||
c69585f3 A |
1215 | .form-input { |
1216 | text-align: center; | |
402b0346 | 1217 | |
c69585f3 A |
1218 | input { |
1219 | @extend %page-form-valign-mobile; | |
402b0346 | 1220 | |
c69585f3 A |
1221 | &[type='checkbox'] { |
1222 | position: absolute; | |
1223 | top: 50%; | |
1224 | right: 50%; | |
1225 | transform: translateY(-50%); | |
1226 | } | |
1227 | } | |
402b0346 A |
1228 | } |
1229 | ||
c69585f3 A |
1230 | .timezone { |
1231 | @extend %page-form-valign-mobile; | |
402b0346 A |
1232 | } |
1233 | ||
c69585f3 A |
1234 | .radio-buttons { |
1235 | padding: 5px 15px; | |
1236 | text-align: left; | |
402b0346 | 1237 | } |
c69585f3 | 1238 | } |
402b0346 | 1239 | |
c69585f3 A |
1240 | .timezone-continent { |
1241 | &::after { | |
1242 | white-space: pre; | |
1243 | content: '\a\a'; | |
402b0346 | 1244 | } |
c69585f3 | 1245 | } |
402b0346 A |
1246 | } |
1247 | ||
c69585f3 | 1248 | // Page visitor (page form extended) |
402b0346 | 1249 | .page-visitor { |
c69585f3 | 1250 | color: $dark-grey; |
402b0346 A |
1251 | } |
1252 | ||
dd51f653 | 1253 | .page-error-container { |
c69585f3 | 1254 | color: $dark-grey; |
6c50a6cc A |
1255 | |
1256 | h2 { | |
dd51f653 | 1257 | margin: 70px 0 25px; |
6c50a6cc A |
1258 | } |
1259 | ||
1260 | pre { | |
6c50a6cc A |
1261 | margin: 0 20%; |
1262 | padding: 20px 0; | |
dd51f653 A |
1263 | text-align: left; |
1264 | line-height: .7em; | |
6c50a6cc | 1265 | } |
402b0346 A |
1266 | } |
1267 | ||
c69585f3 A |
1268 | // EDIT LINK |
1269 | .edit-link-container { | |
1270 | .created-date { | |
807cade6 | 1271 | margin-bottom: 10px; |
c69585f3 A |
1272 | color: $light-grey; |
1273 | } | |
807cade6 A |
1274 | } |
1275 | ||
4cf3564d A |
1276 | .loading-input { |
1277 | position: relative; | |
1278 | ||
1279 | @keyframes around { | |
1280 | 0% { | |
1281 | transform: rotate(0deg); | |
1282 | } | |
1283 | ||
1284 | 100% { | |
1285 | transform: rotate(360deg); | |
1286 | } | |
1287 | } | |
1288 | ||
1289 | .icon-container { | |
1290 | position: absolute; | |
1291 | right: 60px; | |
1292 | top: calc(50% - 10px); | |
1293 | } | |
1294 | ||
1295 | .loader { | |
1296 | position: relative; | |
1297 | height: 20px; | |
1298 | width: 20px; | |
1299 | display: inline-block; | |
1300 | animation: around 5.4s infinite; | |
1301 | ||
1302 | &::after, | |
1303 | &::before { | |
1304 | content: ""; | |
1305 | background: $form-input-background; | |
1306 | position: absolute; | |
1307 | display: inline-block; | |
1308 | width: 100%; | |
1309 | height: 100%; | |
1310 | border-width: 2px; | |
1311 | border-color: #333 #333 transparent transparent; | |
1312 | border-style: solid; | |
1313 | border-radius: 20px; | |
1314 | box-sizing: border-box; | |
1315 | top: 0; | |
1316 | left: 0; | |
1317 | animation: around 0.7s ease-in-out infinite; | |
1318 | } | |
1319 | ||
1320 | &::after { | |
1321 | animation: around 0.7s ease-in-out 0.1s infinite; | |
1322 | background: transparent; | |
1323 | } | |
1324 | } | |
1325 | } | |
1326 | ||
c69585f3 A |
1327 | // LOGIN |
1328 | .login-form-container { | |
1329 | .remember-me { | |
402b0346 | 1330 | margin: 5px 0; |
c69585f3 | 1331 | } |
402b0346 A |
1332 | } |
1333 | ||
c69585f3 A |
1334 | // Search results |
1335 | .search-result { | |
1336 | a { | |
402b0346 | 1337 | text-decoration: none; |
c69585f3 A |
1338 | color: $white; |
1339 | } | |
402b0346 | 1340 | |
c69585f3 A |
1341 | .label-tag { |
1342 | border-color: $white; | |
402b0346 | 1343 | |
c69585f3 A |
1344 | .remove { |
1345 | margin: 0 0 0 5px; | |
1346 | border-left: $white 1px solid; | |
1347 | padding: 0 0 0 5px; | |
1348 | } | |
1349 | } | |
402b0346 | 1350 | |
c69585f3 A |
1351 | .label-private { |
1352 | border: 1px solid $white; | |
1353 | } | |
7c26f662 A |
1354 | } |
1355 | ||
c69585f3 | 1356 | // TOOLS |
402b0346 | 1357 | .tools-item { |
c69585f3 | 1358 | margin: 10px 0; |
402b0346 | 1359 | |
c69585f3 A |
1360 | .pure-button { |
1361 | &:hover { | |
a5a0c039 | 1362 | background-color: var(--main-color); |
c69585f3 A |
1363 | background-image: none; |
1364 | color: $almost-white; | |
1365 | } | |
1366 | } | |
402b0346 A |
1367 | } |
1368 | ||
c69585f3 A |
1369 | // PLUGIN ADMIN |
1370 | .pluginform-container { | |
1371 | .mobile-row { | |
1372 | font-size: .9em; | |
1373 | } | |
402b0346 | 1374 | |
c69585f3 | 1375 | .more { |
402b0346 | 1376 | margin-top: 10px; |
c69585f3 | 1377 | } |
402b0346 A |
1378 | } |
1379 | ||
1380 | @media screen and (max-width: 64em) { | |
c69585f3 A |
1381 | .pluginform-container { |
1382 | .main-row { | |
1383 | border-top-style: none; | |
1384 | border-bottom-style: none; | |
402b0346 | 1385 | |
c69585f3 | 1386 | td { |
402b0346 | 1387 | border-top-style: none; |
c69585f3 A |
1388 | border-bottom-style: none; |
1389 | } | |
402b0346 | 1390 | } |
c69585f3 | 1391 | } |
402b0346 A |
1392 | } |
1393 | ||
c69585f3 A |
1394 | // IMPORT |
1395 | .import-field-container { | |
1396 | margin: 15px 0; | |
402b0346 A |
1397 | } |
1398 | ||
c69585f3 A |
1399 | // TAG CLOUD |
1400 | .cloudtag-container { | |
1401 | padding: 10px; | |
1402 | text-align: center; | |
1403 | text-decoration: none; | |
1404 | color: $dark-grey; | |
402b0346 | 1405 | |
c69585f3 | 1406 | a { |
402b0346 | 1407 | text-decoration: none; |
c69585f3 A |
1408 | color: $dark-grey; |
1409 | } | |
402b0346 | 1410 | |
c69585f3 A |
1411 | .count { |
1412 | color: $light-grey; | |
1413 | } | |
402b0346 A |
1414 | } |
1415 | ||
c69585f3 A |
1416 | // TAG LIST |
1417 | .taglist-container { | |
1418 | padding: 0 10px; | |
aa4797ba | 1419 | |
c69585f3 | 1420 | a { |
aa4797ba | 1421 | text-decoration: none; |
c69585f3 A |
1422 | color: $dark-grey; |
1423 | } | |
aa4797ba | 1424 | |
c69585f3 | 1425 | .count { |
aa4797ba A |
1426 | display: inline-block; |
1427 | width: 35px; | |
1428 | text-align: right; | |
c69585f3 A |
1429 | color: $light-grey; |
1430 | } | |
aa4797ba | 1431 | |
c69585f3 | 1432 | .rename-tag-form { |
82e3bb5f | 1433 | display: none; |
c69585f3 | 1434 | } |
82e3bb5f | 1435 | |
c69585f3 | 1436 | .delete-tag { |
aa4797ba | 1437 | display: none; |
c69585f3 A |
1438 | color: $red; |
1439 | } | |
1440 | ||
1441 | .rename-tag { | |
1442 | color: $blue; | |
1443 | } | |
1444 | ||
1445 | .validate-rename-tag { | |
a5a0c039 | 1446 | color: var(--main-color); |
c69585f3 A |
1447 | } |
1448 | } | |
1449 | ||
1450 | // Picture wall CSS | |
1451 | .picwall-container { | |
1452 | clear: both; | |
1453 | margin: 0 10px 10px; | |
1454 | background-color: $almost-white; | |
1455 | color: $dark-grey; | |
1456 | } | |
1457 | ||
1458 | .picwall-pictureframe { | |
1459 | display: table-cell; | |
1460 | position: relative; | |
1461 | float: left; | |
1462 | z-index: 5; | |
1463 | margin: 2px; | |
1464 | background-color: $almost-white; | |
1465 | width: 90px; | |
1466 | height: 90px; | |
1467 | overflow: hidden; | |
1468 | vertical-align: middle; | |
1469 | text-align: center; | |
1470 | ||
1471 | // Adapt the width of the image | |
1472 | img { | |
402b0346 A |
1473 | max-width: 100%; |
1474 | height: auto; | |
1475 | color: transparent; | |
c69585f3 | 1476 | } |
402b0346 | 1477 | |
c69585f3 | 1478 | a { |
402b0346 | 1479 | text-decoration: none; |
c69585f3 | 1480 | } |
402b0346 | 1481 | |
c69585f3 A |
1482 | span { |
1483 | &.info { | |
1484 | display: none; | |
1485 | font-family: Arial, sans-serif; | |
1486 | } | |
1487 | } | |
1488 | ||
1489 | // CSS to show title when hovering an image - no javascript required. | |
1490 | &:hover { | |
1491 | span { | |
1492 | &.info { | |
1493 | display: block; | |
1494 | position: absolute; | |
1495 | top: 0; | |
1496 | left: 0; | |
1497 | background-color: $dark-shadow; | |
1498 | width: 90px; | |
1499 | height: 90px; | |
1500 | text-align: left; | |
1501 | color: $almost-white; | |
1502 | font-size: 9pt; | |
1503 | font-weight: bold; | |
1504 | } | |
1505 | } | |
1506 | } | |
402b0346 A |
1507 | } |
1508 | ||
c69585f3 A |
1509 | .b-lazy { |
1510 | transition: opacity 500ms ease-in-out; | |
1511 | opacity: 0; | |
1512 | -webkit-transition: opacity 500ms ease-in-out; | |
1513 | -moz-transition: opacity 500ms ease-in-out; | |
1514 | -o-transition: opacity 500ms ease-in-out; | |
b5e2b23c A |
1515 | min-width: 1px; |
1516 | min-height: 1px; | |
c69585f3 A |
1517 | |
1518 | &.b-loaded { | |
1519 | opacity: 1; | |
1520 | } | |
402b0346 A |
1521 | } |
1522 | ||
c69585f3 | 1523 | // DAILY |
402b0346 | 1524 | .daily-desc { |
c69585f3 A |
1525 | color: $light-grey; |
1526 | font-size: .8em; | |
402b0346 | 1527 | |
c69585f3 | 1528 | a { |
402b0346 | 1529 | text-decoration: none; |
c69585f3 | 1530 | color: $dark-grey; |
402b0346 | 1531 | |
c69585f3 A |
1532 | &:hover { |
1533 | color: $light-grey; | |
1534 | } | |
1535 | } | |
1536 | } | |
1537 | ||
1538 | .daily-about { | |
1539 | h3 { | |
1540 | &::before, | |
1541 | &::after { | |
1542 | display: block; | |
1543 | margin: 10px auto; | |
a5a0c039 | 1544 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); |
c69585f3 A |
1545 | width: 90%; |
1546 | height: 1px; | |
1547 | content: ''; | |
1548 | } | |
1549 | } | |
402b0346 A |
1550 | } |
1551 | ||
1552 | .daily-entry { | |
c69585f3 | 1553 | padding: 0 10px; |
402b0346 | 1554 | |
c69585f3 A |
1555 | .daily-entry-title { |
1556 | margin: 10px 0 0; | |
402b0346 | 1557 | |
c69585f3 A |
1558 | a { |
1559 | text-decoration: none; | |
1560 | color: $black; | |
1561 | } | |
402b0346 | 1562 | |
c69585f3 A |
1563 | &::after { |
1564 | display: block; | |
1565 | margin: 5px auto; | |
1566 | background: linear-gradient(to right, $white, $light-grey, $white); | |
1567 | width: 70%; | |
1568 | height: 1px; | |
1569 | content: ''; | |
1570 | } | |
1571 | } | |
402b0346 | 1572 | |
c69585f3 A |
1573 | .daily-entry-description { |
1574 | padding: 5px 5px 0; | |
402b0346 | 1575 | text-align: justify; |
c69585f3 | 1576 | font-size: .9em; |
402b0346 | 1577 | word-wrap: break-word; |
c69585f3 | 1578 | } |
402b0346 | 1579 | |
c69585f3 A |
1580 | .daily-entry-tags { |
1581 | padding: 0 5px 5px; | |
1582 | font-size: .8em; | |
1583 | } | |
402b0346 A |
1584 | } |
1585 | ||
1586 | .daily-entry-thumbnail { | |
c69585f3 A |
1587 | float: left; |
1588 | margin: 15px 5px 5px 15px; | |
402b0346 A |
1589 | } |
1590 | ||
c69585f3 A |
1591 | .daily-entry-description { |
1592 | a { | |
402b0346 | 1593 | text-decoration: none; |
a5a0c039 | 1594 | color: var(--main-color); |
402b0346 | 1595 | |
c69585f3 A |
1596 | &:hover { |
1597 | text-shadow: 1px 1px $background-linklist-info; | |
1598 | } | |
402b0346 | 1599 | |
c69585f3 | 1600 | &:visited { |
a5a0c039 | 1601 | color: var(--dark-main-color); |
c69585f3 A |
1602 | } |
1603 | } | |
402b0346 | 1604 | } |
70401690 | 1605 | |
c69585f3 | 1606 | // Fix empty bookmarklet name in Firefox |
70401690 | 1607 | .pure-button { |
c69585f3 | 1608 | -moz-user-select: auto; |
70401690 | 1609 | } |
aa4797ba A |
1610 | |
1611 | .tag-sort { | |
c69585f3 A |
1612 | margin-top: 30px; |
1613 | text-align: center; | |
aa4797ba | 1614 | |
c69585f3 | 1615 | a { |
f4ea7cd5 | 1616 | background: $almost-white; |
aa4797ba | 1617 | display: inline-block; |
f4ea7cd5 | 1618 | padding: 5px; |
aa4797ba | 1619 | text-decoration: none; |
f4ea7cd5 | 1620 | color: $dark-grey; |
c69585f3 | 1621 | } |
aa4797ba | 1622 | } |
94c17565 | 1623 | |
c69585f3 A |
1624 | // Markdown |
1625 | .markdown { | |
1626 | p { | |
94c17565 | 1627 | margin: 0 !important; |
c69585f3 | 1628 | } |
94c17565 | 1629 | |
c69585f3 A |
1630 | p + p { |
1631 | margin: .5em 0 0 !important; | |
1632 | } | |
94c17565 | 1633 | |
c69585f3 A |
1634 | * { |
1635 | &:first-child { | |
1636 | margin-top: 0 !important; | |
1637 | } | |
94c17565 | 1638 | |
c69585f3 A |
1639 | &:last-child { |
1640 | margin-bottom: 5px !important; | |
1641 | } | |
1642 | } | |
055ce4bd A |
1643 | } |
1644 | ||
c69585f3 | 1645 | // Pure Button |
055ce4bd A |
1646 | .pure-button-success, |
1647 | .pure-button-error, | |
1648 | .pure-button-warning, | |
1649 | .pure-button-primary, | |
1650 | .pure-button-shaarli, | |
1651 | .pure-button-secondary { | |
c69585f3 A |
1652 | border-radius: 4px; |
1653 | text-shadow: 0 1px 1px $dark-shadow; | |
1654 | color: $white !important; | |
055ce4bd A |
1655 | } |
1656 | ||
1657 | .pure-button-shaarli { | |
a5a0c039 | 1658 | background-color: var(--main-color); |
055ce4bd | 1659 | } |
28f26524 A |
1660 | |
1661 | .progressbar { | |
1662 | border-radius: 6px; | |
a5a0c039 | 1663 | background-color: var(--main-color); |
28f26524 A |
1664 | padding: 1px; |
1665 | ||
1666 | > div { | |
1667 | border-radius: 10px; | |
96746d71 A |
1668 | background: |
1669 | repeating-linear-gradient( | |
1670 | -45deg, | |
1671 | $almost-white, | |
1672 | $almost-white 6px, | |
1673 | var(--background-color) 6px, | |
1674 | var(--background-color) 12px | |
1675 | ); | |
28f26524 A |
1676 | width: 0%; |
1677 | height: 10px; | |
1678 | } | |
1679 | } | |
1680 | ||
1681 | .thumbnails-page-container { | |
1682 | .progress-counter { | |
1683 | padding: 10px 0 20px; | |
1684 | } | |
1685 | ||
1686 | .thumbnail-placeholder { | |
1687 | margin: 10px auto; | |
1688 | background-color: $light-grey; | |
1689 | } | |
1690 | ||
1691 | .thumbnail-link-title { | |
1692 | padding-bottom: 20px; | |
1693 | overflow: hidden; | |
1694 | text-overflow: ellipsis; | |
1695 | white-space: nowrap; | |
1696 | } | |
1697 | } | |
374f89e7 | 1698 | |
0cf76ccb A |
1699 | // SERVER PAGE |
1700 | ||
1701 | .server-tables-page, | |
1702 | .server-tables { | |
1703 | .window-subtitle { | |
1704 | &::before { | |
1705 | display: block; | |
1706 | margin: 8px auto; | |
1707 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); | |
1708 | width: 50%; | |
1709 | height: 1px; | |
1710 | content: ''; | |
1711 | } | |
1712 | } | |
1713 | ||
1714 | .server-row { | |
1715 | p { | |
1716 | height: 25px; | |
1717 | padding: 0 10px; | |
1718 | } | |
1719 | } | |
1720 | ||
1721 | .server-label { | |
1722 | text-align: right; | |
1723 | font-weight: bold; | |
1724 | } | |
1725 | ||
1726 | i { | |
1727 | &.fa-color-green { | |
1728 | color: $main-green; | |
1729 | } | |
1730 | ||
1731 | &.fa-color-orange { | |
1732 | color: $orange; | |
1733 | } | |
1734 | ||
1735 | &.fa-color-red { | |
1736 | color: $red; | |
1737 | } | |
1738 | } | |
1739 | ||
1740 | @media screen and (max-width: 64em) { | |
1741 | .server-label { | |
1742 | text-align: center; | |
1743 | } | |
1744 | ||
1745 | .server-row { | |
1746 | p { | |
1747 | text-align: center; | |
1748 | } | |
1749 | } | |
1750 | } | |
1751 | } | |
1752 | ||
374f89e7 A |
1753 | // Print rules |
1754 | @media print { | |
1755 | .shaarli-menu { | |
1756 | position: absolute; | |
1757 | } | |
1758 | ||
1759 | .search-linklist, | |
1760 | .link-count-block, | |
1761 | .linklist-item-infos-controls-group, | |
1762 | .mobile-buttons { | |
1763 | display: none; | |
1764 | } | |
1765 | } |