mirror of
https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker.git
synced 2026-02-12 03:08:41 -06:00
183 lines
3.4 KiB
CSS
183 lines
3.4 KiB
CSS
.card-img {
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.card-img img {
|
|
max-height: 150px;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit:contain;
|
|
-webkit-backdrop-filter: blur(8px) contrast(60%);
|
|
backdrop-filter: blur(8px) contrast(60%);
|
|
}
|
|
|
|
.card-img img.card-last-img {
|
|
max-height: 100px;
|
|
}
|
|
|
|
.card-check {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card-solo > .card-img img {
|
|
max-height:300px !important;
|
|
}
|
|
|
|
.card-solo > .card-img img.card-medium-img {
|
|
max-height:200px !important;
|
|
}
|
|
|
|
.card-solo .card-check {
|
|
font-size: inherit !important;
|
|
}
|
|
|
|
.accordion-img {
|
|
max-height: 50px;
|
|
max-width: 50px;
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit:contain;
|
|
}
|
|
|
|
.table-img {
|
|
height: 75px;
|
|
width: 75px;
|
|
object-fit:contain;
|
|
}
|
|
|
|
.table-td-input {
|
|
max-width: 150px;
|
|
}
|
|
|
|
/* Checkbox column width constraint */
|
|
.table-td-input:has(.form-check-input[type="checkbox"]) {
|
|
width: 120px;
|
|
max-width: 120px;
|
|
min-width: 120px;
|
|
}
|
|
|
|
/* Reserve space for status icon to prevent layout shift */
|
|
.form-check-label i[id^="status-"] {
|
|
display: inline-block;
|
|
width: 1.2em;
|
|
text-align: center;
|
|
margin-left: 0.25rem;
|
|
}
|
|
|
|
/* Hamburger menu styling */
|
|
.table th .dropdown {
|
|
position: relative;
|
|
}
|
|
|
|
.table th .dropdown-toggle {
|
|
border-radius: 0.375rem;
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
.table th .dropdown-toggle:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
}
|
|
|
|
.table th .dropdown-toggle:hover {
|
|
background-color: #f8f9fa;
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
/* Style dropdown items */
|
|
.dropdown-menu .dropdown-header {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: #6c757d;
|
|
padding: 0.25rem 1rem;
|
|
}
|
|
|
|
.dropdown-menu .dropdown-item {
|
|
font-size: 0.875rem;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
.dropdown-menu .dropdown-item:hover {
|
|
background-color: #f8f9fa;
|
|
color: #212529;
|
|
}
|
|
|
|
.dropdown-menu .dropdown-item i {
|
|
width: 1.25rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Fixes for sortable.js */
|
|
.sortable {
|
|
--th-color: #000 !important;
|
|
--th-bg:#fff !important;
|
|
}
|
|
|
|
.sortable thead th {
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
.color-rgb {
|
|
display: inline-block;
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.color-rgb-table {
|
|
width: 20px !important;
|
|
height: 20px !important;
|
|
}
|
|
|
|
.color-any {
|
|
background:
|
|
linear-gradient(217deg, rgb(255 0 0 / 80%), rgb(255 0 0 / 0%) 70.71%),
|
|
linear-gradient(127deg, rgb(0 255 0 / 80%), rgb(0 255 0 / 0%) 70.71%),
|
|
linear-gradient(336deg, rgb(0 0 255 / 80%), rgb(0 0 255 / 0%) 70.71%)
|
|
;
|
|
}
|
|
|
|
/* Mobile Pagination Fixes */
|
|
.mobile-pagination {
|
|
display: flex !important;
|
|
width: 100% !important;
|
|
gap: 2px;
|
|
}
|
|
|
|
.mobile-pagination .btn:first-child,
|
|
.mobile-pagination .btn:last-child {
|
|
flex: 0 0 auto;
|
|
min-width: 90px;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.mobile-pagination .btn:nth-child(2) {
|
|
flex: 1 1 auto;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Partial Status Checkbox Styling */
|
|
.partial-status {
|
|
position: relative;
|
|
}
|
|
|
|
.partial-status::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 2px;
|
|
right: 2px;
|
|
bottom: 2px;
|
|
background: #6f42c1;
|
|
border-radius: 2px;
|
|
opacity: 0.8;
|
|
pointer-events: none;
|
|
}/* Duplicate filter support */
|
|
.duplicate-filter-hidden { display: none !important; }
|