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;
392 background: $main-green;
401 @extend %subheader-form-input;
403 &::-webkit-input-placeholder {
410 display: inline-block;
412 border: 1px solid $almost-white;
414 background: $main-green;
418 color: $almost-white;
421 background: $almost-white;
427 @extend %subheader-form-input;
429 display: inline-block;
431 padding: 5px 20px 3px;
442 border: 2px solid $almost-white;
445 text-decoration: none;
446 color: $almost-white;
459 &::-webkit-input-placeholder {
466 @media screen and (min-width: 64em) {
478 .new-version-message {
482 color: $warning-text;
494 // Plugins additional forms
501 border: medium none currentColor;
503 box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset;
504 background: $almost-white;
510 &::-webkit-input-placeholder {
516 border: medium none currentColor;
518 background: $almost-white;
530 @media screen and (max-width: 64em) {
540 // CONTENT - LINKLIST PAGING
549 display: inline-block;
552 text-decoration: none;
556 background: $almost-white;
561 background: $main-green;
567 color: $almost-white;
577 text-decoration: none;
586 %linksperpage-button {
587 display: inline-block;
603 @extend %linksperpage-button;
605 background: $almost-white;
607 text-decoration: none;
613 @extend %linksperpage-button;
616 border: medium none currentColor;
617 background: $almost-white;
618 padding: 4px 5px 3px 8px;
626 // CONTENT - LINKLIST ITEMS
642 box-shadow: 1px 1px 3px $light-grey;
643 background: $almost-white;
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;
766 color: $blue !important;
769 .linklist-item-description {
774 word-wrap: break-word;
777 text-decoration: none;
790 .linklist-item-thumbnail {
799 .linklist-item-infos {
800 background: $background-linklist-info;
805 text-decoration: none;
813 .linklist-item-tags {
825 .linklist-plugin-icon {
826 display: inline-block;
833 .linklist-item-infos-dateblock {
837 .linklist-plugin-icon {
842 .linklist-item-infos-url {
846 text-overflow: ellipsis;
852 .linklist-item-infos-controls-group {
853 display: inline-block;
854 border-right: 1px solid $light-grey;
867 @media screen and (max-width: 64em) {
868 .linklist-item-infos-url {
883 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
897 border: solid 1px $form-input-border;
899 background: $form-input-background;
900 padding: 5px 5px 3px 15px;
904 box-sizing: border-box;
908 display: inline-block;
911 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;
912 background: $main-green;
915 vertical-align: center;
916 text-decoration: none;
918 color: $almost-white;
925 box-shadow: 1px 1px 2px $light-grey;
926 background: $almost-white;
932 background: $almost-white;
944 text-decoration: none;
949 @extend %page-form-button;
960 @extend %page-form-input;
962 &::-webkit-input-placeholder {
968 @extend %page-form-input;
970 &::-webkit-input-placeholder {
976 @extend %page-form-button;
981 @extend %page-form-input;
983 padding: 15px 5px 3px 15px;
987 word-wrap: break-word;
1001 margin-bottom: 10px;
1005 margin: 10px 0 25px;
1011 border-width: 1px 0;
1012 border-style: solid;
1013 border-color: $light-grey;
1026 text-decoration: none;
1048 @media screen and (min-width: 64em) {
1063 @media screen and (max-width: 64em) {
1074 // PAGE FORM - LIGHT
1082 // PAGE FORM - COMPLETE
1086 transform: translateY(-50%);
1089 .page-form-complete {
1103 @extend %page-form-valign;
1121 @extend %page-form-valign;
1124 &[type='password'] {
1131 @extend %page-form-valign;
1141 @extend %page-form-valign;
1161 &[name='linkform'] {
1168 @media screen and (max-width: 64em) {
1169 %page-form-valign-mobile {
1172 transform: translateY(0);
1175 .page-form-complete {
1180 @extend %page-form-valign-mobile;
1192 @extend %page-form-valign-mobile;
1194 &[type='checkbox'] {
1198 transform: translateY(-50%);
1204 @extend %page-form-valign-mobile;
1213 .timezone-continent {
1221 // Page visitor (page form extended)
1226 .page404-container {
1231 .edit-link-container {
1233 margin-bottom: 10px;
1239 .login-form-container {
1248 text-decoration: none;
1253 border-color: $white;
1257 border-left: $white 1px solid;
1263 border: 1px solid $white;
1273 background-color: $main-green;
1274 background-image: none;
1275 color: $almost-white;
1281 .pluginform-container {
1291 @media screen and (max-width: 64em) {
1292 .pluginform-container {
1294 border-top-style: none;
1295 border-bottom-style: none;
1298 border-top-style: none;
1299 border-bottom-style: none;
1306 .import-field-container {
1311 .cloudtag-container {
1314 text-decoration: none;
1318 text-decoration: none;
1328 .taglist-container {
1332 text-decoration: none;
1337 display: inline-block;
1356 .validate-rename-tag {
1362 .picwall-container {
1364 margin: 0 10px 10px;
1365 background-color: $almost-white;
1369 .picwall-pictureframe {
1370 display: table-cell;
1375 background-color: $almost-white;
1379 vertical-align: middle;
1382 // Adapt the width of the image
1390 text-decoration: none;
1396 font-family: Arial, sans-serif;
1400 // CSS to show title when hovering an image - no javascript required.
1408 background-color: $dark-shadow;
1412 color: $almost-white;
1421 transition: opacity 500ms ease-in-out;
1423 -webkit-transition: opacity 500ms ease-in-out;
1424 -moz-transition: opacity 500ms ease-in-out;
1425 -o-transition: opacity 500ms ease-in-out;
1438 text-decoration: none;
1453 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
1464 .daily-entry-title {
1468 text-decoration: none;
1475 background: linear-gradient(to right, $white, $light-grey, $white);
1482 .daily-entry-description {
1484 text-align: justify;
1486 word-wrap: break-word;
1495 .daily-entry-thumbnail {
1497 margin: 15px 5px 5px 15px;
1500 .daily-entry-description {
1502 text-decoration: none;
1506 text-shadow: 1px 1px $background-linklist-info;
1515 // Fix empty bookmarklet name in Firefox
1517 -moz-user-select: auto;
1525 display: inline-block;
1527 text-decoration: none;
1536 margin: 0 !important;
1540 margin: .5em 0 0 !important;
1545 margin-top: 0 !important;
1549 margin-bottom: 5px !important;
1555 .pure-button-success,
1557 .pure-button-warning,
1558 .pure-button-primary,
1559 .pure-button-shaarli,
1560 .pure-button-secondary {
1562 text-shadow: 0 1px 1px $dark-shadow;
1563 color: $white !important;
1566 .pure-button-shaarli {
1567 background-color: $main-green;
1572 background-color: $main-green;
1576 border-radius: 10px;
1577 background: repeating-linear-gradient(
1581 $background-color 6px,
1582 $background-color 12px
1589 .thumbnails-page-container {
1591 padding: 10px 0 20px;
1594 .thumbnail-placeholder {
1596 background-color: $light-grey;
1599 .thumbnail-link-title {
1600 padding-bottom: 20px;
1602 text-overflow: ellipsis;
1603 white-space: nowrap;