aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default/scss/shaarli.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/default/scss/shaarli.scss')
-rw-r--r--assets/default/scss/shaarli.scss234
1 files changed, 213 insertions, 21 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss
index 243ab1b2..a7f091e9 100644
--- a/assets/default/scss/shaarli.scss
+++ b/assets/default/scss/shaarli.scss
@@ -69,20 +69,22 @@ pre {
69 font-family: 'Roboto'; 69 font-family: 'Roboto';
70 font-weight: 400; 70 font-weight: 400;
71 font-style: normal; 71 font-style: normal;
72 src: local('Roboto'), 72 src:
73 local('Roboto-Regular'), 73 local('Roboto'),
74 url('../fonts/Roboto-Regular.woff2') format('woff2'), 74 local('Roboto-Regular'),
75 url('../fonts/Roboto-Regular.woff') format('woff'); 75 url('../fonts/Roboto-Regular.woff2') format('woff2'),
76 url('../fonts/Roboto-Regular.woff') format('woff');
76} 77}
77 78
78@font-face { 79@font-face {
79 font-family: 'Roboto'; 80 font-family: 'Roboto';
80 font-weight: 700; 81 font-weight: 700;
81 font-style: normal; 82 font-style: normal;
82 src: local('Roboto'), 83 src:
83 local('Roboto-Bold'), 84 local('Roboto'),
84 url('../fonts/Roboto-Bold.woff2') format('woff2'), 85 local('Roboto-Bold'),
85 url('../fonts/Roboto-Bold.woff') format('woff'); 86 url('../fonts/Roboto-Bold.woff2') format('woff2'),
87 url('../fonts/Roboto-Bold.woff') format('woff');
86} 88}
87 89
88body, 90body,
@@ -375,7 +377,7 @@ body,
375} 377}
376 378
377@media screen and (max-width: 64em) { 379@media screen and (max-width: 64em) {
378 .header-search , 380 .header-search,
379 .header-search * { 381 .header-search * {
380 visibility: hidden; 382 visibility: hidden;
381 } 383 }
@@ -490,6 +492,10 @@ body,
490 } 492 }
491} 493}
492 494
495.header-alert-message {
496 text-align: center;
497}
498
493// CONTENT - GENERAL 499// CONTENT - GENERAL
494.container { 500.container {
495 position: relative; 501 position: relative;
@@ -550,7 +556,6 @@ body,
550 color: $dark-grey; 556 color: $dark-grey;
551 font-size: .9em; 557 font-size: .9em;
552 558
553
554 a { 559 a {
555 display: inline-block; 560 display: inline-block;
556 margin: 3px 0; 561 margin: 3px 0;
@@ -612,6 +617,11 @@ body,
612 padding: 5px; 617 padding: 5px;
613 text-decoration: none; 618 text-decoration: none;
614 color: $dark-grey; 619 color: $dark-grey;
620
621 &.selected {
622 background: var(--main-color);
623 color: $white;
624 }
615 } 625 }
616 626
617 input { 627 input {
@@ -661,6 +671,10 @@ body,
661 content: ''; 671 content: '';
662 } 672 }
663 } 673 }
674
675 .search-highlight {
676 background-color: yellow;
677 }
664} 678}
665 679
666.linklist-item-buttons { 680.linklist-item-buttons {
@@ -1009,6 +1023,10 @@ body,
1009 &.button-red { 1023 &.button-red {
1010 background: $red; 1024 background: $red;
1011 } 1025 }
1026
1027 &.button-grey {
1028 background: $light-grey;
1029 }
1012 } 1030 }
1013 1031
1014 .submit-buttons { 1032 .submit-buttons {
@@ -1033,7 +1051,7 @@ body,
1033 } 1051 }
1034 1052
1035 table { 1053 table {
1036 margin: auto; 1054 margin: 10px auto 25px auto;
1037 width: 90%; 1055 width: 90%;
1038 1056
1039 .order { 1057 .order {
@@ -1069,6 +1087,11 @@ body,
1069 position: absolute; 1087 position: absolute;
1070 right: 5%; 1088 right: 5%;
1071 } 1089 }
1090
1091 &.button-grey {
1092 position: absolute;
1093 left: 5%;
1094 }
1072 } 1095 }
1073 } 1096 }
1074 } 1097 }
@@ -1259,6 +1282,57 @@ form {
1259 } 1282 }
1260} 1283}
1261 1284
1285.loading-input {
1286 position: relative;
1287
1288 @keyframes around {
1289 0% {
1290 transform: rotate(0deg);
1291 }
1292
1293 100% {
1294 transform: rotate(360deg);
1295 }
1296 }
1297
1298 .icon-container {
1299 position: absolute;
1300 right: 60px;
1301 top: calc(50% - 10px);
1302 }
1303
1304 .loader {
1305 position: relative;
1306 height: 20px;
1307 width: 20px;
1308 display: inline-block;
1309 animation: around 5.4s infinite;
1310
1311 &::after,
1312 &::before {
1313 content: "";
1314 background: $form-input-background;
1315 position: absolute;
1316 display: inline-block;
1317 width: 100%;
1318 height: 100%;
1319 border-width: 2px;
1320 border-color: #333 #333 transparent transparent;
1321 border-style: solid;
1322 border-radius: 20px;
1323 box-sizing: border-box;
1324 top: 0;
1325 left: 0;
1326 animation: around 0.7s ease-in-out infinite;
1327 }
1328
1329 &::after {
1330 animation: around 0.7s ease-in-out 0.1s infinite;
1331 background: transparent;
1332 }
1333 }
1334}
1335
1262// LOGIN 1336// LOGIN
1263.login-form-container { 1337.login-form-container {
1264 .remember-me { 1338 .remember-me {
@@ -1548,11 +1622,11 @@ form {
1548 text-align: center; 1622 text-align: center;
1549 1623
1550 a { 1624 a {
1625 background: $almost-white;
1551 display: inline-block; 1626 display: inline-block;
1552 margin: 0 15px; 1627 padding: 5px;
1553 text-decoration: none; 1628 text-decoration: none;
1554 color: $white; 1629 color: $dark-grey;
1555 font-weight: bold;
1556 } 1630 }
1557} 1631}
1558 1632
@@ -1600,13 +1674,14 @@ form {
1600 1674
1601 > div { 1675 > div {
1602 border-radius: 10px; 1676 border-radius: 10px;
1603 background: repeating-linear-gradient( 1677 background:
1604 -45deg, 1678 repeating-linear-gradient(
1605 $almost-white, 1679 -45deg,
1606 $almost-white 6px, 1680 $almost-white,
1607 var(--background-color) 6px, 1681 $almost-white 6px,
1608 var(--background-color) 12px 1682 var(--background-color) 6px,
1609 ); 1683 var(--background-color) 12px
1684 );
1610 width: 0%; 1685 width: 0%;
1611 height: 10px; 1686 height: 10px;
1612 } 1687 }
@@ -1630,6 +1705,123 @@ form {
1630 } 1705 }
1631} 1706}
1632 1707
1708// SERVER PAGE
1709
1710.server-tables-page,
1711.server-tables {
1712 .window-subtitle {
1713 &::before {
1714 display: block;
1715 margin: 8px auto;
1716 background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color));
1717 width: 50%;
1718 height: 1px;
1719 content: '';
1720 }
1721 }
1722
1723 .server-row {
1724 p {
1725 height: 25px;
1726 padding: 0 10px;
1727 }
1728 }
1729
1730 .server-label {
1731 text-align: right;
1732 font-weight: bold;
1733 }
1734
1735 i {
1736 &.fa-color-green {
1737 color: $main-green;
1738 }
1739
1740 &.fa-color-orange {
1741 color: $orange;
1742 }
1743
1744 &.fa-color-red {
1745 color: $red;
1746 }
1747 }
1748
1749 @media screen and (max-width: 64em) {
1750 .server-label {
1751 text-align: center;
1752 }
1753
1754 .server-row {
1755 p {
1756 text-align: center;
1757 }
1758 }
1759 }
1760}
1761
1762// Batch creation
1763input[name='save_edit_batch'] {
1764 @extend %page-form-button;
1765}
1766
1767.addlink-batch-show-more {
1768 display: flex;
1769 align-items: center;
1770 margin: 20px 0 8px;
1771
1772 a {
1773 color: var(--main-color);
1774 text-decoration: none;
1775 }
1776
1777 &::before,
1778 &::after {
1779 content: "";
1780 flex-grow: 1;
1781 background: rgba(0, 0, 0, 0.35);
1782 height: 1px;
1783 font-size: 0;
1784 line-height: 0;
1785 }
1786
1787 &::before {
1788 margin: 0 16px 0 0;
1789 }
1790
1791 &::after {
1792 margin: 0 0 0 16px;
1793 }
1794}
1795
1796.dark-layer {
1797 display: none;
1798 position: fixed;
1799 height: 100%;
1800 width: 100%;
1801 z-index: 998;
1802 background-color: rgba(0, 0, 0, .75);
1803 color: #fff;
1804
1805 .screen-center {
1806 display: flex;
1807 flex-direction: column;
1808 justify-content: center;
1809 align-items: center;
1810 text-align: center;
1811 min-height: 100vh;
1812 }
1813
1814 .progressbar {
1815 width: 33%;
1816 }
1817}
1818
1819.addlink-batch-form-block {
1820 .pure-alert {
1821 margin: 25px 0 0 0;
1822 }
1823}
1824
1633// Print rules 1825// Print rules
1634@media print { 1826@media print {
1635 .shaarli-menu { 1827 .shaarli-menu {