From 7c3999c0457e5cc9a273b2ae5029c35ecab0792c Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Fri, 5 Jul 2019 13:37:04 +0200 Subject: FUNCT Add temperature management --- src/styles/main.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/styles') 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; } } } -- cgit 1.2.3-korg