aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/css/shaarli.css
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/css/shaarli.css')
-rw-r--r--tpl/default/css/shaarli.css86
1 files changed, 41 insertions, 45 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css
index 6b073437..63cf68ac 100644
--- a/tpl/default/css/shaarli.css
+++ b/tpl/default/css/shaarli.css
@@ -2,7 +2,7 @@
2 * General 2 * General
3 */ 3 */
4body { 4body {
5 background: url(../img/noise.png) #c5c5c5; 5 background: #c5c5c5;
6} 6}
7 7
8.strong { 8.strong {
@@ -87,7 +87,7 @@ pre {
87} 87}
88 88
89.anchor:target { 89.anchor:target {
90 padding-top: 35px; 90 padding-top: 40px;
91} 91}
92/** 92/**
93 * MENU 93 * MENU
@@ -96,10 +96,11 @@ pre {
96 position: fixed; 96 position: fixed;
97 top: 0; 97 top: 0;
98 width: 100%; 98 width: 100%;
99 --height: 50px;
99 background: #1b926c; 100 background: #1b926c;
100 -webkit-font-smoothing: antialiased; 101 -webkit-font-smoothing: antialiased;
101 /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */ 102 /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */
102 max-height: 2.1em; 103 max-height: 45px;
103 transition: max-height 0.5s; 104 transition: max-height 0.5s;
104 overflow: hidden; 105 overflow: hidden;
105 z-index: 999; 106 z-index: 999;
@@ -107,7 +108,7 @@ pre {
107 108
108/* Chrome bugfix: with 100% height, it only displays the first element. */ 109/* Chrome bugfix: with 100% height, it only displays the first element. */
109.pure-menu-item { 110.pure-menu-item {
110 height: inherit; 111 height: 45px;
111} 112}
112 113
113.shaarli-menu.open { 114.shaarli-menu.open {
@@ -124,6 +125,7 @@ pre {
124.pure-menu-link:visited, 125.pure-menu-link:visited,
125.pure-menu-selected .pure-menu-link, 126.pure-menu-selected .pure-menu-link,
126.pure-menu-selected .pure-menu-link:visited { 127.pure-menu-selected .pure-menu-link:visited {
128 padding: 0.8em 1em;
127 color: #f5f5f5; 129 color: #f5f5f5;
128} 130}
129 131
@@ -132,14 +134,22 @@ pre {
132.pure-menu-selected .pure-menu-link:focus { 134.pure-menu-selected .pure-menu-link:focus {
133 color: #fff; 135 color: #fff;
134 background: transparent; 136 background: transparent;
137}
135 138
139.pure-menu-item:hover::after {
140 margin: -4px auto 0 auto;
141 display: block;
142 content:"";
143 background: #fff;
144 height: 4px;
145 width: 100%;
136} 146}
137 147
138.menu-toggle { 148.menu-toggle {
139 width: 34px; 149 width: 34px;
140 height: 34px; 150 height: 45px;
141 position: absolute; 151 position: absolute;
142 top: 0; 152 top: 5px;
143 right: 0; 153 right: 0;
144 display: none; 154 display: none;
145} 155}
@@ -183,6 +193,13 @@ pre {
183 font-size: 0.8em; 193 font-size: 0.8em;
184} 194}
185 195
196@media screen and (min-width: 64em) {
197 #linkcount {
198 position: absolute;
199 right: 5px;
200 }
201}
202
186#search, #search-linklist { 203#search, #search-linklist {
187 text-align: center; 204 text-align: center;
188 width: 100%; 205 width: 100%;
@@ -219,12 +236,9 @@ pre {
219 color: #252525; 236 color: #252525;
220} 237}
221 238
222#search button:hover { 239#search button:hover,
223 color: #fff;
224}
225
226#search-linklist button:hover { 240#search-linklist button:hover {
227 color: #000; 241 color: #fff;
228} 242}
229 243
230#search-linklist { 244#search-linklist {
@@ -261,7 +275,7 @@ pre {
261 text-align: center; 275 text-align: center;
262 background: #1b926c; 276 background: #1b926c;
263 display: block; 277 display: block;
264 z-index: 9999; 278 z-index: 999;
265 height: 30px; 279 height: 30px;
266 padding: 5px 0; 280 padding: 5px 0;
267} 281}
@@ -328,18 +342,7 @@ pre {
328#content { 342#content {
329 position: relative; 343 position: relative;
330 z-index: 2; 344 z-index: 2;
331} 345 margin-top: 45px;
332
333@media screen and (max-width: 64em) {
334 #content {
335 margin: 2.1em 0 0 0;
336 }
337}
338
339@media screen and (min-width: 64em) {
340 #content {
341 margin-top: 33px;
342 }
343} 346}
344 347
345/** 348/**
@@ -393,7 +396,7 @@ pre {
393} 396}
394 397
395.linklist-filters a { 398.linklist-filters a {
396 padding: 2px 5px; 399 padding: 5px 8px;
397 text-decoration: none; 400 text-decoration: none;
398} 401}
399 402
@@ -430,7 +433,7 @@ pre {
430} 433}
431 434
432.linksperpage a { 435.linksperpage a {
433 padding: 2px 5px; 436 padding: 5px 5px;
434 text-decoration: none; 437 text-decoration: none;
435 color: #252525; 438 color: #252525;
436 background: #f5f5f5; 439 background: #f5f5f5;
@@ -447,9 +450,9 @@ pre {
447} 450}
448 451
449.linksperpage input[type="text"] { 452.linksperpage input[type="text"] {
450 height: 15px; 453 height: 20px;
451 margin: 0; 454 margin: 0;
452 padding: 3px 5px 3px 8px; 455 padding: 4px 5px 3px 8px;
453 background: #f5f5f5; 456 background: #f5f5f5;
454 border: medium none currentColor; 457 border: medium none currentColor;
455 color: #252525; 458 color: #252525;
@@ -483,13 +486,14 @@ pre {
483 content:""; 486 content:"";
484 background: #F89406; 487 background: #F89406;
485 height: 95%; 488 height: 95%;
486 width: 3px; 489 width: 2px;
487 margin-top: 3px; 490 margin-top: 3px;
491 z-index: 1;
488} 492}
489 493
490.linklist-item-title h2 { 494.linklist-item-title h2 {
491 padding: 3px 10px 0 10px; 495 padding: 3px 10px 0 10px;
492 line-height: 25px; 496 line-height: 30px;
493} 497}
494 498
495.linklist-item-title a { 499.linklist-item-title a {
@@ -525,18 +529,9 @@ pre {
525 display: none; 529 display: none;
526} 530}
527 531
528.linklist-item-title:after {
529 display: block;
530 content:"";
531 background: linear-gradient(to right, #f5f5f5, #8e8e8e, #f5f5f5);
532 height: 1px;
533 width: 90%;
534 margin: 1px auto 0 auto;
535}
536
537.linklist-item-editbuttons { 532.linklist-item-editbuttons {
538 float: right; 533 float: right;
539 padding: 5px; 534 padding: 8px 5px;
540} 535}
541 536
542.linklist-item-editbuttons * { 537.linklist-item-editbuttons * {
@@ -555,7 +550,7 @@ pre {
555} 550}
556 551
557.delete-link { 552.delete-link {
558 font-size: 1.1em; 553 font-size: 1.3em;
559 color: #ac2925 !important; 554 color: #ac2925 !important;
560} 555}
561 556
@@ -566,6 +561,7 @@ pre {
566 font-family: Roboto Slab, Arial, sans-serif; 561 font-family: Roboto Slab, Arial, sans-serif;
567 word-wrap: break-word; 562 word-wrap: break-word;
568 color: #252525; 563 color: #252525;
564 line-height: 1.3em;
569} 565}
570 566
571.linklist-item.private .linklist-item-description::before { 567.linklist-item.private .linklist-item-description::before {
@@ -576,9 +572,8 @@ pre {
576 content:""; 572 content:"";
577 background: #F89406; 573 background: #F89406;
578 height: 95%; 574 height: 95%;
579 width: 3px; 575 width: 2px;
580 z-index: 9999; 576 z-index: 1;
581 #margin: 0;
582} 577}
583 578
584.linklist-item-description a { 579.linklist-item-description a {
@@ -807,7 +802,7 @@ pre {
807 802
808.page-form-complete .form-label, .page-form-complete .form-input { 803.page-form-complete .form-label, .page-form-complete .form-input {
809 position: relative; 804 position: relative;
810 height: 60px; 805 min-height: 60px;
811} 806}
812 807
813.page-form-complete .form-label label, 808.page-form-complete .form-label label,
@@ -1128,6 +1123,7 @@ pre {
1128 padding: 5px 5px 0 5px; 1123 padding: 5px 5px 0 5px;
1129 font-size: 0.9em; 1124 font-size: 0.9em;
1130 text-align: justify; 1125 text-align: justify;
1126 word-wrap: break-word;
1131} 1127}
1132 1128
1133.daily-entry .daily-entry-tags { 1129.daily-entry .daily-entry-tags {