More styles for tabs and co
This commit is contained in:
parent
f17dba6eda
commit
83f354d11d
@ -37,10 +37,30 @@
|
||||
min-height: unset;
|
||||
}
|
||||
|
||||
:root:root:root:root .generating,
|
||||
:root:root:root:root .thumbnail-item
|
||||
:root:root:root:root .tabs button:hover
|
||||
{
|
||||
border: unset;
|
||||
background: unset;
|
||||
}
|
||||
|
||||
:root:root:root:root .tab-container
|
||||
{
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
:root:root:root:root .tabitem
|
||||
{
|
||||
padding: 0.75rem 0 0 0
|
||||
}
|
||||
|
||||
:root:root:root:root .tab-container:after,
|
||||
:root:root:root:root .tabs button:after
|
||||
{
|
||||
border-width: 0.125rem;
|
||||
}
|
||||
|
||||
:root:root:root:root .tab-container:after
|
||||
{
|
||||
border-color: var(--block-background-fill)
|
||||
}
|
||||
|
||||
:root:root:root:root .slider_input_container > span,
|
||||
@ -51,15 +71,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root:root:root:root .tab-nav > button
|
||||
{
|
||||
border: unset;
|
||||
box-shadow: 0 0.125rem;
|
||||
font-size: 1.125em;
|
||||
margin: 0.5rem 0.75rem;
|
||||
padding: unset;
|
||||
}
|
||||
|
||||
:root:root:root:root .image-frame
|
||||
{
|
||||
width: 100%;
|
||||
@ -84,3 +95,10 @@
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
:root:root:root:root .table-wrap,
|
||||
:root:root:root:root th,
|
||||
:root:root:root:root td
|
||||
{
|
||||
border: unset;
|
||||
}
|
||||
|
@ -147,13 +147,12 @@ def get_theme() -> gradio.Theme:
|
||||
button_large_padding = '2rem 0.5rem',
|
||||
button_large_text_weight = 'normal',
|
||||
button_primary_background_fill = '*primary_500',
|
||||
button_primary_background_fill_dark = '*primary_600',
|
||||
button_primary_text_color = 'white',
|
||||
button_secondary_background_fill = 'white',
|
||||
button_secondary_background_fill_dark = '*neutral_800',
|
||||
button_secondary_border_color = 'transparent',
|
||||
button_secondary_border_color_dark = 'transparent',
|
||||
button_secondary_border_color_hover = 'transparent',
|
||||
button_secondary_border_color_hover_dark = 'transparent',
|
||||
button_secondary_background_fill_hover = 'white',
|
||||
button_secondary_background_fill_hover_dark = '*neutral_800',
|
||||
button_secondary_text_color = '*neutral_800',
|
||||
button_small_padding = '0.75rem',
|
||||
button_small_text_size = '0.875rem',
|
||||
@ -166,11 +165,12 @@ def get_theme() -> gradio.Theme:
|
||||
checkbox_label_background_fill = '*neutral_50',
|
||||
checkbox_label_background_fill_dark = '*neutral_800',
|
||||
checkbox_label_background_fill_hover = '*neutral_50',
|
||||
checkbox_label_background_fill_hover_dark = '*neutral_800',
|
||||
checkbox_label_background_fill_selected = '*primary_500',
|
||||
checkbox_label_background_fill_selected_dark = '*primary_600',
|
||||
checkbox_label_text_color_selected = 'white',
|
||||
error_background_fill = 'transparent',
|
||||
error_background_fill_dark = 'transparent',
|
||||
error_background_fill = 'white',
|
||||
error_background_fill_dark = '*neutral_900',
|
||||
error_text_color = '*primary_500',
|
||||
error_text_color_dark = '*primary_600',
|
||||
input_background_fill = '*neutral_50',
|
||||
|
Loading…
Reference in New Issue
Block a user