guild_front/src/components/Calendar/calendarComponent.scss

328 lines
5.5 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-01-09 20:53:23 +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;
&-info {
display: flex;
.calendar__hours {
margin: 0 10px;
line-height: 0;
font-weight: 500;
}
}
&-switcher {
display: flex;
}
2021-11-30 16:00:58 +02:00
h3 {
2023-01-09 20:53:23 +03:00
2021-11-30 16:00:58 +02:00
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
}
}
}
&__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;
}
}
}
&__form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
button {
margin: 0 auto;
2023-02-17 15:19:49 +03:00
//width: 125px;
//height: 42px;
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
a {
2023-02-17 15:19:49 +03:00
display: flex;
align-items: center;
justify-content: center;
width: 115px;
height: 42px;
2023-01-16 16:28:56 +03:00
text-decoration: none;
color: #000000;
2023-02-17 15:19:49 +03:00
img {
width: 16px;
height: 16px;
margin: 0 10px 0 0;
}
@media (max-width: 1200px) {
width: 90px;
height: 40px;
}
@media (max-width: 968px) {
width: 62px;
height: 40px;
font-size: 10px;
img {
margin-right: 2px;
}
}
@media (max-width: 610px) {
img {
display: none;
}
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 {
2023-02-17 15:19:49 +03:00
//h3 {
// position: absolute;
// top: -10%;
// left: 25%;
//}
2021-11-30 16:00:58 +02:00
&-box {
margin-left: 20px;
}
}
&__rectangle {
margin: 24px 0;
}
}
}
2023-02-17 15:19:49 +03:00
//@media (max-width: 768px) {
// .calendar-component__form > button {
// width: 70px;
// height: 40px;
//
// img {
// display: none;
// }
// }
//}
//@media (max-width: 540.98px) {
// .calendar-component__form > button {
// width: 68px;
// height: 40px;
// }
//}
//
//@media (max-width: 520.98px) {
// .calendar-component__form > button {
// width: 66px;
// height: 40px;
// }
//}
//
//@media (max-width: 500.98px) {
// .calendar-component__form > button {
// width: 64px;
// height: 40px;
// }
//}
//
//@media (max-width: 480.98px) {
// .calendar-component__form > button {
// width: 60px;
// height: 40px;
// }
//}
//
//@media (max-width: 460.98px) {
// .calendar-component__form > button {
// width: 56px;
// height: 40px;
// }
//}
//
//@media (max-width: 440.98px) {
// .calendar-component__form > button {
// width: 52px;
// height: 40px;
// }
//}
//
//@media (max-width: 428.98px) {
// .calendar-component__form > button {
// width: 50px;
// height: 40px;
// }
//}
//
//@media (max-width: 414.98px) {
// .calendar-component__form > button {
// width: 49px;
// height: 40px;
// }
//}
//
//@media (max-width: 395.98px) {
// .calendar-component__form > button {
// width: 46px;
// height: 40px;
// }
//}
//
//@media (max-width: 350.98px) {
// .calendar-component__form > button {
// width: 44px;
// height: 40px;
// }
//}
//
//@media (max-width: 349.98px) {
// .calendar-component__form > button {
// width: 42px;
// height: 40px;
// }
//}
//
//@media (max-width: 346.98px) {
// .calendar-component__form > button {
// width: 40px;
// height: 40px;
// }
//}
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;
}