Files
front-Censo/src/app/styles/layout/header.module.scss
T

83 lines
1.3 KiB
SCSS
Raw Normal View History

2025-10-22 13:27:10 -06:00
.logo {
position: relative;
z-index: 3;
margin: 5px;
}
.cedetecContainer {
position: absolute;
top: 0;
right: 0;
width: 300px;
height: 100%;
z-index: -1;
}
.cedetecContainer::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
}
.yellowPart {
position: absolute;
content: "";
top: 0;
left: -20px;
2025-10-24 17:16:03 -06:00
width: 100%;
2025-10-22 13:27:10 -06:00
height: 30px;
min-width: 300px;
2025-10-24 17:16:03 -06:00
background: linear-gradient(to right, #bd8c01 40%, #fff 100%);
2025-10-22 13:27:10 -06:00
transform: skew(-45deg);
z-index: 0;
}
2025-10-24 17:16:03 -06:00
2025-10-22 13:27:10 -06:00
.header {
2025-10-23 15:43:58 -06:00
background-color: #fff;
2025-10-22 13:27:10 -06:00
display: grid;
grid-template-columns: auto 1fr;
2025-10-23 16:32:26 -06:00
padding: 0 10px;
2025-10-22 13:27:10 -06:00
position: relative;
z-index: 1;
2025-10-27 14:23:52 -06:00
align-items: end;
2025-10-22 13:27:10 -06:00
}
.header::after {
content: "";
top: 0;
2025-10-23 14:58:17 -06:00
left: -60px;
2025-10-22 13:27:10 -06:00
position: absolute;
background-color: #003e79;
height: 100%;
2025-10-23 16:32:26 -06:00
min-width: 400px;
2025-10-22 13:27:10 -06:00
transform: skew(45deg);
z-index: 2;
}
.header::before {
content: "";
top: 0;
2025-10-23 14:58:17 -06:00
left: -40px;
2025-10-22 13:27:10 -06:00
position: absolute;
background-color: rgb(1, 92, 184);
height: 100%;
width: 10%;
2025-10-23 16:32:26 -06:00
min-width: 400px;
2025-10-22 13:27:10 -06:00
transform: skew(45deg);
z-index: 2;
}
@media (max-width: 800px) {
.yellowPart {
2025-10-27 18:17:53 -06:00
left: 0;
2025-10-22 13:27:10 -06:00
background: #bd8c01;
2025-10-27 18:17:53 -06:00
transform: skew(0deg);
}
.header::after {
left: -100px;
}
.header::before {
left: -80px;
2025-10-22 13:27:10 -06:00
}
}