X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=assets%2Fdefault%2Fscss%2Fshaarli.scss;h=9e5464a0c8362fb233a7c71128d99e31d2cfdca2;hb=8ed59f107e5b373f3517b3c33e817e70375829c8;hp=09d5efbefb19a0f1e6fb60ff3e664927b574203d;hpb=17e45b2e9c33c736751e059276fadb480f98e621;p=github%2Fshaarli%2FShaarli.git diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss index 09d5efbe..9e5464a0 100644 --- a/assets/default/scss/shaarli.scss +++ b/assets/default/scss/shaarli.scss @@ -1,6 +1,6 @@ -$fa-font-path: '~font-awesome/fonts'; +$fa-font-path: '~fork-awesome/fonts'; -@import '~font-awesome/scss/font-awesome'; +@import '~fork-awesome/scss/fork-awesome'; @import '~purecss/build/pure.css'; @import '~purecss/build/grids-responsive.css'; @import '~pure-extras/css/pure-extras.css'; @@ -13,7 +13,7 @@ $dark-grey: #252525; $light-grey: #797979; $main-green: #1b926c; $light-green: #b0ddce; -$dark-green: #2a4c41; +$dark-green: #186446; $red: #ac2925; $orange: #f89406; $blue: #0b5ea6; @@ -146,6 +146,17 @@ body, background-color: $main-green; } +.pure-alert-warning { + a { + color: $warning-text; + font-weight: bold; + } +} + +.page-single-alert { + margin-top: 100px; +} + .anchor { &:target { padding-top: 40px; @@ -370,8 +381,6 @@ body, box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset; background: $almost-white; padding: 5px 5px 3px 15px; - width: 20%; - height: 20px; color: $dark-grey; } @@ -535,7 +544,10 @@ body, color: $dark-grey; font-size: .9em; + a { + display: inline-block; + margin: 3px 0; padding: 5px 8px; text-decoration: none; } @@ -625,23 +637,22 @@ body, } .linklist-item { + position: relative; margin: 0 0 10px; box-shadow: 1px 1px 3px $light-grey; background: $almost-white; &.private { - .linklist-item-title { - &::before { - @extend %private-border; - margin-top: 3px; - } - } - - .linklist-item-description { - &::before { - @extend %private-border; - height: 100%; - } + &::before { + display: block; + position: absolute; + top: 0; + left: 0; + z-index: 1; + background: $orange; + width: 2px; + height: 100%; + content: ''; } } } @@ -705,11 +716,19 @@ body, } } + .label { + font-family: Arial, sans-serif; + font-size: .65em; + } + .label-private { border: solid 1px $orange; color: $orange; - font-family: Arial, sans-serif; - font-size: .65em; + } + + .label-sticky { + border: solid 1px $blue; + color: $blue; } } @@ -732,7 +751,7 @@ body, font-size: 1em; } - .delete-checkbox { + .link-checkbox { display: none; } } @@ -747,6 +766,14 @@ body, font-size: 1.3em; } +.pin-link { + font-size: 1.3em; +} + +.pinned-link { + color: $blue !important; +} + .linklist-item-description { position: relative; padding: 0 10px; @@ -840,6 +867,10 @@ body, margin: 0 7px; } +.ctrl-delete { + margin: 0 7px 0 0; +} + // 64em -> lg @media screen and (max-width: 64em) { .linklist-item-infos-url { @@ -1543,3 +1574,54 @@ form { .pure-button-shaarli { background-color: $main-green; } + +.progressbar { + border-radius: 6px; + background-color: $main-green; + padding: 1px; + + > div { + border-radius: 10px; + background: repeating-linear-gradient( + -45deg, + $almost-white, + $almost-white 6px, + $background-color 6px, + $background-color 12px + ); + width: 0%; + height: 10px; + } +} + +.thumbnails-page-container { + .progress-counter { + padding: 10px 0 20px; + } + + .thumbnail-placeholder { + margin: 10px auto; + background-color: $light-grey; + } + + .thumbnail-link-title { + padding-bottom: 20px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } +} + +// Print rules +@media print { + .shaarli-menu { + position: absolute; + } + + .search-linklist, + .link-count-block, + .linklist-item-infos-controls-group, + .mobile-buttons { + display: none; + } +}