summaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-05 13:37:04 +0200
committerHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-05 13:37:04 +0200
commit286ee56101e1538e8cca0b23032332a8f4d686f2 (patch)
tree54e8fdd212764793c92db355a9b3761f2611a0b2 /src/styles/main.scss
parente7ed285298166bf0589f6a6d8e88000c60d5681b (diff)
FUNCT Add temperature management
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 698d3ee..660fb92 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -191,16 +191,17 @@ body {
width: 100%;
height: 480px;
overflow-y: scroll;
- scroll-snap-type: y mandatory;
- scroll-behavior: smooth;
.temperature {
+ &[enabled='true'] {
+ color: map-get($colors, primary);
+ }
+ &[enabled='false'] {
+ color: map-get($colors, grey);
+ }
font-size: 10rem;
text-align: center;
width: 100%;
- height: 240px;
- line-height: 240px;
- scroll-snap-align: start;
}
}
}