-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathoptions.css
More file actions
105 lines (91 loc) · 1.8 KB
/
options.css
File metadata and controls
105 lines (91 loc) · 1.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
:root {
--bg-color: #ffffff;
--text-color: #000000;
--input-bg: #ffffff;
--input-text: #000000;
--input-border: #cccccc;
--link-color: #0066cc;
--button-bg: #f0f0f0;
--button-text: #000000;
--table-border: #cccccc;
}
body.dark-mode {
--bg-color: #1e1e1e;
--text-color: #e0e0e0;
--input-bg: #2d2d2d;
--input-text: #e0e0e0;
--input-border: #555555;
--link-color: #66b3ff;
--button-bg: #333333;
--button-text: #e0e0e0;
--table-border: #555555;
}
body {
font-family: sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
padding: 20px;
transition: background-color 0.3s, color 0.3s;
}
h1, h2 {
color: var(--text-color);
}
p {
color: var(--text-color);
}
input[type="text"],
input[type="password"] {
background-color: var(--input-bg);
color: var(--input-text);
border: 1px solid var(--input-border);
padding: 4px;
border-radius: 3px;
font-family: sans-serif;
}
input[type="submit"] {
background-color: var(--button-bg);
color: var(--button-text);
border: 1px solid var(--input-border);
padding: 4px 8px;
border-radius: 3px;
cursor: pointer;
font-family: sans-serif;
}
input[type="submit"]:hover {
opacity: 0.8;
}
a {
color: var(--link-color);
}
table {
border-collapse: collapse;
}
table tr th,
table tr td {
text-align: left;
padding: 8px;
color: var(--text-color);
border-bottom: 1px solid var(--table-border);
}
table tr th {
font-weight: bold;
}
.dark-mode-btn {
background-color: var(--button-bg);
color: var(--button-text);
border: 1px solid var(--input-border);
padding: 4px 8px;
border-radius: 3px;
cursor: pointer;
font-family: sans-serif;
white-space: nowrap;
}
.dark-mode-btn:hover {
opacity: 0.8;
}
#error-message,
#success-message {
padding: 10px;
border-radius: 3px;
margin-bottom: 10px;
}