imeeting/frontend/src/components/business/MeetingCreateDrawer.css

363 lines
6.6 KiB
CSS

.meeting-create-drawer-root .ant-drawer-content-wrapper {
max-width: 960px;
}
.meeting-create-drawer .ant-drawer-body {
min-width: 0;
}
.meeting-create-drawer__skeleton {
padding: 24px;
}
.meeting-create-drawer__header {
flex-shrink: 0;
padding: 16px 24px;
border-bottom: 1px solid #e6e6e6;
background: #fff;
}
.meeting-create-drawer__title-icon {
width: 40px;
height: 40px;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid #e6e6e6;
border-radius: 4px;
background: #f9fafe;
color: #333;
font-size: 20px;
}
.meeting-create-drawer__title.ant-typography {
margin: 0 !important;
color: #333;
font-size: 18px;
font-weight: 600;
line-height: 28px;
}
.meeting-create-drawer__subtitle.ant-typography {
display: block;
margin-top: 2px;
color: #9095a1;
font-size: 13px;
line-height: 20px;
}
.meeting-create-drawer__type-switch.ant-radio-group {
display: inline-flex;
}
.meeting-create-drawer__type-switch .ant-radio-button-wrapper {
height: 32px;
min-width: 112px;
display: inline-flex;
align-items: center;
justify-content: center;
padding-inline: 14px;
border-radius: 4px;
font-size: 14px;
}
.meeting-create-drawer__type-switch .anticon {
margin-right: 6px;
}
.meeting-create-drawer__body {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 24px;
background: #f5f6fa;
}
.meeting-create-form {
max-width: 880px;
margin: 0 auto;
}
.meeting-create-form .ant-form-item {
margin-bottom: 18px;
}
.meeting-create-form .ant-form-item-label {
padding-bottom: 6px;
}
.meeting-create-form .ant-form-item-label > label {
color: #333;
font-size: 14px;
font-weight: 500;
line-height: 22px;
}
.meeting-create-form .ant-input:not(textarea),
.meeting-create-form .ant-picker,
.meeting-create-form .ant-select-selector,
.meeting-create-form .ant-btn {
min-height: 32px !important;
border-radius: 4px !important;
box-shadow: none;
}
.meeting-create-form .ant-select-selector {
align-items: center;
}
.meeting-create-form .ant-select-multiple .ant-select-selector {
height: auto !important;
min-height: 32px !important;
}
.meeting-create-form textarea.ant-input {
border-radius: 4px;
}
.meeting-create-section-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
}
.meeting-create-section-title__bar {
width: 4px;
height: 16px;
flex: 0 0 auto;
border-radius: 1px;
background: #3c70f5;
}
.meeting-create-section-title .ant-typography {
margin: 0;
color: #333;
font-size: 16px;
font-weight: 600;
line-height: 24px;
}
.meeting-create-section-divider {
margin: 24px 0;
border-top: 1px solid #e6e6e6;
}
.meeting-create-template-grid {
padding: 0;
}
.meeting-create-template-grid .ant-col {
display: flex;
}
.meeting-create-template-card {
position: relative;
width: 100%;
height: 48px;
display: flex;
align-items: center;
overflow: hidden;
padding: 0 16px;
border: 1px solid #e6e6e6;
border-radius: 4px;
background: #fff;
cursor: pointer;
transition: border-color 0.2s ease, background 0.2s ease;
}
.meeting-create-template-card:hover {
border-color: #b7cdfd;
background: #f9fafe;
}
.meeting-create-template-card.is-selected {
border-color: #3c70f5;
background: #eef4ff;
}
.meeting-create-template-card__name {
min-width: 0;
overflow: hidden;
color: #333;
font-size: 14px;
font-weight: 500;
line-height: 22px;
text-overflow: ellipsis;
white-space: nowrap;
}
.meeting-create-template-card.is-selected .meeting-create-template-card__name {
color: #3c70f5;
}
.meeting-create-template-card__check {
position: absolute;
top: -1px;
right: -1px;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0 4px 0 4px;
background: #3c70f5;
color: #fff;
font-size: 12px;
}
.meeting-create-radio-line {
min-height: 32px;
display: flex;
align-items: center;
gap: 12px;
}
.meeting-create-advanced.ant-collapse {
overflow: hidden;
margin-bottom: 24px;
border: 1px solid #e6e6e6;
border-radius: 4px;
background: #fff;
}
.meeting-create-advanced .ant-collapse-header {
min-height: 48px;
align-items: center !important;
padding: 8px 14px !important;
}
.meeting-create-advanced .ant-collapse-content-box {
padding: 12px 14px 14px !important;
}
.meeting-create-advanced__label {
width: 100%;
height: 32px;
display: flex;
align-items: center;
}
.meeting-create-advanced__title {
display: flex;
align-items: center;
color: #333;
font-size: 15px;
font-weight: 600;
}
.meeting-create-advanced__icon {
width: 28px;
height: 28px;
margin-right: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 4px;
background: #eef4ff;
color: #3c70f5;
}
.meeting-create-advanced__body {
padding-top: 8px;
border-top: 1px dashed #e6e6e6;
}
.meeting-create-upload.ant-upload-wrapper .ant-upload-drag {
border: 1px dashed #d9d9d9;
border-radius: 4px;
background: #fff;
}
.meeting-create-upload .ant-upload {
padding: 28px 16px;
}
.meeting-create-upload .ant-upload-drag-icon {
margin-bottom: 12px;
}
.meeting-create-upload .ant-upload-drag-icon .anticon {
color: #3c70f5;
font-size: 44px;
}
.meeting-create-upload .ant-upload-text {
margin: 0;
color: #333;
font-size: 15px;
font-weight: 500;
}
.meeting-create-upload .ant-upload-hint {
margin-top: 8px;
color: #9095a1;
font-size: 13px;
}
.meeting-create-upload__progress {
width: min(420px, 80%);
margin: 24px auto 0;
}
.meeting-create-upload__progress > div:last-child {
margin-top: 8px;
color: #3c70f5;
font-size: 13px;
}
.meeting-create-upload__file.ant-tag {
max-width: 90%;
display: inline-flex;
align-items: center;
margin-top: 16px;
padding: 4px 12px;
border-radius: 4px;
font-size: 13px;
}
.meeting-create-upload__file span:last-child {
min-width: 0;
overflow: hidden;
margin-left: 4px;
text-overflow: ellipsis;
white-space: nowrap;
}
.meeting-create-drawer__footer {
display: flex;
justify-content: flex-end;
padding: 12px 24px;
background: #fff;
}
.meeting-create-drawer__footer .ant-btn {
min-width: 112px;
height: 32px;
border-radius: 4px;
box-shadow: none;
}
@media (max-width: 768px) {
.meeting-create-drawer-root .ant-drawer-content-wrapper {
width: 100vw !important;
max-width: 100vw;
}
.meeting-create-drawer__header,
.meeting-create-drawer__body,
.meeting-create-drawer__footer {
padding-inline: 16px;
}
.meeting-create-drawer__type-switch {
width: 100%;
}
.meeting-create-drawer__type-switch .ant-radio-button-wrapper {
flex: 1;
min-width: 0;
}
}