-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminer-dark.css
More file actions
222 lines (191 loc) · 4.8 KB
/
Copy pathadminer-dark.css
File metadata and controls
222 lines (191 loc) · 4.8 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/*!
* ADMINER DARK THEME — v1.0
* Custom CSS theme for Adminer (https://www.adminer.org/)
* Author: Michael Grznár <grznar@michaelg.cz>
* Repository: https://github.com/MichaelGrznar/adminer-dark-css
*
* Description:
* A minimalist dark mode theme for Adminer. No layout or HTML changes – just colors.
* Fully compatible with Adminer version 5.3 and above.
*
* Based on:
* Adminer by Jakub Vrána – https://github.com/vrana/adminer
* Licensed under the Apache License 2.0 – https://www.apache.org/licenses/LICENSE-2.0
*
* License:
* This theme is licensed under the Apache License 2.0.
* You may freely use, modify, and distribute this file under the terms of that license.
*/
/* ==========================================================================
BASIC LAYOUT AND TYPOGRAPHY
========================================================================== */
/* Basic page settings */
html,
body {
background-color: #1e1f22;
color: #b5b5b5;
margin: 0;
padding: 0;
min-height: 100vh;
}
body {
background-color: #1e1f22 !important;
}
/* Headings */
h1 {
background: transparent;
border-bottom: 1px solid #999;
color: #777;
font-size: 150%;
font-weight: normal;
margin: 0;
padding: 0.8em 0.667em;
}
h2 {
background: #2b2d30;
font-size: 150%;
font-weight: normal;
margin: 0 0 20px -18px;
padding: 0.8em 1em;
color: #fff;
}
h3 {
color: #af8d57;
font-size: 130%;
font-weight: normal;
margin: 1em 0 0;
}
/* ==========================================================================
LINKS AND NAVIGATION
========================================================================== */
/* Basic link styling */
a {
color: #b5b5b5;
}
a:visited {
color: #b5b5b5;
}
/* Active elements */
.active {
color: #af8d57 !important;
font-weight: bold;
}
/* Navigation elements */
#logins a,
#tables a,
#tables span {
background: transparent;
}
/* JUSH syntax highlighting links */
.jush a {
color: #448dd0;
}
/* ==========================================================================
BUTTONS AND FORM ELEMENTS
========================================================================== */
/* Button styling */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
background-color: #3574f0 !important;
color: white !important;
border: none !important;
padding: 3px 16px;
cursor: pointer;
border-radius: 4px;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
background-color: #2559cc !important;
}
/* ==========================================================================
LAYOUT COMPONENTS
========================================================================== */
/* Main menu */
#menu {
background-color: #2b2d30;
}
/* Breadcrumb navigation */
#breadcrumb {
background: #2b2d30;
height: 2em;
left: 21em;
line-height: 1.8em;
margin: 0 0 0 -18px;
padding: 0 1em;
position: absolute;
top: 0;
white-space: nowrap;
}
/* Logout button */
.logout {
background-color: transparent;
box-shadow: 0 0 5px 5px transparent;
margin-top: 0.5em;
position: absolute;
right: 0;
top: 0;
}
/* ==========================================================================
TABLES AND DATA DISPLAY
========================================================================== */
/* Basic table styling */
table,
td,
th,
.js .column {
border-color: #313438;
border-style: solid;
background: transparent;
}
/* Table headers */
thead td,
thead th {
background: #2b2d30;
}
/* Row alternating background - odd rows (darker) */
tbody tr:nth-child(odd),
table tr:nth-child(odd) {
background-color: #1e1f22 !important;
}
/* Row alternating background - even rows (lighter) */
.odds tbody tr:nth-child(2n),
tbody tr:nth-child(even),
table tr:nth-child(even) {
background-color: #26282e !important;
}
/* Hover effect for table rows */
table tr:hover {
background-color: #3a3d40 !important;
}
/* Basic styling for rows */
tr {
border-color: inherit;
display: table-row;
unicode-bidi: isolate;
vertical-align: inherit;
}
/* ==========================================================================
CODE BLOCKS AND SYNTAX
========================================================================== */
code {
background: transparent;
font-size: 110%;
padding: 1px 2px;
}
/* ==========================================================================
PAGE FOOTER
========================================================================== */
.footer {
bottom: 0;
box-shadow: 0 -5px 10px 10px #2b2d30;
margin: 23px -20px 0.5em 0;
position: sticky;
}
.footer > div {
background: #2b2d30;
padding: 0 0 0.5em;
}