1 $fa-font-path: '~fork-awesome/fonts';
3 @import '~fork-awesome/scss/fork-awesome';
4 @import '~purecss/build/pure.css';
5 @import '~purecss/build/grids-responsive.css';
6 @import '~pure-extras/css/pure-extras.css';
7 @import '~awesomplete/awesomplete.css';
11 $almost-white: #f5f5f5;
15 $light-green: #b0ddce;
20 $background-color: #d0d0d0;
21 $background-linklist-info: #ddd;
22 $light-shadow: rgba(255, 255, 255, .078);
23 $dark-shadow: rgba(0, 0, 0, .298);
24 $warning-text: #97600d;
25 $form-input-border: #d8d8d8;
26 $form-input-background: #eee;
29 --main-color: #{$main-green};
30 --background-color: #{$background-color};
31 --dark-main-color: #{$dark-green};
36 background: var(--background-color);
53 display: inline-block;
54 border-radius: .25rem;
56 vertical-align: baseline;
69 font-family: 'Roboto';
73 local('Roboto-Regular'),
74 url('../fonts/Roboto-Regular.woff2') format('woff2'),
75 url('../fonts/Roboto-Regular.woff') format('woff');
79 font-family: 'Roboto';
84 url('../fonts/Roboto-Bold.woff2') format('woff2'),
85 url('../fonts/Roboto-Bold.woff') format('woff');
89 .pure-g [class*='pure-u'] {
90 font-family: Roboto, Arial, sans-serif;
93 // Extends Pure grids responsive to hide items.
94 // Use xx-0 to hide an item on xx screen.
95 // Display it at any level with xx-visible.
97 display: none !important;
100 @media screen and (min-width: 35.5em) {
102 display: none !important;
106 display: inline-block !important;
110 @media screen and (min-width: 48em) {
112 display: none !important;
116 display: inline-block !important;
120 @media screen and (min-width: 64em) {
122 display: none !important;
126 display: inline-block !important;
130 @media screen and (min-width: 80em) {
132 display: none !important;
136 display: inline-block !important;
140 // Make pure-extras alert closable.
141 .pure-alert-closable {
151 .pure-alert-success {
152 background-color: var(--main-color);
155 .pure-alert-warning {
157 color: $warning-text;
176 transition: max-height .5s;
178 background: var(--main-color);
180 // Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919
183 -webkit-font-smoothing: antialiased;
186 transition: max-height .75s;
192 // Chrome bugfix: with 100% height, it only displays the first element.
214 color: $almost-white;
218 background: transparent;
231 @extend %menu-link-hover;
235 .pure-menu-selected {
245 @extend %menu-link-hover;
263 border-radius: 100px;
264 background-color: $light-green;
267 transition-duration: .5s;
270 transform: translateY(-6px);
276 transform: rotate(45deg);
279 transform: rotate(-45deg);
285 @media screen and (max-width: 64em) {
300 @media screen and (min-width: 64em) {
313 border: medium none currentColor;
315 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
316 background: $almost-white;
322 &::-webkit-input-placeholder {
331 background-color: var(--main-color);
332 padding: 4px 8px 6px;
333 color: $almost-white;
337 @media screen and (max-width: 64em) {
350 @media screen and (max-width: 64em) {
367 color: var(--background-color);
377 @media screen and (max-width: 64em) {
384 %subheader-form-input {
385 border: medium none currentColor;
387 box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset;
388 background: $almost-white;
389 padding: 5px 5px 3px 15px;
398 background: var(--main-color);
407 @extend %subheader-form-input;
409 &::-webkit-input-placeholder {
416 display: inline-block;
418 border: 1px solid $almost-white;
420 background: var(--main-color);
424 color: $almost-white;
427 background: $almost-white;
428 color: var(--main-color);
433 @extend %subheader-form-input;
435 display: inline-block;
437 padding: 5px 20px 3px;
448 border: 2px solid $almost-white;
451 text-decoration: none;
452 color: $almost-white;
465 &::-webkit-input-placeholder {
472 @media screen and (min-width: 64em) {
484 .new-version-message {
488 color: $warning-text;
500 // Plugins additional forms
507 border: medium none currentColor;
509 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
510 background: $almost-white;
516 &::-webkit-input-placeholder {
522 border: medium none currentColor;
524 background: $almost-white;
536 @media screen and (max-width: 64em) {
546 // CONTENT - LINKLIST PAGING
555 display: inline-block;
558 text-decoration: none;
562 background: $almost-white;
567 background: var(--main-color);
573 color: $almost-white;
583 text-decoration: none;
592 %linksperpage-button {
593 display: inline-block;
609 @extend %linksperpage-button;
611 background: $almost-white;
613 text-decoration: none;
619 @extend %linksperpage-button;
622 border: medium none currentColor;
623 background: $almost-white;
624 padding: 4px 5px 3px 8px;
632 // CONTENT - LINKLIST ITEMS
648 box-shadow: 1px 1px 3px $light-grey;
649 background: $almost-white;
666 .linklist-item-buttons {
669 background: transparent;
673 .linklist-item-buttons-right {
678 .linklist-item-buttons * {
686 .linklist-item-title {
689 background: $almost-white;
690 word-wrap: break-word;
696 word-wrap: break-word;
699 vertical-align: middle;
700 text-decoration: none;
706 color: var(--dark-main-color);
717 color: var(--main-color);
726 font-family: Arial, sans-serif;
731 border: solid 1px $orange;
736 border: solid 1px $blue;
746 .linklist-item-editbuttons {
771 color: $red !important;
780 color: $blue !important;
783 .linklist-item-description {
788 word-wrap: break-word;
791 text-decoration: none;
792 color: var(--main-color);
799 color: var(--dark-main-color);
804 .linklist-item-thumbnail {
813 .linklist-item-infos {
814 background: $background-linklist-info;
819 text-decoration: none;
827 .linklist-item-tags {
839 .linklist-plugin-icon {
840 display: inline-block;
847 .linklist-item-infos-dateblock {
851 .linklist-plugin-icon {
856 .linklist-item-infos-url {
860 text-overflow: ellipsis;
866 .linklist-item-infos-controls-group {
867 display: inline-block;
868 border-right: 1px solid $light-grey;
881 @media screen and (max-width: 64em) {
882 .linklist-item-infos-url {
897 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
911 border: solid 1px $form-input-border;
913 background: $form-input-background;
914 padding: 5px 5px 3px 15px;
918 box-sizing: border-box;
922 display: inline-block;
925 box-shadow: 1px 1px 1px $form-input-border, -1px -1px 6px $form-input-border, -1px 1px 2px $form-input-border, 1px -1px 2px $form-input-border;
926 background: var(--main-color);
929 vertical-align: center;
930 text-decoration: none;
932 color: $almost-white;
939 box-shadow: 1px 1px 2px $light-grey;
940 background: $almost-white;
946 background: $almost-white;
950 color: var(--main-color);
958 text-decoration: none;
959 color: var(--main-color);
963 @extend %page-form-button;
974 @extend %page-form-input;
976 &::-webkit-input-placeholder {
982 @extend %page-form-input;
984 &::-webkit-input-placeholder {
990 @extend %page-form-button;
995 @extend %page-form-input;
997 padding: 15px 5px 3px 15px;
1001 word-wrap: break-word;
1015 margin-bottom: 10px;
1019 margin: 10px 0 25px;
1025 border-width: 1px 0;
1026 border-style: solid;
1027 border-color: $light-grey;
1040 text-decoration: none;
1062 @media screen and (min-width: 64em) {
1077 @media screen and (max-width: 64em) {
1087 // PAGE FORM - LIGHT
1095 // PAGE FORM - COMPLETE
1099 transform: translateY(-50%);
1102 .page-form-complete {
1116 @extend %page-form-valign;
1134 @extend %page-form-valign;
1137 &[type='password'] {
1144 @extend %page-form-valign;
1154 @extend %page-form-valign;
1174 &[name='linkform'] {
1181 @media screen and (max-width: 64em) {
1182 %page-form-valign-mobile {
1185 transform: translateY(0);
1188 .page-form-complete {
1193 @extend %page-form-valign-mobile;
1205 @extend %page-form-valign-mobile;
1207 &[type='checkbox'] {
1211 transform: translateY(-50%);
1217 @extend %page-form-valign-mobile;
1226 .timezone-continent {
1234 // Page visitor (page form extended)
1239 .page404-container {
1244 .edit-link-container {
1246 margin-bottom: 10px;
1252 .login-form-container {
1261 text-decoration: none;
1266 border-color: $white;
1270 border-left: $white 1px solid;
1276 border: 1px solid $white;
1286 background-color: var(--main-color);
1287 background-image: none;
1288 color: $almost-white;
1294 .pluginform-container {
1304 @media screen and (max-width: 64em) {
1305 .pluginform-container {
1307 border-top-style: none;
1308 border-bottom-style: none;
1311 border-top-style: none;
1312 border-bottom-style: none;
1319 .import-field-container {
1324 .cloudtag-container {
1327 text-decoration: none;
1331 text-decoration: none;
1341 .taglist-container {
1345 text-decoration: none;
1350 display: inline-block;
1369 .validate-rename-tag {
1370 color: var(--main-color);
1375 .picwall-container {
1377 margin: 0 10px 10px;
1378 background-color: $almost-white;
1382 .picwall-pictureframe {
1383 display: table-cell;
1388 background-color: $almost-white;
1392 vertical-align: middle;
1395 // Adapt the width of the image
1403 text-decoration: none;
1409 font-family: Arial, sans-serif;
1413 // CSS to show title when hovering an image - no javascript required.
1421 background-color: $dark-shadow;
1425 color: $almost-white;
1434 transition: opacity 500ms ease-in-out;
1436 -webkit-transition: opacity 500ms ease-in-out;
1437 -moz-transition: opacity 500ms ease-in-out;
1438 -o-transition: opacity 500ms ease-in-out;
1453 text-decoration: none;
1468 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
1479 .daily-entry-title {
1483 text-decoration: none;
1490 background: linear-gradient(to right, $white, $light-grey, $white);
1497 .daily-entry-description {
1499 text-align: justify;
1501 word-wrap: break-word;
1510 .daily-entry-thumbnail {
1512 margin: 15px 5px 5px 15px;
1515 .daily-entry-description {
1517 text-decoration: none;
1518 color: var(--main-color);
1521 text-shadow: 1px 1px $background-linklist-info;
1525 color: var(--dark-main-color);
1530 // Fix empty bookmarklet name in Firefox
1532 -moz-user-select: auto;
1540 display: inline-block;
1542 text-decoration: none;
1551 margin: 0 !important;
1555 margin: .5em 0 0 !important;
1560 margin-top: 0 !important;
1564 margin-bottom: 5px !important;
1570 .pure-button-success,
1572 .pure-button-warning,
1573 .pure-button-primary,
1574 .pure-button-shaarli,
1575 .pure-button-secondary {
1577 text-shadow: 0 1px 1px $dark-shadow;
1578 color: $white !important;
1581 .pure-button-shaarli {
1582 background-color: var(--main-color);
1587 background-color: var(--main-color);
1591 border-radius: 10px;
1592 background: repeating-linear-gradient(
1596 var(--background-color) 6px,
1597 var(--background-color) 12px
1604 .thumbnails-page-container {
1606 padding: 10px 0 20px;
1609 .thumbnail-placeholder {
1611 background-color: $light-grey;
1614 .thumbnail-link-title {
1615 padding-bottom: 20px;
1617 text-overflow: ellipsis;
1618 white-space: nowrap;
1630 .linklist-item-infos-controls-group,