File: D:/HostingSpaces/stafa/stafa.nl/resources/sass/site/9-Utilities/_utilities.helpers.scss
.u-bg-wrapper {
position: relative;
width: 100%;
/*
* Prevent collapsing margins
* If for some reason this method fails,
* NEVER try this with setting display inline-block!!
*/
&::before,
&::after {
content: ' ';
display: table;
}
}
.u-bg-triangle-primary {
@include bg-triangle-shade(primary);
}
.u-bg-triangle-neutral {
@include bg-triangle-shade(neutral);
}
.u-bg-half-neutral--100 {
&:before {
content: "";
display: block;
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 50%;
background-color: #f7f8fa;
}
}
.u-ornament-triangle {
position: absolute;
top: 0;
right: 0;
z-index: 1;
margin-bottom: 6.61vw;
&::before {
pointer-events: none;
content: '';
display: block;
position: absolute;
width: 11.41vw;
height: 6.61vw;
top: 0;
right: 0;
background-image: linear-gradient(30deg, transparent 50%, palette(secondary, 500) 50.5%);
}
}
// Text and font utilities
.u-text-align-center {
text-align: center;
}
.u-fs-m {
@include font-size(m);
}
.u-fw-bold {
@include font-weight(bold);
}
.u-fw-regular {
@include font-weight(regular);
}