spejstore/static/css/admin.css

39 lines
1.1 KiB
CSS
Raw Normal View History

2017-10-08 16:01:03 +00:00
/* django-admin CSS patches */
.select2-container {
2023-07-11 16:12:12 +00:00
min-width: 400px;
}
@media (prefers-color-scheme: dark) {
/* Change the appearence of the bakground colour surrounding the search input field */
.select2-search {
background-color: #343a40 !important;
}
/* Change the appearence of the search input field */
.select2-search input {
color: #ffffff !important;
background-color: #343a40 !important;
}
/* Change the appearence of the search results container */
.select2-results {
background-color: #343a40 !important;
}
/* Change the appearence of the dropdown select container */
.select2-container .select2-selection {
border-color: #6c757d !important;
color: #ffffff !important;
background-color: #343a40 !important;
}
/* Change the caret down arrow symbol to white */
.select2-container .select2-selection__arrow b {
border-color: #fff transparent transparent transparent !important;
}
/* Change the color of the default selected item i.e. the first option */
.select2-container .select2-selection--single .select2-selection__rendered {
color: #ffffff !important;
}
2017-10-08 16:01:03 +00:00
}