-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (81 loc) · 2.94 KB
/
Copy pathstyle.css
File metadata and controls
94 lines (81 loc) · 2.94 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
#sidebar-content::-webkit-scrollbar {
width: 4px;
}
#sidebar-content::-webkit-scrollbar-track {
background: transparent;
}
#sidebar-content::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 4px;
}
#sidebar-content::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
#sidebar-content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
}
#sidebar-content::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
}
#sidebar-content {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}
.dark #sidebar-content {
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
/*
* Mintlify toggles dark mode with a `.dark` ancestor, not only
* prefers-color-scheme. Tailwind `dark:` utilities often follow the media query,
* and global form resets can still beat plain utilities on native controls.
* !important wins over Mintlify's prose/layout form styles where they overlap.
*/
.dark .install-command-builder {
color-scheme: dark;
}
.dark .install-command-builder input:not([type="checkbox"]):not([type="radio"]),
.dark .install-command-builder textarea {
background-color: #18181b !important;
color: #f4f4f5 !important;
border-color: #3f3f46 !important;
color-scheme: dark;
-webkit-text-fill-color: #f4f4f5 !important;
caret-color: #f4f4f5;
}
.dark .install-command-builder select {
background-color: #18181b !important;
color: #f4f4f5 !important;
border-color: #3f3f46 !important;
color-scheme: dark;
-webkit-text-fill-color: #f4f4f5 !important;
caret-color: #f4f4f5;
appearance: none !important;
-webkit-appearance: none !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: right 0.65rem center !important;
background-size: 1rem !important;
padding-right: 2.25rem !important;
}
.dark .install-command-builder input::placeholder,
.dark .install-command-builder textarea::placeholder {
color: #71717a !important;
opacity: 1;
-webkit-text-fill-color: #71717a !important;
}
.dark .install-command-builder select option {
background-color: #18181b;
color: #f4f4f5;
}
.dark .install-command-builder input:-webkit-autofill,
.dark .install-command-builder input:-webkit-autofill:hover,
.dark .install-command-builder input:-webkit-autofill:focus,
.dark .install-command-builder textarea:-webkit-autofill,
.dark .install-command-builder textarea:-webkit-autofill:hover,
.dark .install-command-builder textarea:-webkit-autofill:focus {
-webkit-text-fill-color: #f4f4f5 !important;
box-shadow: 0 0 0 1000px #18181b inset !important;
transition: background-color 5000s ease-in-out 0s;
}