1 $fa-font-path: '~font-awesome/fonts';
3 @import '~font-awesome/scss/font-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;
30 background: $background-color;
47 display: inline-block;
48 border-radius: .25rem;
50 vertical-align: baseline;
63 font-family: 'Roboto';
67 local('Roboto-Regular'),
68 url('../fonts/Roboto-Regular.woff2') format('woff2'),
69 url('../fonts/Roboto-Regular.woff') format('woff');
73 font-family: 'Roboto';
78 url('../fonts/Roboto-Bold.woff2') format('woff2'),
79 url('../fonts/Roboto-Bold.woff') format('woff');
83 .pure-g [class*='pure-u'] {
84 font-family: Roboto, Arial, sans-serif;
87 // Extends Pure grids responsive to hide items.
88 // Use xx-0 to hide an item on xx screen.
89 // Display it at any level with xx-visible.
91 display: none !important;
94 @media screen and (min-width: 35.5em) {
96 display: none !important;
100 display: inline-block !important;
104 @media screen and (min-width: 48em) {
106 display: none !important;
110 display: inline-block !important;
114 @media screen and (min-width: 64em) {
116 display: none !important;
120 display: inline-block !important;
124 @media screen and (min-width: 80em) {
126 display: none !important;
130 display: inline-block !important;
134 // Make pure-extras alert closable.
135 .pure-alert-closable {
145 .pure-alert-success {
146 background-color: $main-green;
149 .pure-alert-warning {
151 color: $warning-text;
170 transition: max-height .5s;
172 background: $main-green;
174 // Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919
177 -webkit-font-smoothing: antialiased;
180 transition: max-height .75s;
186 // Chrome bugfix: with 100% height, it only displays the first element.
208 color: $almost-white;
212 background: transparent;
225 @extend %menu-link-hover;
229 .pure-menu-selected {
239 @extend %menu-link-hover;
257 border-radius: 100px;
258 background-color: $light-green;
261 transition-duration: .5s;
264 transform: translateY(-6px);
270 transform: rotate(45deg);
273 transform: rotate(-45deg);
279 @media screen and (max-width: 64em) {
294 @media screen and (min-width: 64em) {
307 border: medium none currentColor;
309 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
310 background: $almost-white;
316 &::-webkit-input-placeholder {
325 background-color: $main-green;
326 padding: 4px 8px 6px;
327 color: $almost-white;
331 @media screen and (max-width: 64em) {
344 @media screen and (max-width: 64em) {
361 color: $background-color;
371 @media screen and (max-width: 64em) {
378 %subheader-form-input {
379 border: medium none currentColor;
381 box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset;
382 background: $almost-white;
383 padding: 5px 5px 3px 15px;
394 background: $main-green;
403 @extend %subheader-form-input;
405 &::-webkit-input-placeholder {
412 display: inline-block;
414 border: 1px solid $almost-white;
416 background: $main-green;
420 color: $almost-white;
423 background: $almost-white;
429 @extend %subheader-form-input;
431 display: inline-block;
433 padding: 5px 20px 3px;
444 border: 2px solid $almost-white;
447 text-decoration: none;
448 color: $almost-white;
461 &::-webkit-input-placeholder {
468 @media screen and (min-width: 64em) {
480 .new-version-message {
484 color: $warning-text;
496 // Plugins additional forms
503 border: medium none currentColor;
505 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
506 background: $almost-white;
512 &::-webkit-input-placeholder {
518 border: medium none currentColor;
520 background: $almost-white;
532 @media screen and (max-width: 64em) {
542 // CONTENT - LINKLIST PAGING
551 text-decoration: none;
555 background: $almost-white;
560 background: $main-green;
566 color: $almost-white;
576 text-decoration: none;
585 %linksperpage-button {
586 display: inline-block;
602 @extend %linksperpage-button;
604 background: $almost-white;
606 text-decoration: none;
612 @extend %linksperpage-button;
615 border: medium none currentColor;
616 background: $almost-white;
617 padding: 4px 5px 3px 8px;
625 // CONTENT - LINKLIST ITEMS
640 box-shadow: 1px 1px 3px $light-grey;
641 background: $almost-white;
644 .linklist-item-title {
646 @extend %private-border;
651 .linklist-item-description {
653 @extend %private-border;
660 .linklist-item-buttons {
663 background: transparent;
667 .linklist-item-buttons-right {
672 .linklist-item-buttons * {
680 .linklist-item-title {
683 background: $almost-white;
684 word-wrap: break-word;
690 word-wrap: break-word;
693 vertical-align: middle;
694 text-decoration: none;
720 border: solid 1px $orange;
722 font-family: Arial, sans-serif;
732 .linklist-item-editbuttons {
757 color: $red !important;
761 .linklist-item-description {
766 word-wrap: break-word;
769 text-decoration: none;
782 .linklist-item-thumbnail {
791 .linklist-item-infos {
792 background: $background-linklist-info;
797 text-decoration: none;
805 .linklist-item-tags {
817 .linklist-plugin-icon {
818 display: inline-block;
825 .linklist-item-infos-dateblock {
829 .linklist-plugin-icon {
834 .linklist-item-infos-url {
838 text-overflow: ellipsis;
844 .linklist-item-infos-controls-group {
845 display: inline-block;
846 border-right: 1px solid $light-grey;
855 @media screen and (max-width: 64em) {
856 .linklist-item-infos-url {
871 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
885 border: solid 1px $form-input-border;
887 background: $form-input-background;
888 padding: 5px 5px 3px 15px;
892 box-sizing: border-box;
896 display: inline-block;
899 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;
900 background: $main-green;
903 vertical-align: center;
904 text-decoration: none;
906 color: $almost-white;
913 box-shadow: 1px 1px 2px $light-grey;
914 background: $almost-white;
920 background: $almost-white;
932 text-decoration: none;
937 @extend %page-form-button;
948 @extend %page-form-input;
950 &::-webkit-input-placeholder {
956 @extend %page-form-input;
958 &::-webkit-input-placeholder {
964 @extend %page-form-button;
969 @extend %page-form-input;
971 padding: 15px 5px 3px 15px;
975 word-wrap: break-word;
1000 border-style: solid;
1001 border-color: $light-grey;
1014 text-decoration: none;
1036 @media screen and (min-width: 64em) {
1051 @media screen and (max-width: 64em) {
1062 // PAGE FORM - LIGHT
1070 // PAGE FORM - COMPLETE
1074 transform: translateY(-50%);
1077 .page-form-complete {
1091 @extend %page-form-valign;
1109 @extend %page-form-valign;
1112 &[type='password'] {
1119 @extend %page-form-valign;
1129 @extend %page-form-valign;
1149 &[name='linkform'] {
1156 @media screen and (max-width: 64em) {
1157 %page-form-valign-mobile {
1160 transform: translateY(0);
1163 .page-form-complete {
1168 @extend %page-form-valign-mobile;
1180 @extend %page-form-valign-mobile;
1182 &[type='checkbox'] {
1186 transform: translateY(-50%);
1192 @extend %page-form-valign-mobile;
1201 .timezone-continent {
1209 // Page visitor (page form extended)
1214 .page404-container {
1219 .edit-link-container {
1221 margin-bottom: 10px;
1227 .login-form-container {
1236 text-decoration: none;
1241 border-color: $white;
1245 border-left: $white 1px solid;
1251 border: 1px solid $white;
1261 background-color: $main-green;
1262 background-image: none;
1263 color: $almost-white;
1269 .pluginform-container {
1279 @media screen and (max-width: 64em) {
1280 .pluginform-container {
1282 border-top-style: none;
1283 border-bottom-style: none;
1286 border-top-style: none;
1287 border-bottom-style: none;
1294 .import-field-container {
1299 .cloudtag-container {
1302 text-decoration: none;
1306 text-decoration: none;
1316 .taglist-container {
1320 text-decoration: none;
1325 display: inline-block;
1344 .validate-rename-tag {
1350 .picwall-container {
1352 margin: 0 10px 10px;
1353 background-color: $almost-white;
1357 .picwall-pictureframe {
1358 display: table-cell;
1363 background-color: $almost-white;
1367 vertical-align: middle;
1370 // Adapt the width of the image
1378 text-decoration: none;
1384 font-family: Arial, sans-serif;
1388 // CSS to show title when hovering an image - no javascript required.
1396 background-color: $dark-shadow;
1400 color: $almost-white;
1409 transition: opacity 500ms ease-in-out;
1411 -webkit-transition: opacity 500ms ease-in-out;
1412 -moz-transition: opacity 500ms ease-in-out;
1413 -o-transition: opacity 500ms ease-in-out;
1426 text-decoration: none;
1441 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
1452 .daily-entry-title {
1456 text-decoration: none;
1463 background: linear-gradient(to right, $white, $light-grey, $white);
1470 .daily-entry-description {
1472 text-align: justify;
1474 word-wrap: break-word;
1483 .daily-entry-thumbnail {
1485 margin: 15px 5px 5px 15px;
1488 .daily-entry-description {
1490 text-decoration: none;
1494 text-shadow: 1px 1px $background-linklist-info;
1503 // Fix empty bookmarklet name in Firefox
1505 -moz-user-select: auto;
1513 display: inline-block;
1515 text-decoration: none;
1524 margin: 0 !important;
1528 margin: .5em 0 0 !important;
1533 margin-top: 0 !important;
1537 margin-bottom: 5px !important;
1543 .pure-button-success,
1545 .pure-button-warning,
1546 .pure-button-primary,
1547 .pure-button-shaarli,
1548 .pure-button-secondary {
1550 text-shadow: 0 1px 1px $dark-shadow;
1551 color: $white !important;
1554 .pure-button-shaarli {
1555 background-color: $main-green;
1560 background-color: $main-green;
1564 border-radius: 10px;
1565 background: repeating-linear-gradient(
1569 $background-color 6px,
1570 $background-color 12px
1577 .thumbnails-page-container {
1579 padding: 10px 0 20px;
1582 .thumbnail-placeholder {
1584 background-color: $light-grey;
1587 .thumbnail-link-title {
1588 padding-bottom: 20px;
1590 text-overflow: ellipsis;
1591 white-space: nowrap;