SatriyaTama commited on
Commit
237e36d
·
verified ·
1 Parent(s): 8270925

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -16
app.py CHANGED
@@ -156,26 +156,30 @@ custom_css = """
156
  transition: all 0.2s ease-in-out !important;
157
  }
158
 
159
- /* GAYA UNTUK TAB YANG AKTIF (SELECTED) - WARNA ORANYE */
160
- .tabs > .tab-buttons > button.selected {
161
- color: #f97316 !important; /* Warna teks oranye yang kuat (Tailwind Orange 500) */
162
- background: transparent !important;
163
- border: none !important;
164
- border-bottom: 3px solid #f97316 !important; /* Garis bawah oranye tebal */
165
- border-radius: 0 !important;
166
  font-weight: 600 !important;
 
 
167
  }
168
 
169
- /* GAYA UNTUK TAB TIDAK AKTIF - DIBUAT JELAS */
170
- /* Paksa teks tab yang tidak aktif tetap terlihat jelas */
171
- .tabs > .tab-buttons > button:not(.selected),
172
- .tabs > .tab-buttons > button:not(.selected) * {
173
- color: #f97316 !important; /* Warna teks oranye yang kuat (Tailwind Orange 500) */
174
- background: transparent !important;
175
- border: none !important;
176
- border-bottom: 3px solid #f97316 !important; /* Garis bawah oranye tebal */
177
- border-radius: 0 !important;
178
  font-weight: 600 !important;
 
 
 
 
 
 
 
 
179
  }
180
 
181
  /* EFEK HOVER (SAAT MOUSE DI ATAS TAB TIDAK AKTIF) */
 
156
  transition: all 0.2s ease-in-out !important;
157
  }
158
 
159
+ /* Gaya untuk tab aktif */
160
+ button[role="tab"][aria-selected="true"] {
161
+ color: #f97316 !important;
162
+ opacity: 1 !important;
163
+ filter: none !important;
 
 
164
  font-weight: 600 !important;
165
+ border-bottom: 3px solid #f97316 !important;
166
+ background: transparent !important;
167
  }
168
 
169
+ /* Gaya untuk tab tidak aktif */
170
+ button[role="tab"][aria-selected="false"] {
171
+ color: #4b5563 !important; /* Tailwind Gray 600 agar tetap terbaca */
172
+ opacity: 1 !important;
173
+ filter: none !important;
 
 
 
 
174
  font-weight: 600 !important;
175
+ border-bottom: 3px solid #e5e7eb !important;
176
+ background: transparent !important;
177
+ }
178
+
179
+ /* Hapus efek pudar dari emoji dan teks */
180
+ button[role="tab"][aria-selected="false"] * {
181
+ opacity: 1 !important;
182
+ filter: none !important;
183
  }
184
 
185
  /* EFEK HOVER (SAAT MOUSE DI ATAS TAB TIDAK AKTIF) */