privateuserh commited on
Commit
e99fc72
·
verified ·
1 Parent(s): e67fa5b

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +183 -62
style.css CHANGED
@@ -1,94 +1,215 @@
1
- /* --- THEME & VARIABLES --- */
2
  :root {
3
- --navy-dark: #0a192f;
4
- --navy-light: #112240;
5
- --slate-light: #ccd6f6;
6
- --slate-medium: #8892b0;
7
- --cyan-accent: #64ffda;
8
- --cyan-accent-transparent: rgba(100, 255, 218, 0.1);
9
- --success-color: #64ffda;
10
- --error-color: #ff8b8b;
 
 
11
  }
12
 
13
- /* --- GLOBAL STYLES & RESET --- */
14
- * { box-sizing: border-box; margin: 0; padding: 0; }
 
 
 
15
 
16
  body {
17
- font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
18
- background-color: var(--navy-dark);
19
- color: var(--slate-medium);
20
  display: flex;
21
  justify-content: center;
22
- align-items: flex-start;
23
  min-height: 100vh;
24
- padding: 40px 20px;
25
- font-size: 16px;
26
- line-height: 1.5;
27
  }
28
 
29
- .content-wrapper { width: 100%; max-width: 700px; }
 
 
 
30
 
31
- /* --- HEADER & LOGO --- */
32
- .page-header { text-align: center; margin-bottom: 50px; }
33
- .logo { width: 80px; height: 80px; margin-bottom: 20px; color: var(--cyan-accent); }
34
- h1, h2, h3 { color: var(--slate-light); font-weight: 700; }
35
- h1 { font-size: 2rem; }
36
- h2 { font-size: 1.5rem; margin-bottom: 20px; }
37
- h3 { font-size: 1.75rem; margin-bottom: 25px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
 
 
 
 
 
 
 
 
39
 
40
- /* --- FORM CONTAINER & ELEMENTS --- */
41
- .form-container {
42
- background-color: var(--navy-light);
43
- padding: 30px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  border-radius: 8px;
45
- margin-bottom: 30px;
46
- border: 1px solid #1a2c4e;
47
  }
48
 
49
- /* ... Other form styles ... */
 
 
 
 
50
 
51
- /* --- BUTTONS --- */
52
- button { /* ... base button styles ... */ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
- .floating-action-button {
55
  position: fixed;
56
- bottom: 30px;
57
- right: 30px;
58
- width: 60px;
59
- height: 60px;
60
- background-color: var(--cyan-accent);
61
  border-radius: 50%;
62
- border: none;
63
- box-shadow: 0 4px 15px rgba(0,0,0,0.3);
64
- cursor: pointer;
65
- z-index: 999;
66
  display: flex;
67
  justify-content: center;
68
  align-items: center;
69
- transition: transform 0.2s ease;
 
 
 
70
  }
71
- .floating-action-button svg { fill: var(--navy-dark); }
72
- .floating-action-button:hover { background-color: var(--cyan-accent); transform: scale(1.1); }
73
-
74
 
75
- /* --- ADMIN PANEL FIX --- */
76
  .admin-panel summary {
77
  cursor: pointer;
78
- font-weight: 700;
79
- font-size: 1.1rem;
80
- color: var(--cyan-accent);
81
- list-style-position: inside; /* Ensures marker is aligned */
82
- outline: none; /* Removes focus ring on some browsers */
83
  }
84
  .details-content {
85
  margin-top: 20px;
86
- padding-top: 20px;
87
- border-top: 1px solid var(--navy-dark);
88
  }
89
- .admin-buttons { display: flex; gap: 15px; }
90
- .admin-buttons button { flex-grow: 1; padding: 12px; font-size: 1rem; }
91
- /* ... other admin button styles ... */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
- /* --- MODALS, STATUS, ETC. --- */
94
- /* All other styles for modals, status messages, etc. remain the same */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  :root {
2
+ --bg-color: #f4f7f9;
3
+ --card-bg-color: #ffffff;
4
+ --primary-color: #3498db;
5
+ --text-color-dark: #2c3e50;
6
+ --text-color-light: #7f8c8d;
7
+ --border-color: #e1e5e8;
8
+ --success-color: #2ecc71;
9
+ --error-color: #e74c3c;
10
+ --shadow: 0 4px 6px rgba(44, 62, 80, 0.1);
11
+ --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
12
  }
13
 
14
+ * {
15
+ box-sizing: border-box;
16
+ margin: 0;
17
+ padding: 0;
18
+ }
19
 
20
  body {
21
+ font-family: var(--font-family);
22
+ background-color: var(--bg-color);
23
+ color: var(--text-color-dark);
24
  display: flex;
25
  justify-content: center;
26
+ padding: 30px 15px;
27
  min-height: 100vh;
 
 
 
28
  }
29
 
30
+ .main-container {
31
+ width: 100%;
32
+ max-width: 550px;
33
+ }
34
 
35
+ .page-header {
36
+ text-align: center;
37
+ margin-bottom: 40px;
38
+ }
39
+ .logo {
40
+ width: 60px;
41
+ height: 60px;
42
+ color: var(--primary-color);
43
+ margin-bottom: 15px;
44
+ stroke: var(--primary-color); /* For SVG lines */
45
+ }
46
+ h1 {
47
+ font-size: 1.75rem;
48
+ font-weight: 600;
49
+ }
50
+ h2 {
51
+ font-size: 1.25rem;
52
+ font-weight: 600;
53
+ margin-bottom: 20px;
54
+ }
55
+ h3 {
56
+ font-size: 1.5rem;
57
+ margin-bottom: 20px;
58
+ text-align: center;
59
+ }
60
 
61
+ .widget-card {
62
+ background-color: var(--card-bg-color);
63
+ padding: 25px;
64
+ border-radius: 12px;
65
+ margin-bottom: 25px;
66
+ box-shadow: var(--shadow);
67
+ border: 1px solid var(--border-color);
68
+ }
69
 
70
+ .form-group {
71
+ margin-bottom: 18px;
72
+ }
73
+
74
+ label {
75
+ display: block;
76
+ margin-bottom: 6px;
77
+ font-size: 0.875rem;
78
+ font-weight: 500;
79
+ color: var(--text-color-light);
80
+ }
81
+
82
+ input[type="text"],
83
+ input[type="email"],
84
+ input[type="number"] {
85
+ width: 100%;
86
+ padding: 12px;
87
+ border: 1px solid var(--border-color);
88
  border-radius: 8px;
89
+ font-size: 1rem;
90
+ transition: border-color 0.2s, box-shadow 0.2s;
91
  }
92
 
93
+ input:focus {
94
+ outline: none;
95
+ border-color: var(--primary-color);
96
+ box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
97
+ }
98
 
99
+ button {
100
+ font-family: var(--font-family);
101
+ cursor: pointer;
102
+ border-radius: 8px;
103
+ font-weight: 500;
104
+ padding: 12px 15px;
105
+ border: 1px solid transparent;
106
+ transition: all 0.2s;
107
+ }
108
+ .button-primary {
109
+ width: 100%;
110
+ background-color: var(--primary-color);
111
+ color: white;
112
+ font-size: 1rem;
113
+ }
114
+ .button-primary:hover {
115
+ background-color: #2980b9;
116
+ }
117
 
118
+ .fab {
119
  position: fixed;
120
+ bottom: 25px;
121
+ right: 25px;
122
+ width: 56px;
123
+ height: 56px;
124
+ background-color: var(--primary-color);
125
  border-radius: 50%;
126
+ box-shadow: var(--shadow);
 
 
 
127
  display: flex;
128
  justify-content: center;
129
  align-items: center;
130
+ color: white;
131
+ }
132
+ .fab:hover {
133
+ transform: scale(1.05);
134
  }
 
 
 
135
 
 
136
  .admin-panel summary {
137
  cursor: pointer;
138
+ font-weight: 600;
139
+ color: var(--primary-color);
140
+ list-style-position: inside;
 
 
141
  }
142
  .details-content {
143
  margin-top: 20px;
 
 
144
  }
145
+ .admin-buttons {
146
+ display: flex;
147
+ gap: 10px;
148
+ }
149
+ .admin-buttons button {
150
+ flex-grow: 1;
151
+ }
152
+ .button-approve {
153
+ background-color: var(--success-color);
154
+ color: white;
155
+ }
156
+ .button-decline {
157
+ background-color: var(--error-color);
158
+ color: white;
159
+ }
160
+
161
+ .status {
162
+ text-align: center;
163
+ margin-top: 15px;
164
+ padding: 10px;
165
+ border-radius: 6px;
166
+ display: none;
167
+ }
168
+ .status.success {
169
+ display: block;
170
+ color: #27ae60;
171
+ background-color: #eaf8f1;
172
+ }
173
+ .status.error {
174
+ display: block;
175
+ color: #c0392b;
176
+ background-color: #fbecec;
177
+ }
178
 
179
+ .hidden { display: none !important; }
180
+ .modal-backdrop {
181
+ position: fixed;
182
+ inset: 0;
183
+ background-color: rgba(10, 25, 47, 0.6);
184
+ display: flex;
185
+ justify-content: center;
186
+ align-items: center;
187
+ z-index: 1000;
188
+ }
189
+ .modal-content {
190
+ background: var(--card-bg-color);
191
+ padding: 30px;
192
+ border-radius: 12px;
193
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
194
+ position: relative;
195
+ width: 90%;
196
+ max-width: 500px;
197
+ }
198
+ .modal-close {
199
+ position: absolute;
200
+ top: 10px;
201
+ right: 15px;
202
+ background: none;
203
+ border: none;
204
+ font-size: 2rem;
205
+ color: var(--text-color-light);
206
+ }
207
+
208
+ /* Highlight animation from before */
209
+ .highlight {
210
+ animation: highlight-animation 2s ease-out;
211
+ }
212
+ @keyframes highlight-animation {
213
+ from { background-color: rgba(52, 152, 219, 0.2); }
214
+ to { background-color: var(--card-bg-color); }
215
+ }