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 text-decoration: none;
553 background: $almost-white;
558 background: $main-green;
564 color: $almost-white;
574 text-decoration: none;
583 %linksperpage-button {
584 display: inline-block;
600 @extend %linksperpage-button;
602 background: $almost-white;
604 text-decoration: none;
610 @extend %linksperpage-button;
613 border: medium none currentColor;
614 background: $almost-white;
615 padding: 4px 5px 3px 8px;
623 // CONTENT - LINKLIST ITEMS
639 box-shadow: 1px 1px 3px $light-grey;
640 background: $almost-white;
657 .linklist-item-buttons {
660 background: transparent;
664 .linklist-item-buttons-right {
669 .linklist-item-buttons * {
677 .linklist-item-title {
680 background: $almost-white;
681 word-wrap: break-word;
687 word-wrap: break-word;
690 vertical-align: middle;
691 text-decoration: none;
717 border: solid 1px $orange;
719 font-family: Arial, sans-serif;
729 .linklist-item-editbuttons {
754 color: $red !important;
763 color: $blue !important;
766 .linklist-item-description {
771 word-wrap: break-word;
774 text-decoration: none;
787 .linklist-item-thumbnail {
796 .linklist-item-infos {
797 background: $background-linklist-info;
802 text-decoration: none;
810 .linklist-item-tags {
822 .linklist-plugin-icon {
823 display: inline-block;
830 .linklist-item-infos-dateblock {
834 .linklist-plugin-icon {
839 .linklist-item-infos-url {
843 text-overflow: ellipsis;
849 .linklist-item-infos-controls-group {
850 display: inline-block;
851 border-right: 1px solid $light-grey;
864 @media screen and (max-width: 64em) {
865 .linklist-item-infos-url {
880 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
894 border: solid 1px $form-input-border;
896 background: $form-input-background;
897 padding: 5px 5px 3px 15px;
901 box-sizing: border-box;
905 display: inline-block;
908 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;
909 background: $main-green;
912 vertical-align: center;
913 text-decoration: none;
915 color: $almost-white;
922 box-shadow: 1px 1px 2px $light-grey;
923 background: $almost-white;
929 background: $almost-white;
941 text-decoration: none;
946 @extend %page-form-button;
957 @extend %page-form-input;
959 &::-webkit-input-placeholder {
965 @extend %page-form-input;
967 &::-webkit-input-placeholder {
973 @extend %page-form-button;
978 @extend %page-form-input;
980 padding: 15px 5px 3px 15px;
984 word-wrap: break-word;
1002 margin: 10px 0 25px;
1008 border-width: 1px 0;
1009 border-style: solid;
1010 border-color: $light-grey;
1023 text-decoration: none;
1045 @media screen and (min-width: 64em) {
1060 @media screen and (max-width: 64em) {
1071 // PAGE FORM - LIGHT
1079 // PAGE FORM - COMPLETE
1083 transform: translateY(-50%);
1086 .page-form-complete {
1100 @extend %page-form-valign;
1118 @extend %page-form-valign;
1121 &[type='password'] {
1128 @extend %page-form-valign;
1138 @extend %page-form-valign;
1158 &[name='linkform'] {
1165 @media screen and (max-width: 64em) {
1166 %page-form-valign-mobile {
1169 transform: translateY(0);
1172 .page-form-complete {
1177 @extend %page-form-valign-mobile;
1189 @extend %page-form-valign-mobile;
1191 &[type='checkbox'] {
1195 transform: translateY(-50%);
1201 @extend %page-form-valign-mobile;
1210 .timezone-continent {
1218 // Page visitor (page form extended)
1223 .page404-container {
1228 .edit-link-container {
1230 margin-bottom: 10px;
1236 .login-form-container {
1245 text-decoration: none;
1250 border-color: $white;
1254 border-left: $white 1px solid;
1260 border: 1px solid $white;
1270 background-color: $main-green;
1271 background-image: none;
1272 color: $almost-white;
1278 .pluginform-container {
1288 @media screen and (max-width: 64em) {
1289 .pluginform-container {
1291 border-top-style: none;
1292 border-bottom-style: none;
1295 border-top-style: none;
1296 border-bottom-style: none;
1303 .import-field-container {
1308 .cloudtag-container {
1311 text-decoration: none;
1315 text-decoration: none;
1325 .taglist-container {
1329 text-decoration: none;
1334 display: inline-block;
1353 .validate-rename-tag {
1359 .picwall-container {
1361 margin: 0 10px 10px;
1362 background-color: $almost-white;
1366 .picwall-pictureframe {
1367 display: table-cell;
1372 background-color: $almost-white;
1376 vertical-align: middle;
1379 // Adapt the width of the image
1387 text-decoration: none;
1393 font-family: Arial, sans-serif;
1397 // CSS to show title when hovering an image - no javascript required.
1405 background-color: $dark-shadow;
1409 color: $almost-white;
1418 transition: opacity 500ms ease-in-out;
1420 -webkit-transition: opacity 500ms ease-in-out;
1421 -moz-transition: opacity 500ms ease-in-out;
1422 -o-transition: opacity 500ms ease-in-out;
1435 text-decoration: none;
1450 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
1461 .daily-entry-title {
1465 text-decoration: none;
1472 background: linear-gradient(to right, $white, $light-grey, $white);
1479 .daily-entry-description {
1481 text-align: justify;
1483 word-wrap: break-word;
1492 .daily-entry-thumbnail {
1494 margin: 15px 5px 5px 15px;
1497 .daily-entry-description {
1499 text-decoration: none;
1503 text-shadow: 1px 1px $background-linklist-info;
1512 // Fix empty bookmarklet name in Firefox
1514 -moz-user-select: auto;
1522 display: inline-block;
1524 text-decoration: none;
1533 margin: 0 !important;
1537 margin: .5em 0 0 !important;
1542 margin-top: 0 !important;
1546 margin-bottom: 5px !important;
1552 .pure-button-success,
1554 .pure-button-warning,
1555 .pure-button-primary,
1556 .pure-button-shaarli,
1557 .pure-button-secondary {
1559 text-shadow: 0 1px 1px $dark-shadow;
1560 color: $white !important;
1563 .pure-button-shaarli {
1564 background-color: $main-green;
1569 background-color: $main-green;
1573 border-radius: 10px;
1574 background: repeating-linear-gradient(
1578 $background-color 6px,
1579 $background-color 12px
1586 .thumbnails-page-container {
1588 padding: 10px 0 20px;
1591 .thumbnail-placeholder {
1593 background-color: $light-grey;
1596 .thumbnail-link-title {
1597 padding-bottom: 20px;
1599 text-overflow: ellipsis;
1600 white-space: nowrap;