]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/default/css/shaarli.css
5 background: url
(../img/noise.png) #979797;
22 display: inline-block
;
29 vertical-align: baseline
;
30 border-radius: .25rem;
38 font-family: 'Roboto Slab';
43 local
('Fira-Sans-regular'),
44 url
('../fonts/Fira-Sans-regular.woff2') format
('woff2'),
45 url
('../fonts/Fira-Sans-regular.woff') format
('woff');
49 * Extends Pure grids responsive to hide items.
50 * Use xx-0 to hide an item on xx screen.
51 * Display it at any level with xx-visible.
53 .pure-u-0 { display: none
!important
; }
54 @media screen and
(min-width: 35.5em) {
55 .pure-u-sm-0 { display: none
!important
; }
56 .pure-u-sm-visible { display: inline-block
!important
; }
58 @media screen and
(min-width: 48em) {
59 .pure-u-md-0 { display: none
!important
; }
60 .pure-u-md-visible { display: inline-block
!important
; }
62 @media screen and
(min-width: 64em) {
63 .pure-u-lg-0 { display: none
!important
; }
64 .pure-u-lg-visible { display: inline-block
!important
; }
66 @media screen and
(min-width: 80em) {
67 .pure-u-xl-0 { display: none
!important
; }
68 .pure-u-xl-visible { display: inline-block
!important
; }
71 .pure-g [class*="pure-u"]{
72 font-family: Roboto Slab
, Arial
, sans-serif
;
76 * Make pure-extras alert closable.
78 .pure-alert-closable .fa-times {
86 background-color: #1b926c;
97 -webkit-font-smoothing: antialiased
;
98 /* Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 */
100 transition: max-height
0.5s;
105 /* Chrome bugfix: with 100% height, it only displays the first element. */
112 transition: max-height
0.75s;
115 .pure-menu-selected {
120 .pure-menu-link:visited
,
121 .pure-menu-selected
.pure-menu-link
,
122 .pure-menu-selected .pure-menu-link:visited {
126 .pure-menu-link:hover
,
127 .pure-menu-selected .pure-menu-link:hover {
129 background: transparent
;
142 background-color: #b0ddce;
146 border-radius: 100px;
150 transition: all
0.5s;
153 .menu-toggle .bar:first-child {
154 transform: translateY
(-6px);
157 .menu-toggle.x .bar {
158 transform: rotate
(45deg);
161 .menu-toggle.x .bar:first-child {
162 transform: rotate
(-45deg);
165 @media screen and
(max-width: 64em) {
177 background: url
(../img/noise.png), #1fa67a url
(../img/logo2.png) no-repeat fixed
10px 2.5em;
183 margin: 45px 0 0 125px;
188 #header h1 a
, #header h1
a:visited
{
189 /* https://css-tricks.com/centering-css-complete-guide/#vertical-inline-multiple */
190 display: -ms-flexbox
;
192 flex-direction: column
;
193 justify-content: center
;
198 text-decoration: none
;
201 font-family: Roboto Slab
, Arial
, sans-serif
;
214 /* position: fixed; */
224 * Can't make it work with awesomplete list z-index. Any idea?
234 #search input
[type
="text"] {
236 padding: 5px 5px 3px 15px;
239 transition: width
.5s ease
;
241 border: medium none currentColor
;
243 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
248 #search input
[type
="text"]::-webkit-input-placeholder
{
253 background: transparent
;
258 #search button:hover
{
269 #header-login-form.open
{
273 box-shadow: 0 1px 1px 1px #797979;
276 #header-login-form input
[type
="text"], #header-login-form input
[type
="password"], #header-login-form
.remember-me
{
278 padding: 5px 5px 3px 15px;
282 border: medium none currentColor
;
284 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
289 #header-login-form input
[type
="text"]::-webkit-input-placeholder
,
290 #header-login-form input
[type
="password"]::-webkit-input-placeholder
295 #header-login-form .remember-me
{
296 display: inline-block
;
298 padding: 5px 20px 3px 20px;
302 #header-login-form .remember-me label
, #header-login-form
.remember-me input
{
306 #header-login-form input
[type
="submit"] {
307 display: inline-block
;
312 border: medium none currentColor
;
314 box-shadow: 1px 1px 2px #005C3E, -1px -1px 2px #005C3E;
318 #header-login-form input
, #header-login-form
.remember-me
{
319 transition: visibility
1s, opacity
1s;
324 #header-login-form.open input
, #header-login-form
.open
.remember-me
{
329 .new-version-message {
333 .new-version-message a {
334 color: rgb
(151, 96, 13);
343 /* Hack-ish way to only shadow the top part. */
344 box-shadow: 0 -20px 20px -20px #797979;
346 background: url
(../img/noise.png) #979797;
349 @media screen and
(max-width: 64em) {
355 @media screen and
(min-width: 64em) {
357 /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
363 * CONTENT - LINKLIST PAGING
374 .linklist-filters a {
376 text-decoration: none
;
379 .linklist-filters .filter-off {
384 .linklist-filters .filter-on {
397 text-decoration: none
;
400 .linklist-pages a:hover {
413 text-decoration: none
;
416 border: solid
1px #979797;
424 .linksperpage input[type="text"] {
428 padding: 3px 5px 3px 8px;
430 border: medium none currentColor
;
431 --border-radius: 25px;
432 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
438 * CONTENT - LINKLIST ITEMS
443 box-shadow: 2px 2px 0.5em #797979;
446 .linklist-item-title, .linklist-item-title h2 {
448 word-wrap: break-word
;
451 .linklist-item-title {
452 background: #20b988 url
(../img/noise.png);
453 border-bottom: 1px solid
#1b926c;
454 box-shadow: 1px 1px 0.2em #1b926c;
457 .linklist-item-title h2 {
458 padding: 3px 10px 0 10px;
462 .linklist-item-title a {
465 text-decoration: none
;
466 vertical-align: middle
;
467 font-family: Roboto Slab
, Arial
, sans-serif
;
470 .linklist-item-title .linklist-link:visited {
474 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
479 .linklist-item-title .label-private {
480 border: solid
1px #d0fff0;
481 font-family: Arial
, sans-serif
;
485 .linklist-item-title .fold-button {
489 .linklist-item-editbuttons {
494 .linklist-item-editbuttons a {
498 .linklist-item-description {
500 font-family: Roboto Slab
, Arial
, sans-serif
;
501 word-wrap: break-word
;
504 .linklist-item-description a {
505 text-decoration: none
;
509 .linklist-item-description a:hover {
510 text-shadow: 1px 1px #ddd;
513 .linklist-item-description a:visited {
517 .linklist-item-thumbnail {
522 .linklist-item-infos {
523 padding: 5px 5px 0 5px;
524 background: #ddd url
(../img/noise.png);
525 border-top: 1px solid
#989898;
526 box-shadow: 1px -1px 0.2em #989898;
530 .linklist-item-infos a {
532 text-decoration: none
;
535 .linklist-item-infos a:hover {
539 .linklist-item-infos .linklist-item-tags {
544 .linklist-item-infos .linklist-item-infos .label-tag {
545 border: 1px solid
#505050;
549 .linklist-item-infos .label-tag:hover {
550 border: 1px solid
#000;
553 .linklist-item-infos-dateblock {
557 .linklist-plugin-icon {
562 .linklist-item-infos-url {
566 text-overflow: ellipsis
;
571 @media screen and
(max-width: 64em) {
572 .linklist-item-infos-url {
590 background: linear-gradient
(to right
, #949393, #252525, #949393);
605 background: url
(../img/noise.png) #1fa67a;
607 box-shadow: 1px 1px 2px #797979;
618 border-radius: 5px 5px 0 0;
619 border-bottom: 1px solid
#797979;
631 .page-form input
[type
="text"],
632 .page-form input
[type
="password"],
633 .page-form textarea {
635 padding: 5px 5px 3px 15px;
639 border: medium none currentColor
;
641 box-shadow: 0 1px 0 rgba
(255, 255, 255, 0.078), 0 1px 4px rgba
(0, 0, 0, 0.298) inset
;
645 .page-form textarea {
647 padding: 15px 5px 3px 15px;
654 .page-form input
[type
="text"]::-webkit-input-placeholder
,
655 .page-form input[type="password"]::-webkit-input-placeholder {
659 .page-form input[type="submit"] {
664 border: medium none currentColor
;
666 box-shadow: 1px 1px 4px #0C7653, -1px -1px 6px #0C7653, -1px 1px 6px #0C7653, 1px -1px 6px #0C7653;
678 .page-form-light div, .page-form-light p {
683 * PAGE FORM - COMPLETE
685 .page-form-complete {
689 .page-form-complete div, .page-form-complete p {
693 .page-form-complete .form-label, .page-form-complete .form-input {
698 .page-form-complete
.form-label label
,
699 .page-form-complete
.form-input input
,
700 .page-form-complete .timezone {
703 transform: translateY
(-50%);
706 .page-form-complete .form-label label {
712 .page-form-complete .label-name {
716 .page-form-complete .label-desc {
730 .page-form table .order {
731 text-decoration: none
;
734 .page-form table, .page-form th, .page-form td {
737 border-color: #b0ddce;
740 .page-form th, .page-form td {
745 /* Awesomeplete fix */
746 .page-form .awesomplete {
750 .page-form .awesomplete input {
754 .page-form div.awesomplete > ul {
758 @media screen and
(max-width: 64em) {
759 .page-form-complete .form-label {
763 .page-form-complete
.form-label label
,
764 .page-form-complete
.form-input input
,
765 .page-form-complete .timezone {
768 transform: translateY
(0);
771 .page-form-complete .form-input input[type="checkbox"] {
775 transform: translateY
(-50%);
778 .page-form-complete .form-input {
782 .page-form-complete .form-label label {
788 .timezone-continent:after {
802 #login-form .remember-me
{
809 * CONTENT - LINKLIST ITEMS
814 box-shadow: 2px 2px 0.5em #797979;
817 .linklist-item-title, .linklist-item-title h2 {
821 .linklist-item-title {
822 background: #20b988 url
(../img/noise.png);
823 border-bottom: 1px solid
#1b926c;
824 box-shadow: 1px 1px 0.2em #1b926c;
827 .linklist-item-title h2 {
828 padding: 3px 10px 0 10px;
832 .linklist-item-title a {
835 text-decoration: none
;
836 vertical-align: middle
;
837 font-family: Roboto Slab
, Arial
, sans-serif
;
840 .linklist-item-title .linklist-link:visited {
844 .linklist-item-title a:hover, .linklist-item-title .linklist-link:hover{
848 .linklist-item-title .label-private {
849 border: solid
1px #d0fff0;
850 font-family: Arial
, sans-serif
;
854 .linklist-item-title .fold-button {
858 .linklist-item-editbuttons {
863 .linklist-item-editbuttons a {
867 .linklist-item-description {
869 font-family: Roboto Slab
, Arial
, sans-serif
;
872 .linklist-item-description a {
873 text-decoration: none
;
877 .linklist-item-description a:hover {
878 text-shadow: 1px 1px #ddd;
881 .linklist-item-description a:visited {
885 .linklist-item-infos {
887 background: #ddd url
(../img/noise.png);
888 border-top: 1px solid
#989898;
889 box-shadow: 1px -1px 0.2em #989898;
894 .linklist-item-infos a {
896 text-decoration: none
;
899 .linklist-item-infos a:hover {
903 .linklist-item-tags {
908 border: 1px solid
#505050;
913 border: 1px solid
#000;
916 .linklist-plugin-icon {
921 .linklist-item-infos-url {
925 text-overflow: ellipsis
;
933 text-decoration: none
;
936 .search-result .label-tag {
940 .search-result .label-tag .remove {
941 border-left: white
1px solid
;
956 #pluginform .mobile-row
{
964 @media screen and
(max-width: 64em) {
965 #pluginform .main-row
, #pluginform
.main-row td
{
966 border-bottom-style: none
;
969 #pluginform .mobile-row
, #pluginform
.mobile-row td
{
970 border-top-style: none
;