style(fe): define global default control width tokens for Select (160px), Search Input (220px), Date (140px) in tokens.css, base.css and AGENTS.md
This commit is contained in:
@@ -49,6 +49,29 @@ input[type="text"], input[type="number"], input[type="date"], select, textarea,
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Default Width Standards for Form & Filter Controls (기본 넓이 표준 규격) */
|
||||
select, .p-select, .p-dropdown, .ks-select, .status-select {
|
||||
width: var(--ks-control-width-select);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
input[type="text"].search-input, .search-input {
|
||||
width: var(--ks-control-width-search);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
input[type="date"] {
|
||||
width: var(--ks-control-width-date);
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.filters, .ks-page__filters form, .ks-page__filters section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--ks-space-2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
button, .p-button, .ks-button {
|
||||
height: var(--ks-control-height) !important;
|
||||
font-size: var(--ks-font-body) !important;
|
||||
|
||||
@@ -57,8 +57,11 @@
|
||||
--ks-font-caption: 11px; /* Caption / Helper 11px */
|
||||
--ks-line-caption: 14px;
|
||||
|
||||
/* KBX v60 ERP/OMS/WMS Ultra-Dense Control & Layout Heights */
|
||||
/* KBX v60 ERP/OMS/WMS Ultra-Dense Control & Layout Heights & Default Widths */
|
||||
--ks-control-height: 28px; /* ERP/OMS Input Control 28px */
|
||||
--ks-control-width-select: 160px; /* Standard Select/Dropdown Default Width 160px */
|
||||
--ks-control-width-search: 220px; /* Standard Search Input Default Width 220px */
|
||||
--ks-control-width-date: 140px; /* Standard Date Field Default Width 140px */
|
||||
--ks-grid-row-height: 28px; /* Ultra-Dense Grid Row 28px */
|
||||
--ks-grid-header-height: 30px; /* Grid Header 30px */
|
||||
--ks-content-max: 100%; /* Full Screen Utilization */
|
||||
|
||||
Reference in New Issue
Block a user