app 7
Browse files
app.py
CHANGED
|
@@ -997,7 +997,7 @@ h4 {
|
|
| 997 |
}
|
| 998 |
|
| 999 |
/* =====================================================
|
| 1000 |
-
LABELS / TEXT
|
| 1001 |
===================================================== */
|
| 1002 |
label, .gr-label span, p, li {
|
| 1003 |
font-family: 'Rajdhani', sans-serif !important;
|
|
@@ -1007,16 +1007,100 @@ label, .gr-label span, p, li {
|
|
| 1007 |
letter-spacing: 1px !important;
|
| 1008 |
}
|
| 1009 |
|
| 1010 |
-
/*
|
| 1011 |
-
|
| 1012 |
-
|
| 1013 |
-
|
| 1014 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1015 |
font-family: 'Share Tech Mono', monospace !important;
|
| 1016 |
-
font-size:
|
| 1017 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1018 |
text-transform: uppercase !important;
|
| 1019 |
opacity: 1 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1020 |
}
|
| 1021 |
|
| 1022 |
/* =====================================================
|
|
@@ -1130,32 +1214,36 @@ button[aria-selected="true"] {
|
|
| 1130 |
}
|
| 1131 |
|
| 1132 |
/* =====================================================
|
| 1133 |
-
INPUT / TEXTAREA
|
| 1134 |
===================================================== */
|
| 1135 |
textarea,
|
| 1136 |
input[type="text"],
|
| 1137 |
-
input
|
|
|
|
| 1138 |
font-family: 'Share Tech Mono', monospace !important;
|
| 1139 |
font-size: 13px !important;
|
| 1140 |
-
background: #
|
| 1141 |
-
border: 1px solid rgba(0, 245, 255, 0.
|
| 1142 |
-
border-radius:
|
| 1143 |
color: #cff4ff !important;
|
|
|
|
| 1144 |
transition: all 0.3s !important;
|
| 1145 |
letter-spacing: 0.5px !important;
|
|
|
|
| 1146 |
}
|
| 1147 |
|
| 1148 |
textarea:focus,
|
| 1149 |
input:focus {
|
| 1150 |
-
border-color:
|
| 1151 |
-
box-shadow: 0 0 15px rgba(0, 245, 255, 0.
|
| 1152 |
outline: none !important;
|
| 1153 |
}
|
| 1154 |
|
| 1155 |
-
/* placeholder */
|
| 1156 |
textarea::placeholder,
|
| 1157 |
input::placeholder {
|
| 1158 |
-
color: rgba(
|
|
|
|
|
|
|
| 1159 |
}
|
| 1160 |
|
| 1161 |
/* =====================================================
|
|
@@ -1169,6 +1257,33 @@ video {
|
|
| 1169 |
inset 0 0 30px rgba(0, 0, 0, 0.5) !important;
|
| 1170 |
}
|
| 1171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1172 |
/* Upload zone */
|
| 1173 |
.upload-zone,
|
| 1174 |
div[class*="upload"] {
|
|
|
|
| 997 |
}
|
| 998 |
|
| 999 |
/* =====================================================
|
| 1000 |
+
LABELS / TEXT — GLOBAL
|
| 1001 |
===================================================== */
|
| 1002 |
label, .gr-label span, p, li {
|
| 1003 |
font-family: 'Rajdhani', sans-serif !important;
|
|
|
|
| 1007 |
letter-spacing: 1px !important;
|
| 1008 |
}
|
| 1009 |
|
| 1010 |
+
/* =====================================================
|
| 1011 |
+
GRADIO COMPONENT LABELS (Video Input, Transcribed Speech etc.)
|
| 1012 |
+
Target every possible selector Gradio uses across versions
|
| 1013 |
+
===================================================== */
|
| 1014 |
+
|
| 1015 |
+
/* The label text above each component */
|
| 1016 |
+
label > span,
|
| 1017 |
+
label span,
|
| 1018 |
+
.block label span,
|
| 1019 |
+
.block > label > span,
|
| 1020 |
+
fieldset > span,
|
| 1021 |
+
fieldset span,
|
| 1022 |
+
div[class*="label"] span,
|
| 1023 |
+
span[data-testid*="label"],
|
| 1024 |
+
.wrap > span,
|
| 1025 |
+
span.svelte-1ipelgc,
|
| 1026 |
+
.svelte-1ipelgc,
|
| 1027 |
+
/* catch-all: any span that is a direct child of a label */
|
| 1028 |
+
label > span:first-child {
|
| 1029 |
+
color: #00f5ff !important;
|
| 1030 |
font-family: 'Share Tech Mono', monospace !important;
|
| 1031 |
+
font-size: 11px !important;
|
| 1032 |
+
font-weight: 600 !important;
|
| 1033 |
+
letter-spacing: 2.5px !important;
|
| 1034 |
+
text-transform: uppercase !important;
|
| 1035 |
+
opacity: 1 !important;
|
| 1036 |
+
visibility: visible !important;
|
| 1037 |
+
display: inline-block !important;
|
| 1038 |
+
}
|
| 1039 |
+
|
| 1040 |
+
/* Gradio wraps Video label differently — target via data-testid */
|
| 1041 |
+
div[data-testid="video"] label span,
|
| 1042 |
+
div[data-testid="video"] > div > label > span,
|
| 1043 |
+
div[data-testid="textbox"] label span,
|
| 1044 |
+
div[data-testid="textbox"] > div > label > span,
|
| 1045 |
+
div[data-testid="label"] label span,
|
| 1046 |
+
div[data-testid="label"] > div > label > span {
|
| 1047 |
+
color: #00f5ff !important;
|
| 1048 |
+
font-family: 'Share Tech Mono', monospace !important;
|
| 1049 |
+
font-size: 11px !important;
|
| 1050 |
+
letter-spacing: 2.5px !important;
|
| 1051 |
text-transform: uppercase !important;
|
| 1052 |
opacity: 1 !important;
|
| 1053 |
+
visibility: visible !important;
|
| 1054 |
+
}
|
| 1055 |
+
|
| 1056 |
+
/* =====================================================
|
| 1057 |
+
TEXTAREA / TEXTBOX CONTENT TEXT
|
| 1058 |
+
===================================================== */
|
| 1059 |
+
textarea,
|
| 1060 |
+
div[data-testid="textbox"] textarea,
|
| 1061 |
+
div[data-testid="textbox"] input {
|
| 1062 |
+
font-family: 'Share Tech Mono', monospace !important;
|
| 1063 |
+
font-size: 13px !important;
|
| 1064 |
+
background: #071828 !important;
|
| 1065 |
+
border: 1px solid rgba(0, 245, 255, 0.3) !important;
|
| 1066 |
+
border-radius: 4px !important;
|
| 1067 |
+
color: #cff4ff !important;
|
| 1068 |
+
caret-color: #00f5ff !important;
|
| 1069 |
+
transition: all 0.3s !important;
|
| 1070 |
+
letter-spacing: 0.5px !important;
|
| 1071 |
+
line-height: 1.7 !important;
|
| 1072 |
+
opacity: 1 !important;
|
| 1073 |
+
visibility: visible !important;
|
| 1074 |
+
-webkit-text-fill-color: #cff4ff !important;
|
| 1075 |
+
}
|
| 1076 |
+
|
| 1077 |
+
textarea:focus,
|
| 1078 |
+
div[data-testid="textbox"] textarea:focus {
|
| 1079 |
+
border-color: #00f5ff !important;
|
| 1080 |
+
box-shadow: 0 0 15px rgba(0, 245, 255, 0.2), inset 0 0 10px rgba(0, 245, 255, 0.03) !important;
|
| 1081 |
+
outline: none !important;
|
| 1082 |
+
}
|
| 1083 |
+
|
| 1084 |
+
textarea::placeholder,
|
| 1085 |
+
div[data-testid="textbox"] textarea::placeholder {
|
| 1086 |
+
color: rgba(0, 200, 220, 0.35) !important;
|
| 1087 |
+
-webkit-text-fill-color: rgba(0, 200, 220, 0.35) !important;
|
| 1088 |
+
font-style: italic !important;
|
| 1089 |
+
}
|
| 1090 |
+
|
| 1091 |
+
/* The outer textbox wrapper */
|
| 1092 |
+
div[data-testid="textbox"] {
|
| 1093 |
+
background: transparent !important;
|
| 1094 |
+
}
|
| 1095 |
+
|
| 1096 |
+
div[data-testid="textbox"] > label {
|
| 1097 |
+
background: transparent !important;
|
| 1098 |
+
}
|
| 1099 |
+
|
| 1100 |
+
div[data-testid="textbox"] > label > textarea {
|
| 1101 |
+
background: #071828 !important;
|
| 1102 |
+
color: #cff4ff !important;
|
| 1103 |
+
-webkit-text-fill-color: #cff4ff !important;
|
| 1104 |
}
|
| 1105 |
|
| 1106 |
/* =====================================================
|
|
|
|
| 1214 |
}
|
| 1215 |
|
| 1216 |
/* =====================================================
|
| 1217 |
+
INPUT / TEXTAREA (fallback for non-testid elements)
|
| 1218 |
===================================================== */
|
| 1219 |
textarea,
|
| 1220 |
input[type="text"],
|
| 1221 |
+
input[type="search"],
|
| 1222 |
+
input:not([type="range"]) {
|
| 1223 |
font-family: 'Share Tech Mono', monospace !important;
|
| 1224 |
font-size: 13px !important;
|
| 1225 |
+
background: #071828 !important;
|
| 1226 |
+
border: 1px solid rgba(0, 245, 255, 0.3) !important;
|
| 1227 |
+
border-radius: 4px !important;
|
| 1228 |
color: #cff4ff !important;
|
| 1229 |
+
-webkit-text-fill-color: #cff4ff !important;
|
| 1230 |
transition: all 0.3s !important;
|
| 1231 |
letter-spacing: 0.5px !important;
|
| 1232 |
+
line-height: 1.7 !important;
|
| 1233 |
}
|
| 1234 |
|
| 1235 |
textarea:focus,
|
| 1236 |
input:focus {
|
| 1237 |
+
border-color: #00f5ff !important;
|
| 1238 |
+
box-shadow: 0 0 15px rgba(0, 245, 255, 0.2) !important;
|
| 1239 |
outline: none !important;
|
| 1240 |
}
|
| 1241 |
|
|
|
|
| 1242 |
textarea::placeholder,
|
| 1243 |
input::placeholder {
|
| 1244 |
+
color: rgba(0, 200, 220, 0.35) !important;
|
| 1245 |
+
-webkit-text-fill-color: rgba(0, 200, 220, 0.35) !important;
|
| 1246 |
+
font-style: italic !important;
|
| 1247 |
}
|
| 1248 |
|
| 1249 |
/* =====================================================
|
|
|
|
| 1257 |
inset 0 0 30px rgba(0, 0, 0, 0.5) !important;
|
| 1258 |
}
|
| 1259 |
|
| 1260 |
+
/* "Video Input" label text */
|
| 1261 |
+
div[data-testid="video"] > div > label > span,
|
| 1262 |
+
div[data-testid="video"] label span,
|
| 1263 |
+
div[data-testid="video"] span {
|
| 1264 |
+
color: #00f5ff !important;
|
| 1265 |
+
font-family: 'Share Tech Mono', monospace !important;
|
| 1266 |
+
font-size: 11px !important;
|
| 1267 |
+
letter-spacing: 2.5px !important;
|
| 1268 |
+
text-transform: uppercase !important;
|
| 1269 |
+
opacity: 1 !important;
|
| 1270 |
+
-webkit-text-fill-color: #00f5ff !important;
|
| 1271 |
+
}
|
| 1272 |
+
|
| 1273 |
+
/* "Click to Access Webcam" / "Drop Video Here" upload text */
|
| 1274 |
+
div[data-testid="video"] .wrap span,
|
| 1275 |
+
div[data-testid="video"] [class*="wrap"] span,
|
| 1276 |
+
div[data-testid="video"] p,
|
| 1277 |
+
div[data-testid="video"] [class*="upload"] span,
|
| 1278 |
+
div[data-testid="video"] [class*="upload"] p {
|
| 1279 |
+
color: #7bc8d8 !important;
|
| 1280 |
+
font-family: 'Share Tech Mono', monospace !important;
|
| 1281 |
+
font-size: 12px !important;
|
| 1282 |
+
letter-spacing: 1.5px !important;
|
| 1283 |
+
-webkit-text-fill-color: #7bc8d8 !important;
|
| 1284 |
+
opacity: 1 !important;
|
| 1285 |
+
}
|
| 1286 |
+
|
| 1287 |
/* Upload zone */
|
| 1288 |
.upload-zone,
|
| 1289 |
div[class*="upload"] {
|