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
|
@import "tailwindcss";
@variant dark (&:where(.dark, .dark *));
/* ==================== Custom Select/Dropdown Styles ==================== */
/* Base select styling */
select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2371717a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.5rem center;
background-size: 1rem;
padding-right: 2rem;
}
/* Custom scrollbar for dropdowns and lists */
select,
.custom-select {
scrollbar-width: thin;
scrollbar-color: #3f3f46 #18181b;
}
/* Webkit scrollbar for select (when expanded, browser-dependent) */
select::-webkit-scrollbar {
width: 8px;
}
select::-webkit-scrollbar-track {
background: #18181b;
}
select::-webkit-scrollbar-thumb {
background-color: #3f3f46;
border-radius: 4px;
}
select::-webkit-scrollbar-thumb:hover {
background-color: #52525b;
}
/* Option styling (limited browser support but good for Tauri/WebView) */
select option {
background-color: #18181b;
color: #e4e4e7;
padding: 8px 12px;
}
select option:hover,
select option:focus,
select option:checked {
background: linear-gradient(#3730a3, #3730a3);
color: white;
}
/* ==================== Custom Scrollbar (Global) ==================== */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #3f3f46 transparent;
}
/* Webkit browsers */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: #3f3f46;
border-radius: 4px;
border: 2px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: #52525b;
}
::-webkit-scrollbar-corner {
background: transparent;
}
/* ==================== Input/Form Element Consistency ==================== */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
textarea {
background-color: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
border-color: rgba(99, 102, 241, 0.5);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
outline: none;
}
/* Number input - hide spinner */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
|