crates/web/src/components/ was a byte-for-byte copy of the DioxusLabs/components "preview" registry (a shadcn-style copy-into- your-project source, not something published as a dependency). Move it wholesale into a new feedsignal-dioxus-components crate so it reads as vendored code we depend on rather than application source, and future app-specific styling should layer on via the class/attributes props each component already accepts instead of editing the vendored files. No component logic changed — this is a pure move plus import-path updates in the four app files that consumed it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
38 lines
1,009 B
CSS
38 lines
1,009 B
CSS
/* Input Styles */
|
|
.dx-input {
|
|
position: relative;
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.25rem;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
border-radius: calc(0.5rem);
|
|
background: none;
|
|
background-color: var(--light, var(--primary-color)) var(--dark, color-mix(in oklab, #FFFFFF26 30%, transparent));
|
|
box-shadow: inset 0 0 0 1px var(--light, var(--primary-color-6))
|
|
var(--dark, var(--primary-color-7));
|
|
color: var(--secondary-color-4);
|
|
gap: 0.25rem;
|
|
transition: background-color 100ms ease-out;
|
|
}
|
|
|
|
.dx-input::placeholder {
|
|
color: var(--secondary-color-5);
|
|
}
|
|
|
|
.dx-input:disabled {
|
|
color: var(--secondary-color-5);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.dx-input:hover:not(:disabled),
|
|
.dx-input:focus-visible {
|
|
background: var(--light, var(--primary-color-4))
|
|
var(--dark, color-mix(in oklab, #FFFFFF26 50%, transparent));
|
|
color: var(--secondary-color-1);
|
|
outline: none;
|
|
}
|