clrghouz/public/css/fixes.css
2022-11-05 10:17:14 +11:00

55 lines
1.4 KiB
CSS
Vendored

/* Fixes for select 2 and our theme */
/*
.select2 .select2-container .select2-container--classic { width: 80% !important;}
*/
.select2-container .select2-selection--single { border-radius: 0 4px 4px 0; height: inherit;}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 36px; }
.select2-container--classic .select2-selection--single .select2-selection__arrow { line-height: 36px; }
.select2-results { color: #000; }
/*
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
*/
.select2-container--default .select2-results__option--selected { background-color: #024cc4; color: #eeeeee;}
/* Bootstrap 5 fixes */
/* select import, round the right side */
.input-group .form-select {
border-top-right-radius: 4px !important;
border-bottom-right-radius: 4px !important;
}
/* Using OL instead of UL */
ol {
text-align: left;
}
#content ol {
margin: 0 1ch;
padding-left: 1ch;
list-style-type: none;
}
#content ol:not(.pagination) li {
margin: 0 1ch;
text-indent: -3ch;
padding-left: 3ch;
display: block;
counter-increment: count-me;
}
#content ol:not(.pagination) li::before {
content: counter(count-me) ") ";
color: #0a0;
}
#content ol li:last-child {
margin-bottom: 16px;
}
/* Fix h5 which is 25% larger than h4 */
#content h4:not(.alert-heading) {
color: #c60;
}
#content h5:not(.alert-heading) {
font-size: 0.9rem;
}