Open-GAMMA / app.css
openfree's picture
Update app.css
7a1ad36 verified
raw
history blame
3.99 kB
/* Full width UI */
.gradio-container {
background: rgba(255, 255, 255, 0.98);
padding: 40px 50px;
margin: 30px auto;
width: 100% !important;
max-width: 1400px !important;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* Background */
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
margin: 0;
padding: 0;
font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
/* Title styling */
h1 {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 700;
margin-bottom: 10px;
}
/* Button styles */
button.primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
border: none;
color: white !important;
font-weight: 600;
padding: 15px 30px !important;
font-size: 18px !important;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
button.primary:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}
/* Input styles */
.textbox, textarea, input[type="text"], input[type="number"] {
border: 2px solid #e5e7eb;
border-radius: 12px;
padding: 15px;
font-size: 16px;
transition: all 0.3s ease;
background: white;
}
.textbox:focus, textarea:focus, input[type="text"]:focus {
border-color: #667eea;
outline: none;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
/* Card style */
.card {
background: white;
border-radius: 16px;
padding: 25px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
margin-bottom: 25px;
border: 1px solid rgba(102, 126, 234, 0.1);
}
/* Dropdown styles */
.dropdown {
border: 2px solid #e5e7eb;
border-radius: 12px;
padding: 12px;
background: white;
transition: all 0.3s ease;
}
.dropdown:hover {
border-color: #667eea;
}
/* Slider styles */
.gr-slider input[type="range"] {
background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
height: 8px;
border-radius: 4px;
}
/* File upload area */
.file-upload {
border: 3px dashed #667eea;
border-radius: 16px;
padding: 40px;
text-align: center;
transition: all 0.3s ease;
background: rgba(102, 126, 234, 0.02);
}
.file-upload:hover {
border-color: #764ba2;
background: rgba(102, 126, 234, 0.05);
transform: scale(1.01);
}
/* Checkbox styles */
input[type="checkbox"] {
width: 20px;
height: 20px;
margin-right: 10px;
cursor: pointer;
}
/* Tab styles */
.tabs {
border-radius: 12px;
overflow: hidden;
margin-bottom: 20px;
}
.tab-nav {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 5px;
}
.tab-nav button {
background: transparent;
color: white;
border: none;
padding: 10px 20px;
margin: 0 5px;
border-radius: 8px;
transition: all 0.3s ease;
}
.tab-nav button.selected {
background: white;
color: #667eea;
}
/* Section headers */
.section-header {
font-size: 20px;
font-weight: 600;
color: #667eea;
margin: 20px 0 15px 0;
padding-bottom: 10px;
border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}
/* Status box styling */
.status-box {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
border-radius: 12px;
padding: 20px;
}
/* Preview box styling */
.preview-box {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
font-family: 'Courier New', monospace;
font-size: 13px;
line-height: 1.5;
max-height: 500px;
overflow-y: auto;
}
/* Responsive design */
@media (max-width: 768px) {
.main-container {
padding: 15px;
margin: 10px;
}
.header-section h1 {
font-size: 2em;
}
.gr-tab-item {
padding: 10px 15px;
font-size: 1em;
}
}