86 lines
1.9 KiB
CSS
Vendored
86 lines
1.9 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;
|
|
}
|
|
|
|
/* Fix markdown parser that renders <li><p> */
|
|
#content ul:not(.pagination) li p {
|
|
margin-left: -1ch;
|
|
}
|
|
|
|
.btn.btn-success a {
|
|
color: white;
|
|
}
|
|
|
|
/* Stop dropdown menu animation */
|
|
/*
|
|
.collapsing {
|
|
-webkit-transition: none;
|
|
transition: none;
|
|
display: none;
|
|
}
|
|
*/
|
|
|
|
/* dropdown menu fixes */
|
|
#nav-menu div.collapse.navbar-collapse.show ul {
|
|
padding: 5px 20px 5px 5px;
|
|
}
|
|
#nav-menu div.collapse.navbar-collapse.show li {
|
|
display: list-item;
|
|
}
|
|
#nav-menu div.collapse.navbar-collapse.show li a {
|
|
padding: 5px 5px 5px 5px;
|
|
margin: 0;
|
|
font-size: 85%;
|
|
} |