260 lines
4.1 KiB
SCSS
260 lines
4.1 KiB
SCSS
|
|
.slot-management {
|
||
|
|
font-family: 'Poppins', sans-serif;
|
||
|
|
width: 100%;
|
||
|
|
margin: 0 auto;
|
||
|
|
|
||
|
|
.primary_Button {
|
||
|
|
width: max-content !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__header {
|
||
|
|
margin-bottom: 20px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
width: 100%;
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
&-title {
|
||
|
|
color: #000000;
|
||
|
|
font-size: 24px;
|
||
|
|
font-weight: 500;
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
font-size: 18px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&-description {
|
||
|
|
color: #666;
|
||
|
|
font-size: 14px;
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
font-size: 11px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&-link {
|
||
|
|
margin-top: 10px;
|
||
|
|
cursor: pointer;
|
||
|
|
background-color: #1890ff;
|
||
|
|
color: #fff;
|
||
|
|
width: max-content;
|
||
|
|
font-size: 14px;
|
||
|
|
letter-spacing: 0.2px;
|
||
|
|
border-radius: 6px;
|
||
|
|
padding: 8px 12px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__config-section {
|
||
|
|
margin-bottom: 20px;
|
||
|
|
padding: 24px;
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 8px;
|
||
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||
|
|
border: 1px solid #e8e8e8;
|
||
|
|
|
||
|
|
@media (max-width: 600px) {
|
||
|
|
padding: 14px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__form-row {
|
||
|
|
display: flex;
|
||
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||
|
|
gap: 30px;
|
||
|
|
align-items: end;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
row-gap: 1.3rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__form-col {
|
||
|
|
// min-width: 280px;
|
||
|
|
|
||
|
|
.ant-form-item {
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ant-form-item-label {
|
||
|
|
padding-bottom: 4px;
|
||
|
|
|
||
|
|
label {
|
||
|
|
font-weight: 500;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__info-icon {
|
||
|
|
margin-left: auto;
|
||
|
|
color: #1890ff;
|
||
|
|
font-size: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__day-selection {
|
||
|
|
padding: 16px;
|
||
|
|
border: 1px solid #d9d9d9;
|
||
|
|
border-radius: 6px;
|
||
|
|
background-color: #fafafa;
|
||
|
|
|
||
|
|
&-grid {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 12px 0;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&-item {
|
||
|
|
flex: 0 0 25%;
|
||
|
|
min-width: 120px;
|
||
|
|
padding: 4px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
&-summary {
|
||
|
|
margin-top: 12px;
|
||
|
|
padding: 8px;
|
||
|
|
background-color: #e6f7ff;
|
||
|
|
border-radius: 4px;
|
||
|
|
border: 1px solid #91d5ff;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__slot-grid {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 8px;
|
||
|
|
max-height: 200px;
|
||
|
|
overflow-y: auto;
|
||
|
|
padding: 12px;
|
||
|
|
border: 1px solid #d9d9d9;
|
||
|
|
border-radius: 6px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__slot-item {
|
||
|
|
flex: 0 0 100px;
|
||
|
|
width: max-content;
|
||
|
|
white-space: nowrap;
|
||
|
|
padding: 8px;
|
||
|
|
border: 1px solid #d9d9d9;
|
||
|
|
border-radius: 4px;
|
||
|
|
text-align: center;
|
||
|
|
cursor: pointer;
|
||
|
|
background-color: #fafafa;
|
||
|
|
transition: all 0.3s;
|
||
|
|
|
||
|
|
&--selected {
|
||
|
|
background-color: #1890ff;
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__price-config {
|
||
|
|
&-row {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 16px;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&-individual {
|
||
|
|
box-sizing: border-box;
|
||
|
|
padding: 8px;
|
||
|
|
width: 25%;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
&__date-summary {
|
||
|
|
padding: 12px;
|
||
|
|
background-color: #f0f8ff;
|
||
|
|
border-radius: 6px;
|
||
|
|
border: 1px solid #d0e6ff;
|
||
|
|
margin-top: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__section-title {
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 18px;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__apply-button {
|
||
|
|
height: 50px;
|
||
|
|
font-size: 16px;
|
||
|
|
padding: 0 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
&__apply-price-btn {
|
||
|
|
margin-left: 8px;
|
||
|
|
margin-top: 8px;
|
||
|
|
background-color: #1677ff;
|
||
|
|
color: #fff;
|
||
|
|
border: none;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
background-color: #0958d9;
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.seletcCategorylabel {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 30px;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ant-btn-primary:disabled,
|
||
|
|
.ant-btn-primary:disabled {
|
||
|
|
width: max-content;
|
||
|
|
}
|
||
|
|
|
||
|
|
.PriceChangeConfiguration {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.PriceChangeConfig {
|
||
|
|
Button:disabled,
|
||
|
|
Button[disabled] {
|
||
|
|
width: max-content !important;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.weekend-day {
|
||
|
|
color: #ff4d4f;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.price-difference {
|
||
|
|
font-weight: bold;
|
||
|
|
|
||
|
|
&--positive {
|
||
|
|
color: #52c41a;
|
||
|
|
}
|
||
|
|
|
||
|
|
&--negative {
|
||
|
|
color: #ff4d4f;
|
||
|
|
}
|
||
|
|
|
||
|
|
&--neutral {
|
||
|
|
color: #666;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.IndividualInput {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 1rem;
|
||
|
|
}
|
||
|
|
.SlotManagementTable {
|
||
|
|
margin-top: 20px;
|
||
|
|
}
|