Spaces:
Running
Running
windy commited on
Commit ·
f633cd7
1
Parent(s): 399e8df
theme
Browse files50 unmodified lines5152535455565758596061626364654 unmodified lines70717273747530 unmodified lines106107108109110111112113114115116117118119120121122123124287 unmodified lines41241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046119 unmodified lines48148248348448548648748848950 unmodified lines@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');:root {color-scheme: light !important;}html[data-theme="dark"] {color-scheme: light !important;}html[data-theme="dark"] body {background: #FFFFFF !important;}html, body, .stApp {background: #FFFFFF !important;color-scheme: light !important;4 unmodified lines--secondary-background-color: #F8FAFC !important;--text-color: #0F172A !important;}/* Sửa lỗi hiển thị Toast khó nhìn */[data-testid="stToast"] {background-color: #ffffff !important;30 unmodified linespadding-top: 3rem !important;padding-bottom: 2rem !important;}/* FORCE DATAFRAME LIGHT MODE */[data-testid="stDataFrame"] {background: #FFFFFF !important;color-scheme: light !important;}[data-testid="stDataFrame"] * {color-scheme: light !important;}/* FIX CANVAS GRID */[data-testid="stDataFrame"] canvas {background: #FFFFFF !important;}/* Đảm bảo tiêu đề cột trong bảng Styler cũng đồng bộ */[data-testid="stTable"] thead th, .stDataFrame thead th {287 unmodified lines.stDownloadButton span {color: inherit !important;}/* ===== EXPANDER FIX ===== */[data-testid="stExpander"],[data-testid="stExpander"] details,[data-testid="stExpander"] summary,[data-testid="stExpander"] div[data-testid="stVerticalBlock"] {background: #FFFFFF !important;}.stExpanderContent {background: #FFFFFF !important;}/* ===== DATAFRAME FIX ===== */[data-testid="stDataFrame"],[data-testid="stTable"] {background: #FFFFFF !important;}[data-testid="stDataFrame"] canvas {background: #FFFFFF !important;}[data-testid="stDataFrame"] div[role="gridcell"] {background: #FFFFFF !important;color: #0F172A !important;}[data-testid="stDataFrame"] div[role="columnheader"] {background: #F8FAFC !important;color: #0F172A !important;}/* ===== TABLE FIX ===== */[data-testid="stTable"] th {background: #F8FAFC !important;color: #0F172A !important;}[data-testid="stTable"] td {background: #FFFFFF !important;color: #0F172A !important;}/* ================= CHARTS ================= */[data-testid="stArrowVegaLiteChart"],[data-testid="stPlotlyChart"],19 unmodified lines[data-testid="stCheckbox"] label span {color: var(--text-main) !important;}[data-testid="stCheckbox"] svg {color: var(--text-main) !important;}[data-testid="stCheckbox"] div[role="checkbox"] {background-color: #FFFFFF !important;border: 1px solid #CBD5E1 !important;50 unmodified lines515253545556575859606162634 unmodified lines6869707172737475767778798030 unmodified lines111112113114115116117118119120287 unmodified lines40840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445519 unmodified lines47547647747847948050 unmodified lines@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');:root {color-scheme: light !important;--primary-color: #E30613;--text-main: #0F172A; /* Màu đen xám sâu, sắc nét hơn */--text-muted: #475569;}/* HF DARK MODE OVERRIDE - SAFE */html, body, .stApp {background: #FFFFFF !important;color-scheme: light !important;4 unmodified lines--secondary-background-color: #F8FAFC !important;--text-color: #0F172A !important;}/* Ép font Inter toàn cục và bật chế độ làm sắc nét chữ */html, body, [class*="css"], .stApp {font-family: 'Inter', sans-serif !important;-webkit-font-smoothing: antialiased !important;-moz-osx-font-smoothing: grayscale !important;}/* Sửa lỗi hiển thị Toast khó nhìn */[data-testid="stToast"] {background-color: #ffffff !important;30 unmodified linespadding-top: 3rem !important;padding-bottom: 2rem !important;}/* Ép nền tiêu đề bảng luôn sáng màu và chữ đen */.stDataFrame thead tr th {background-color: #f8f9fa !important;color: #1f2937 !important;}/* Đảm bảo tiêu đề cột trong bảng Styler cũng đồng bộ */[data-testid="stTable"] thead th, .stDataFrame thead th {287 unmodified lines.stDownloadButton span {color: inherit !important;}/* ================= EXPANDER & DATAFRAME ================= */[data-testid="stExpander"] {background-color: #FFFFFF !important; /* Thay transparent bằng #FFFFFF */border: 1px solid #E2E8F0 !important;border-radius: 8px !important;}[data-testid="stExpander"] details {background-color: #FFFFFF !important;}[data-testid="stExpander"] summary p {font-weight: 600 !important;}/* ================= ĐẶC TRỊ DATAFRAME BỊ TỐI ================= *//* 1. Ép nền trắng cho toàn bộ vùng chứa bảng */[data-testid="stDataFrame"],[data-testid="stDataFrame"] > div,[data-testid="stTable"] {background-color: #FFFFFF !important;}/* 2. Ép màu chữ và nền cho các ô (Grid cells) */[data-testid="stDataFrame"] div[role="gridcell"],[data-testid="stDataFrame"] div[role="columnheader"],[data-testid="stDataFrame"] div[role="rowheader"] {background-color: #FFFFFF !important;color: #0F172A !important;-webkit-text-fill-color: #0F172A !important;border-bottom: 1px solid #F1F5F9 !important;}/* 3. Khử hoàn toàn các lớp phủ tối (Overlay) */[data-testid="stDataFrame"] [data-testid="stElementContainer"] {background-color: #FFFFFF !important;}/* 4. Fix màu tiêu đề cột không bị mờ */[data-testid="stDataFrame"] div[role="columnheader"] span {color: #0F172A !important;font-weight: 700 !important;}/* ================= CHARTS ================= */[data-testid="stArrowVegaLiteChart"],[data-testid="stPlotlyChart"],19 unmodified lines[data-testid="stCheckbox"] label span {color: var(--text-main) !important;}[data-testid="stCheckbox"] div[role="checkbox"] {background-color: #FFFFFF !important;border: 1px solid #CBD5E1 !important;
app.py+43-52