Spaces:
Running
Running
File size: 5,062 Bytes
a3c8eab |
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 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
/* Enhanced CSS for FanFic Illustrator */
.header {
text-align: center;
margin-bottom: 2rem;
background: linear-gradient(to right, #4a69bd, #6a89cc);
padding: 1.5rem;
border-radius: 10px;
color: white;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.title {
margin: 0;
font-size: 2.5rem;
font-weight: 700;
}
.subtitle {
font-size: 1.1rem;
margin-top: 0.5rem;
opacity: 0.9;
line-height: 1.5;
}
.subtitle-inline {
font-size: 1.3rem;
font-weight: 400;
opacity: 0.9;
}
.section {
background: white;
border-radius: 10px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
border: 1px solid #e1e4e8;
}
.section-title {
font-size: 1.3rem;
margin-top: 0;
margin-bottom: 1.2rem;
color: #4a69bd;
border-bottom: 2px solid #e1e4e8;
padding-bottom: 0.5rem;
}
/* Improved button styling */
.primary-button {
background-color: #4a69bd !important;
color: white !important;
font-weight: 600 !important;
padding: 0.7rem 1.2rem !important;
border-radius: 8px !important;
border: none !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
}
.primary-button:hover {
background-color: #3a539b !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
transform: translateY(-1px) !important;
}
/* Improved AI output styling with better contrast */
.thinking-output-label {
font-weight: 600 !important;
color: #4285f4 !important;
background-color: transparent !important;
margin-bottom: 4px !important;
display: block !important;
margin-top: 0.5rem !important;
}
.thinking-output {
background-color: #f0f7ff !important;
border-left: 4px solid #4285f4 !important;
padding: 12px !important;
border-radius: 6px !important;
font-size: 0.95rem !important;
color: #333 !important;
margin-bottom: 10px !important;
}
.generated-prompt-label {
font-weight: 600 !important;
color: #34a853 !important;
background-color: transparent !important;
margin-bottom: 4px !important;
margin-top: 16px !important;
display: block !important;
}
.generated-prompt {
background-color: #f0fff4 !important;
border-left: 4px solid #34a853 !important;
padding: 12px !important;
border-radius: 6px !important;
font-weight: 500 !important;
font-size: 0.95rem !important;
color: #333 !important;
}
.text-input-area {
border: 1px solid #d0d7de;
border-radius: 8px;
}
/* Add animation for loading states */
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.7; }
100% { opacity: 1; }
}
.loading {
animation: pulse 1.5s infinite;
}
/* Gallery improvements */
.gallery-item {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}
.gallery-item:hover {
transform: scale(1.02);
}
/* Form element styling */
input, select, textarea {
border-radius: 6px !important;
border: 1px solid #d0d7de !important;
padding: 8px 12px !important;
transition: border-color 0.2s ease !important;
}
input:focus, select:focus, textarea:focus {
border-color: #4a69bd !important;
box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1) !important;
}
/* Dropdown styling */
.gr-dropdown {
border-radius: 6px !important;
transition: all 0.2s ease !important;
}
.gr-dropdown:hover {
border-color: #4a69bd !important;
}
/* Accordion styling */
.gr-accordion {
border: 1px solid #e1e4e8 !important;
border-radius: 8px !important;
overflow: hidden !important;
margin-top: 1rem !important;
margin-bottom: 1rem !important;
}
.gr-accordion-title {
font-weight: 600 !important;
color: #4a69bd !important;
padding: 10px 15px !important;
}
/* Label styling to improve readability */
.gr-label {
font-weight: 600 !important;
margin-bottom: 4px !important;
color: #444 !important;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.title {
font-size: 2rem;
}
.subtitle-inline {
font-size: 1.1rem;
}
.section {
padding: 1rem;
}
.primary-button {
padding: 0.6rem 1rem !important;
font-size: 0.9rem !important;
}
}
/* Textbox focus state improvement */
.gr-textbox:focus-within {
border-color: #4a69bd !important;
box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1) !important;
}
/* Gallery container styling */
.gr-gallery {
background-color: #f8f9fa !important;
border-radius: 8px !important;
padding: 4px !important;
margin-bottom: 16px !important;
}
/* Gallery item caption styling */
.gr-gallery-item-caption {
background-color: rgba(255, 255, 255, 0.9) !important;
color: #333 !important;
border-radius: 0 0 8px 8px !important;
padding: 8px !important;
}
|