-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (98 loc) · 2.3 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
width: 100%;
height: 100%;
overflow: hidden;
background-color: #333;
}
#container {
width: 100%;
height: 100%;
position: relative;
}
.hover-popup {
font-family: Arial, sans-serif;
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 5px 8px;
border-radius: 5px;
font-size: 12px;
pointer-events: none; /* Prevent it from blocking mouse events */
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}
.sensor-popup {
font-family: Arial, sans-serif;
font-size: 14px;
background-color: rgba(0, 0, 0, 0.9);
color: white;
padding: 10px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
z-index: 1000;
position: absolute;
pointer-events: auto;
width: 260px; /* Adjusted width */
line-height: 1.6; /* Consistent spacing */
}
.popup-header {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
padding-bottom: 5px;
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
margin-bottom: 10px; /* Adds separation */
}
.popup-close {
color: red;
font-size: 18px;
cursor: pointer;
line-height: 1;
}
label {
display: flex;
align-items: center;
margin-bottom: 10px; /* Adds separation between elements */
gap: 8px; /* Space between checkbox and label */
}
input[type="number"] {
width: 50%;
padding: 5px;
font-size: 14px;
border: none;
border-radius: 4px;
outline: none;
margin-top: 5px;
}
input[type="checkbox"] {
margin-right: 5px;
}
/* button {
display: none; /* Close button replaced by the 'X' */
/*} */
.popup-buttons {
display: flex;
justify-content: space-between;
gap: 10px; /* Adds space between buttons */
margin-top: 10px; /* Adds space above the buttons */
}
.popup-button {
font-family: Arial, sans-serif;
font-size: 14px;
background-color: #444; /* Dark gray background */
color: white;
border: none;
border-radius: 5px;
padding: 8px 12px;
cursor: pointer;
transition: background-color 0.3s ease;
flex: 1; /* Ensure buttons take up equal space */
text-align: center;
}
.popup-button:hover {
background-color: #555; /* Slightly lighter gray on hover */
}