mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 20:35:57 +02:00
select box issue
This commit is contained in:
@@ -240,7 +240,7 @@
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
select.form-control {
|
||||
color: #2f3640 !important;
|
||||
background-color: #f8f9ff !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -344,11 +344,35 @@
|
||||
|
||||
select.form-control {
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
background-position: right 0.5rem center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1.5em 1.5em;
|
||||
padding-right: 2.5rem;
|
||||
line-height: 1.5;
|
||||
min-height: 44px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* Windows-specific fixes */
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
select.form-control {
|
||||
color: var(--text-primary) !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix for Windows Edge and Chrome */
|
||||
select.form-control::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
select.form-control:focus {
|
||||
color: var(--text-primary);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Alerts */
|
||||
|
||||
@@ -191,11 +191,34 @@
|
||||
|
||||
select.form-control {
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
||||
background-position: right 0.5rem center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 1.5em 1.5em;
|
||||
padding-right: 2.5rem;
|
||||
line-height: 1.5;
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
/* Windows-specific fixes for selectboxes */
|
||||
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||
select.form-control {
|
||||
color: var(--text-primary) !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix for Windows Edge and Chrome */
|
||||
select.form-control::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
select.form-control:focus {
|
||||
color: var(--text-primary);
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
textarea.form-control {
|
||||
|
||||
Reference in New Issue
Block a user