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;
758 .linklist-item-description {
763 word-wrap: break-word;
766 text-decoration: none;
779 .linklist-item-thumbnail {
788 .linklist-item-infos {
789 background: $background-linklist-info;
794 text-decoration: none;
802 .linklist-item-tags {
814 .linklist-plugin-icon {
815 display: inline-block;
822 .linklist-item-infos-dateblock {
826 .linklist-plugin-icon {
831 .linklist-item-infos-url {
835 text-overflow: ellipsis;
841 .linklist-item-infos-controls-group {
842 display: inline-block;
843 border-right: 1px solid $light-grey;
852 @media screen and (max-width: 64em) {
853 .linklist-item-infos-url {
868 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
882 border: solid 1px $form-input-border;
884 background: $form-input-background;
885 padding: 5px 5px 3px 15px;
889 box-sizing: border-box;
893 display: inline-block;
896 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;
897 background: $main-green;
900 vertical-align: center;
901 text-decoration: none;
903 color: $almost-white;
910 box-shadow: 1px 1px 2px $light-grey;
911 background: $almost-white;
917 background: $almost-white;
929 text-decoration: none;
934 @extend %page-form-button;
945 @extend %page-form-input;
947 &::-webkit-input-placeholder {
953 @extend %page-form-input;
955 &::-webkit-input-placeholder {
961 @extend %page-form-button;
966 @extend %page-form-input;
968 padding: 15px 5px 3px 15px;
972 word-wrap: break-word;
998 border-color: $light-grey;
1011 text-decoration: none;
1033 @media screen and (min-width: 64em) {
1048 @media screen and (max-width: 64em) {
1059 // PAGE FORM - LIGHT
1067 // PAGE FORM - COMPLETE
1071 transform: translateY(-50%);
1074 .page-form-complete {
1088 @extend %page-form-valign;
1106 @extend %page-form-valign;
1109 &[type='password'] {
1116 @extend %page-form-valign;
1126 @extend %page-form-valign;
1146 &[name='linkform'] {
1153 @media screen and (max-width: 64em) {
1154 %page-form-valign-mobile {
1157 transform: translateY(0);
1160 .page-form-complete {
1165 @extend %page-form-valign-mobile;
1177 @extend %page-form-valign-mobile;
1179 &[type='checkbox'] {
1183 transform: translateY(-50%);
1189 @extend %page-form-valign-mobile;
1198 .timezone-continent {
1206 // Page visitor (page form extended)
1211 .page404-container {
1216 .edit-link-container {
1218 margin-bottom: 10px;
1224 .login-form-container {
1233 text-decoration: none;
1238 border-color: $white;
1242 border-left: $white 1px solid;
1248 border: 1px solid $white;
1258 background-color: $main-green;
1259 background-image: none;
1260 color: $almost-white;
1266 .pluginform-container {
1276 @media screen and (max-width: 64em) {
1277 .pluginform-container {
1279 border-top-style: none;
1280 border-bottom-style: none;
1283 border-top-style: none;
1284 border-bottom-style: none;
1291 .import-field-container {
1296 .cloudtag-container {
1299 text-decoration: none;
1303 text-decoration: none;
1313 .taglist-container {
1317 text-decoration: none;
1322 display: inline-block;
1341 .validate-rename-tag {
1347 .picwall-container {
1349 margin: 0 10px 10px;
1350 background-color: $almost-white;
1354 .picwall-pictureframe {
1355 display: table-cell;
1360 background-color: $almost-white;
1364 vertical-align: middle;
1367 // Adapt the width of the image
1375 text-decoration: none;
1381 font-family: Arial, sans-serif;
1385 // CSS to show title when hovering an image - no javascript required.
1393 background-color: $dark-shadow;
1397 color: $almost-white;
1406 transition: opacity 500ms ease-in-out;
1408 -webkit-transition: opacity 500ms ease-in-out;
1409 -moz-transition: opacity 500ms ease-in-out;
1410 -o-transition: opacity 500ms ease-in-out;
1423 text-decoration: none;
1438 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
1449 .daily-entry-title {
1453 text-decoration: none;
1460 background: linear-gradient(to right, $white, $light-grey, $white);
1467 .daily-entry-description {
1469 text-align: justify;
1471 word-wrap: break-word;
1480 .daily-entry-thumbnail {
1482 margin: 15px 5px 5px 15px;
1485 .daily-entry-description {
1487 text-decoration: none;
1491 text-shadow: 1px 1px $background-linklist-info;
1500 // Fix empty bookmarklet name in Firefox
1502 -moz-user-select: auto;
1510 display: inline-block;
1512 text-decoration: none;
1521 margin: 0 !important;
1525 margin: .5em 0 0 !important;
1530 margin-top: 0 !important;
1534 margin-bottom: 5px !important;
1540 .pure-button-success,
1542 .pure-button-warning,
1543 .pure-button-primary,
1544 .pure-button-shaarli,
1545 .pure-button-secondary {
1547 text-shadow: 0 1px 1px $dark-shadow;
1548 color: $white !important;
1551 .pure-button-shaarli {
1552 background-color: $main-green;
1557 background-color: $main-green;
1561 border-radius: 10px;
1562 background: repeating-linear-gradient(
1566 $background-color 6px,
1567 $background-color 12px
1574 .thumbnails-page-container {
1576 padding: 10px 0 20px;
1579 .thumbnail-placeholder {
1581 background-color: $light-grey;
1584 .thumbnail-link-title {
1585 padding-bottom: 20px;
1587 text-overflow: ellipsis;
1588 white-space: nowrap;