Files
MBN_STOCK_WEBVIEW/Web/manual-lists-ui.css

262 lines
4.3 KiB
CSS

.manual-lists-root {
position: fixed;
inset: 0;
z-index: 1200;
color: #e8edf6;
font: 13px/1.45 "Segoe UI", "Malgun Gothic", sans-serif;
}
.manual-lists-root[hidden] {
display: none;
}
.manual-lists-backdrop {
display: grid;
width: 100%;
height: 100%;
box-sizing: border-box;
place-items: center;
padding: 24px;
background: rgb(5 10 18 / 76%);
backdrop-filter: blur(3px);
}
.manual-lists-dialog {
display: flex;
width: min(1080px, 96vw);
max-height: 92vh;
box-sizing: border-box;
flex-direction: column;
gap: 14px;
overflow: hidden;
padding: 18px;
border: 1px solid #344258;
border-radius: 12px;
background: #111927;
box-shadow: 0 24px 80px rgb(0 0 0 / 48%);
}
.manual-lists-header,
.manual-lists-actions,
.manual-lists-search-controls,
.manual-lists-tabs {
display: flex;
align-items: center;
gap: 8px;
}
.manual-lists-header {
justify-content: space-between;
}
.manual-lists-title {
margin: 0;
color: #fff;
font-size: 20px;
font-weight: 700;
}
.manual-lists-close,
.manual-lists-button,
.manual-lists-tab,
.manual-lists-search-result {
min-height: 34px;
box-sizing: border-box;
border: 1px solid #42516a;
border-radius: 6px;
color: #dfe8f7;
background: #1d293a;
font: inherit;
cursor: pointer;
}
.manual-lists-close,
.manual-lists-button,
.manual-lists-tab {
padding: 6px 12px;
}
.manual-lists-close:hover:not(:disabled),
.manual-lists-button:hover:not(:disabled),
.manual-lists-tab:hover:not(:disabled),
.manual-lists-search-result:hover:not(:disabled) {
border-color: #6b83a7;
background: #28374d;
}
.manual-lists-button:disabled,
.manual-lists-tab:disabled,
.manual-lists-search-result:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.manual-lists-button.is-primary {
border-color: #2f7ac4;
background: #175a97;
}
.manual-lists-button.is-accent {
border-color: #3e9a6b;
background: #17623f;
}
.manual-lists-tab.is-active {
border-color: #f29b38;
color: #fff;
background: #8a4d12;
}
.manual-lists-banner {
padding: 9px 12px;
border: 1px solid #6d5b31;
border-radius: 6px;
color: #ffe5a8;
background: #342b18;
}
.manual-lists-banner-danger {
border-color: #8b3d47;
color: #ffd0d5;
background: #3d1c23;
}
.manual-lists-table-wrap,
.manual-lists-search-results {
overflow: auto;
}
.manual-lists-table-wrap {
min-height: 160px;
max-height: 45vh;
border: 1px solid #334158;
border-radius: 7px;
}
.manual-lists-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.manual-lists-table th,
.manual-lists-table td {
padding: 7px;
border: 1px solid #334158;
text-align: left;
vertical-align: middle;
}
.manual-lists-table thead th {
position: sticky;
top: 0;
z-index: 1;
color: #f4f7fc;
background: #202c3e;
}
.manual-lists-row-number {
width: 42px;
color: #8fa4c3;
text-align: center !important;
}
.manual-lists-net-table th:first-child {
width: 42px;
}
.manual-lists-input {
width: 100%;
min-height: 34px;
box-sizing: border-box;
padding: 6px 8px;
border: 1px solid #42516a;
border-radius: 5px;
outline: none;
color: #f4f7fc;
background: #0b1320;
font: inherit;
}
.manual-lists-input:focus {
border-color: #5da6e8;
box-shadow: 0 0 0 2px rgb(66 145 217 / 20%);
}
.manual-lists-input:disabled {
color: #7f8ba0;
background: #141b27;
}
.manual-lists-search {
display: grid;
gap: 8px;
}
.manual-lists-search-input {
flex: 1;
}
.manual-lists-search-state,
.manual-lists-summary {
margin: 0;
color: #9eafc8;
}
.manual-lists-search-results {
display: grid;
max-height: 150px;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 6px;
}
.manual-lists-search-result {
padding: 7px 9px;
overflow: hidden;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
.manual-lists-code {
width: 160px;
color: #9cc9ff;
font-family: Consolas, monospace;
}
.manual-lists-name {
overflow-wrap: anywhere;
}
.manual-lists-row-actions {
display: flex;
width: 190px;
gap: 5px;
}
.manual-lists-row-actions .manual-lists-button {
min-width: 42px;
padding-inline: 8px;
}
.manual-lists-actions {
flex-wrap: wrap;
justify-content: flex-end;
}
@media (max-width: 760px) {
.manual-lists-backdrop {
padding: 8px;
}
.manual-lists-dialog {
width: 100%;
max-height: 98vh;
padding: 12px;
}
.manual-lists-net-table {
min-width: 760px;
}
}