ldc-boutique-cnc-themes/sass/base/_classes.scss
2024-01-24 12:37:03 +01:00

151 lines
2.8 KiB
SCSS

@use "sass:color";
// * Backgrounds
.bg-subscribe {
background: $bg-subscribe-mobile;
background-color: $bg-color-subscribe;
font-family: $font-subscribe;
}
// * Buttons
.header-menu-btn {
border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
}
// * Links
// Subscribe links social
.link-subscribe {
color: $color-subscribe;
&:hover {
color: color.mix(#000, $color-subscribe, $link-shade-percentage);
}
}
// Background's color of first step section's style.
.bg-step-style-1 {
background-color: $bg-step-style-1;
}
// Background's color of first step section's style.
.bg-step-style-2 {
background-color: $bg-step-style-2;
}
// * Titles
// Title/subtitles' color of first step section's style.
.color-title-step-style-1 {
color: $color-title-step-style-1;
}
// Title/subtitles' color of second step section's style.
.color-title-step-style-2 {
color: $color-title-step-style-2;
}
// * Texts
// Subscribe text
.text-subscribe {
color: $color-subscribe;
}
.logo-subscribe {
overflow: hidden;
width: 75%;
height: 100%;
min-height: 150px;
img {
width: 100%;
max-width: 350px;
}
}
// Texts' color of first step section's style.
.color-text-step-style-1 {
color: $color-text-step-style-1;
}
// Texts' color of second step section's style.
.color-text-step-style-2 {
color: $color-text-step-style-2;
}
// * Fonts
.font-barlow {
font-family: $font-barlow !important;
}
.font-candara {
font-family: $font-candara !important;
}
.font-saginaw {
font-family: $font-saginaw !important;
}
.font-imprima {
font-family: $font-imprima !important;
}
// * Custom Inputs
.input-single-optin {
&:focus {
box-shadow: 0 0 0 0.25rem #{$input-color-subscribe};
}
&::placeholder {
color: color.adjust($color: $input-color-subscribe, $lightness: -20%);
font-family: $font-input-subscribe;
font-size: 1.1rem;
}
}
.input-search {
border: 2px solid;
border-radius: 10px $input-color-search;
color: $input-color-search;
&:focus {
box-shadow: 0 0 0 0.25rem #{$input-color-search};
}
&::placeholder {
color: $input-color-search;
font-family: $font-input-search;
font-size: 1.4rem;
font-weight: bold;
}
}
.navbar-nav {
.icon-search {
width: 30px;
}
.btn-outline-menu-search {
font-weight: bold;
}
}
// * Buttons overload
$btn-themes: (
single-optin:
color.adjust(
$color: $input-color-subscribe,
$lightness: -20%,
),
menu-search: $color-menu,
header-action: $input-color-search,
);
@each $color, $value in $btn-themes {
.btn-#{$color} {
@include button-variant($value, $value);
}
.btn-outline-#{$color} {
@include button-outline-variant($value, $value);
}
}