68 lines
1.8 KiB
SCSS
68 lines
1.8 KiB
SCSS
.rotate-left {
|
|
transform: rotate(-3deg);
|
|
|
|
@for $i from 1 through 5 {
|
|
&-#{$i} {
|
|
transform: rotate(-#{$i}deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.rotate-right {
|
|
transform: rotate(3deg);
|
|
|
|
@for $i from 1 through 5 {
|
|
&-#{$i} {
|
|
transform: rotate(#{$i}deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.mirror-h {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
.mirror-v {
|
|
transform: scaleY(-1);
|
|
}
|
|
|
|
// * Clip-path for the irregular shape.
|
|
// Use the large one for sections and the small one for cards.
|
|
.line-border-large {
|
|
clip-path: polygon(67% 1vw, 100% 0, 100% 100%, 50% calc(100% - 1vw), 0 100%, 0 1vw, 31% 0);
|
|
}
|
|
|
|
.line-border-medium {
|
|
clip-path: polygon(60% 1vw, 100% 0, 100% calc(100% - 1vw), 70% calc(100% - 1.5vw), 40% 100%, 0 calc(100% - 1vw), 0 1vw, 30% 0);
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
clip-path: polygon(60% 0.5vw, 100% 0, 100% calc(100% - 0.5vw), 70% calc(100% - 0.75vw), 40% 100%, 0 calc(100% - 0.5vw), 0 0.5vw, 30% 0);
|
|
}
|
|
}
|
|
|
|
.line-border-small {
|
|
clip-path: polygon(60% 1vw, 100% 0, 100% calc(100% - 1vw), 70% calc(100% - 1.5vw), 40% 100%, 0 calc(100% - 1vw), 0 1vw, 30% 0);
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
clip-path: polygon(60% 0.5vw, 100% 0, 100% calc(100% - 0.5vw), 70% calc(100% - 0.75vw), 40% 100%, 0 calc(100% - 0.5vw), 0 0.5vw, 30% 0);
|
|
}
|
|
|
|
@include media-breakpoint-up(md) {
|
|
clip-path: polygon(60% 0.2vw, 100% 0, 100% calc(100% - 0.2vw), 70% calc(100% - 0.75vw), 40% 100%, 0 calc(100% - 0.2vw), 0 0.2vw, 30% 0);
|
|
}
|
|
}
|
|
|
|
.bottom-left-shadow {
|
|
filter: drop-shadow(-2px 2px 4px rgb(78 50 56 / 12%));
|
|
}
|
|
|
|
.bg-white-wood {
|
|
background-image: url('@/images/common/background-white-wood.png');
|
|
background-position: left center;
|
|
background-repeat: no-repeat;
|
|
background-size: initial;
|
|
}
|
|
|
|
.after-arrow::after {
|
|
@include after-arrow-right(translateY(-50%));
|
|
}
|