Spaces:
Sleeping
Sleeping
File size: 4,054 Bytes
e4a794f |
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 |
body {
font-family: 'Inter', sans-serif;
}
/* --- Navigation Pill Styles (New Layout) --- */
.tab-nav-container {
/* Background for the pill container */
background-color: #f1f5f9; /* slate-100 */
border-radius: 0.75rem; /* rounded-xl */
padding: 0.5rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
}
.tab-btn {
padding: 0.5rem 1rem;
font-weight: 600;
font-size: 0.875rem; /* 14px */
color: #64748b; /* slate-500 */
border-radius: 0.5rem; /* rounded-lg */
transition: all 0.2s ease;
cursor: pointer;
border: 1px solid transparent;
background-color: transparent;
}
.tab-btn:hover {
background-color: #e2e8f0; /* slate-200 */
color: #334155; /* slate-700 */
}
.tab-btn.active {
background-color: #ffffff;
color: #4f46e5; /* indigo-600 */
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
border-color: #e2e8f0;
}
/* --- Styles from Verifier App --- */
.custom-file-upload {
border: 2px dashed #cbd5e1;
padding: 1rem 1.5rem;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.custom-file-upload:hover, .dragover {
border-color: #4f46e5;
background-color: #f8fafc;
}
input[type="file"] {
display: none;
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
border-left-color: #4f46e5;
animation: spin 1s ease infinite;
}
/* --- Styles from Merger App --- */
#mergerTab textarea::-webkit-scrollbar,
#mergerTab div::-webkit-scrollbar {
width: 8px;
}
#mergerTab textarea::-webkit-scrollbar-track,
#mergerTab div::-webkit-scrollbar-track {
background: #e2e8f0;
}
#mergerTab textarea::-webkit-scrollbar-thumb,
#mergerTab div::-webkit-scrollbar-thumb {
background: #94a3b8;
border-radius: 4px;
}
#mergerTab textarea::-webkit-scrollbar-thumb:hover,
#mergerTab div::-webkit-scrollbar-thumb:hover {
background: #64748b;
}
/* --- Styles from Translator App --- */
@keyframes spin {
to { transform: rotate(360deg); }
}
/* --- Styles for Transcriber Tab --- */
#transcriberTab input[type="file"]::file-selector-button {
background: #4F46E5;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
cursor: pointer;
transition: background-color 0.2s;
font-weight: 600;
font-size: 0.875rem;
}
#transcriberTab input[type="file"]::file-selector-button:hover {
background: #4338CA;
}
/* --- Styles for Alternative (Rephraser) Tab --- */
#alternativeTab textarea {
font-family: 'Inter', sans-serif;
}
#alternativeTab textarea:focus {
border-color: #4f46e5;
box-shadow: 0 0 0 1px #4f46e5;
outline: none;
}
/* --- Styles for Resync Tab --- */
.resync-line-input {
width: 100%;
padding: 0.75rem;
border: 1px solid #cbd5e1;
border-radius: 0.375rem;
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
transition: all 0.2s;
}
.resync-line-input:focus {
border-color: #4f46e5;
box-shadow: 0 0 0 1px #4f46e5;
outline: none;
}
.resync-line-input::-webkit-outer-spin-button,
.resync-line-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.resync-line-input[type=number] {
-moz-appearance: textfield;
}
/* --- API Checker Styles --- */
.status-badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.status-badge.success { background-color: #d1fae5; color: #059669; }
.status-badge.error { background-color: #fee2e2; color: #dc2626; }
.status-badge.warning { background-color: #fef3c7; color: #d97706; }
.status-badge.loading { background-color: #e2e8f0; color: #475569; } |