ldc-cocotte/resources/sass/fo/base/_common.scss
Jérémy Munsch e6a54a8acb
style(common): update inset values for layout consistency
Adjusted inset values to improve layout alignment across different screen sizes.
2026-10-27 09:58:20 +01:00

171 lines
2.4 KiB
SCSS

.font-barlow {
@include font-family-barlow;
}
.full-page > main {
padding: 0 !important;
}
.z-md-0 {
@media (width >= 768px) {
z-index: 0 !important;
}
}
.mw-5 {
max-width: 5rem !important;
}
.mw-6 {
max-width: 6rem !important;
}
.mw-10 {
max-width: 10rem !important;
}
.mw-13 {
max-width: 13rem !important;
}
.mh-10 {
max-height: 10rem !important;
}
.mh-100vh {
min-height: 100vh !important;
}
.mh-90vh {
min-height: 90vh !important;
}
.cursor-pointer {
cursor: pointer !important;
}
.pointer-events-none {
pointer-events: none !important;
}
.w-4 {
width: 4rem;
}
.h-logo {
width: auto;
max-width: 100%;
height: 3rem;
@media (width >= 768px) {
height: 3.2rem;
}
}
.mh-50px {
max-height: 50px !important;
}
.wh-20px {
width: 20px !important;
height: 20px !important;
}
.wh-32px {
width: 32px !important;
height: 32px !important;
}
.mh-250px-scroll {
max-height: 250px !important;
overflow-y: auto !important;
}
.mh-350px-scroll {
max-height: 350px !important;
overflow-y: auto !important;
}
.fs-4rem {
font-size: 4rem !important;
}
.min-h-300px {
min-height: 300px !important;
}
.wh-10rem {
width: 10rem !important;
height: 10rem !important;
}
.mh-150px {
max-height: 150px !important;
}
.mw-80px {
max-width: 80px !important;
}
.leaflet-popup-title {
display: block;
margin-bottom: 4px;
font-size: 1.1em;
}
#fo-toast-container {
z-index: 1080 !important;
@media (width > 767.98px) {
width: 90vw;
inset: 4rem auto auto 50% !important;
transform: translateX(-50%) !important;
}
inset: 4rem auto auto 50% !important;
transform: translateX(-50%) !important;
}
@media (width >= 992px) {
.sticky-lg-top-navbar {
position: sticky !important;
top: 5rem !important;
}
}
.spinner-border-xl {
width: 4rem;
height: 4rem;
border-width: 0.25rem;
}
#search:focus {
border-color: var(--bs-dark) !important;
box-shadow: 0 0 0 0.25rem rgb(var(--bs-dark-rgb), 0.5) !important;
}
#hero-carousel {
height: 75vh;
min-height: 400px;
max-height: 800px;
img {
max-height: 45vh;
}
}
.scroll-m-top-96 {
scroll-margin-top: 6rem !important;
}
.bottom-n15px {
bottom: -15px !important;
}
.form-floating > .form-control[required] ~ label::after,
.form-floating > .form-select[required] ~ label::after,
.form-check:has([required]) > label::after {
color: var(--bs-danger);
content: ' *';
}