loko/streetup/home/static/home/home_index.css

214 lines
No EOL
4.5 KiB
CSS

#content-wrapper {
padding: 0px;
}
.background-layer {
position: fixed;
/* top: 0;
left: 0; */
width: 100vw;
height: 100vh;
background: url('/static/home/background-map-2.png') center center / cover no-repeat;
opacity: 0.25; /* Transparence ici */
z-index: -1; /* Très important : derrière tout */
pointer-events: none; /* Permet de cliquer à travers */
}
.bg-image {
position: relative;
z-index: 0; /* Par-dessus l'image de fond */
min-height: 100vh;
display: flex;
justify-content: center;
overflow-y: auto;
}
.bg-light {
background-color: rgb(245,245,245);
}
/* .container {
max-width: 1600px;
} */
.card-img-top {
width: 100%;
height: 120px;
object-fit: cover;
object-position: 50% 60%;
}
.content-box {
position: relative;
z-index: 1;
text-align: center;
}
.section-card {
margin: 20px 0;
opacity: 1;
height: auto;
border: 1px solid #477da5;
background-color: rgba(255,255,255,0.9);
height: auto;
overflow: visible;
}
/* .section-card:hover {
transform: scale(1.05);
transition: transform 0.3s;
} */
.card-title {
color: rgb(0, 123, 197);
}
.halo-text {
font-size: 4rem;
font-weight: bold;
color: rgb(0, 123, 197);
text-shadow:
0 0 10px rgba(255, 255, 255, 0.8),
0 0 20px rgba(255, 255, 255, 0.6),
0 0 30px rgba(255, 255, 255, 0.4),
0 0 40px rgba(255, 255, 255, 0.2);
}
.todo {
font-size: 1rem;
}
.main-button {
border: 1px solid var(--brand-color);
width: 230px;
min-height: 58px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.button-asset {
width: 135px;
height: 75px;
font-size: 0.9rem;
margin: 5px;
border: 1px solid rgb(0, 123, 197);
}
.no-style-link {
text-decoration: none;
color: inherit;
}
.alert-card {
padding: 1.25rem;
margin: 1.25rem;
border: 2px solid rgba(215, 52, 44, 0.25);
border-left-width: .25rem;
border-left-color: rgb(215, 52, 44);
border-radius: .25rem;
background-color: rgba(255, 255, 255, 0.9);
}
.alert-color {
color: rgb(215, 52, 44);
}
.plan-card {
padding: 1.25rem;
margin: 1.25rem;
border: 2px solid rgba(255, 193, 7, 0.25);
border-left-width: .25rem;
border-left-color: rgb(255, 193, 7);
border-radius: .25rem;
background-color: rgba(255, 255, 255, 0.9);
}
.plan-color {
color: rgb(255, 193, 7);
}
.control-card {
padding: 1.25rem;
margin: 1.25rem;
border: 2px solid rgba(0, 223, 1, 0.25);
border-left-width: .25rem;
border-left-color: rgb(0, 223, 11);
border-radius: .25rem;
background-color: rgba(255, 255, 255, 0.9);
}
.control-color {
color: rgb(0, 223, 11);
}
.bill-card {
padding: 1.25rem;
margin: 1.25rem;
border: 2px solid rgba(0, 223, 205, 0.25);
border-left-width: .25rem;
border-left-color: rgb(0, 223, 205);
border-radius: .25rem;
background-color: rgba(255, 255, 255, 0.9);
}
.bill-color {
color: rgb(0, 223, 205);
}
.alert-card a, .plan-card a, .control-card a, .bill-card a {
color: var(--bs-body-color);
}
.map-legend {
position: absolute;
top: 10px;
right: 10px;
background-color: rgba(255, 255, 255, 0.85);
padding: 10px 12px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
font-size: 0.9rem;
z-index: 1000;
}
.map-legend .badge {
display: inline-flex;
align-items: center;
justify-content: flex-start;
width: 100%;
min-width: 100px;
border: 1px solid rgba(0,0,0,0.1);
padding-left: 10px;
}
/* Tuiles raccourcis symptômes pour opérateurs */
.shortcut-symptom-card {
background-color: rgba(255, 255, 255, 0.95);
border: 1px solid var(--brand-color);
border-radius: 0.75rem;
transition: transform 0.2s ease-in-out, box-shadow 0.2s;
color: var(--bs-body-color);
}
.shortcut-symptom-card:hover {
transform: translateY(-3px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
background-color: #fff;
}
.shortcut-symptom-card .card-text {
font-size: 0.9rem;
font-weight: 500;
color: var(--bs-body-color);
}
/* Tuiles raccourcis symptômes */
.shortcut-tile {
background-color: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 0.5rem;
padding: 0.5rem 1rem;
transition: all 0.2s ease-in-out;
}
.shortcut-tile:hover {
background-color: rgba(255, 255, 255, 0.3);
border-color: rgba(255, 255, 255, 0.8);
transform: translateY(-2px);
}