aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-04 13:37:31 +0200
committerHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-07-04 13:37:31 +0200
commit459ae9851a70da40ac6d276000b35dc3815ac033 (patch)
treecf7e72acaf8b1fb0b59ebd44903de155af824314 /src/styles/main.scss
parentd78161127b3e27695c6504be74ad3b440d81078b (diff)
FUNCT First layout structure
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss89
1 files changed, 78 insertions, 11 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index a72b94b..5fd580e 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -14,7 +14,7 @@ body {
color: map-get($colors, font);
margin: 5%;
- .parent {
+ .center {
display: flex;
flex-direction: row;
flex-wrap: wrap;
@@ -23,19 +23,86 @@ body {
height: 100%;
.item {
- color: map-get($colors, font);
- text-decoration: none;
+ &:before {
+ content:'';
+ float:left;
+ padding-top:75%;
+ }
+
+ &.ac, &.auto {
+ .label {
+ font-size: 5rem;
+ text-align: center;
+ margin-top: -50%;
+ }
+ }
+
+ &.seat {
+ img {
+ width: 50%;
+ margin: 0 25%;
+ }
+ }
+
+ &.circulation {
+
+ }
+
+ &.block {
+ &:before {
+ padding-top:150%;
+ }
+
+ .item {
+ height: 50%;
+ position: relative;
+ float: left;
+ width: 100%;
+ }
+ }
+
+ &.temperatures {
+ &:before {
+ padding-top:150%;
+ }
- .icon {
- width: 100%;
- height: 100%;
+ .scrolling {
+ position: relative;
+ float: left;
+ width: 100%;
+ height: 100%;
+ overflow: scroll;
+
+ .temperature {
+ position: relative;
+ float: left;
+ height: 50%;
+ width: 100%;
+ font-size: 10rem;
+ text-align: center;
+ }
+ }
}
- .name {
- width: 100%;
- text-align: center;
- text-transform: uppercase;
- margin-top: -20%;
+ text-decoration: none;
+ flex-basis: 33%;
+ }
+ }
+
+ .bottom {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: flex-start;
+ align-items: flex-start;
+ height: 100%;
+
+ .button {
+ flex-basis: 20%;
+
+ img {
+ width: 80%;
+ margin: 0 10%;
}
}
}