mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
Ship my-products / customer-products UI with gallery uploads, status controls, module gating, and related shared UI polish. Co-authored-by: Cursor <cursoragent@cursor.com>
160 lines
2.9 KiB
CSS
160 lines
2.9 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.inputWrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: var(--field-height);
|
|
padding: 0 var(--field-padding-x);
|
|
background-color: var(--surface);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.inputWrapOpen,
|
|
.inputWrap:focus-within {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
|
|
}
|
|
|
|
.inputWrapDisabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.searchIcon {
|
|
flex-shrink: 0;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: var(--field-padding-y) 0;
|
|
font-size: var(--field-font-size);
|
|
font-family: var(--font-ui);
|
|
line-height: 1.4;
|
|
color: var(--text-primary);
|
|
background: transparent;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
.input::placeholder {
|
|
font-family: var(--font-ui);
|
|
color: var(--text-muted);
|
|
opacity: 1;
|
|
}
|
|
|
|
.input:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.clearBtn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
color: var(--text-muted);
|
|
transition: background 0.2s, color 0.2s;
|
|
}
|
|
|
|
.clearBtn:hover {
|
|
background: rgba(148, 163, 184, 0.2);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.chevron {
|
|
flex-shrink: 0;
|
|
color: var(--text-muted);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.chevronOpen {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
inset-inline: 0;
|
|
max-height: 260px;
|
|
overflow-y: auto;
|
|
background: var(--elevated-surface);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius-sm);
|
|
box-shadow: var(--glass-shadow);
|
|
z-index: 30;
|
|
list-style: none;
|
|
padding: 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
.option {
|
|
display: flex;
|
|
align-items: baseline;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
font-size: var(--field-font-size);
|
|
font-family: var(--font-ui);
|
|
text-align: start;
|
|
color: var(--text-primary);
|
|
border-radius: 8px;
|
|
transition: background 0.15s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.optionChild {
|
|
border-inline-start: 2px solid rgba(var(--primary-rgb) / 0.35);
|
|
border-start-start-radius: 0;
|
|
border-end-start-radius: 0;
|
|
background: rgba(var(--primary-rgb) / 0.03);
|
|
padding-inline-start: 14px;
|
|
}
|
|
|
|
.option:hover {
|
|
background: rgba(var(--primary-rgb) / 0.08);
|
|
}
|
|
|
|
.optionChild:hover {
|
|
background: rgba(var(--primary-rgb) / 0.1);
|
|
}
|
|
|
|
.optionSelected {
|
|
background: rgba(var(--primary-rgb) / 0.12);
|
|
color: var(--primary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.optionChild.optionSelected {
|
|
border-inline-start-color: var(--primary);
|
|
background: rgba(var(--primary-rgb) / 0.14);
|
|
}
|
|
|
|
.optionLabel {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.optionSecondary {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.noResults {
|
|
padding: 12px;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|