-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
153 lines (130 loc) · 3.71 KB
/
styles.css
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
body {
font-family: 'Arial', sans-serif;
background-color: #121212;
}
.container {
background-color: #1E1E1E;
padding: 20px;
border-radius: 8px;
}
.form-control {
background-color: #242424;
color: #B0B0B0;
border: 1px solid #444;
}
.form-control:focus {
border-color: #555;
box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}
select.form-control option {
background-color: #242424;
color: #B0B0B0;
}
select.form-control {
background-color: #242424;
color: #B0B0B0;
border: 1px solid #444;
appearance: none; /* Disable default browser styling */
-webkit-appearance: none; /* Safari */
-moz-appearance: none; /* Firefox */
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23B0B0B0" d="M2 0L0 2h4L2 0zm0 5L0 3h4l-2 2z"/></svg>'); /* Custom arrow icon */
background-repeat: no-repeat;
background-position: right 0.5rem center;
background-size: 16px;
}
select.form-control:focus,
input[type="text"].form-control:focus,
input[type="number"].form-control:focus {
border-color: #555;
box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}
select.form-control:focus::-ms-value {
background-color: #242424;
color: #B0B0B0;
}
select.form-control:-moz-focusring {
color: #B0B0B0;
text-shadow: 0 0 0 #B0B0B0;
}
select.form-control:focus {
color: #B0B0B0;
}
select.form-control > option {
background-color: #242424;
color: #B0B0B0;
}
select.form-control > option:checked {
background-color: #323232;
color: #B0B0B0;
}
/* Fix for dropdown background color on open in some browsers */
select.form-control[size], select.form-control[multiple] {
background-color: #242424;
}
/* For browsers that support the ::-ms-expand pseudo-element (e.g., IE and Edge) */
select.form-control::-ms-expand {
background-color: #242424;
color: #B0B0B0;
}
textarea#output {
background-color: #242424;
color: #B0B0B0;
border: 1px solid #444;
}
textarea#output:focus {
border-color: #555;
box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover, .btn-primary:active {
background-color: #0056b3;
border-color: #0056b3;
}
.btn-success:hover, .btn-success:active {
background-color: #1e7e34;
border-color: #1e7e34;
}
/* For Chrome and other WebKit browsers */
@media screen and (-webkit-min-device-pixel-ratio:0) {
select.form-control:focus,
select.form-control:active {
background-color: #242424 !important;
}
}
input[type="text"].form-control,
input[type="number"].form-control {
background-color: #242424;
color: #B0B0B0;
border: 1px solid #444;
}
input[type="text"].form-control:focus,
input[type="number"].form-control:focus {
border-color: #555;
box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
background-color: #242424;
color: #B0B0B0;
outline: none;
}
/* Override browser-specific styles for input[type="number"] */
/* For Firefox */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* For Chrome */
input[type="number"]::-webkit-clear-button {
display: none; /* Removes the clear button in Webkit browsers */
}
.popup {
display: none;
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
background-color: #444;
color: white;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
z-index: 1000;
}