Files
client-web/src/modules/tenant-management/views/companyEditor.css
T

33 lines
3.5 KiB
CSS

.company-editor {
--el-color-primary: #2f7bff;
--el-text-color-regular: #1f2937;
--el-text-color-placeholder: #b0b7c3;
width: 100%; min-width: 0; color: #1f2937; background: #f4f7fc;
font: 14px/1.5 "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.company-editor-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.company-editor-heading h2 { margin: 0; font-size: 26px; font-weight: 700; }
.company-editor-section { margin-bottom: 12px; }
.company-editor-section h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.company-editor-section h3::before { content: ''; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #2f7bff; }
.company-editor-section:nth-of-type(2) h3::before { background: #0ea5a4; }
.company-editor-grid { --el-component-size: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; padding: 16px; border: 1px solid #e3e8f0; border-radius: 10px; background: #fff; }
.company-editor-grid :deep(.el-form-item) { min-width: 0; margin: 0; }
.company-editor-grid :deep(.el-form-item__label) { height: auto; margin: 0 0 6px; padding: 0; color: #374151; font-size: 14px; font-weight: 600; line-height: 20px; }
.company-editor-grid :deep(.el-form-item.is-required .el-form-item__label::before) { color: #e5484d; }
.company-editor-grid :deep(.el-form-item__content) { min-width: 0; line-height: 20px; align-content: flex-start; }
.company-editor-grid :deep(.el-form-item__error) { position: absolute; top: 0; right: 0; bottom: auto; left: auto; max-width: calc(100% - 120px); padding: 0; transform: translateY(calc(-100% - 6px)); font-size: 12px; line-height: 20px; text-align: right; }
.company-editor-grid :deep(.el-input), .company-editor-grid :deep(.el-select) { width: 100%; }
.company-editor-grid :deep(.el-input__wrapper), .company-editor-grid :deep(.el-select__wrapper) { min-height: 44px; padding: 10px 14px; box-sizing: border-box; border: 1px solid #d5dce8; border-radius: 6px; box-shadow: none; }
.company-editor-grid :deep(.el-input__inner) { height: 22px; color: #1f2937; font-size: 14px; line-height: 22px; }
.company-editor-grid :deep(.el-input__wrapper.is-focus), .company-editor-grid :deep(.el-select__wrapper.is-focused) { outline: 2px solid #2f7bff; outline-offset: 0; }
.company-editor-grid :deep(.is-error .el-input__wrapper), .company-editor-grid :deep(.is-error .el-select__wrapper) { border-color: #e5484d; }
.company-editor-grid :deep(.el-input__inner::placeholder), .company-editor-grid :deep(.el-select__placeholder.is-transparent) { color: #b0b7c3; opacity: 1; }
.company-editor-help { display: block; margin: 4px 0 12px; color: #6b7280; font-size: 12px; line-height: 20px; }
.company-editor-grid .company-editor-help { margin-bottom: 0; }
.company-editor-actions { display: flex; justify-content: flex-end; gap: 12px; }
.company-editor-heading :deep(.el-button), .company-editor-actions :deep(.el-button) { min-height: 44px; margin-left: 0; padding: 10px 18px; border: 1px solid #d5dce8; border-radius: 6px; background: #fff; color: #1d5fe0; font-size: 14px; font-weight: 600; box-shadow: none; }
.company-editor-actions :deep(.el-button--primary) { padding: 12px 28px; border-color: #2f7bff; background: #2f7bff; color: #fff; }
.company-editor-heading :deep(.el-button.is-disabled), .company-editor-actions :deep(.el-button.is-disabled) { opacity: .55; }
:global(.company-editor-popper.el-popper) { border: 1px solid #e3e8f0; border-radius: 6px; box-shadow: none; }