aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/main.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss32
1 files changed, 13 insertions, 19 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index 5d2d950..7ab190f 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -133,48 +133,42 @@ body {
padding-top:75%;
}
- &.ac, &.auto {
+ &.ac {
+ position: relative;
+
.label {
font-weight: bold;
font-size: 2.5rem;
- text-align: center;
- margin-top: -50%;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
}
}
&.seat {
img {
width: 50%;
- margin: 0 25%;
+ margin: 10% 25%;
}
- &[value="0"] {
- .one, .two {
- display: none;
- }
+ &[value="false"] {
.off {
display: block;
}
- }
-
- &[value="1"] {
- .off, .two {
+ .on {
display: none;
}
- .one {
- display: block;
- }
}
- &[value="2"] {
- .one, .off {
+ &[value="true"] {
+ .off {
display: none;
}
- .two {
+ .on {
display: block;
}
}
-
}
&.circulation {