Files
loicgentil.fr/assets/scss/components/_pricing.scss
2025-06-25 15:43:30 +02:00

185 lines
3.4 KiB
SCSS

.pricing {
padding: 100px 0;
@include desktop {
padding: 50px 0;
}
@include mobile-xs {
padding: 30px 0;
}
&-wraper {
transition: all 0.3s ease-in-out;
.pricing-item {
background: $white;
padding: 40px 10px;
text-align: center;
border: 1px solid #0000001c;
border-radius: 6px 6px 0 0;
position: relative;
h2 {
color: $white;
}
h3 {
margin-bottom: 20px;
}
span.price {
font-size: 70px;
font-weight: 400;
font-family: $primary-font;
color: $text-color-dark;
transition: all 0.3s ease-in-out;
sup {
font-size: 30px;
}
display: block;
margin-bottom: 20px;
}
&-badge {
position: absolute;
background: $primary-color;
padding: 5px 10px;
font-size: 10px;
font-weight: 700;
color: $white;
text-transform: lowercase;
font-family: $primary-font;
border-radius: 5px;
top: 20px;
right: 20px;
}
p {
margin-top: 20px;
font-size: 14px;
width: 80%;
margin: 0 auto;
}
}
a {
border: none;
width: 100%;
border-radius: 0px 0px 6px 6px;
font-size: 13px;
padding: 15px;
font-weight: 500;
transition: all 0.3s ease-in-out;
@include desktop {
margin-bottom: 20px;
}
}
&:hover {
transform: scale(1.05);
a {
background-color: darken($color: $primary-color, $amount: 10);
transform: translateY(0);
}
span.price {
color: $primary-color;
}
}
}
}
.calendar-container {
background: $white;
/* width: 450px; */
border-radius: 10px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.calendar-container header {
display: flex;
align-items: center;
padding: 25px 30px 10px;
justify-content: space-between;
}
header .calendar-navigation {
display: flex;
}
header .calendar-navigation span {
height: 38px;
width: 38px;
margin: 0 1px;
cursor: pointer;
text-align: center;
line-height: 30px;
border-radius: 50%;
user-select: none;
color: #aeabab;
font-size: 1.9rem;
}
.calendar-navigation span:last-child {
margin-right: -10px;
}
header .calendar-navigation span:hover {
background: #f2f2f2;
}
header .calendar-current-date {
font-weight: 500;
font-size: 1.45rem;
}
.calendar-body {
padding: 15px;
}
.calendar-body ul {
list-style: none;
flex-wrap: wrap;
display: flex;
text-align: center;
}
.calendar-body .calendar-dates {
margin-bottom: 20px;
}
.calendar-body li {
width: calc(100% / 7);
font-size: 1rem;
color: #414141;
}
.calendar-body .calendar-weekdays li {
cursor: default;
font-weight: 500;
}
.calendar-body .calendar-dates li {
margin-top: 30px;
position: relative;
z-index: 1;
cursor: pointer;
}
.calendar-dates li.inactive {
color: #aaa;
}
.calendar-dates li.active {
color: #fff;
}
.calendar-dates li::before {
position: absolute;
content: "";
z-index: -1;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
border-radius: 50%;
transform: translate(-50%, -50%);
}
.calendar-dates li.active::before {
background: $primary-color;
}
.calendar-dates li:not(.active):hover::before {
background: $bg-color;
}