diff options
author | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-07-05 11:15:05 +0200 |
---|---|---|
committer | Humberto Alfonso Díaz <humberto.alfonso@asvito.es> | 2019-07-05 11:15:05 +0200 |
commit | e7ed285298166bf0589f6a6d8e88000c60d5681b (patch) | |
tree | d109f6f139868a7239ca16ac0eae331fe71f3539 /src/styles/main.scss | |
parent | 238bcb88ac7bd7e6083fdd8dd6227163a37ece70 (diff) |
FUNCT Add buttons, fan speed and chair functionality
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r-- | src/styles/main.scss | 53 |
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 { |