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;
493 .header-alert-message {
504 // Plugins additional forms
511 border: medium none currentColor;
513 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
514 background: $almost-white;
520 &::-webkit-input-placeholder {
526 border: medium none currentColor;
528 background: $almost-white;
540 @media screen and (max-width: 64em) {
550 // CONTENT - LINKLIST PAGING
559 display: inline-block;
562 text-decoration: none;
566 background: $almost-white;
571 background: var(--main-color);
577 color: $almost-white;
587 text-decoration: none;
596 %linksperpage-button {
597 display: inline-block;
613 @extend %linksperpage-button;
615 background: $almost-white;
617 text-decoration: none;
623 @extend %linksperpage-button;
626 border: medium none currentColor;
627 background: $almost-white;
628 padding: 4px 5px 3px 8px;
636 // CONTENT - LINKLIST ITEMS
652 box-shadow: 1px 1px 3px $light-grey;
653 background: $almost-white;
670 .linklist-item-buttons {
673 background: transparent;
677 .linklist-item-buttons-right {
682 .linklist-item-buttons * {
690 .linklist-item-title {
693 background: $almost-white;
694 word-wrap: break-word;
700 word-wrap: break-word;
703 vertical-align: middle;
704 text-decoration: none;
710 color: var(--dark-main-color);
721 color: var(--main-color);
730 font-family: Arial, sans-serif;
735 border: solid 1px $orange;
740 border: solid 1px $blue;
750 .linklist-item-editbuttons {
775 color: $red !important;
784 color: $blue !important;
787 .linklist-item-description {
792 word-wrap: break-word;
795 text-decoration: none;
796 color: var(--main-color);
803 color: var(--dark-main-color);
808 .linklist-item-thumbnail {
817 .linklist-item-infos {
818 background: $background-linklist-info;
823 text-decoration: none;
831 .linklist-item-tags {
843 .linklist-plugin-icon {
844 display: inline-block;
851 .linklist-item-infos-dateblock {
855 .linklist-plugin-icon {
860 .linklist-item-infos-url {
864 text-overflow: ellipsis;
870 .linklist-item-infos-controls-group {
871 display: inline-block;
872 border-right: 1px solid $light-grey;
885 @media screen and (max-width: 64em) {
886 .linklist-item-infos-url {
901 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
915 border: solid 1px $form-input-border;
917 background: $form-input-background;
918 padding: 5px 5px 3px 15px;
922 box-sizing: border-box;
926 display: inline-block;
929 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;
930 background: var(--main-color);
933 vertical-align: center;
934 text-decoration: none;
936 color: $almost-white;
943 box-shadow: 1px 1px 2px $light-grey;
944 background: $almost-white;
950 background: $almost-white;
954 color: var(--main-color);
962 text-decoration: none;
963 color: var(--main-color);
967 @extend %page-form-button;
978 @extend %page-form-input;
980 &::-webkit-input-placeholder {
986 @extend %page-form-input;
988 &::-webkit-input-placeholder {
994 @extend %page-form-button;
999 @extend %page-form-input;
1001 padding: 15px 5px 3px 15px;
1005 word-wrap: break-word;
1019 margin-bottom: 10px;
1023 margin: 10px 0 25px;
1029 border-width: 1px 0;
1030 border-style: solid;
1031 border-color: $light-grey;
1044 text-decoration: none;
1066 @media screen and (min-width: 64em) {
1081 @media screen and (max-width: 64em) {
1091 // PAGE FORM - LIGHT
1099 // PAGE FORM - COMPLETE
1103 transform: translateY(-50%);
1106 .page-form-complete {
1120 @extend %page-form-valign;
1138 @extend %page-form-valign;
1141 &[type='password'] {
1148 @extend %page-form-valign;
1158 @extend %page-form-valign;
1178 &[name='linkform'] {
1185 @media screen and (max-width: 64em) {
1186 %page-form-valign-mobile {
1189 transform: translateY(0);
1192 .page-form-complete {
1197 @extend %page-form-valign-mobile;
1209 @extend %page-form-valign-mobile;
1211 &[type='checkbox'] {
1215 transform: translateY(-50%);
1221 @extend %page-form-valign-mobile;
1230 .timezone-continent {
1238 // Page visitor (page form extended)
1243 .page-error-container {
1247 margin: 70px 0 25px;
1259 .edit-link-container {
1261 margin-bottom: 10px;
1267 .login-form-container {
1276 text-decoration: none;
1281 border-color: $white;
1285 border-left: $white 1px solid;
1291 border: 1px solid $white;
1301 background-color: var(--main-color);
1302 background-image: none;
1303 color: $almost-white;
1309 .pluginform-container {
1319 @media screen and (max-width: 64em) {
1320 .pluginform-container {
1322 border-top-style: none;
1323 border-bottom-style: none;
1326 border-top-style: none;
1327 border-bottom-style: none;
1334 .import-field-container {
1339 .cloudtag-container {
1342 text-decoration: none;
1346 text-decoration: none;
1356 .taglist-container {
1360 text-decoration: none;
1365 display: inline-block;
1384 .validate-rename-tag {
1385 color: var(--main-color);
1390 .picwall-container {
1392 margin: 0 10px 10px;
1393 background-color: $almost-white;
1397 .picwall-pictureframe {
1398 display: table-cell;
1403 background-color: $almost-white;
1407 vertical-align: middle;
1410 // Adapt the width of the image
1418 text-decoration: none;
1424 font-family: Arial, sans-serif;
1428 // CSS to show title when hovering an image - no javascript required.
1436 background-color: $dark-shadow;
1440 color: $almost-white;
1449 transition: opacity 500ms ease-in-out;
1451 -webkit-transition: opacity 500ms ease-in-out;
1452 -moz-transition: opacity 500ms ease-in-out;
1453 -o-transition: opacity 500ms ease-in-out;
1468 text-decoration: none;
1483 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
1494 .daily-entry-title {
1498 text-decoration: none;
1505 background: linear-gradient(to right, $white, $light-grey, $white);
1512 .daily-entry-description {
1514 text-align: justify;
1516 word-wrap: break-word;
1525 .daily-entry-thumbnail {
1527 margin: 15px 5px 5px 15px;
1530 .daily-entry-description {
1532 text-decoration: none;
1533 color: var(--main-color);
1536 text-shadow: 1px 1px $background-linklist-info;
1540 color: var(--dark-main-color);
1545 // Fix empty bookmarklet name in Firefox
1547 -moz-user-select: auto;
1555 display: inline-block;
1557 text-decoration: none;
1566 margin: 0 !important;
1570 margin: .5em 0 0 !important;
1575 margin-top: 0 !important;
1579 margin-bottom: 5px !important;
1585 .pure-button-success,
1587 .pure-button-warning,
1588 .pure-button-primary,
1589 .pure-button-shaarli,
1590 .pure-button-secondary {
1592 text-shadow: 0 1px 1px $dark-shadow;
1593 color: $white !important;
1596 .pure-button-shaarli {
1597 background-color: var(--main-color);
1602 background-color: var(--main-color);
1606 border-radius: 10px;
1607 background: repeating-linear-gradient(
1611 var(--background-color) 6px,
1612 var(--background-color) 12px
1619 .thumbnails-page-container {
1621 padding: 10px 0 20px;
1624 .thumbnail-placeholder {
1626 background-color: $light-grey;
1629 .thumbnail-link-title {
1630 padding-bottom: 20px;
1632 text-overflow: ellipsis;
1633 white-space: nowrap;
1645 .linklist-item-infos-controls-group,