From 33702aea7ce42c8240e4bed7b424cc8ac4a33826 Mon Sep 17 00:00:00 2001 From: Humberto Alfonso Díaz Date: Wed, 23 Oct 2019 09:44:29 +0200 Subject: FUNCT Implement bluetooth screen --- src/styles/fonts/icomoon.eot | Bin 1976 -> 2300 bytes src/styles/fonts/icomoon.svg | 5 +++ src/styles/fonts/icomoon.ttf | Bin 1812 -> 2136 bytes src/styles/fonts/icomoon.woff | Bin 1888 -> 2212 bytes src/styles/main.scss | 90 +++++++++++++++++++++++++++++------------- src/styles/style.css | 25 +++++++++--- 6 files changed, 87 insertions(+), 33 deletions(-) (limited to 'src/styles') diff --git a/src/styles/fonts/icomoon.eot b/src/styles/fonts/icomoon.eot index 060e952..fb55d1c 100755 Binary files a/src/styles/fonts/icomoon.eot and b/src/styles/fonts/icomoon.eot differ diff --git a/src/styles/fonts/icomoon.svg b/src/styles/fonts/icomoon.svg index ee686b7..6fedeea 100755 --- a/src/styles/fonts/icomoon.svg +++ b/src/styles/fonts/icomoon.svg @@ -14,4 +14,9 @@ + + + + + \ No newline at end of file diff --git a/src/styles/fonts/icomoon.ttf b/src/styles/fonts/icomoon.ttf index 1c80635..ec51acb 100755 Binary files a/src/styles/fonts/icomoon.ttf and b/src/styles/fonts/icomoon.ttf differ diff --git a/src/styles/fonts/icomoon.woff b/src/styles/fonts/icomoon.woff index 035641c..ca1195e 100755 Binary files a/src/styles/fonts/icomoon.woff and b/src/styles/fonts/icomoon.woff differ diff --git a/src/styles/main.scss b/src/styles/main.scss index 518bdc2..6b917d1 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -53,9 +53,10 @@ body { .page { display: flex; flex-direction: column; - flex-wrap: wrap; + flex-wrap: nowrap; justify-content: center; height: 100%; + overflow: hidden; &.hide { display: none; @@ -66,42 +67,75 @@ body { margin: 0; } - .entry { - height: 120px; - line-height: 120px; - border-bottom: 1px solid map-get($colors, grey); + .container { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + justify-content: center; + flex-grow: 2; - &:last-child { - border-bottom: none2; - } + .entry { + height: 120px; + line-height: 120px; + border-bottom: 1px solid map-get($colors, grey); - .icon { - width: 10%; - position: relative; - float: left; - text-align: center; - } + &:last-child { + border-bottom: none; + } - .label { - position: relative; - float: left; - text-align: left; - width: 80%; - } + .icon { + width: 10%; + position: relative; + float: left; + text-align: center; + } - .control { - width: 10%; - position: relative; - float: left; - text-align: right; - font-size: 5rem; + .label { + position: relative; + float: left; + text-align: left; + width: 75%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } - .icon-toggle_on { - color: map-get($colors, primary); + .control { + width: 15%; + position: relative; + float: left; + text-align: right; + font-size: 5rem; + + & > * { + height: 120px; + line-height: 120px; + } + + &.enabled { + .icon-toggle_on { + display: block; + color: map-get($colors, primary); + } + + .icon-toggle_off { + display: none; + } + } + + .icon-toggle_on { + display: none; + } + + .icon-toggle_off { + display: block; + } } } } + + .confirm { position: absolute; bottom: 5%; diff --git a/src/styles/style.css b/src/styles/style.css index 0bd7eb9..e656a4e 100755 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -1,10 +1,10 @@ @font-face { font-family: 'icomoon'; - src: url('fonts/icomoon.eot?h6r2e7'); - src: url('fonts/icomoon.eot?h6r2e7#iefix') format('embedded-opentype'), - url('fonts/icomoon.ttf?h6r2e7') format('truetype'), - url('fonts/icomoon.woff?h6r2e7') format('woff'), - url('fonts/icomoon.svg?h6r2e7#icomoon') format('svg'); + src: url('fonts/icomoon.eot?6brftk'); + src: url('fonts/icomoon.eot?6brftk#iefix') format('embedded-opentype'), + url('fonts/icomoon.ttf?6brftk') format('truetype'), + url('fonts/icomoon.woff?6brftk') format('woff'), + url('fonts/icomoon.svg?6brftk#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; @@ -25,12 +25,27 @@ -moz-osx-font-smoothing: grayscale; } +.icon-clear:before { + content: "\e909"; +} .icon-time:before { content: "\e900"; } .icon-bluetooth:before { content: "\e901"; } +.icon-keyboard_arrow_down:before { + content: "\e907"; +} +.icon-keyboard_arrow_up:before { + content: "\e908"; +} +.icon-computer:before { + content: "\e90a"; +} +.icon-phone:before { + content: "\e90b"; +} .icon-wifi:before { content: "\e902"; } -- cgit 1.2.3-korg