aboutsummaryrefslogtreecommitdiffstats
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 09:42:15 +0100
commitc614436d29a11ddbb1218485a05da7dde0e57038 (patch)
treed109f6f139868a7239ca16ac0eae331fe71f3539 /src/styles/main.scss
parent5ef2a232c9f8701531419f6d8ac8ebcfc4d21fc6 (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 {