aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/default/scss/shaarli.scss
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-10-13 12:05:08 +0200
committerArthurHoaro <arthur@hoa.ro>2020-10-13 12:05:08 +0200
commitb6f678a5a1d15acf284ebcec16c905e976671ce1 (patch)
tree33c7da831482ed79c44896ef19c73c72ada84f2e /assets/default/scss/shaarli.scss
parentb14687036b9b800681197f51fdc47e62f0c88e2e (diff)
parent1c1520b6b98ab20201bfe15577782a52320339df (diff)
downloadShaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.gz
Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.tar.zst
Shaarli-b6f678a5a1d15acf284ebcec16c905e976671ce1.zip
Merge branch 'v0.12' into latest
Diffstat (limited to 'assets/default/scss/shaarli.scss')
-rw-r--r--assets/default/scss/shaarli.scss66
1 files changed, 45 insertions, 21 deletions
diff --git a/assets/default/scss/shaarli.scss b/assets/default/scss/shaarli.scss
index 61e382b6..a528adb0 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 {
@@ -1236,8 +1246,19 @@ form {
1236 color: $dark-grey; 1246 color: $dark-grey;
1237} 1247}
1238 1248
1239.page404-container { 1249.page-error-container {
1240 color: $dark-grey; 1250 color: $dark-grey;
1251
1252 h2 {
1253 margin: 70px 0 25px;
1254 }
1255
1256 pre {
1257 margin: 0 20%;
1258 padding: 20px 0;
1259 text-align: left;
1260 line-height: .7em;
1261 }
1241} 1262}
1242 1263
1243// EDIT LINK 1264// EDIT LINK
@@ -1436,6 +1457,8 @@ form {
1436 -webkit-transition: opacity 500ms ease-in-out; 1457 -webkit-transition: opacity 500ms ease-in-out;
1437 -moz-transition: opacity 500ms ease-in-out; 1458 -moz-transition: opacity 500ms ease-in-out;
1438 -o-transition: opacity 500ms ease-in-out; 1459 -o-transition: opacity 500ms ease-in-out;
1460 min-width: 1px;
1461 min-height: 1px;
1439 1462
1440 &.b-loaded { 1463 &.b-loaded {
1441 opacity: 1; 1464 opacity: 1;
@@ -1535,11 +1558,11 @@ form {
1535 text-align: center; 1558 text-align: center;
1536 1559
1537 a { 1560 a {
1561 background: $almost-white;
1538 display: inline-block; 1562 display: inline-block;
1539 margin: 0 15px; 1563 padding: 5px;
1540 text-decoration: none; 1564 text-decoration: none;
1541 color: $white; 1565 color: $dark-grey;
1542 font-weight: bold;
1543 } 1566 }
1544} 1567}
1545 1568
@@ -1587,13 +1610,14 @@ form {
1587 1610
1588 > div { 1611 > div {
1589 border-radius: 10px; 1612 border-radius: 10px;
1590 background: repeating-linear-gradient( 1613 background:
1591 -45deg, 1614 repeating-linear-gradient(
1592 $almost-white, 1615 -45deg,
1593 $almost-white 6px, 1616 $almost-white,
1594 var(--background-color) 6px, 1617 $almost-white 6px,
1595 var(--background-color) 12px 1618 var(--background-color) 6px,
1596 ); 1619 var(--background-color) 12px
1620 );
1597 width: 0%; 1621 width: 0%;
1598 height: 10px; 1622 height: 10px;
1599 } 1623 }