Kill accent colors, Number input styles for Chrome
This commit is contained in:
parent
5188431d23
commit
96a34ce9ff
@ -13,11 +13,13 @@
|
|||||||
padding: unset
|
padding: unset
|
||||||
}
|
}
|
||||||
|
|
||||||
:root:root:root:root input[type="number"]:focus-visible,
|
:root:root:root:root input[type="number"]::-webkit-inner-spin-button
|
||||||
|
{
|
||||||
|
appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
:root:root:root:root input[type="number"]:focus
|
:root:root:root:root input[type="number"]:focus
|
||||||
{
|
{
|
||||||
box-shadow: unset;
|
|
||||||
border: unset;
|
|
||||||
outline: unset;
|
outline: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -115,10 +117,3 @@
|
|||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root:root:root:root .table-wrap,
|
|
||||||
:root:root:root:root th,
|
|
||||||
:root:root:root:root td
|
|
||||||
{
|
|
||||||
border: unset;
|
|
||||||
}
|
|
||||||
|
@ -123,6 +123,9 @@ def get_theme() -> gradio.Theme:
|
|||||||
),
|
),
|
||||||
font = gradio.themes.GoogleFont('Open Sans')
|
font = gradio.themes.GoogleFont('Open Sans')
|
||||||
).set(
|
).set(
|
||||||
|
color_accent = 'transparent',
|
||||||
|
color_accent_soft = 'transparent',
|
||||||
|
color_accent_soft_dark = 'transparent',
|
||||||
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 = '*neutral_50',
|
||||||
@ -147,6 +150,10 @@ def get_theme() -> gradio.Theme:
|
|||||||
block_title_text_size = '*text_sm',
|
block_title_text_size = '*text_sm',
|
||||||
block_title_text_weight = '600',
|
block_title_text_weight = '600',
|
||||||
block_padding = '0.5rem',
|
block_padding = '0.5rem',
|
||||||
|
border_color_accent = 'transparent',
|
||||||
|
border_color_accent_dark = 'transparent',
|
||||||
|
border_color_accent_subdued = 'transparent',
|
||||||
|
border_color_accent_subdued_dark = 'transparent',
|
||||||
border_color_primary = 'transparent',
|
border_color_primary = 'transparent',
|
||||||
border_color_primary_dark = 'transparent',
|
border_color_primary_dark = 'transparent',
|
||||||
button_large_padding = '2rem 0.5rem',
|
button_large_padding = '2rem 0.5rem',
|
||||||
|
Loading…
Reference in New Issue
Block a user