-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
190 lines (163 loc) · 4.08 KB
/
style.css
File metadata and controls
190 lines (163 loc) · 4.08 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
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
178
179
180
181
182
183
184
185
186
187
188
189
190
:root {
/* Dark Mode Color Palette */
--primary-color: #00bcd4; /* Cyan - A vibrant accent color */
--secondary-color: #4CAF50; /* Green - For success/hover (can be adjusted) */
--text-color: #e0e0e0; /* Light grey for primary text */
--light-text-color: #a0a0a0; /* Slightly darker grey for secondary text/notes */
--background-color: #1a1a1a; /* Very dark background */
--card-background: #2b2b2b; /* Slightly lighter dark for card elements */
--border-color: #444; /* Darker border for separation */
--hover-background: #3a3a3a; /* Slightly lighter hover for table rows */
--input-background: #3b3b3b; /* Background for input fields */
--input-text-color: #f0f0f0; /* Text color inside input */
--placeholder-color: #888; /* Placeholder text color */
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: var(--background-color);
color: var(--text-color);
display: flex;
flex-direction: column; /* Changed to column */
justify-content: flex-start; /* Align items to the top */
align-items: center; /* Center items horizontally */
min-height: 100vh;
}
/* Logo Styling */
.logo-container {
margin-bottom: 20px;
text-align: center; /* Center the logo */
}
.logo {
max-width: 200px; /* Adjust the maximum width as needed */
height: auto;
display: block; /* Remove any extra spacing */
margin: 0 auto; /* Center the logo horizontally */
}
section {
background-color: var(--card-background);
padding: 30px;
border-radius: 8px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
width: 100%;
max-width: 600px;
}
h1 {
text-align: center;
color: var(--primary-color);
font-size: 2.2em;
margin-bottom: 30px;
font-weight: 600;
}
h1 a {
text-decoration: none;
color: inherit;
transition: color 0.2s ease-in-out;
}
h1 a:hover {
color: var(--secondary-color);
}
/* Search Bar Styling */
.search-container {
margin-bottom: 25px;
text-align: center;
}
#clientSearch {
width: calc(100% - 20px);
padding: 12px 10px;
border: 1px solid var(--border-color);
border-radius: 5px;
font-size: 1.1em;
box-sizing: border-box;
outline: none;
background-color: var(--input-background);
color: var(--input-text-color);
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#clientSearch::placeholder {
color: var(--placeholder-color);
opacity: 1;
}
#clientSearch:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
display: none; /* Initially hidden by default, shown by JS */
}
th,
td {
border: 1px solid var(--border-color);
padding: 12px 15px;
text-align: left;
}
th {
background-color: var(--primary-color);
color: var(--input-text-color);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
td {
background-color: var(--card-background);
font-weight: 400;
}
td a {
color: var(--primary-color);
text-decoration: none;
display: block;
padding: 0;
margin: 0;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
td a:hover {
background-color: var(--hover-background);
color: var(--primary-color);
text-decoration: underline;
}
/* Messages for user guidance */
#initialMessage,
#noResults {
text-align: center;
color: var(--light-text-color);
margin-top: 20px;
font-style: italic;
}
#noResults {
display: none; /* Hidden by default */
}
#initialMessage {
/* Displayed on load, hidden when searching */
display: block;
}
/* Responsive adjustments */
@media (max-width: 768px) {
body {
padding: 15px;
}
section {
padding: 20px;
}
h1 {
font-size: 1.8em;
}
#clientSearch {
font-size: 1em;
}
th, td {
padding: 10px;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5em;
}
th, td {
font-size: 0.9em;
}
}