guild_front/src/components/Calendar/calendarComponent.scss

261 lines
4.4 KiB
SCSS
Raw Normal View History

2021-11-30 16:00:58 +02:00
.calendar-component {
position: relative;
2023-01-13 15:53:07 +03:00
margin-top: 30px;
2021-11-30 16:00:58 +02:00
margin-bottom: 60px;
background-color: #f9f9f9;
padding-left: 68px;
padding-right: 54px;
padding-top: 48px;
2023-02-17 15:19:49 +03:00
padding-bottom: 40px;
2023-05-11 19:54:15 +03:00
font-family: "LabGrotesque", sans-serif;
2021-11-30 16:00:58 +02:00
&__header {
display: flex;
2023-03-01 00:28:58 +03:00
justify-content: space-between;
2023-03-01 23:40:23 +03:00
@media (max-width: 560px) {
flex-direction: column;
row-gap: 15px;
}
2023-03-01 00:28:58 +03:00
&-info {
display: flex;
2023-03-01 23:40:23 +03:00
@media (max-width: 685px) {
font-size: 7px;
}
@media (max-width: 560px) {
font-size: 10px;
}
@media (max-width: 560px) {
justify-content: center;
}
2023-03-01 00:28:58 +03:00
.calendar__hours {
margin: 0 10px;
line-height: 0;
font-weight: 500;
2023-03-01 23:40:23 +03:00
display: flex;
align-items: center;
2023-03-01 00:28:58 +03:00
}
}
&-switcher {
display: flex;
2023-03-01 23:40:23 +03:00
@media (max-width: 590px) {
font-size: 8px;
}
@media (max-width: 560px) {
justify-content: center;
font-size: 12px;
}
2023-03-01 00:28:58 +03:00
}
2021-11-30 16:00:58 +02:00
h3 {
font-size: 2.5em;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
line-height: 30px;
text-align: left;
2023-03-01 00:28:58 +03:00
margin-bottom: 0;
2023-02-17 15:19:49 +03:00
@media (max-width: 500px) {
font-size: 1.7em;
}
2021-11-30 16:00:58 +02:00
}
&-box {
display: flex;
align-items: center;
margin-left: 20px;
cursor: pointer;
2021-11-30 16:00:58 +02:00
img {
margin: 0px 10px;
width: 12px;
height: 12px;
&:first-child {
transform: rotate(180deg);
margin: 0;
}
2021-11-30 16:00:58 +02:00
}
span {
color: #18586e;
font-size: 1.6em;
font-weight: 500;
font-style: normal;
letter-spacing: normal;
line-height: 16.81px;
text-align: left;
margin-left: 10px;
cursor: pointer;
2023-02-17 15:19:49 +03:00
@media (max-width: 500px) {
font-size: 1.2em;
}
2021-11-30 16:00:58 +02:00
}
2023-03-01 23:40:23 +03:00
@media (max-width: 560px) {
margin-left: 0 !important;
}
2021-11-30 16:00:58 +02:00
}
}
&__rectangle {
margin: 36px 0;
img {
width: 100%;
}
}
&__body {
div {
display: grid;
2022-12-26 15:12:01 +03:00
2021-11-30 16:00:58 +02:00
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
p {
color: #398208;
font-size: 25px;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
line-height: 30px;
text-align: center;
}
}
2023-05-12 12:44:28 +03:00
margin-bottom: 60px;
2021-11-30 16:00:58 +02:00
}
&__form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
button {
margin: 0 auto;
2023-05-11 19:54:15 +03:00
width: 125px;
height: 42px;
2023-02-17 15:19:49 +03:00
padding: 0 5px;
2021-11-30 16:00:58 +02:00
box-shadow: 0 0 59px rgba(44, 44, 44, 0.05);
border-radius: 5px;
border: 1px solid #c4c4c4;
background-color: #ffffff;
margin-top: 20px;
font-size: 1.2em;
font-weight: 100;
font-style: normal;
letter-spacing: normal;
line-height: normal;
text-align: center;
2023-01-16 16:28:56 +03:00
2023-05-16 19:20:37 +03:00
a {
color: black;
}
2023-05-11 19:54:15 +03:00
img {
width: 16px;
height: 16px;
margin: 0 10px 0 0;
2023-02-17 15:19:49 +03:00
@media (max-width: 968px) {
2023-05-11 19:54:15 +03:00
margin-right: 2px;
2023-02-17 15:19:49 +03:00
2023-05-11 19:54:15 +03:00
@media (max-width: 610px) {
display: none;
2023-02-17 15:19:49 +03:00
}
}
2023-05-11 19:54:15 +03:00
}
@media (max-width: 1200px) {
width: 90px;
height: 40px;
}
@media (max-width: 968px) {
width: 62px;
height: 40px;
font-size: 10px;
2023-02-17 15:19:49 +03:00
@media (max-width: 610px) {
width: auto;
height: auto;
}
2023-01-16 16:28:56 +03:00
}
2021-11-30 16:00:58 +02:00
2023-02-17 15:19:49 +03:00
@media (max-width: 610px) {
width: 55px;
height: 45px;
}
@media (max-width: 480px) {
width: 45px;
height: 35px;
2021-11-30 16:00:58 +02:00
}
}
}
}
@media (max-width: 968px) {
.calendar-component {
margin-bottom: 40px;
2023-02-17 15:19:49 +03:00
padding: 28px 10px 48px 10px;
2021-11-30 16:00:58 +02:00
&__header {
&-box {
margin-left: 20px;
}
}
&__rectangle {
margin: 24px 0;
}
}
}
2023-03-01 23:40:23 +03:00
@media (max-width: 560px) {
.calendar-component {
padding-top: 10px;
}
}
2021-11-30 16:00:58 +02:00
.calendar__icon {
margin-right: 10px;
margin-top: -4px;
}
@media (max-width: 575.98px) {
.calendar__icon {
display: none;
}
}
.before {
2022-12-26 15:12:01 +03:00
background-color: #e5f9b6 !important;
}
.pass {
background-color: #f7d7c9 !important;
2021-11-30 16:00:58 +02:00
}
.today {
font-weight: bold !important;
border: 1px solid #398208 !important;
}
.selected {
background-color: #f9f9c3 !important;
2022-12-26 15:12:01 +03:00
}
2023-01-16 16:28:56 +03:00
.block {
pointer-events: none;
}