Ultronprime commited on
Commit
41332b2
·
verified ·
1 Parent(s): c3677f5

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +141 -15
style.css CHANGED
@@ -1,17 +1,143 @@
1
- body { font-family: 'Inter', sans-serif; background-color: #F7F8FC; color: #2C3E50; }
2
- .status-ok { border-left-color: #2ECC71; }
3
- .status-warning { border-left-color: #F1C40F; }
4
- .status-critical { border-left-color: #E74C3C; }
5
- .progress-ok { background-color: #2ECC71; }
6
- .progress-warning { background-color: #F1C40F; }
7
- .progress-critical { background-color: #E74C3C; }
8
- .input-number::-webkit-inner-spin-button, .input-number::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
9
- .input-number { -moz-appearance: textfield; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  #toast-container { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
11
- .toast { padding: 12px 16px; border-radius: 6px; color: white; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; transform: translateX(100%); transition: all 0.3s ease-in-out; }
12
  .toast.show { opacity: 1; transform: translateX(0); }
13
- .toast-success { background-color: #28a745; }
14
- .toast-error { background-color: #dc3545; }
15
- .toast-info { background-color: #17a2b8; }
16
- .icon-btn { color: #9ca3af; cursor: pointer; transition: color 0.2s; }
17
- .icon-btn:hover { color: #3b82f6; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* style.css - Industrial Tech Theme v3.0 (Final) */
2
+
3
+ :root {
4
+ --bg-dark: #1a202c; /* Very dark blue, almost black */
5
+ --bg-panel: #2d3748; /* Dark slate gray for panels/cards */
6
+ --border-color: #4a5568; /* Muted gray for borders */
7
+ --text-primary: #e2e8f0; /* Light gray for primary text */
8
+ --text-secondary: #a0aec0; /* Softer gray for secondary text */
9
+ --accent-blue: #4299e1; /* Vibrant blue for accents, charts, links */
10
+ --accent-green: #48bb78; /* Green for success/positive trends */
11
+ --accent-yellow: #f6e05e; /* Yellow for warnings */
12
+ --accent-red: #f56565; /* Red for critical/danger */
13
+ }
14
+
15
+ body {
16
+ font-family: 'Inter', sans-serif;
17
+ background-color: var(--bg-dark);
18
+ color: var(--text-primary);
19
+ display: flex;
20
+ flex-direction: column;
21
+ min-height: 100vh;
22
+ }
23
+
24
+ main {
25
+ flex-grow: 1;
26
+ }
27
+
28
+ /* Base Card Style */
29
+ .dashboard-card {
30
+ background-color: var(--bg-panel);
31
+ border: 1px solid var(--border-color);
32
+ border-radius: 8px;
33
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
34
+ transition: all 0.3s ease;
35
+ color: var(--text-primary);
36
+ }
37
+
38
+ .dashboard-card:hover {
39
+ transform: translateY(-5px);
40
+ box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
41
+ border-color: var(--accent-blue);
42
+ }
43
+
44
+ /* Header & Modals */
45
+ .header, .modal-content {
46
+ background-color: var(--bg-panel);
47
+ border-color: var(--border-color);
48
+ }
49
+
50
+ .modal-backdrop {
51
+ background-color: rgba(26, 32, 44, 0.8);
52
+ backdrop-filter: blur(5px);
53
+ transition: opacity 0.3s ease;
54
+ }
55
+
56
+ .modal-content {
57
+ transition: all 0.3s ease;
58
+ animation: scale-up 0.3s ease forwards;
59
+ }
60
+
61
+ @keyframes scale-up {
62
+ from { transform: scale(0.95); opacity: 0; }
63
+ to { transform: scale(1); opacity: 1; }
64
+ }
65
+
66
+ /* Buttons */
67
+ .btn {
68
+ padding: 0.5rem 1rem;
69
+ border-radius: 6px;
70
+ font-weight: 600;
71
+ transition: all 0.2s ease;
72
+ text-align: center;
73
+ border: 1px solid transparent;
74
+ }
75
+ .btn:active {
76
+ transform: scale(0.97);
77
+ }
78
+ .btn-primary {
79
+ background-color: var(--accent-blue);
80
+ color: var(--bg-dark);
81
+ }
82
+ .btn-primary:hover {
83
+ background-color: #63b3ed;
84
+ }
85
+ .btn-secondary {
86
+ background-color: transparent;
87
+ border-color: var(--accent-blue);
88
+ color: var(--accent-blue);
89
+ }
90
+ .btn-secondary:hover {
91
+ background-color: rgba(66, 153, 225, 0.1);
92
+ }
93
+ .btn-danger {
94
+ background-color: transparent;
95
+ border-color: var(--accent-red);
96
+ color: var(--accent-red);
97
+ }
98
+ .btn-danger:hover {
99
+ background-color: rgba(245, 101, 101, 0.1);
100
+ }
101
+
102
+ /* Input Fields */
103
+ .input-field {
104
+ background-color: var(--bg-dark);
105
+ border: 1px solid var(--border-color);
106
+ color: var(--text-primary);
107
+ border-radius: 6px;
108
+ padding: 0.5rem 0.75rem;
109
+ }
110
+ .input-field:focus {
111
+ outline: none;
112
+ border-color: var(--accent-blue);
113
+ box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.5);
114
+ }
115
+
116
+ /* Toast Notifications */
117
  #toast-container { position: fixed; top: 20px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
118
+ .toast { padding: 12px 16px; border-radius: 6px; color: var(--bg-dark); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); opacity: 0; transform: translateX(100%); transition: all 0.3s ease-in-out; }
119
  .toast.show { opacity: 1; transform: translateX(0); }
120
+ .toast-success { background-color: var(--accent-green); }
121
+ .toast-error { background-color: var(--accent-red); }
122
+ .toast-info { background-color: var(--accent-blue); color: var(--text-primary); }
123
+
124
+ /* Icons */
125
+ .icon-btn { color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
126
+ .icon-btn:hover { color: var(--accent-blue); }
127
+
128
+ /* Scrollbar */
129
+ ::-webkit-scrollbar { width: 8px; }
130
+ ::-webkit-scrollbar-track { background: var(--bg-dark); }
131
+ ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
132
+ ::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }
133
+
134
+ /* Custom Component Styles */
135
+ .kpi-icon-wrapper {
136
+ width: 48px;
137
+ height: 48px;
138
+ border-radius: 50%;
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: center;
142
+ flex-shrink: 0;
143
+ }