Files
blitzkit/packages/website-ue/src/components/TextField/index.css
T

52 lines
837 B
CSS
Raw Normal View History

2026-01-07 20:36:55 -06:00
.text-field {
2026-01-08 20:02:24 -06:00
display: flex;
align-items: center;
2026-01-10 13:07:59 -06:00
box-sizing: border-box;
2026-01-03 13:29:15 -06:00
2026-01-08 20:02:24 -06:00
gap: var(--space-3);
2026-01-03 13:29:15 -06:00
margin: 0 var(--space-4);
2026-01-08 20:02:24 -06:00
border-radius: var(--max-size);
2026-01-12 12:48:47 -06:00
background-color: var(--gray-1);
2026-01-13 20:49:40 -06:00
box-shadow: var(--shadow-interactive), var(--shadow-cavity);
2026-01-08 20:02:24 -06:00
2026-01-03 13:29:15 -06:00
font-size: var(--font-size-regular);
2026-01-08 20:02:24 -06:00
color: var(--gray-11);
2026-01-07 20:36:55 -06:00
&[data-has-icon="true"] {
padding-left: var(--space-3);
}
2026-01-08 20:02:24 -06:00
&:focus-within {
outline: var(--outline-focus);
box-shadow: var(--shadow-focus);
}
svg {
width: 1em;
height: 1em;
}
input {
2026-01-08 20:39:44 -06:00
min-width: 0;
2026-01-09 13:02:58 -06:00
flex: 1;
2026-01-08 20:39:44 -06:00
2026-01-08 20:02:24 -06:00
background: none;
border: none;
font-size: inherit;
font-weight: medium;
padding: var(--space-3) 0;
color: var(--gray-12);
&::placeholder {
color: var(--gray-11);
}
&:focus {
outline: none;
}
}
2025-12-19 22:23:03 -06:00
}