aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordedeibel2018-12-28 22:31:52 +0100
committerdedeibel2018-12-28 22:31:52 +0100
commit435d3845e9467249f1e02c4f15211931fe2ae543 (patch)
treeafd8122d655167724bf5c866c6b06551fc3dcd42
parent811b6f7d444651aa6b92325a0cafda4d6cf0a22f (diff)
use shaded background for pause and optout in default style
-rw-r--r--assets/css/_schedule.less6
-rw-r--r--assets/css/_structure.less4
2 files changed, 6 insertions, 4 deletions
diff --git a/assets/css/_schedule.less b/assets/css/_schedule.less
index 7031e59..7f268a2 100644
--- a/assets/css/_schedule.less
+++ b/assets/css/_schedule.less
@@ -104,9 +104,11 @@ body .schedule {
text-shadow: 0 0 3px @schedule-daychange;
}
- &.pause {
- background-color: @schedule-pause-bg;
+ &.pause, &.optout {
color: @schedule-pause;
+ background-color: @schedule-pause-bg;
+ background-image: linear-gradient(135deg, rgba(255,255,255,.35) 15%, transparent 15%, transparent 30%, rgba(255,255,255,.35) 30%, rgba(255,255,255,.35) 45%, transparent 45%, transparent 60%, rgba(255,255,255,.35) 60%, rgba(255,255,255,.35) 75%, transparent 75%, transparent 90%, rgba(255,255,255,.35) 90%, rgba(255,255,255,.35));
+ background-size: 148px;
}
}
diff --git a/assets/css/_structure.less b/assets/css/_structure.less
index 45a4ffe..45b8b56 100644
--- a/assets/css/_structure.less
+++ b/assets/css/_structure.less
@@ -28,7 +28,7 @@
@schedule-gap-bg: fade(white, 30%);
@schedule-pause: white;
-@schedule-pause-bg: lighten(black, 85%);
+@schedule-pause-bg: #f0efef;
// website configuration styles
@@ -54,7 +54,7 @@ nav {
background-size: 27px 27px;
}
}
-
+
.button-wrapper > .btn {
width: 40px;
}