bigbossmonster commited on
Commit
e4a794f
·
verified ·
1 Parent(s): 86f7ae6

Upload styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +155 -0
static/styles.css ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: 'Inter', sans-serif;
3
+ }
4
+
5
+ /* --- Navigation Pill Styles (New Layout) --- */
6
+ .tab-nav-container {
7
+ /* Background for the pill container */
8
+ background-color: #f1f5f9; /* slate-100 */
9
+ border-radius: 0.75rem; /* rounded-xl */
10
+ padding: 0.5rem;
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ justify-content: center;
14
+ gap: 0.5rem;
15
+ }
16
+
17
+ .tab-btn {
18
+ padding: 0.5rem 1rem;
19
+ font-weight: 600;
20
+ font-size: 0.875rem; /* 14px */
21
+ color: #64748b; /* slate-500 */
22
+ border-radius: 0.5rem; /* rounded-lg */
23
+ transition: all 0.2s ease;
24
+ cursor: pointer;
25
+ border: 1px solid transparent;
26
+ background-color: transparent;
27
+ }
28
+
29
+ .tab-btn:hover {
30
+ background-color: #e2e8f0; /* slate-200 */
31
+ color: #334155; /* slate-700 */
32
+ }
33
+
34
+ .tab-btn.active {
35
+ background-color: #ffffff;
36
+ color: #4f46e5; /* indigo-600 */
37
+ box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
38
+ border-color: #e2e8f0;
39
+ }
40
+
41
+ /* --- Styles from Verifier App --- */
42
+ .custom-file-upload {
43
+ border: 2px dashed #cbd5e1;
44
+ padding: 1rem 1.5rem;
45
+ cursor: pointer;
46
+ transition: all 0.3s ease;
47
+ text-align: center;
48
+ height: 100%;
49
+ display: flex;
50
+ flex-direction: column;
51
+ justify-content: center;
52
+ align-items: center;
53
+ }
54
+ .custom-file-upload:hover, .dragover {
55
+ border-color: #4f46e5;
56
+ background-color: #f8fafc;
57
+ }
58
+ input[type="file"] {
59
+ display: none;
60
+ }
61
+ .spinner {
62
+ border: 4px solid rgba(0, 0, 0, 0.1);
63
+ width: 36px;
64
+ height: 36px;
65
+ border-radius: 50%;
66
+ border-left-color: #4f46e5;
67
+ animation: spin 1s ease infinite;
68
+ }
69
+
70
+ /* --- Styles from Merger App --- */
71
+ #mergerTab textarea::-webkit-scrollbar,
72
+ #mergerTab div::-webkit-scrollbar {
73
+ width: 8px;
74
+ }
75
+ #mergerTab textarea::-webkit-scrollbar-track,
76
+ #mergerTab div::-webkit-scrollbar-track {
77
+ background: #e2e8f0;
78
+ }
79
+ #mergerTab textarea::-webkit-scrollbar-thumb,
80
+ #mergerTab div::-webkit-scrollbar-thumb {
81
+ background: #94a3b8;
82
+ border-radius: 4px;
83
+ }
84
+ #mergerTab textarea::-webkit-scrollbar-thumb:hover,
85
+ #mergerTab div::-webkit-scrollbar-thumb:hover {
86
+ background: #64748b;
87
+ }
88
+
89
+ /* --- Styles from Translator App --- */
90
+ @keyframes spin {
91
+ to { transform: rotate(360deg); }
92
+ }
93
+
94
+ /* --- Styles for Transcriber Tab --- */
95
+ #transcriberTab input[type="file"]::file-selector-button {
96
+ background: #4F46E5;
97
+ color: white;
98
+ border: none;
99
+ padding: 0.5rem 1rem;
100
+ border-radius: 0.375rem;
101
+ cursor: pointer;
102
+ transition: background-color 0.2s;
103
+ font-weight: 600;
104
+ font-size: 0.875rem;
105
+ }
106
+ #transcriberTab input[type="file"]::file-selector-button:hover {
107
+ background: #4338CA;
108
+ }
109
+
110
+ /* --- Styles for Alternative (Rephraser) Tab --- */
111
+ #alternativeTab textarea {
112
+ font-family: 'Inter', sans-serif;
113
+ }
114
+ #alternativeTab textarea:focus {
115
+ border-color: #4f46e5;
116
+ box-shadow: 0 0 0 1px #4f46e5;
117
+ outline: none;
118
+ }
119
+
120
+ /* --- Styles for Resync Tab --- */
121
+ .resync-line-input {
122
+ width: 100%;
123
+ padding: 0.75rem;
124
+ border: 1px solid #cbd5e1;
125
+ border-radius: 0.375rem;
126
+ box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
127
+ transition: all 0.2s;
128
+ }
129
+ .resync-line-input:focus {
130
+ border-color: #4f46e5;
131
+ box-shadow: 0 0 0 1px #4f46e5;
132
+ outline: none;
133
+ }
134
+ .resync-line-input::-webkit-outer-spin-button,
135
+ .resync-line-input::-webkit-inner-spin-button {
136
+ -webkit-appearance: none;
137
+ margin: 0;
138
+ }
139
+ .resync-line-input[type=number] {
140
+ -moz-appearance: textfield;
141
+ }
142
+
143
+ /* --- API Checker Styles --- */
144
+ .status-badge {
145
+ display: inline-flex;
146
+ align-items: center;
147
+ padding: 0.25rem 0.75rem;
148
+ border-radius: 9999px;
149
+ font-size: 0.75rem;
150
+ font-weight: 600;
151
+ }
152
+ .status-badge.success { background-color: #d1fae5; color: #059669; }
153
+ .status-badge.error { background-color: #fee2e2; color: #dc2626; }
154
+ .status-badge.warning { background-color: #fef3c7; color: #d97706; }
155
+ .status-badge.loading { background-color: #e2e8f0; color: #475569; }