aboutsummaryrefslogtreecommitdiff
path: root/static/style.scss
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-09-28 03:10:54 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-09-28 03:10:54 +0200
commit04dcab7a429d9b034d41b5aca8bd715c4826de32 (patch)
tree6678fffe9c275eb2ae0562fa2834e3b793e5aed5 /static/style.scss
parentMade timeinput checkbox needlesly fancy. (diff)
downloadcalp-04dcab7a429d9b034d41b5aca8bd715c4826de32.tar.gz
calp-04dcab7a429d9b034d41b5aca8bd715c4826de32.tar.xz
Groundwork for adding new fields from frontend.
Diffstat (limited to 'static/style.scss')
-rw-r--r--static/style.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/static/style.scss b/static/style.scss
index c2848940..d69e8bcf 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -884,6 +884,18 @@ along with their colors.
}
+.plusminuschecked label {
+ color: black;
+}
+
+.plusminuscheck:checked ~ label .plus {
+ color: green;
+}
+
+.plusminuscheck:not(:checked) ~ label .minus {
+ color: red;
+}
+
.inline-edit {
input {
/* important since regular spec is much stronger...*/