58 lines
1.1 KiB
CSS
58 lines
1.1 KiB
CSS
/* SearchInput Component */
|
|
.search-input {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-input__icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
color: var(--text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.search-input__field {
|
|
width: 100%;
|
|
padding: 10px 36px 10px 40px;
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border-primary);
|
|
border-radius: var(--radius-md);
|
|
font-size: 0.875rem;
|
|
color: var(--text-primary);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.search-input__field::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.search-input__field:focus {
|
|
outline: none;
|
|
border-color: var(--accent-primary);
|
|
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.search-input__clear {
|
|
position: absolute;
|
|
right: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.search-input__clear:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text-primary);
|
|
}
|