Files
ostal.pl/wp-content/themes/ostal_WP/css/custom.scss
2026-02-05 12:40:05 +01:00

408 lines
5.4 KiB
SCSS

#home-page-seo {
.wrapper {
padding-top: 75px;
padding-bottom: 0;
h2 {
margin-left: 0;
max-width: 100%;
}
}
}
#garden-page-seo {
.wrapper {
padding-top: 0;
padding-bottom: 75px;
h2 {
margin-left: 0;
max-width: 100%;
}
}
}
.pagination {
display: flex;
align-items: center;
margin: 25px 0 50px;
justify-content: center;
width: 100%;
font-size: 16px;
gap: 10px;
a {
font-size: 16px;
}
}
.c-select {
p {
margin-bottom: 5px !important;
}
select {
border: 1px solid #88b14b;
padding: 10px;
width: 100%;
}
}
body.page-id-2598 {
main {
section#korzysci {
.boxes.simple-cards {
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
}
section#garden-page-seo {
.wrapper.wrapper--inner {
flex-direction: column;
padding-bottom: 0;
h2 {
margin: 0;
}
p {
margin: 0;
}
}
}
}
}
#calc-ch-1 {
.slide-data {
flex-wrap: wrap;
.calc-texts {
width: calc(100% - 200px) !important;
}
}
}
.checkboxes-confirm {
padding: 5px 37px;
}
.tabs_examples {
width: 100%;
h3 {
font-size: 18px;
font-weight: 600;
color: #333;
}
&-nav {
display: flex;
gap: 0;
border-bottom: 2px solid #e0e0e0;
margin-bottom: 20px;
button {
flex: 1;
padding: 12px 20px;
border: none;
background: #f5f5f5;
font-size: 15px;
font-weight: 500;
color: #666;
cursor: pointer;
transition: all 0.3s ease;
border-bottom: 3px solid transparent;
margin-bottom: -2px;
&:hover {
background: #eee;
color: #333;
}
&.active {
background: #fff;
color: #88b14b;
border-bottom-color: #88b14b;
font-weight: 600;
}
}
}
&-content {
padding: 0;
}
&-panel {
display: flex;
gap: 20px;
align-items: flex-start;
@media (max-width: 768px) {
flex-direction: column;
}
}
&-img {
flex: 0 0 45%;
img {
width: 100%;
height: auto;
border-radius: 8px;
}
}
&-desc {
flex: 1;
h4 {
font-size: 17px;
font-weight: 600;
margin-bottom: 10px;
color: #333;
}
p {
font-size: 14px;
line-height: 1.6;
color: #555;
}
}
}
.c-datepicker {
p {
margin-bottom: 5px !important;
}
}
.datepicker-wrapper {
position: relative;
width: 100%;
}
.datepicker-input {
display: flex;
align-items: center;
gap: 10px;
border: 1px solid #88b14b;
padding: 10px 14px;
cursor: pointer;
background: #fff;
transition:
border-color 0.2s,
box-shadow 0.2s;
&:hover {
border-color: #6d9338;
box-shadow: 0 0 0 3px rgba(136, 177, 75, 0.12);
}
span {
flex: 1;
font-size: 15px;
color: #333;
&.placeholder {
color: #999;
}
}
}
.datepicker-chevron {
transition: transform 0.2s;
&.open {
transform: rotate(180deg);
}
}
.datepicker-calendar {
position: absolute;
top: calc(100% + 6px);
left: 0;
z-index: 100;
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 10px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
padding: 16px;
width: 310px;
animation: dpFadeIn 0.15s ease;
}
@keyframes dpFadeIn {
from {
opacity: 0;
transform: translateY(-6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.datepicker-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
span {
font-weight: 600;
font-size: 15px;
color: #333;
}
button {
width: 32px;
height: 32px;
border: none;
background: #f5f5f5;
border-radius: 50%;
font-size: 20px;
color: #555;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition:
background 0.2s,
color 0.2s;
line-height: 1;
&:hover {
background: #88b14b;
color: #fff;
}
}
}
.datepicker-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
margin-bottom: 6px;
span {
font-size: 12px;
font-weight: 600;
color: #999;
text-transform: uppercase;
padding: 4px 0;
}
}
.datepicker-days {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 2px;
}
.datepicker-day {
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 14px;
color: #333;
cursor: pointer;
transition:
background 0.15s,
color 0.15s;
&.empty {
cursor: default;
}
&:not(.empty):not(.disabled):hover {
background: rgba(136, 177, 75, 0.15);
}
&.today {
font-weight: 700;
border: 2px solid #88b14b;
}
&.selected {
background: #88b14b;
color: #fff;
font-weight: 600;
}
&.disabled {
color: #ccc;
cursor: not-allowed;
}
}
.swiper-wrapper.wrapper--inner {
background: #000;
.swiper-slide:first-child {
h1 {
flex: 0 0 35% !important;
}
.hero-slider-content {
flex: 0 0 65% !important;
}
}
}
section#price_tiles {
> .wrapper {
padding-bottom: 0;
}
ol.price-tiles {
display: flex;
flex-direction: row;
column-gap: 30px;
row-gap: 30px;
flex-wrap: wrap;
li.price-tile {
position: relative;
display: flex;
// flex-direction: column;
flex-direction: row;
gap: 30px;
// width: calc(100% / 3);
width: 80%;
padding: 40px 22px 30px;
clip-path: polygon(
0% 5%,
5% 0%,
100% 0%,
100% 5%,
100% 100%,
0% 100%,
0% 5%
);
background-color: #f7f5f5;
&:nth-child(2) {
margin: 0 auto;
}
&:nth-child(3) {
margin-left: auto;
}
.price-tile--img {
img {
width: 300px;
}
}
.price-tile--data {
width: 100%;
}
}
}
}