IO-3624 Polish config empty states and admin cards
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
--imex-form-surface-border: #d9d9d9; /* matches AntD-ish border */
|
||||
--imex-form-title-input-bg: rgba(255, 255, 255, 0.96);
|
||||
--imex-form-title-input-border: rgba(0, 0, 0, 0.08);
|
||||
--imex-form-title-group-bg: rgba(255, 255, 255, 0.72);
|
||||
--imex-form-title-group-border: rgba(0, 0, 0, 0.08);
|
||||
--imex-form-title-label-bg: rgba(0, 0, 0, 0.04);
|
||||
--imex-form-title-label-border: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
/* Pick the selector that matches your app and remove the rest */
|
||||
@@ -24,6 +28,10 @@ html[data-theme="dark"] {
|
||||
--imex-form-surface-border: rgba(5, 5, 5, 0.12);
|
||||
--imex-form-title-input-bg: rgba(255, 255, 255, 0.12);
|
||||
--imex-form-title-input-border: rgba(255, 255, 255, 0.2);
|
||||
--imex-form-title-group-bg: rgba(255, 255, 255, 0.08);
|
||||
--imex-form-title-group-border: rgba(255, 255, 255, 0.16);
|
||||
--imex-form-title-label-bg: rgba(255, 255, 255, 0.06);
|
||||
--imex-form-title-label-border: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
|
||||
.imex-form-row {
|
||||
@@ -114,6 +122,20 @@ html[data-theme="dark"] {
|
||||
background: var(--imex-form-surface);
|
||||
}
|
||||
|
||||
.ant-card-actions {
|
||||
background: var(--imex-form-surface-head);
|
||||
border-top-color: var(--imex-form-surface-border);
|
||||
}
|
||||
|
||||
.ant-card-actions > li {
|
||||
margin: 10px 0;
|
||||
padding-inline: 12px;
|
||||
}
|
||||
|
||||
.ant-card-actions .ant-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ant-form-item:last-child {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
@@ -156,3 +178,14 @@ html[data-theme="dark"] {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.imex-form-row-empty-state {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px 16px;
|
||||
text-align: center;
|
||||
color: var(--ant-color-text-description);
|
||||
font-size: var(--ant-font-size);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user