summaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-05 11:15:05 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:20:13 +0100
commita62589e05103b60e7d478de86345cc4c4cfc9036 (patch)
treed109f6f139868a7239ca16ac0eae331fe71f3539 /src/styles/main.scss
parent122bd72d9b2acfff0d8c3f8dd5df8ff49b43eb7b (diff)
FUNCT Add buttons, fan speed and chair functionality
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index d0867c4..698d3ee 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -61,6 +61,31 @@ body {
color: map-get($colors, font);
margin: 5%;
+ a {
+ color: map-get($colors, font);
+ }
+
+ .button {
+ &[value="true"] {
+ color: map-get($colors, primary);
+ .disabled {
+ display: none;
+ }
+ .enabled {
+ display: block;
+ }
+ }
+ &[value="false"] {
+ color: map-get($colors, grey);
+ .disabled {
+ display: block;
+ }
+ .enabled {
+ display: none;
+ }
+ }
+ }
+
.top {
display: flex;
flex-direction: row;
@@ -114,6 +139,34 @@ body {
width: 50%;
margin: 0 25%;
}
+
+ &[value="0"] {
+ .one, .two {
+ display: none;
+ }
+ .off {
+ display: block;
+ }
+ }
+
+ &[value="1"] {
+ .off, .two {
+ display: none;
+ }
+ .one {
+ display: block;
+ }
+ }
+
+ &[value="2"] {
+ .one, .off {
+ display: none;
+ }
+ .two {
+ display: block;
+ }
+ }
+
}
&.circulation {