|
body>gradio-app { |
|
|
|
|
|
padding-top: 30px; |
|
position: relative; |
|
} |
|
|
|
body>gradio-app::before { |
|
position: absolute; |
|
content: ""; |
|
background: var(--primary-900); |
|
background: linear-gradient(6deg, var(--primary-900)0%, var(--primary-700) 100%); |
|
width: 100%; |
|
height: 355px; |
|
top: 0; |
|
z-index: 0; |
|
transition: filter 0.4s ease-out; |
|
filter: blur(var(--blur-value)); |
|
} |
|
|
|
div.tabs>div.tab-nav { |
|
border-bottom: none !important; |
|
padding: 0 0.25rem 0 0.25rem !important; |
|
flex-wrap: nowrap; |
|
overflow-x: scroll; |
|
overflow-y: hidden; |
|
} |
|
|
|
div.tabs>div.tab-nav>button.selected { |
|
border-width: 0 !important; |
|
background: var(--primary-600) !important; |
|
color: var(--neutral-950); |
|
font-weight: 600; |
|
} |
|
|
|
div.tabs>div.tab-nav>button { |
|
min-width: 145px !important; |
|
} |
|
|
|
div.tabs div.tabitem { |
|
background-color: var(--neutral-900) !important; |
|
border-top: 8px solid var(--primary-600) !important; |
|
border-radius: var(--container-radius) !important; |
|
} |
|
|
|
#input_column { |
|
|
|
& div.tabs div.tabitem { |
|
background-color: var(--neutral-800) !important; |
|
border: 0 solid var(--neutral-800) !important; |
|
border-top: 8px solid var(--primary-600) !important; |
|
border-right: 0 solid var(--neutral-800) !important; |
|
border-bottom: 0 solid var(--neutral-800) !important; |
|
border-left: 0 solid var(--neutral-800) !important; |
|
border-radius: var(--container-radius) !important; |
|
padding: 0 !important; |
|
} |
|
} |
|
|
|
.radio-btn-group { |
|
|
|
& label { |
|
font-weight: bold !important; |
|
} |
|
|
|
& label:has(input[type="radio"]:checked), |
|
label:has(input[type="radio"]:not(:checked)):hover { |
|
transition: color 0.4s ease-out, background 0.4s ease-out; |
|
color: var(--neutral-900) !important; |
|
} |
|
} |
|
|
|
.top-description h1 { |
|
color: var(--neutral-400); |
|
font-size: 2rem; |
|
} |
|
|
|
|
|
|
|
|
|
.toggle-btn { |
|
display: flex; |
|
flex-direction: column-reverse; |
|
|
|
&>div.wrap { |
|
display: none; |
|
} |
|
|
|
&>div:not(.wrap) { |
|
margin-top: var(--spacing-lg); |
|
margin-bottom: 0; |
|
} |
|
|
|
&>label { |
|
position: relative; |
|
width: 57px; |
|
height: 27px; |
|
display: inline-block; |
|
border-radius: 13px; |
|
background: var(--neutral-700); |
|
box-shadow: var(--shadow-inset); |
|
transition: background-color .3s, cursor .3s; |
|
border: solid .4px var(--border-color-primary); |
|
cursor: pointer; |
|
|
|
&>input[type="checkbox"] { |
|
width: 0; |
|
height: 0; |
|
opacity: 0; |
|
} |
|
|
|
&>span { |
|
position: absolute; |
|
left: 60px; |
|
height: 27px; |
|
min-width: 140px; |
|
line-height: 27px; |
|
} |
|
} |
|
|
|
&>label:has(input[type="checkbox"])::after { |
|
content: ""; |
|
position: absolute; |
|
top: 3px; |
|
left: 3px; |
|
width: 20px; |
|
height: 20px; |
|
border-radius: 50%; |
|
background: var(--neutral-900); |
|
box-shadow: var(--shadow-inset); |
|
transition: left .2s ease-in-out, background .2s ease-in-out; |
|
|
|
} |
|
|
|
&>label:has(input[type="checkbox"]:checked)::after { |
|
content: ""; |
|
position: absolute; |
|
background: var(--neutral-50); |
|
left: 32px; |
|
} |
|
|
|
&>label:has(input[type="checkbox"]:checked) { |
|
background: var(--primary-600); |
|
} |
|
} |
|
|
|
|
|
|
|
input[type=range].svelte-pc1gm4 { |
|
accent-color: var(--slider-color); |
|
background: var(--neutral-700) !important; |
|
background-image: linear-gradient(var(--slider-color), var(--slider-color)) !important; |
|
background-size: 0% 100%; |
|
} |
|
|
|
input[type=range].svelte-pc1gm4::-webkit-slider-thumb { |
|
background-color: var(--primary-600); |
|
border-width: 0; |
|
} |
|
|
|
input[type=range].svelte-pc1gm4::-webkit-slider-thumb:hover { |
|
background-color: var(--primary-500); |
|
} |
|
|
|
|
|
label.svelte-1b6s6s, |
|
label.svelte-9gxdi0, |
|
span.svelte-1gfkn6j, |
|
span.svelte-1gfkn6j, |
|
.primary.svelte-cmf5ev, |
|
label.selected.svelte-1k4wjf2.svelte-1k4wjf2.svelte-1k4wjf2 { |
|
color: var(--text-color-by-luminance) !important; |
|
} |
|
|
|
.md-header { |
|
& h1 { |
|
color: var(--neutral-200) !important; |
|
} |
|
|
|
& p { |
|
color: var(--primary-100) !important; |
|
line-height: 1.5 !important; |
|
} |
|
|
|
& i.waving { |
|
animation: wink 2s ease infinite; |
|
} |
|
|
|
& i.beat { |
|
animation: fa-beat 5s ease infinite; |
|
} |
|
|
|
& .heart { |
|
color: var(--cat-red) !important; |
|
} |
|
|
|
} |
|
|
|
@keyframes beat { |
|
0% { |
|
transform: scale(1); |
|
} |
|
|
|
5% { |
|
transform: scale(1.25); |
|
} |
|
|
|
20% { |
|
transform: scale(1); |
|
} |
|
|
|
30% { |
|
transform: scale(1); |
|
} |
|
|
|
35% { |
|
transform: scale(1.25); |
|
} |
|
|
|
50% { |
|
transform: scale(1); |
|
} |
|
|
|
55% { |
|
transform: scale(1.25); |
|
} |
|
|
|
70% { |
|
transform: scale(1); |
|
} |
|
} |
|
|
|
@keyframes wink { |
|
|
|
0% { |
|
transform: rotate(0deg); |
|
} |
|
|
|
10% { |
|
transform: rotate(14deg); |
|
} |
|
|
|
20% { |
|
transform: rotate(-8deg); |
|
} |
|
|
|
30% { |
|
transform: rotate(14deg); |
|
} |
|
|
|
40% { |
|
transform: rotate(-4deg); |
|
} |
|
|
|
50% { |
|
transform: rotate(10deg); |
|
} |
|
|
|
60% { |
|
transform: rotate(0deg); |
|
} |
|
|
|
70% { |
|
ttransform: rotate(14deg); |
|
} |
|
|
|
80% { |
|
transform: rotate(-8deg); |
|
} |
|
|
|
90% { |
|
transform: rotate(14deg); |
|
} |
|
|
|
100% { |
|
transform: rotate(0deg); |
|
} |
|
|
|
} |