117 lines
2.8 KiB
CSS
117 lines
2.8 KiB
CSS
.modalContent {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.modalHeader {
|
|
padding: 16px 20px 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.modalTitle {
|
|
color: #1d2129;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.modalBody {
|
|
padding: 16px 20px 20px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.formSurface {
|
|
border-color: #e5e6eb;
|
|
border-radius: 4px;
|
|
background: #ffffff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.formPanel :global(.mantine-InputWrapper-label) {
|
|
color: #4e5969;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Input-input),
|
|
.formPanel :global(.mantine-DateInput-input),
|
|
.formPanel :global(.mantine-Select-input),
|
|
.formPanel :global(.mantine-NumberInput-input),
|
|
.formPanel :global(.mantine-Textarea-input) {
|
|
min-height: 32px;
|
|
border-color: #e5e6eb;
|
|
border-radius: 4px;
|
|
background: #f7f8fa;
|
|
color: #1d2129;
|
|
font-size: 14px;
|
|
box-shadow: none;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
color 0.2s ease,
|
|
background-color 0.2s ease;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Input-input::placeholder),
|
|
.formPanel :global(.mantine-DateInput-input::placeholder),
|
|
.formPanel :global(.mantine-Select-input::placeholder),
|
|
.formPanel :global(.mantine-NumberInput-input::placeholder),
|
|
.formPanel :global(.mantine-Textarea-input::placeholder) {
|
|
color: #86909c;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Input-input:focus),
|
|
.formPanel :global(.mantine-DateInput-input:focus),
|
|
.formPanel :global(.mantine-Select-input:focus),
|
|
.formPanel :global(.mantine-NumberInput-input:focus),
|
|
.formPanel :global(.mantine-Textarea-input:focus) {
|
|
border-color: #1874ff;
|
|
background: #ffffff;
|
|
box-shadow: 0 0 0 2px rgba(24, 116, 255, 0.12);
|
|
}
|
|
|
|
.formPanel :global(.mantine-Input-input[readonly]),
|
|
.formPanel :global(.mantine-DateInput-input[readonly]),
|
|
.formPanel :global(.mantine-NumberInput-input[readonly]),
|
|
.formPanel :global(.mantine-Textarea-input[readonly]) {
|
|
background: #f7f8fa;
|
|
color: #86909c;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Input-section),
|
|
.formPanel :global(.mantine-DateInput-section),
|
|
.formPanel :global(.mantine-Select-section),
|
|
.formPanel :global(.mantine-NumberInput-section) {
|
|
color: #86909c;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Button-root) {
|
|
min-height: 32px;
|
|
border-radius: 4px;
|
|
padding-inline: 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Button-root[data-variant="filled"]) {
|
|
--button-bg: #1874ff;
|
|
--button-hover: #0f6ae8;
|
|
--button-color: #ffffff;
|
|
--button-bd: transparent;
|
|
background: #1874ff !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Button-root[data-variant="filled"]:hover) {
|
|
background: #0f6ae8 !important;
|
|
}
|
|
|
|
.formPanel :global(.mantine-Button-root[data-variant="default"]) {
|
|
border-color: #e5e6eb;
|
|
background: #ffffff;
|
|
color: #4e5969;
|
|
}
|