-
Notifications
You must be signed in to change notification settings - Fork 0
/
dark-styles.css
177 lines (153 loc) · 3.42 KB
/
dark-styles.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Page Container */
body {
font-family: Arial, sans-serif;
background-color: #212529;
color: #ffffff;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
padding: 20px;
height: 100vh;
}
/* Noscript */
.noscript-message {
background-color: #007bff;
color: #000;
padding: 10px;
text-align: left;
font-weight: bold;
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
/* Status Container */
.status-container {
width: 80%;
max-width: 600px;
background: #4d5156;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}
/* Status Header */
.status-container h1 {
font-size: 24px;
color: #007bff;
margin-bottom: 20px;
}
/* Status Message */
.status-message {
font-size: 18px;
margin-bottom: 20px;
}
/* Status Indicator */
.status-indicator {
font-size: 16px;
color: #28a745;
/* Default status color */
font-weight: bold;
}
/* Status Colors for Different Service States */
/* "up" - The service is fully operational with no known issues */
.status-indicator.up {
color: #28a745; /* Green: Operational */
}
/* "half" - The service is partially operational, or there are minor issues */
.status-indicator.half {
color: #ff9633; /* Orange: Degraded Service */
}
/* "down" - The service is completely non-operational */
.status-indicator.down {
color: #dc3545; /* Red: Outage */
}
/* "maintenance" - The service is undergoing scheduled or unscheduled maintenance */
.status-indicator.maintenance {
color: #ffc107; /* Yellow: Maintenance */
}
/* Footer */
.footer {
margin-top: 20px;
font-size: 14px;
color: #ffffff;
}
details {
margin-top: 20px;
background: #212529;
border: 1px solid #5a5b5c;
border-radius: 4px;
padding: 10px;
}
summary {
cursor: pointer;
font-weight: bold;
background: #212121;
border: 1px solid #6f6f6f;
border-radius: 4px;
padding: 10px;
}
details[open] summary {
background: #212121;
}
.details-content {
margin-top: 10px;
}
/* Dropdown Menu Styling */
.dropdown-container {
margin: 20px auto;
text-align: center;
}
.dropdown {
padding: 10px 20px;
font-size: 16px;
border: 1px solid var(--primary-color, #007bff);
border-radius: 5px;
background-color: var(--background-color, #212529);
color: var(--primary-color, #fff);
cursor: pointer;
}
/* Status Container Styling */
.status-container {
width: 80%;
max-width: 600px;
background: #4d5156;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}
.status-message {
font-size: 18px;
margin-bottom: 20px;
}
.status-indicator {
font-size: 16px;
color: #28a745;
font-weight: bold;
}
.status-indicator.maintenance {
color: #ffc107;
}
details {
margin-top: 20px;
background: #212529;
border: 1px solid #5a5b5c;
border-radius: 4px;
padding: 10px;
}
details summary {
cursor: pointer;
font-weight: bold;
background: #212121;
border: 1px solid #6f6f6f;
border-radius: 4px;
padding: 10px;
}