Files
kiosco_desk/renderer/components/Layout/Header.module.css
T

69 lines
1.1 KiB
CSS
Raw Normal View History

2025-10-29 18:26:25 -06:00
.logo {
position: relative;
z-index: 3;
margin: 5px;
}
2026-03-09 15:59:19 -05:00
.logoContainer {
position: relative;
width: 100%;
max-width: 250px;
min-width: 200px;
height: auto;
aspect-ratio: 250/70;
margin: 10px 5px;
2025-10-29 18:26:25 -06:00
}
.yellowPart {
position: absolute;
content: "";
top: 0;
left: -20px;
width: 100%;
2026-03-09 15:59:19 -05:00
height: 30px;
background: linear-gradient(to right, #bd8c01 40%, #fff 100%);
2025-10-29 18:26:25 -06:00
transform: skew(-45deg);
z-index: 0;
}
.header {
2026-03-09 15:59:19 -05:00
z-index: 1;
2025-10-29 18:26:25 -06:00
display: grid;
grid-template-columns: auto 1fr;
2026-03-09 15:59:19 -05:00
padding: 0 10px;
2025-10-29 18:26:25 -06:00
position: relative;
overflow: hidden;
2026-03-09 15:59:19 -05:00
background-color: #ffffff;
2025-10-29 18:26:25 -06:00
}
.header::after {
content: "";
top: 0;
2026-03-09 15:59:19 -05:00
left: -60px;
2025-10-29 18:26:25 -06:00
position: absolute;
background-color: #003e79;
height: 100%;
2026-03-09 15:59:19 -05:00
min-width: 350px;
2025-10-29 18:26:25 -06:00
transform: skew(45deg);
2026-03-09 15:59:19 -05:00
z-index: 2;
2025-10-29 18:26:25 -06:00
}
.header::before {
content: "";
top: 0;
2026-03-09 15:59:19 -05:00
left: -40px;
2025-10-29 18:26:25 -06:00
position: absolute;
background-color: rgb(1, 92, 184);
height: 100%;
2026-03-09 15:59:19 -05:00
width: 10%;
min-width: 350px;
2025-10-29 18:26:25 -06:00
transform: skew(45deg);
2026-03-09 15:59:19 -05:00
z-index: 2;
2025-10-29 18:26:25 -06:00
}
@media (max-width: 800px) {
.yellowPart {
background: #bd8c01;
}
}