Files
__inwestprofil.pagedev.pl/wp-content/themes/hello-elementor/assets/css/custom.scss
Roman Pyrih 20ee667968 Save
2025-08-12 12:10:06 +02:00

762 lines
12 KiB
SCSS

#hero-slider {
.swiper-slide {
.swiper-slide-inner {
.swiper-slide-contents {
padding: 70px 60px 60px 60px;
background: rgba(41, 41, 41, 0.6);
}
}
}
.swiper-pagination {
.swiper-pagination-bullet {
width: 30px;
height: 3px;
border-radius: 0;
}
}
}
.home-card {
.elementor-image-box-wrapper {
.elementor-image-box-content {
padding: 25px;
.elementor-image-box-title {
position: relative;
margin-top: 0;
margin-bottom: 20px;
&::before {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.elementor-image-box-description {
padding-top: 0;
margin-bottom: 20px;
}
.elementor-image-box-link {
position: relative;
padding-left: 25px;
color: #000;
font-size: 12px;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 700;
transition: all 0.3s ease-in-out;
&:hover {
color: var(--e-global-color-accent);
}
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 15px;
height: 3px;
background: var(--e-global-color-accent);
transform: translate(0, -50%);
}
}
}
}
}
.home-card-2 {
.elementor-image-box-wrapper {
position: relative;
line-height: 0;
height: 100%;
&:hover {
.elementor-image-box-img {
a {
&::after {
height: 250%;
transition: all 600ms linear;
background-color: transparent;
}
}
img {
transform: scale(1.1);
filter: brightness(0.5);
}
}
.elementor-image-box-content {
.elementor-image-box-description {
height: 300px;
padding-top: 20px;
}
}
}
.elementor-image-box-img {
position: relative;
overflow: hidden;
height: 100%;
img {
height: 100%;
object-fit: cover;
filter: brightness(0.7);
}
a {
&::after {
content: '';
position: absolute;
width: 200%;
height: 0%;
left: 50%;
top: 50%;
background-color: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%) rotate(-45deg);
z-index: 1;
}
}
}
.elementor-image-box-content {
position: absolute;
bottom: 0;
left: 0;
padding: 40px;
line-height: 1.5;
.elementor-image-box-title {
position: relative;
margin-top: 0;
margin-bottom: 0;
&::before {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.elementor-image-box-description {
padding-top: 0px;
margin-bottom: 0px;
height: 0;
max-height: fit-content;
overflow: hidden;
transition: all 0.3s ease-in-out;
}
.elementor-image-box-link {
}
}
}
}
.hp-box-2 {
&.hp-box-2-left {
.elementor-image-box-wrapper {
.elementor-image-box-content {
.elementor-image-box-title {
&::before {
right: 0;
}
}
}
}
}
&.hp-box-2-right {
.elementor-image-box-wrapper {
.elementor-image-box-content {
.elementor-image-box-title {
&::before {
left: 0;
}
}
}
}
}
.elementor-image-box-wrapper {
height: 100%;
.elementor-image-box-content {
padding-top: 40px;
.elementor-image-box-title {
position: relative;
margin-top: 0;
margin-bottom: 20px;
&::before {
content: '';
position: absolute;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.elementor-image-box-link {
position: relative;
padding-left: 25px;
color: #000;
font-size: 12px;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 700;
transition: all 0.3s ease-in-out;
&:hover {
color: var(--e-global-color-accent);
}
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 15px;
height: 3px;
background: var(--e-global-color-accent);
transform: translate(0, -50%);
}
}
}
}
}
.title-b-line-left {
position: relative;
margin-top: 0;
margin-bottom: 20px;
&::before {
content: '';
position: absolute;
bottom: -5px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.btn-1 {
&:hover {
.elementor-button {
.elementor-button-text {
color: var(--e-global-color-accent);
}
}
}
.elementor-button {
padding: 0;
margin: 0;
border-radius: 0;
background: transparent !important;
border: none !important;
.elementor-button-text {
position: relative;
padding-left: 25px;
color: #000;
font-size: 12px;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 700;
transition: all 0.3s ease-in-out;
&::before {
content: '';
position: absolute;
top: 50%;
left: 0;
width: 15px;
height: 3px;
background: var(--e-global-color-accent);
transform: translate(0, -50%);
}
}
}
}
#home-video {
max-height: 600px;
object-fit: contain;
video {
max-height: 600px;
width: auto;
margin-left: auto;
margin-right: auto;
object-fit: contain;
}
}
.partners-slider {
.swiper-slide {
.swiper-slide-image {
width: 100%;
max-width: 150px;
}
}
}
#single-post-content {
h2 {
margin-top: 40px;
}
a {
color: var(--e-global-color-accent);
}
}
.card-tile-transparent {
.elementor-image-box-wrapper {
position: relative;
line-height: 0;
height: 100%;
&:hover {
.elementor-image-box-img {
a {
&::after {
height: 250%;
transition: all 600ms linear;
background-color: transparent;
}
}
img {
transform: scale(1.1);
filter: brightness(0.6);
}
}
.elementor-image-box-content {
// background: rgba(0, 0, 0, 0.3);
.elementor-image-box-description {
height: 300px;
padding-top: 20px;
}
}
}
.elementor-image-box-img {
position: relative;
overflow: hidden;
height: 100%;
img {
height: 100%;
object-fit: cover;
// filter: brightness(0.7);
}
a {
&::after {
content: '';
position: absolute;
width: 200%;
height: 0%;
left: 50%;
top: 50%;
background-color: rgba(255, 255, 255, 0.7);
transform: translate(-50%, -50%) rotate(-45deg);
z-index: 1;
}
}
}
.elementor-image-box-content {
position: absolute;
bottom: 0;
left: 0;
padding: 40px;
line-height: 1.5;
transition: all 250ms ease-in-out;
.elementor-image-box-title {
position: relative;
margin-top: 0;
margin-bottom: 0;
transition: all 250ms ease-in-out;
&::before {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.elementor-image-box-description {
padding-top: 0px;
margin-bottom: 0px;
height: 0;
max-height: fit-content;
overflow: hidden;
transition: all 250ms ease-in-out;
}
.elementor-image-box-link {
}
}
}
}
.card-tile {
.elementor-image-box-wrapper {
position: relative;
line-height: 0;
height: 100%;
&:hover {
.elementor-image-box-img {
a {
&::after {
height: 250%;
transition: all 600ms linear;
background-color: transparent;
}
}
img {
transform: scale(1.1);
filter: brightness(0.5);
}
}
.elementor-image-box-content {
.elementor-image-box-description {
height: 300px;
padding-top: 20px;
}
}
}
.elementor-image-box-img {
position: relative;
overflow: hidden;
height: 100%;
img {
height: 100%;
object-fit: cover;
filter: brightness(0.7);
}
a {
&::after {
content: '';
position: absolute;
width: 200%;
height: 0%;
left: 50%;
top: 50%;
background-color: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%) rotate(-45deg);
z-index: 1;
}
}
}
.elementor-image-box-content {
position: absolute;
bottom: 0;
left: 0;
padding: 40px;
line-height: 1.5;
.elementor-image-box-title {
position: relative;
margin-top: 0;
margin-bottom: 0;
&::before {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
}
.elementor-image-box-description {
padding-top: 0px;
margin-bottom: 0px;
height: 0;
max-height: fit-content;
overflow: hidden;
transition: all 0.3s ease-in-out;
}
.elementor-image-box-link {
}
}
}
}
.product-card {
&:hover {
> .e-con-inner {
.elementor-widget-image {
a {
&::after {
height: 250%;
transition: all 600ms linear;
background-color: transparent;
}
}
img {
transform: scale(1.1);
filter: brightness(0.6);
}
}
.product-card-data {
.product-card-data-head {
padding-bottom: 20px;
.elementor-heading-title {
a {
color: #fff;
}
}
}
.product-card-data-text {
height: 300px;
p {
color: #fff;
}
}
}
}
}
> .e-con-inner {
.elementor-widget-image {
position: relative;
overflow: hidden;
height: 100%;
img {
height: 100%;
object-fit: cover;
// filter: brightness(0.7);
transition: all 0.3s ease-in-out;
}
a {
&::after {
content: '';
position: absolute;
width: 200%;
height: 0%;
left: 50%;
top: 50%;
background-color: rgba(255, 255, 255, 0.7);
transform: translate(-50%, -50%) rotate(-45deg);
z-index: 1;
}
}
}
.product-card-data {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
padding: 40px;
.product-card-data-head {
padding-bottom: 0;
transition: all 250ms ease-in-out;
.elementor-heading-title {
position: relative;
margin-top: 0;
margin-bottom: 0;
&::before {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
a {
transition: all 250ms ease-in-out;
}
}
}
.product-card-data-text {
padding-top: 0px;
margin-bottom: 0px;
height: 0;
max-height: fit-content;
overflow: hidden;
transition: all 250ms ease-in-out;
a {
display: block;
}
p {
transition: all 250ms ease-in-out;
&:last-child {
margin-bottom: 0;
}
}
}
}
}
}
#contact-map {
position: absolute;
inset: 0;
z-index: 1;
.elementor-custom-embed {
height: 100%;
iframe {
height: 100%;
}
}
}
#contact-form-box {
width: 100%;
max-width: 600px;
background: #fff;
padding: 60px;
position: relative;
z-index: 2;
margin-left: auto;
.elementor-field-type-acceptance {
.elementor-field-option {
line-height: 1.2;
}
label {
font-size: 12px;
line-height: 1.2;
}
}
.elementor-field-type-html {
position: relative;
margin-bottom: 30px;
&::before {
content: '';
position: absolute;
bottom: -5px;
width: 40px;
height: 2px;
background: var(--e-global-color-accent);
}
h2 {
color: #000;
font-size: 25px;
font-family: 'Plus Jakarta Sans', sans-serif;
font-weight: 700;
margin: 0;
}
}
}
.contact-cards {
> div {
border: 1px solid #f1f1f1;
&:nth-child(2n) {
background: #f1f1f1;
}
}
}
#header-contact {
.elementor-icon-list-items {
.elementor-icon-list-item {
a {
.elementor-icon-list-icon {
padding: 7px;
border: 1px solid black;
border-radius: 100%;
svg {
margin: 0;
}
}
}
}
}
}
#icon-box {
> .e-con-inner {
.elementor-widget-icon-box {
position: relative;
&:not(:last-child) {
&::after {
content: '';
position: absolute;
top: 0;
right: -30px;
bottom: 0;
background: #f1eff0;
width: 1px;
height: 100%;
}
}
}
}
}
#newsletter-box {
.elementor-form-fields-wrapper {
.elementor-field-type-acceptance {
order: 10;
font-size: 14px;
.elementor-field-option {
display: flex;
flex-direction: row;
column-gap: 8px;
align-items: flex-start;
input {
margin-top: 3px;
}
label {
line-height: 1.3;
}
}
}
}
}