-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
131 lines (113 loc) · 2.5 KB
/
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
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Page Container */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
display: flex;
justify-content: center;
align-items: center;
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: #fff;
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;
}
/* Dropdown Menu Styling */
.dropdown-container {
margin: 20px auto;
text-align: center;
}
.dropdown {
padding: 10px 20px;
font-size: 16px;
border: 1px solid #007bff;
border-radius: 5px;
background-color: #fff;
color: #007bff;
cursor: pointer;
}
/* Status Message */
.status-message {
font-size: 18px;
margin-bottom: 20px;
}
/* Status Indicator */
.status-indicator {
font-size: 16px;
color: #28a745;
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: #6c757d;
}
details {
margin-top: 20px;
background: #f9f9f9;
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
}
summary {
cursor: pointer;
font-weight: bold;
background: #e9ecef;
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
}
details[open] summary {
background: #d6d6d6;
}
.details-content {
margin-top: 10px;
}