Make slider inputs and reset like a unit
This commit is contained in:
parent
d0bab20755
commit
0aef1a99e6
@ -6,7 +6,22 @@
|
|||||||
|
|
||||||
:root:root:root:root input[type="number"]
|
:root:root:root:root input[type="number"]
|
||||||
{
|
{
|
||||||
max-width: 6rem;
|
appearance: textfield;
|
||||||
|
text-align: center;
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root:root:root:root input[type="number"]:focus-visible,
|
||||||
|
:root:root:root:root input[type="number"]:focus
|
||||||
|
{
|
||||||
|
box-shadow: unset;
|
||||||
|
border: unset;
|
||||||
|
outline: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root:root:root:root .reset-button
|
||||||
|
{
|
||||||
|
background: var(--background-fill-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root:root:root:root [type="checkbox"],
|
:root:root:root:root [type="checkbox"],
|
||||||
|
@ -122,6 +122,8 @@ def get_theme() -> gradio.Theme:
|
|||||||
).set(
|
).set(
|
||||||
background_fill_primary = '*neutral_100',
|
background_fill_primary = '*neutral_100',
|
||||||
background_fill_primary_dark = '*neutral_950',
|
background_fill_primary_dark = '*neutral_950',
|
||||||
|
background_fill_secondary = '*neutral_50',
|
||||||
|
background_fill_secondary_dark = '*neutral_800',
|
||||||
block_background_fill = 'white',
|
block_background_fill = 'white',
|
||||||
block_background_fill_dark = '*neutral_900',
|
block_background_fill_dark = '*neutral_900',
|
||||||
block_border_width = '0',
|
block_border_width = '0',
|
||||||
|
Loading…
Reference in New Issue
Block a user