-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (99 loc) · 1.7 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
* {
box-sizing: border-box;
}
body {
background-color: #fff;
margin: 0.4rem;
}
.button {
margin-bottom: 0.4rem;
}
.lifts {
width: 80px;
height: 100px;
background-color: #fff;
position: absolute;
top: 0;
left: 0;
border: 2px solid blue;
align-items: center;
}
h2 {
text-align: center;
}
#liftDetails{
display: flex;
flex-direction: column;
border-radius: 5%;
align-items: center;
justify-content: center;
width: 90%;
}
#malfunctionLifts {
display: flex;
border-radius: 5%;
align-items: center;
justify-content: center;
width: 90%;
}
#disabledLifts{
margin: 0.4rem;
padding: 0.4rem;
width: 4rem;
}
#btnDisable{
margin: 0.4rem;
padding: 0.4rem;
background-color: rgb(255, 213, 213);
border: 0.1rem solid red;
color: #ff0000;
border-radius: 5%;
}
.lifts p {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.floor {
height: 100px;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: rgb(240, 237, 237);
padding: 5px;
border-bottom: 2px grey solid;
}
.liftMotion{
transition-duration: 5s;
}
.lifts .gate {
position: absolute;
height: 100%;
width: 50%;
border: 1px solid #111;
background-color: rgb(142, 179, 247);
}
.gateLeft {
left: 0;
}
.gateRight {
right: 0;
}
.animateLiftsDoorsOnFloorStop {
animation-duration: 5s;
animation-timing-function: linear;
animation-name: doorSimulation;
}
@keyframes doorSimulation {
from {
width: 50%;
}
50% {
width: 0%;
}
to {
width: 50%;
}
}