Files
labelmain-demo/components/setting/PageSurface.module.css
2026-04-28 14:36:36 +08:00

306 lines
6.9 KiB
CSS

.page {
width: 100%;
height: calc(100vh - 60px);
padding: 16px;
gap: 12px;
background: #f7f8fa;
}
.panel {
border-color: #e5e6eb;
border-radius: 4px;
background: #ffffff;
box-shadow: none;
}
.filterPanel {
position: relative;
}
.filterPanel :global(.mantine-InputWrapper-label) {
color: #4e5969;
font-size: 14px;
font-weight: 500;
line-height: 20px;
margin-bottom: 4px;
}
.filterPanel :global(.mantine-Input-input),
.filterPanel :global(.mantine-Select-input),
.filterPanel :global(.mantine-DateInput-input),
.filterPanel :global(.mantine-NumberInput-input),
.filterPanel :global(.mantine-PillsInput-root),
.filterPanel :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;
}
.filterPanel :global(.mantine-PillsInput-root) {
padding-inline: 12px;
}
.filterPanel :global(.mantine-PillsInput-input) {
min-height: 30px;
background: transparent;
color: #1d2129;
}
.filterPanel :global(.mantine-Textarea-input) {
min-height: 96px;
}
.filterPanel :global(.mantine-Input-input::placeholder),
.filterPanel :global(.mantine-Select-input::placeholder),
.filterPanel :global(.mantine-DateInput-input::placeholder),
.filterPanel :global(.mantine-NumberInput-input::placeholder),
.filterPanel :global(.mantine-PillsInput-input::placeholder),
.filterPanel :global(.mantine-Textarea-input::placeholder) {
color: #86909c;
}
.filterPanel :global(.mantine-Input-input:focus),
.filterPanel :global(.mantine-Select-input:focus),
.filterPanel :global(.mantine-DateInput-input:focus),
.filterPanel :global(.mantine-NumberInput-input:focus),
.filterPanel :global(.mantine-PillsInput-root:focus-within),
.filterPanel :global(.mantine-Textarea-input:focus) {
border-color: #1874ff;
background: #ffffff;
box-shadow: 0 0 0 2px rgba(24, 116, 255, 0.12);
}
.filterPanel :global(.mantine-Button-root[data-variant="transparent"]) {
min-height: auto;
height: auto;
padding-inline: 0;
color: #1874ff;
}
.filterPanel :global(.mantine-Button-root),
.headerActions :global(.mantine-Button-root) {
min-height: 32px;
border-radius: 4px;
padding-inline: 12px;
font-size: 14px;
font-weight: 500;
box-shadow: none;
transition:
background-color 0.2s ease,
border-color 0.2s ease,
color 0.2s ease;
}
.filterPanel :global(.mantine-Button-root[data-variant="filled"]),
.headerActions :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;
}
.filterPanel :global(.mantine-Button-root[data-variant="filled"]:hover),
.headerActions :global(.mantine-Button-root[data-variant="filled"]:hover) {
background: #0f6ae8 !important;
}
.filterPanel :global(.mantine-Button-root[data-variant="default"]),
.headerActions :global(.mantine-Button-root[data-variant="default"]) {
border-color: #e5e6eb;
background: #ffffff;
color: #4e5969;
}
.filterPanel :global(.mantine-ActionIcon-root),
.headerActions :global(.mantine-ActionIcon-root) {
width: 32px;
height: 32px;
border-radius: 4px;
}
.filterPanel :global(.mantine-Pill-root) {
background: #e7efff;
color: #1874ff;
}
.filterPanel :global(.mantine-PillsInput-field),
.filterPanel :global(.mantine-Select-section),
.filterPanel :global(.mantine-DateInput-section) {
color: #86909c;
}
.contentPanel {
border-color: #e5e6eb;
}
.contentPanel :global(.mantine-datatable-pagination) {
padding: 12px 16px !important;
color: #4e5969;
}
.contentPanel :global(.mantine-datatable-pagination-text),
.contentPanel :global(.mantine-datatable-pagination .mantine-Text-root) {
color: #4e5969;
font-size: 12px;
line-height: 20px;
}
.contentPanel
:global(.mantine-datatable-pagination button[data-variant="default"]),
.contentPanel
:global(.mantine-datatable-pagination button[data-variant="light"]) {
min-height: 28px !important;
height: 28px !important;
padding-inline: 10px !important;
border-radius: 4px !important;
border-color: #e5e6eb;
background: #ffffff;
color: #4e5969;
font-size: 12px;
box-shadow: none;
}
.contentPanel
:global(.mantine-datatable-pagination button[data-variant="default"]:hover),
.contentPanel
:global(.mantine-datatable-pagination button[data-variant="light"]:hover) {
background: #f7f8fa;
color: #1d2129;
}
.contentPanel :global(.mantine-datatable-pagination-pages) {
--pagination-control-size: 28px;
--pagination-control-fz: 12px;
}
.contentPanel :global(.mantine-Pagination-dots) {
color: #86909c;
}
.contentPanel :global(.mantine-Pagination-control),
.contentPanel :global(.mantine-datatable-pagination-pages-control) {
min-width: 28px !important;
height: 28px !important;
border: 0;
border-radius: 4px !important;
background: transparent;
color: #4e5969;
box-shadow: none;
}
.contentPanel :global(.mantine-Pagination-control:hover),
.contentPanel :global(.mantine-datatable-pagination-pages-control:hover) {
background: #f2f3f5;
color: #1d2129;
}
.contentPanel :global(.mantine-Pagination-control[data-active]),
.contentPanel
:global(.mantine-datatable-pagination-pages-control[data-active]) {
background: #e7efff;
border-color: transparent;
color: #1874ff;
}
.contentPanel :global(.mantine-Pagination-control[data-active]:hover),
.contentPanel
:global(.mantine-datatable-pagination-pages-control[data-active]:hover) {
background: #dbe8ff;
border-color: transparent;
color: #1874ff;
}
.contentPanel :global(.mantine-Pagination-control[data-disabled]),
.contentPanel
:global(.mantine-datatable-pagination-pages-control[data-disabled]) {
background: transparent;
color: #c9cdd4;
}
.filterActions,
.headerActions {
gap: 8px;
}
.listHeader {
margin-bottom: 12px;
}
.sectionHeader {
padding-bottom: 12px;
border-bottom: 1px solid #e5e6eb;
}
.sectionEyebrow {
color: #1874ff;
font-size: 12px;
font-weight: 500;
line-height: 18px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.sectionTitle {
color: #1d2129;
font-size: 16px;
font-weight: 500;
line-height: 24px;
}
.sectionDescription {
color: #86909c;
font-size: 13px;
line-height: 20px;
}
.listHeaderTitle {
color: #1d2129;
font-size: 14px;
font-weight: 500;
line-height: 22px;
}
.listHeaderCount {
color: #86909c;
font-size: 12px;
line-height: 20px;
}
.settingTabsList {
padding: 4px;
gap: 8px;
border: 1px solid #eef2f6;
border-radius: 10px;
background: #f8f9fb;
}
.settingTabsTab {
min-height: 36px;
border-radius: 8px;
color: #56606a;
font-weight: 600;
}
.settingTabsTab[data-active] {
background: #ffffff;
color: #1f2329;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.settingTabsPanel {
flex: 1;
min-width: 0;
min-height: 0;
padding-top: 16px;
}