forked from NotHarshhaa/kubernetes-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
131 lines (117 loc) · 2.45 KB
/
styles.css
File metadata and controls
131 lines (117 loc) · 2.45 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
124
125
126
127
128
129
130
131
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: url("kuber.jpg"); /* Replace with the actual image filename */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: #fff; /* Improved text visibility */
}
/* Dashboard Layout */
.dashboard {
display: flex;
flex-direction: column;
height: 100vh;
padding: 20px;
}
/* Top Section - System Info */
.top-section {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 20px;
border-bottom: 2px solid rgba(255, 255, 255, 0.3);
background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
border-radius: 10px;
}
/* Bottom Section - Kubernetes Info & Forms */
.bottom-section {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
gap: 15px; /* Adds spacing between elements */
}
/* Namespace Selector */
.namespace-selector {
align-self: flex-end;
}
/* Info Cards */
.storage-used,
.memory-utilization,
.cpu-utilization,
.deployments,
.pods-running,
.services-running {
text-align: center;
flex: 1;
padding: 15px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.2);
margin: 5px;
font-weight: bold;
}
/* Percentages & Counts */
.percentage, .count {
font-size: 24px;
font-weight: bold;
display: block;
}
/* Headings */
h1 {
text-align: center;
font-size: 32px;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 20px;
}
/* Buttons */
button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 16px;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: background 0.3s ease-in-out;
}
button:hover {
background-color: #0056b3;
}
/* Health Check Button */
#healthCheckButton {
margin-top: 10px;
}
/* Health Check Result */
#healthCheckResult {
font-size: 18px;
font-weight: bold;
margin-top: 10px;
text-align: center;
}
/* Form Styling */
#scanForm {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
#imageInput {
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Scan Results */
#scanResults {
white-space: pre-wrap;
background: rgba(0, 0, 0, 0.6);
padding: 10px;
border-radius: 5px;
width: 90%;
max-height: 300px;
overflow-y: auto;
font-family: monospace;
}