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) {
1088 // PAGE FORM - LIGHT
1096 // PAGE FORM - COMPLETE
1100 transform: translateY(-50%);
1103 .page-form-complete {
1117 @extend %page-form-valign;
1135 @extend %page-form-valign;
1138 &[type='password'] {
1145 @extend %page-form-valign;
1155 @extend %page-form-valign;
1175 &[name='linkform'] {
1182 @media screen and (max-width: 64em) {
1183 %page-form-valign-mobile {
1186 transform: translateY(0);
1189 .page-form-complete {
1194 @extend %page-form-valign-mobile;
1206 @extend %page-form-valign-mobile;
1208 &[type='checkbox'] {
1212 transform: translateY(-50%);
1218 @extend %page-form-valign-mobile;
1227 .timezone-continent {
1235 // Page visitor (page form extended)
1240 .page404-container {
1245 .edit-link-container {
1247 margin-bottom: 10px;
1253 .login-form-container {
1262 text-decoration: none;
1267 border-color: $white;
1271 border-left: $white 1px solid;
1277 border: 1px solid $white;
1287 background-color: var(--main-color);
1288 background-image: none;
1289 color: $almost-white;
1295 .pluginform-container {
1305 @media screen and (max-width: 64em) {
1306 .pluginform-container {
1308 border-top-style: none;
1309 border-bottom-style: none;
1312 border-top-style: none;
1313 border-bottom-style: none;
1320 .import-field-container {
1325 .cloudtag-container {
1328 text-decoration: none;
1332 text-decoration: none;
1342 .taglist-container {
1346 text-decoration: none;
1351 display: inline-block;
1370 .validate-rename-tag {
1371 color: var(--main-color);
1376 .picwall-container {
1378 margin: 0 10px 10px;
1379 background-color: $almost-white;
1383 .picwall-pictureframe {
1384 display: table-cell;
1389 background-color: $almost-white;
1393 vertical-align: middle;
1396 // Adapt the width of the image
1404 text-decoration: none;
1410 font-family: Arial, sans-serif;
1414 // CSS to show title when hovering an image - no javascript required.
1422 background-color: $dark-shadow;
1426 color: $almost-white;
1435 transition: opacity 500ms ease-in-out;
1437 -webkit-transition: opacity 500ms ease-in-out;
1438 -moz-transition: opacity 500ms ease-in-out;
1439 -o-transition: opacity 500ms ease-in-out;
1452 text-decoration: none;
1467 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
1478 .daily-entry-title {
1482 text-decoration: none;
1489 background: linear-gradient(to right, $white, $light-grey, $white);
1496 .daily-entry-description {
1498 text-align: justify;
1500 word-wrap: break-word;
1509 .daily-entry-thumbnail {
1511 margin: 15px 5px 5px 15px;
1514 .daily-entry-description {
1516 text-decoration: none;
1517 color: var(--main-color);
1520 text-shadow: 1px 1px $background-linklist-info;
1524 color: var(--dark-main-color);
1529 // Fix empty bookmarklet name in Firefox
1531 -moz-user-select: auto;
1539 display: inline-block;
1541 text-decoration: none;
1550 margin: 0 !important;
1554 margin: .5em 0 0 !important;
1559 margin-top: 0 !important;
1563 margin-bottom: 5px !important;
1569 .pure-button-success,
1571 .pure-button-warning,
1572 .pure-button-primary,
1573 .pure-button-shaarli,
1574 .pure-button-secondary {
1576 text-shadow: 0 1px 1px $dark-shadow;
1577 color: $white !important;
1580 .pure-button-shaarli {
1581 background-color: var(--main-color);
1586 background-color: var(--main-color);
1590 border-radius: 10px;
1591 background: repeating-linear-gradient(
1595 var(--background-color) 6px,
1596 var(--background-color) 12px
1603 .thumbnails-page-container {
1605 padding: 10px 0 20px;
1608 .thumbnail-placeholder {
1610 background-color: $light-grey;
1613 .thumbnail-link-title {
1614 padding-bottom: 20px;
1616 text-overflow: ellipsis;
1617 white-space: nowrap;
1629 .linklist-item-infos-controls-group,