EvgenyKu's picture
initial commit
37193e0
:root {
--primary: #5A54F9;
--primary-dark: #4D47D1;
--secondary: #8B84FF;
--text: #111827;
--light: #F9FAFB;
}
.gradio-container {
background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%) !important;
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
max-width: 800px !important;
margin: 20px auto !important;
border-radius: 16px !important;
box-shadow: 0 10px 25px -5px rgba(90, 84, 249, 0.1) !important;
}
.dark .gradio-container {
background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
--text: #F9FAFB;
--light: #1F2937;
}
.gr-block {
border: none !important;
background: white !important;
border-radius: 12px !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
padding: 20px !important;
margin-bottom: 24px !important;
transition: all 0.3s ease !important;
}
.dark .gr-block {
background: rgba(30, 41, 59, 0.8) !important;
backdrop-filter: blur(10px) !important;
}
.gr-block:hover {
transform: translateY(-2px) !important;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}
.gr-button {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
color: white !important;
border: none !important;
border-radius: 8px !important;
padding: 12px 24px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
transition: all 0.3s ease !important;
box-shadow: 0 4px 6px -1px rgba(90, 84, 249, 0.3) !important;
}
.gr-button:hover {
transform: translateY(-2px) !important;
box-shadow: 0 10px 15px -3px rgba(90, 84, 249, 0.4) !important;
}
.gr-button:active {
transform: scale(0.98) !important;
}
.gr-textbox, .gr-number, .gr-slider, .gr-dropdown {
border: 1px solid #e2e8f0 !important;
border-radius: 8px !important;
padding: 12px 16px !important;
background: var(--light) !important;
transition: all 0.3s ease !important;
}
.gr-textbox:focus, .gr-number:focus, .gr-dropdown:focus {
border-color: var(--primary) !important;
box-shadow: 0 0 0 2px rgba(90, 84, 249, 0.2) !important;
outline: none !important;
}
h1, h2, h3, h4 {
color: var(--text) !important;
font-weight: 600 !important;
margin-top: 0 !important;
}
.gr-markdown {
color: var(--text) !important;
line-height: 1.6 !important;
}
.progress-bar {
height: 6px !important;
border-radius: 3px !important;
background: linear-gradient(90deg, var(--primary), #93c5fd) !important;
}
.tabs {
background: transparent !important;
}
.tab-button {
border-radius: 8px 8px 0 0 !important;
margin-right: 4px !important;
transition: all 0.3s ease !important;
}
.tab-button.selected {
background: white !important;
color: var(--primary) !important;
font-weight: 600 !important;
}
.dark .tab-button.selected {
background: rgba(30, 41, 59, 0.8) !important;
}
.gr-checkbox {
margin: 12px 0 !important;
}
.gr-checkbox label {
display: flex !important;
align-items: center !important;
cursor: pointer !important;
position: relative !important;
padding-left: 35px !important;
min-height: 25px !important;
}
.gr-checkbox input[type="checkbox"] {
position: absolute !important;
opacity: 0 !important;
cursor: pointer !important;
height: 0 !important;
width: 0 !important;
}
.checkmark {
position: absolute !important;
top: 0 !important;
left: 0 !important;
height: 24px !important;
width: 24px !important;
background-color: var(--light) !important;
border: 2px solid var(--primary) !important;
border-radius: 6px !important;
transition: all 0.3s ease !important;
}
.gr-checkbox:hover .checkmark {
transform: scale(1.05) !important;
box-shadow: 0 0 0 3px rgba(90, 84, 249, 0.1) !important;
}
.gr-checkbox input:checked ~ .checkmark {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
border-color: var(--primary-dark) !important;
}
.checkmark:after {
content: "" !important;
position: absolute !important;
display: none !important;
}
.gr-checkbox input:checked ~ .checkmark:after {
display: block !important;
}
.gr-checkbox .checkmark:after {
left: 8px !important;
top: 4px !important;
width: 6px !important;
height: 12px !important;
border: solid white !important;
border-width: 0 2px 2px 0 !important;
transform: rotate(45deg) !important;
}
.dark .gr-checkbox .checkmark {
background-color: rgba(30, 41, 59, 0.5) !important;
border-color: #93c5fd !important;
}
.dark .gr-checkbox input:checked ~ .checkmark {
background: linear-gradient(135deg, var(--primary) 0%, #1e8a50 100%) !important;
}