Files
nhgooi.nl/resources/assets/sass/components/_box.scss
T
2026-11-19 16:03:45 +01:00

110 lines
1.8 KiB
SCSS
Vendored

@use "../abstracts/variables" as *;
.box_header {
span {
font-family: var(--font-base);
font-size: 26px;
font-weight: 600;
color: $text-inverted-color;
border-bottom: none;
text-transform: none;
display: inline-block;
text-transform: uppercase;
height: 30px;
}
&.extra_small span {
font-size: 12px;
}
&.small span {
font-size: 14px;
}
&.medium span {
font-size: 18px;
}
border-bottom: none;
padding-right: 20px;
}
.box {
display: inline-block;
width: auto;
background-color: $element-bg;
margin-bottom: 50px;
@media (min-width: 768px) {
border-radius: 0;
box-shadow: none;
padding: 30px 23px 30px 30px;
}
@media (max-width: 768px) {
padding: 10px 10px 10px 10px;
}
&.full-width {
@media (min-width: 768px) {
width: CALC(100% - 60px);
}
@media (max-width: 768px) {
width: CALC(100% - 20px);
}
}
&.full-height {
height: CALC(100% - 103px);
}
@media (min-width: 768px) {
&.md_margin_top {
margin-top: 77px;
}
}
}
.tabs {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&.fit_content {
width: fit-content;
}
.box_header {
padding-right: 20px;
&:last-of-type {
padding-right: 0;
}
span {
color: rgba(255, 255, 255, .7);
border-bottom: none;
cursor: pointer;
padding-bottom: 3px;
}
&.extra_small span {
font-size: 12px;
}
&.small span {
font-size: 14px;
}
&.medium span {
font-size: 18px;
}
&.active, &:hover {
span {
color: $text-inverted-color;
border-bottom: 3px solid $gold;
padding-bottom: 0;
}
}
}
}
.tab_content {
display: none;
padding: 20px 23px 20px 20px;
&.active {
display: block;
}
}
.box_header span { text-transform: none; }