-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsensorsdata.css
More file actions
123 lines (107 loc) · 1.79 KB
/
Copy pathsensorsdata.css
File metadata and controls
123 lines (107 loc) · 1.79 KB
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
113
114
115
116
117
118
119
120
121
122
123
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
color: #333;
}
.container {
display: flex;
height: 100vh;
box-sizing: border-box;
}
.sidebar {
width: 250px;
background-color: #153e40;
color: #ecf0f1;
padding: 20px 0;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
}
.logo {
width: 130px;
margin-bottom: 40px;
}
.menu-item {
display: block;
text-decoration: none;
color: #ecf0f1;
font-size: 18px;
padding: 10px 20px;
margin: 5px 0;
border-radius: 5px;
width: calc(100% - 40px);
text-align: left;
box-sizing: border-box;
}
.menu-item.active {
background-color: #1d5b5f;
}
.menu-item:hover {
background-color: #1d5b5f;
}
.icon {
margin-right: 10px;
}
.content {
flex-grow: 1;
padding: 40px;
background-color: #67b867;
overflow-y: auto;
}
h1 {
font-size: 28px;
margin-bottom: 30px;
color: #153e40;
}
.sensors {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.sensor {
background-color: #dfffe5;
border-radius: 15px;
padding: 30px;
text-align: center;
box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
min-height: 250px;
}
.sensor:hover {
transform: scale(1.05);
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}
.sensor h2 {
font-size: 20px;
margin-bottom: 15px;
color: #153e40;
}
.sensor p {
font-size: 26px;
font-weight: bold;
color: #2c3e50;
margin-top: 10px;
}
.blinking {
animation: blink 0.5s ease-in-out;
}
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@media (max-width: 768px) {
.sensors {
grid-template-columns: 1fr;
}
.sensor {
min-width: 100%;
}
}