Spaces:
Running
Running
File size: 3,986 Bytes
6671070 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
/* 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;
}
}
|