Spaces:
Sleeping
Sleeping
Commit Β·
408abe9
1
Parent(s): 709360f
Darken background layers while keeping borders and accents
Browse filesPull page bg (#1a0a38β#0d0520), app shell (#2d1060β#180840), and all
content-area fills back toward darker without touching borders, text,
or accent colours.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- static/app.css +11 -11
static/app.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
|
| 2 |
*{box-sizing:border-box;margin:0;padding:0}
|
| 3 |
body,.gradio-container{
|
| 4 |
-
background:#
|
| 5 |
font-size:14px!important;color:#faf5ff!important;min-height:100vh;
|
| 6 |
}
|
| 7 |
footer{display:none!important}
|
|
@@ -16,13 +16,13 @@ footer{display:none!important}
|
|
| 16 |
|
| 17 |
/* ββ App shell ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 18 |
.app-shell{
|
| 19 |
-
background:#
|
| 20 |
margin:12px auto;max-width:1300px;overflow:hidden;
|
| 21 |
-
box-shadow:0 25px 50px -12px rgba(0,0,0,.
|
| 22 |
--body-text-color:#faf5ff;
|
| 23 |
}
|
| 24 |
.app-header{
|
| 25 |
-
background:linear-gradient(135deg,#
|
| 26 |
padding:14px 24px;display:flex;align-items:center;
|
| 27 |
}
|
| 28 |
.app-header-left{display:flex;align-items:center;gap:12px}
|
|
@@ -55,7 +55,7 @@ footer{display:none!important}
|
|
| 55 |
/* ββ Main layout ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 56 |
.app-main{display:flex;gap:0}
|
| 57 |
.app-left{flex:1;display:flex;flex-direction:column;min-width:0;border-right:1px solid #7c3aed}
|
| 58 |
-
.app-right{width:400px;flex-shrink:0;display:flex;flex-direction:column;background:#
|
| 59 |
|
| 60 |
/* ββ Panel cards ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 61 |
.panel-card{border-bottom:1px solid #7c3aed}
|
|
@@ -67,7 +67,7 @@ footer{display:none!important}
|
|
| 67 |
|
| 68 |
/* ββ Drop zone (target image) βββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 69 |
.drop-zone{
|
| 70 |
-
position:relative;background:#
|
| 71 |
border:2px dashed #7c3aed;overflow:hidden;cursor:pointer;transition:border-color .2s,background .2s;
|
| 72 |
}
|
| 73 |
.drop-zone:hover{border-color:#9333ea;background:rgba(124,58,237,.08)}
|
|
@@ -104,7 +104,7 @@ footer{display:none!important}
|
|
| 104 |
}
|
| 105 |
.face-thumb{
|
| 106 |
position:relative;width:100px;height:100px;border-radius:10px;overflow:hidden;
|
| 107 |
-
cursor:pointer;border:2px solid #7c3aed;transition:all .2s ease;background:#
|
| 108 |
flex-shrink:0;
|
| 109 |
}
|
| 110 |
.face-thumb:hover{border-color:#9d5cf6;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.4)}
|
|
@@ -134,7 +134,7 @@ footer{display:none!important}
|
|
| 134 |
}
|
| 135 |
.source-drop-area{
|
| 136 |
width:120px;height:120px;border-radius:10px;border:2px dashed #7c3aed;
|
| 137 |
-
background:#
|
| 138 |
justify-content:center;gap:6px;cursor:pointer;transition:all .2s;
|
| 139 |
font-size:11px;color:#c4b5fd;text-align:center;padding:8px;
|
| 140 |
}
|
|
@@ -187,7 +187,7 @@ footer{display:none!important}
|
|
| 187 |
}
|
| 188 |
.out-title span{color:#ddd6fe}
|
| 189 |
.out-body{
|
| 190 |
-
flex:1;background:#
|
| 191 |
overflow:hidden;min-height:260px;position:relative;
|
| 192 |
}
|
| 193 |
.out-body img{max-width:100%;max-height:500px;object-fit:contain;image-rendering:auto}
|
|
@@ -205,7 +205,7 @@ footer{display:none!important}
|
|
| 205 |
/* ββ Loader βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 206 |
.modern-loader{
|
| 207 |
display:none;position:absolute;top:0;left:0;right:0;bottom:0;
|
| 208 |
-
background:rgba(
|
| 209 |
flex-direction:column;align-items:center;justify-content:center;gap:16px;
|
| 210 |
backdrop-filter:blur(4px);
|
| 211 |
}
|
|
@@ -240,7 +240,7 @@ footer{display:none!important}
|
|
| 240 |
|
| 241 |
/* ββ Scrollbars βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 242 |
::-webkit-scrollbar{width:8px;height:8px}
|
| 243 |
-
::-webkit-scrollbar-track{background:#
|
| 244 |
::-webkit-scrollbar-thumb{background:#7c3aed;border-radius:4px}
|
| 245 |
::-webkit-scrollbar-thumb:hover{background:#9d5cf6}
|
| 246 |
|
|
|
|
| 1 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
|
| 2 |
*{box-sizing:border-box;margin:0;padding:0}
|
| 3 |
body,.gradio-container{
|
| 4 |
+
background:#0d0520!important;font-family:'Inter',system-ui,-apple-system,sans-serif!important;
|
| 5 |
font-size:14px!important;color:#faf5ff!important;min-height:100vh;
|
| 6 |
}
|
| 7 |
footer{display:none!important}
|
|
|
|
| 16 |
|
| 17 |
/* ββ App shell ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 18 |
.app-shell{
|
| 19 |
+
background:#180840;border:1px solid #7c3aed;border-radius:16px;
|
| 20 |
margin:12px auto;max-width:1300px;overflow:hidden;
|
| 21 |
+
box-shadow:0 25px 50px -12px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.04);
|
| 22 |
--body-text-color:#faf5ff;
|
| 23 |
}
|
| 24 |
.app-header{
|
| 25 |
+
background:linear-gradient(135deg,#180840,#220d55);border-bottom:1px solid #7c3aed;
|
| 26 |
padding:14px 24px;display:flex;align-items:center;
|
| 27 |
}
|
| 28 |
.app-header-left{display:flex;align-items:center;gap:12px}
|
|
|
|
| 55 |
/* ββ Main layout ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 56 |
.app-main{display:flex;gap:0}
|
| 57 |
.app-left{flex:1;display:flex;flex-direction:column;min-width:0;border-right:1px solid #7c3aed}
|
| 58 |
+
.app-right{width:400px;flex-shrink:0;display:flex;flex-direction:column;background:#180840}
|
| 59 |
|
| 60 |
/* ββ Panel cards ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 61 |
.panel-card{border-bottom:1px solid #7c3aed}
|
|
|
|
| 67 |
|
| 68 |
/* ββ Drop zone (target image) βββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 69 |
.drop-zone{
|
| 70 |
+
position:relative;background:#0d0520;min-height:220px;border-radius:10px;
|
| 71 |
border:2px dashed #7c3aed;overflow:hidden;cursor:pointer;transition:border-color .2s,background .2s;
|
| 72 |
}
|
| 73 |
.drop-zone:hover{border-color:#9333ea;background:rgba(124,58,237,.08)}
|
|
|
|
| 104 |
}
|
| 105 |
.face-thumb{
|
| 106 |
position:relative;width:100px;height:100px;border-radius:10px;overflow:hidden;
|
| 107 |
+
cursor:pointer;border:2px solid #7c3aed;transition:all .2s ease;background:#0d0520;
|
| 108 |
flex-shrink:0;
|
| 109 |
}
|
| 110 |
.face-thumb:hover{border-color:#9d5cf6;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.4)}
|
|
|
|
| 134 |
}
|
| 135 |
.source-drop-area{
|
| 136 |
width:120px;height:120px;border-radius:10px;border:2px dashed #7c3aed;
|
| 137 |
+
background:#0d0520;display:flex;flex-direction:column;align-items:center;
|
| 138 |
justify-content:center;gap:6px;cursor:pointer;transition:all .2s;
|
| 139 |
font-size:11px;color:#c4b5fd;text-align:center;padding:8px;
|
| 140 |
}
|
|
|
|
| 187 |
}
|
| 188 |
.out-title span{color:#ddd6fe}
|
| 189 |
.out-body{
|
| 190 |
+
flex:1;background:#0d0520;display:flex;align-items:center;justify-content:center;
|
| 191 |
overflow:hidden;min-height:260px;position:relative;
|
| 192 |
}
|
| 193 |
.out-body img{max-width:100%;max-height:500px;object-fit:contain;image-rendering:auto}
|
|
|
|
| 205 |
/* ββ Loader βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 206 |
.modern-loader{
|
| 207 |
display:none;position:absolute;top:0;left:0;right:0;bottom:0;
|
| 208 |
+
background:rgba(13,5,32,.92);z-index:15;
|
| 209 |
flex-direction:column;align-items:center;justify-content:center;gap:16px;
|
| 210 |
backdrop-filter:blur(4px);
|
| 211 |
}
|
|
|
|
| 240 |
|
| 241 |
/* ββ Scrollbars βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 242 |
::-webkit-scrollbar{width:8px;height:8px}
|
| 243 |
+
::-webkit-scrollbar-track{background:#0d0520}
|
| 244 |
::-webkit-scrollbar-thumb{background:#7c3aed;border-radius:4px}
|
| 245 |
::-webkit-scrollbar-thumb:hover{background:#9d5cf6}
|
| 246 |
|