]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/default/css/shaarli.css
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;
104 /* Chrome bugfix: with 100% height, it only displays the first element. */
111 transition: max-height
0.75s;
114 .pure-menu-selected {
119 .pure-menu-link:visited
,
120 .pure-menu-selected
.pure-menu-link
,
121 .pure-menu-selected .pure-menu-link:visited {
125 .pure-menu-link:hover
,
126 .pure-menu-selected .pure-menu-link:hover {
128 background: transparent
;
141 background-color: #b0ddce;
145 border-radius: 100px;
149 transition: all
0.5s;
152 .menu-toggle .bar:first-child {
153 transform: translateY
(-6px);
156 .menu-toggle.x .bar {
157 transform: rotate
(45deg);
160 .menu-toggle.x .bar:first-child {
161 transform: rotate
(-45deg);
164 @media screen and
(max-width: 64em) {
176 background: url
(../img/noise.png), #1fa67a url
(../img/logo2.png) no-repeat fixed
10px 2.5em;
182 margin: 45px 0 0 125px;
187 #header h1 a
, #header h1
a:visited
{
188 /* https://css-tricks.com/centering-css-complete-guide/#vertical-inline-multiple */
189 display: -ms-flexbox
;
191 flex-direction: column
;
192 justify-content: center
;
197 text-decoration: none
;
200 font-family: Roboto Slab
, Arial
, sans-serif
;
213 /* position: fixed; */
223 * Can't make it work with awesomplete list z-index. Any idea?
233 #search input
[type
="text"] {
235 padding: 5px 5px 3px 15px;
238 transition: width
.5s ease
;
240 border: medium none currentColor
;
242 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
247 #search input
[type
="text"]::-webkit-input-placeholder
{
252 background: transparent
;
257 #search button:hover
{
268 #header-login-form.open
{
272 box-shadow: 0 1px 1px 1px #797979;
275 #header-login-form input
[type
="text"], #header-login-form input
[type
="password"], #header-login-form
.remember-me
{
277 padding: 5px 5px 3px 15px;
281 border: medium none currentColor
;
283 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
288 #header-login-form input
[type
="text"]::-webkit-input-placeholder
,
289 #header-login-form input
[type
="password"]::-webkit-input-placeholder
294 #header-login-form .remember-me
{
295 display: inline-block
;
297 padding: 5px 20px 3px 20px;
301 #header-login-form .remember-me label
, #header-login-form
.remember-me input
{
305 #header-login-form input
[type
="submit"] {
306 display: inline-block
;
311 border: medium none currentColor
;
313 box-shadow: 1px 1px 2px #005C3E, -1px -1px 2px #005C3E;
317 #header-login-form input
, #header-login-form
.remember-me
{
318 transition: visibility
1s, opacity
1s;
323 #header-login-form.open input
, #header-login-form
.open
.remember-me
{
328 .new-version-message {
332 .new-version-message a {
333 color: rgb
(151, 96, 13);
342 /* Hack-ish way to only shadow the top part. */
343 box-shadow: 0 -20px 20px -20px #797979;
345 background: url
(../img/noise.png) #979797;
348 @media screen and
(max-width: 64em) {
354 @media screen and
(min-width: 64em) {
356 /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
362 * CONTENT - LINKLIST PAGING
373 .linklist-filters a {
375 text-decoration: none
;
378 .linklist-filters .filter-off {
383 .linklist-filters .filter-on {
396 text-decoration: none
;
399 .linklist-pages a:hover {
412 text-decoration: none
;
415 border: solid
1px #979797;
423 .linksperpage input[type="text"] {
427 padding: 3px 5px 3px 8px;
429 border: medium none currentColor
;
430 --border-radius: 25px;
431 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
437 * CONTENT - LINKLIST ITEMS
442 box-shadow: 2px 2px 0.5em #797979;
445 .linklist-item-title, .linklist-item-title h2 {
447 word-wrap: break-word
;
450 .linklist-item-title {
451 background: #20b988 url
(../img/noise.png);
452 border-bottom: 1px solid
#1b926c;
453 box-shadow: 1px 1px 0.2em #1b926c;
456 .linklist-item-title h2 {
457 padding: 3px 10px 0 10px;
461 .linklist-item-title a {
464 text-decoration: none
;
465 vertical-align: middle
;
466 font-family: Roboto Slab
, Arial
, sans-serif
;
469 .linklist-item-title .linklist-link:visited {
473 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
478 .linklist-item-title .label-private {
479 border: solid
1px #d0fff0;
480 font-family: Arial
, sans-serif
;
484 .linklist-item-title .fold-button {
488 .linklist-item-editbuttons {
493 .linklist-item-editbuttons a {
497 .linklist-item-description {
499 font-family: Roboto Slab
, Arial
, sans-serif
;
500 word-wrap: break-word
;
503 .linklist-item-description a {
504 text-decoration: none
;
508 .linklist-item-description a:hover {
509 text-shadow: 1px 1px #ddd;
512 .linklist-item-description a:visited {
516 .linklist-item-thumbnail {
521 .linklist-item-infos {
522 padding: 5px 5px 0 5px;
523 background: #ddd url
(../img/noise.png);
524 border-top: 1px solid
#989898;
525 box-shadow: 1px -1px 0.2em #989898;
529 .linklist-item-infos a {
531 text-decoration: none
;
534 .linklist-item-infos a:hover {
538 .linklist-item-tags {
543 .linklist-item-infos .label-tag {
544 border: 1px solid
#505050;
548 .linklist-item-infos .label-tag:hover {
549 border: 1px solid
#000;
552 .linklist-item-infos-dateblock {
556 .linklist-plugin-icon {
561 .linklist-item-infos-url {
565 text-overflow: ellipsis
;
570 @media screen and
(max-width: 64em) {
571 .linklist-item-infos-url {
589 background: linear-gradient
(to right
, #949393, #252525, #949393);
604 background: url
(../img/noise.png) #1fa67a;
606 box-shadow: 1px 1px 2px #797979;
616 border-radius: 5px 5px 0 0;
617 border-bottom: 1px solid
#797979;
620 .page-form div, .page-form p {
628 .page-form input[type="text"], .page-form input[type="password"] {
630 padding: 5px 5px 3px 15px;
634 border: medium none currentColor
;
636 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
641 .page-form input
[type
="text"]::-webkit-input-placeholder
,
642 .page-form input[type="password"]::-webkit-input-placeholder {
646 #login-form .remember-me
{
652 .page-form input[type="submit"] {
657 border: medium none currentColor
;
659 box-shadow: 1px 1px 4px #0C7653, -1px -1px 6px #0C7653, -1px 1px 6px #0C7653, 1px -1px 6px #0C7653;
670 * CONTENT - LINKLIST ITEMS
675 box-shadow: 2px 2px 0.5em #797979;
678 .linklist-item-title, .linklist-item-title h2 {
682 .linklist-item-title {
683 background: #20b988 url
(../img/noise.png);
684 border-bottom: 1px solid
#1b926c;
685 box-shadow: 1px 1px 0.2em #1b926c;
688 .linklist-item-title h2 {
689 padding: 3px 10px 0 10px;
693 .linklist-item-title a {
696 text-decoration: none
;
697 vertical-align: middle
;
698 font-family: Roboto Slab
, Arial
, sans-serif
;
701 .linklist-item-title .linklist-link:visited {
705 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
710 .linklist-item-title .label-private {
711 border: solid
1px #d0fff0;
712 font-family: Arial
, sans-serif
;
716 .linklist-item-title .fold-button {
720 .linklist-item-editbuttons {
725 .linklist-item-editbuttons a {
729 .linklist-item-description {
731 font-family: Roboto Slab
, Arial
, sans-serif
;
734 .linklist-item-description a {
735 text-decoration: none
;
739 .linklist-item-description a:hover {
740 text-shadow: 1px 1px #ddd;
743 .linklist-item-description a:visited {
747 .linklist-item-infos {
749 background: #ddd url
(../img/noise.png);
750 border-top: 1px solid
#989898;
751 box-shadow: 1px -1px 0.2em #989898;
756 .linklist-item-infos a {
758 text-decoration: none
;
761 .linklist-item-infos a:hover {
765 .linklist-item-tags {
769 .linklist-item-infos .label-tag {
770 border: 1px solid
#505050;
774 .linklist-item-infos .label-tag:hover {
775 border: 1px solid
#000;
778 .linklist-plugin-icon {
783 .linklist-item-infos-url {
787 text-overflow: ellipsis
;