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
641 box-shadow: 1px 1px 3px $light-grey;
642 background: $almost-white;
659 .linklist-item-buttons {
662 background: transparent;
666 .linklist-item-buttons-right {
671 .linklist-item-buttons * {
679 .linklist-item-title {
682 background: $almost-white;
683 word-wrap: break-word;
689 word-wrap: break-word;
692 vertical-align: middle;
693 text-decoration: none;
719 border: solid 1px $orange;
721 font-family: Arial, sans-serif;
731 .linklist-item-editbuttons {
756 color: $red !important;
760 .linklist-item-description {
765 word-wrap: break-word;
768 text-decoration: none;
781 .linklist-item-thumbnail {
790 .linklist-item-infos {
791 background: $background-linklist-info;
796 text-decoration: none;
804 .linklist-item-tags {
816 .linklist-plugin-icon {
817 display: inline-block;
824 .linklist-item-infos-dateblock {
828 .linklist-plugin-icon {
833 .linklist-item-infos-url {
837 text-overflow: ellipsis;
843 .linklist-item-infos-controls-group {
844 display: inline-block;
845 border-right: 1px solid $light-grey;
854 @media screen and (max-width: 64em) {
855 .linklist-item-infos-url {
870 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
884 border: solid 1px $form-input-border;
886 background: $form-input-background;
887 padding: 5px 5px 3px 15px;
891 box-sizing: border-box;
895 display: inline-block;
898 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;
899 background: $main-green;
902 vertical-align: center;
903 text-decoration: none;
905 color: $almost-white;
912 box-shadow: 1px 1px 2px $light-grey;
913 background: $almost-white;
919 background: $almost-white;
931 text-decoration: none;
936 @extend %page-form-button;
947 @extend %page-form-input;
949 &::-webkit-input-placeholder {
955 @extend %page-form-input;
957 &::-webkit-input-placeholder {
963 @extend %page-form-button;
968 @extend %page-form-input;
970 padding: 15px 5px 3px 15px;
974 word-wrap: break-word;
1000 border-color: $light-grey;
1013 text-decoration: none;
1035 @media screen and (min-width: 64em) {
1050 @media screen and (max-width: 64em) {
1061 // PAGE FORM - LIGHT
1069 // PAGE FORM - COMPLETE
1073 transform: translateY(-50%);
1076 .page-form-complete {
1090 @extend %page-form-valign;
1108 @extend %page-form-valign;
1111 &[type='password'] {
1118 @extend %page-form-valign;
1128 @extend %page-form-valign;
1148 &[name='linkform'] {
1155 @media screen and (max-width: 64em) {
1156 %page-form-valign-mobile {
1159 transform: translateY(0);
1162 .page-form-complete {
1167 @extend %page-form-valign-mobile;
1179 @extend %page-form-valign-mobile;
1181 &[type='checkbox'] {
1185 transform: translateY(-50%);
1191 @extend %page-form-valign-mobile;
1200 .timezone-continent {
1208 // Page visitor (page form extended)
1213 .page404-container {
1218 .edit-link-container {
1220 margin-bottom: 10px;
1226 .login-form-container {
1235 text-decoration: none;
1240 border-color: $white;
1244 border-left: $white 1px solid;
1250 border: 1px solid $white;
1260 background-color: $main-green;
1261 background-image: none;
1262 color: $almost-white;
1268 .pluginform-container {
1278 @media screen and (max-width: 64em) {
1279 .pluginform-container {
1281 border-top-style: none;
1282 border-bottom-style: none;
1285 border-top-style: none;
1286 border-bottom-style: none;
1293 .import-field-container {
1298 .cloudtag-container {
1301 text-decoration: none;
1305 text-decoration: none;
1315 .taglist-container {
1319 text-decoration: none;
1324 display: inline-block;
1343 .validate-rename-tag {
1349 .picwall-container {
1351 margin: 0 10px 10px;
1352 background-color: $almost-white;
1356 .picwall-pictureframe {
1357 display: table-cell;
1362 background-color: $almost-white;
1366 vertical-align: middle;
1369 // Adapt the width of the image
1377 text-decoration: none;
1383 font-family: Arial, sans-serif;
1387 // CSS to show title when hovering an image - no javascript required.
1395 background-color: $dark-shadow;
1399 color: $almost-white;
1408 transition: opacity 500ms ease-in-out;
1410 -webkit-transition: opacity 500ms ease-in-out;
1411 -moz-transition: opacity 500ms ease-in-out;
1412 -o-transition: opacity 500ms ease-in-out;
1425 text-decoration: none;
1440 background: linear-gradient(to right, $background-color, $dark-grey, $background-color);
1451 .daily-entry-title {
1455 text-decoration: none;
1462 background: linear-gradient(to right, $white, $light-grey, $white);
1469 .daily-entry-description {
1471 text-align: justify;
1473 word-wrap: break-word;
1482 .daily-entry-thumbnail {
1484 margin: 15px 5px 5px 15px;
1487 .daily-entry-description {
1489 text-decoration: none;
1493 text-shadow: 1px 1px $background-linklist-info;
1502 // Fix empty bookmarklet name in Firefox
1504 -moz-user-select: auto;
1512 display: inline-block;
1514 text-decoration: none;
1523 margin: 0 !important;
1527 margin: .5em 0 0 !important;
1532 margin-top: 0 !important;
1536 margin-bottom: 5px !important;
1542 .pure-button-success,
1544 .pure-button-warning,
1545 .pure-button-primary,
1546 .pure-button-shaarli,
1547 .pure-button-secondary {
1549 text-shadow: 0 1px 1px $dark-shadow;
1550 color: $white !important;
1553 .pure-button-shaarli {
1554 background-color: $main-green;
1559 background-color: $main-green;
1563 border-radius: 10px;
1564 background: repeating-linear-gradient(
1568 $background-color 6px,
1569 $background-color 12px
1576 .thumbnails-page-container {
1578 padding: 10px 0 20px;
1581 .thumbnail-placeholder {
1583 background-color: $light-grey;
1586 .thumbnail-link-title {
1587 padding-bottom: 20px;
1589 text-overflow: ellipsis;
1590 white-space: nowrap;