osb/public/css/fixes.css

113 lines
2.1 KiB
CSS
Raw Normal View History

2021-06-28 01:06:44 +00:00
body {
font-size: 0.85em;
}
2019-06-02 05:35:48 +00:00
/* Fixes for data tables */
2021-06-28 01:06:44 +00:00
/* Fix pagination buttons */
2019-06-02 05:35:48 +00:00
.dataTables_wrapper .dataTables_paginate .paginate_button {
2021-06-28 01:06:44 +00:00
padding: 0 0;
margin-left: 0;
border: 0 solid;
2019-06-02 05:35:48 +00:00
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
2021-06-28 01:06:44 +00:00
border: 0 solid;
2020-01-11 02:36:11 +00:00
background: #fff;
2019-06-02 05:35:48 +00:00
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
2021-06-28 01:06:44 +00:00
box-shadow: 0 0 0 #fff;
2020-01-11 02:36:11 +00:00
background-color: #fff;
2019-06-02 05:35:48 +00:00
}
/* Fix select width */
.dataTables_wrapper .dataTables_length select {
width: 5em !important;
}
2021-06-28 01:06:44 +00:00
.dataTables_scrollHeadInner {
width: 100% !important;
}
2019-06-02 05:35:48 +00:00
2021-06-28 01:06:44 +00:00
/* Remove multiple sorting images on tables */
2019-06-02 05:35:48 +00:00
table.dataTable thead .sorting_asc {
2020-01-11 02:36:11 +00:00
background-image: none !important;
2019-06-02 05:35:48 +00:00
}
table.dataTable thead .sorting_desc {
2020-01-11 02:36:11 +00:00
background-image: none !important;
2019-06-02 05:35:48 +00:00
}
table.dataTable thead .sorting {
2020-01-11 02:36:11 +00:00
background-image: none !important;
2019-06-02 05:35:48 +00:00
}
2021-06-28 01:06:44 +00:00
/* Fix textcolor on navbar focus */
.form-control.form-control-navbar:focus {
color: #111;
background-color: white;
}
2019-06-02 05:35:48 +00:00
/* Remove blue border from chrome on buttons */
/* Remove outline for non-keyboard :focus */
*:focus:not(.focus-visible) {
2020-01-11 02:36:11 +00:00
outline: none !important;
box-shadow: none !important;
2019-06-02 05:35:48 +00:00
}
/* Optional: Customize .focus-visible */
2021-06-28 01:06:44 +00:00
/*
2019-06-02 05:35:48 +00:00
.focus-visible {
2020-01-11 02:36:11 +00:00
outline-color: lightgreen;
2019-06-02 05:35:48 +00:00
}
2021-06-28 01:06:44 +00:00
*/
2019-06-02 05:35:48 +00:00
*:disabled {
2020-01-11 02:36:11 +00:00
cursor: not-allowed;
2019-06-02 05:35:48 +00:00
}
#favourite.selected {
2020-01-11 02:36:11 +00:00
color: orange;
2019-06-02 05:35:48 +00:00
}
#favourite:hover {
2020-01-11 02:36:11 +00:00
cursor: pointer;
2019-06-02 05:35:48 +00:00
}
2021-06-28 01:06:44 +00:00
.tag-selected {
color: orange;
}
.tag-selected:hover {
cursor: pointer;
}
.card-header h3.card-title {
font-size: 1.0rem;
}
/* Fix selected item is positioned correctly */
span.select2-selection.select2-selection--single > span.select2-selection__rendered {
margin-left: -9px;
}
/* Fix height when used with form-group */
.select2-selection.select2-selection--single {
height: calc(2.25rem + 2px) !important;
}
2021-12-20 03:25:43 +00:00
/* Fix dark background nav pills */
.card-header.bg-dark .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
background-color: #ffffff;
color: #343a40;
}
.card-header.bg-dark .nav-pills .nav-link:hover {
background-color: #6c757d;
color: #ffffff;
}
.card-header.bg-dark .nav-pills .nav-link:not(.active):hover {
background-color: #6c757d;
color: #ffffff;
}