]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/default/css/shaarli.css
19bdc45c3856ce61be3867a18e032c813094d44a
5 background: url
(../img/noise.png) #979797;
21 display: inline-block
;
28 vertical-align: baseline
;
29 border-radius: .25rem;
37 font-family: 'Roboto Slab';
42 local
('Fira-Sans-regular'),
43 url
('../fonts/Fira-Sans-regular.woff2') format
('woff2'),
44 url
('../fonts/Fira-Sans-regular.woff') format
('woff');
48 * Extends Pure grids responsive to hide items.
49 * Use xx-0 to hide an item on xx screen.
50 * Display it at any level with xx-visible.
52 .pure-u-0 { display: none
!important
; }
53 @media screen and
(min-width: 35.5em) {
54 .pure-u-sm-0 { display: none
!important
; }
55 .pure-u-sm-visible { display: inline-block
!important
; }
57 @media screen and
(min-width: 48em) {
58 .pure-u-md-0 { display: none
!important
; }
59 .pure-u-md-visible { display: inline-block
!important
; }
61 @media screen and
(min-width: 64em) {
62 .pure-u-lg-0 { display: none
!important
; }
63 .pure-u-lg-visible { display: inline-block
!important
; }
65 @media screen and
(min-width: 80em) {
66 .pure-u-xl-0 { display: none
!important
; }
67 .pure-u-xl-visible { display: inline-block
!important
; }
70 .pure-g [class*="pure-u"]{
71 font-family: Roboto Slab
, Arial
, sans-serif
;
75 * Make pure-extras alert closable.
77 .pure-alert-closable .fa-times {
85 background-color: #1b926c;
96 -webkit-font-smoothing: antialiased
;
97 /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */
99 transition: max-height
0.5s;
106 transition: max-height
0.75s;
109 .pure-menu-selected {
114 .pure-menu-link:visited
,
115 .pure-menu-selected
.pure-menu-link
,
116 .pure-menu-selected .pure-menu-link:visited {
120 .pure-menu-link:hover
,
121 .pure-menu-selected .pure-menu-link:hover {
123 background: transparent
;
136 background-color: #b0ddce;
140 border-radius: 100px;
144 transition: all
0.5s;
147 .menu-toggle .bar:first-child {
148 transform: translateY
(-6px);
151 .menu-toggle.x .bar {
152 transform: rotate
(45deg);
155 .menu-toggle.x .bar:first-child {
156 transform: rotate
(-45deg);
159 @media screen and
(max-width: 64em) {
171 background: url
(../img/noise.png), #1fa67a url
(../img/logo2.png) no-repeat fixed
10px 2.5em;
177 margin: 45px 0 0 125px;
182 #header h1 a
, #header h1
a:visited
{
183 /* https://css-tricks.com/centering-css-complete-guide/#vertical-inline-multiple */
184 display: -ms-flexbox
;
186 flex-direction: column
;
187 justify-content: center
;
192 text-decoration: none
;
195 font-family: Roboto Slab
, Arial
, sans-serif
;
208 /* position: fixed; */
218 * Can't make it work with awesomplete list z-index. Any idea?
228 #search input
[type
="text"] {
230 padding: 5px 5px 3px 15px;
233 transition: width
.5s ease
;
235 border: medium none currentColor
;
237 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
242 #search input
[type
="text"]::-webkit-input-placeholder
{
247 background: transparent
;
252 #search button:hover
{
263 #header-login-form.open
{
267 box-shadow: 0 1px 1px 1px #797979;
270 #header-login-form input
[type
="text"], #header-login-form input
[type
="password"], #header-login-form
.remember-me
{
272 padding: 5px 5px 3px 15px;
276 border: medium none currentColor
;
278 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
283 #header-login-form input
[type
="text"]::-webkit-input-placeholder
,
284 #header-login-form input
[type
="password"]::-webkit-input-placeholder
289 #header-login-form .remember-me
{
290 display: inline-block
;
292 padding: 5px 20px 3px 20px;
296 #header-login-form .remember-me label
, #header-login-form
.remember-me input
{
300 #header-login-form input
[type
="submit"] {
301 display: inline-block
;
306 border: medium none currentColor
;
308 box-shadow: 1px 1px 2px #005C3E, -1px -1px 2px #005C3E;
312 #header-login-form input
, #header-login-form
.remember-me
{
313 transition: visibility
1s, opacity
1s;
318 #header-login-form.open input
, #header-login-form
.open
.remember-me
{
323 .new-version-message {
327 .new-version-message a {
328 color: rgb
(151, 96, 13);
337 /* Hack-ish way to only shadow the top part. */
338 box-shadow: 0 -20px 20px -20px #797979;
340 background: url
(../img/noise.png) #979797;
343 @media screen and
(max-width: 64em) {
349 @media screen and
(min-width: 64em) {
351 /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
357 * CONTENT - LINKLIST PAGING
368 .linklist-filters a {
370 text-decoration: none
;
373 .linklist-filters .filter-off {
378 .linklist-filters .filter-on {
391 text-decoration: none
;
394 .linklist-pages a:hover {
407 text-decoration: none
;
410 border: solid
1px #979797;
418 .linksperpage input[type="text"] {
422 padding: 3px 5px 3px 8px;
424 border: medium none currentColor
;
425 --border-radius: 25px;
426 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
432 * CONTENT - LINKLIST ITEMS
437 box-shadow: 2px 2px 0.5em #797979;
440 .linklist-item-title, .linklist-item-title h2 {
442 word-wrap: break-word
;
445 .linklist-item-title {
446 background: #20b988 url
(../img/noise.png);
447 border-bottom: 1px solid
#1b926c;
448 box-shadow: 1px 1px 0.2em #1b926c;
451 .linklist-item-title h2 {
452 padding: 3px 10px 0 10px;
456 .linklist-item-title a {
459 text-decoration: none
;
460 vertical-align: middle
;
461 font-family: Roboto Slab
, Arial
, sans-serif
;
464 .linklist-item-title .linklist-link:visited {
468 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
473 .linklist-item-title .label-private {
474 border: solid
1px #d0fff0;
475 font-family: Arial
, sans-serif
;
479 .linklist-item-title .fold-button {
483 .linklist-item-editbuttons {
488 .linklist-item-editbuttons a {
492 .linklist-item-description {
494 font-family: Roboto Slab
, Arial
, sans-serif
;
495 word-wrap: break-word
;
498 .linklist-item-description a {
499 text-decoration: none
;
503 .linklist-item-description a:hover {
504 text-shadow: 1px 1px #ddd;
507 .linklist-item-description a:visited {
511 .linklist-item-thumbnail {
516 .linklist-item-infos {
517 padding: 5px 5px 0 5px;
518 background: #ddd url
(../img/noise.png);
519 border-top: 1px solid
#989898;
520 box-shadow: 1px -1px 0.2em #989898;
524 .linklist-item-infos a {
526 text-decoration: none
;
529 .linklist-item-infos a:hover {
533 .linklist-item-tags {
538 .linklist-item-infos .label-tag {
539 border: 1px solid
#505050;
543 .linklist-item-infos .label-tag:hover {
544 border: 1px solid
#000;
547 .linklist-item-infos-dateblock {
551 .linklist-plugin-icon {
556 .linklist-item-infos-url {
560 text-overflow: ellipsis
;
565 @media screen and
(max-width: 64em) {
566 .linklist-item-infos-url {
584 background: linear-gradient
(to right
, #949393, #252525, #949393);
599 background: url
(../img/noise.png) #1fa67a;
601 box-shadow: 1px 1px 2px #797979;
611 border-radius: 5px 5px 0 0;
612 border-bottom: 1px solid
#797979;
615 .page-form div, .page-form p {
623 .page-form input[type="text"], .page-form input[type="password"] {
625 padding: 5px 5px 3px 15px;
629 border: medium none currentColor
;
631 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
636 .page-form input
[type
="text"]::-webkit-input-placeholder
,
637 .page-form input[type="password"]::-webkit-input-placeholder {
641 #login-form .remember-me
{
647 .page-form input[type="submit"] {
652 border: medium none currentColor
;
654 box-shadow: 1px 1px 4px #0C7653, -1px -1px 6px #0C7653, -1px 1px 6px #0C7653, 1px -1px 6px #0C7653;
665 * CONTENT - LINKLIST ITEMS
670 box-shadow: 2px 2px 0.5em #797979;
673 .linklist-item-title, .linklist-item-title h2 {
677 .linklist-item-title {
678 background: #20b988 url
(../img/noise.png);
679 border-bottom: 1px solid
#1b926c;
680 box-shadow: 1px 1px 0.2em #1b926c;
683 .linklist-item-title h2 {
684 padding: 3px 10px 0 10px;
688 .linklist-item-title a {
691 text-decoration: none
;
692 vertical-align: middle
;
693 font-family: Roboto Slab
, Arial
, sans-serif
;
696 .linklist-item-title .linklist-link:visited {
700 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
705 .linklist-item-title .label-private {
706 border: solid
1px #d0fff0;
707 font-family: Arial
, sans-serif
;
711 .linklist-item-title .fold-button {
715 .linklist-item-editbuttons {
720 .linklist-item-editbuttons a {
724 .linklist-item-description {
726 font-family: Roboto Slab
, Arial
, sans-serif
;
729 .linklist-item-description a {
730 text-decoration: none
;
734 .linklist-item-description a:hover {
735 text-shadow: 1px 1px #ddd;
738 .linklist-item-description a:visited {
742 .linklist-item-infos {
744 background: #ddd url
(../img/noise.png);
745 border-top: 1px solid
#989898;
746 box-shadow: 1px -1px 0.2em #989898;
751 .linklist-item-infos a {
753 text-decoration: none
;
756 .linklist-item-infos a:hover {
760 .linklist-item-tags {
764 .linklist-item-infos .label-tag {
765 border: 1px solid
#505050;
769 .linklist-item-infos .label-tag:hover {
770 border: 1px solid
#000;
773 .linklist-plugin-icon {
778 .linklist-item-infos-url {
782 text-overflow: ellipsis
;