-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (41 loc) · 845 Bytes
/
style.css
File metadata and controls
45 lines (41 loc) · 845 Bytes
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
/* Custom Animations & Base Overrides */
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
.dark ::-webkit-scrollbar-track {
background: #2d2d2d;
}
::-webkit-scrollbar-thumb {
background: #ccc;
border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
background: #555;
}
::-webkit-scrollbar-thumb:hover {
background: #FFD600;
}
/* Floating Label Transition fix for inputs */
input:placeholder-shown ~ label {
top: 1rem;
font-size: 1rem;
color: #6b7280;
}
.dark input:placeholder-shown ~ label {
color: #9ca3af;
}
input:focus ~ label,
input:not(:placeholder-shown) ~ label {
top: 0.25rem;
font-size: 0.75rem;
color: #FFD600;
}
/* Prevent image dragging in viewer */
#full-image {
user-select: none;
-webkit-user-drag: none;
}