Spaces:
Sleeping
Sleeping
| /* Hide Streamlit default UI elements */ | |
| #MainMenu, header, footer { | |
| visibility: hidden; | |
| } | |
| /* Full-screen center layout */ | |
| .stApp { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| margin: 10; | |
| padding: 10; | |
| } | |
| /* Global dark theme base */ | |
| body { | |
| background-color: #343541; /* ChatGPT dark gray */ | |
| color: #ececf1; /* Light neutral for text */ | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| margin: 10; | |
| padding: 10; | |
| } | |
| /* Container centering */ | |
| .centered-container { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100vh; | |
| width: 100vw; | |
| } | |
| /* ChatGPT-style button */ | |
| .stButton > button { | |
| background-color: #444654 ; | |
| color: #ececf1 ; | |
| border: 1px solid #5c5f72 ; | |
| border-radius: 999px ; | |
| padding: 0.5rem 1.25rem ; | |
| font-weight: 500; | |
| transition: background-color 0.2s ease, transform 0.1s ease; | |
| position: relative; | |
| } | |
| .stButton > button:hover { | |
| background-color: #565869 ; | |
| transform: scale(1.03); | |
| } | |
| /* Sidebar styling */ | |
| [data-testid="stSidebar"] { | |
| background-color: #202123; | |
| color: #ececf1; | |
| border-right: 1px solid #2d2f36; | |
| min-width: 140px; | |
| max-width: 250px; | |
| transition: all 0.3s ease; | |
| } | |
| [data-testid="stSidebar"][aria-expanded="false"] { | |
| margin-left: -250px; | |
| } | |
| [data-testid="stSidebar"] h1, | |
| [data-testid="stSidebar"] h2, | |
| [data-testid="stSidebar"] h3 { | |
| color: #ececf1; | |
| } | |
| /* Markdown and text elements */ | |
| .stMarkdown, .stCaption, .stHeader { | |
| color: #ececf1; | |
| } | |
| /* Dropdown styling */ | |
| select { | |
| background-color: #3e3f4b; | |
| color: #ececf1; | |
| border: 1px solid #5c5f72; | |
| border-radius: 6px; | |
| padding: 6px 10px; | |
| } | |
| /* Selectbox refinements */ | |
| .stSelectbox { | |
| cursor: pointer ; | |
| } | |
| .stSelectbox input { | |
| cursor: pointer ; | |
| caret-color: transparent ; | |
| } | |
| .stSelectbox div[data-baseweb="select"] { | |
| cursor: pointer ; | |
| } | |
| .stSelectbox [role="option"] { | |
| cursor: pointer ; | |
| } | |
| .stSelectbox ::selection { | |
| background: transparent ; | |
| } | |
| /* General container */ | |
| .block-container { | |
| padding: 15px ; | |
| margin: 15px ; | |
| max-width: 100% ; | |
| } | |
| /* Progress bar */ | |
| .stProgress > div > div > div { | |
| background-color: #10a37f ; /* ChatGPT green */ | |
| } | |
| .stProgress > div > div { | |
| background-color: #3e3f4b ; | |
| height: 10px ; | |
| border-radius: 5px; | |
| } | |
| /* Loading or status text */ | |
| .st-emotion-cache-1q7spjk { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| color: #ececf1 ; | |
| font-size: 1.1rem; | |
| margin-bottom: 15px; | |
| } | |
| /* Optional animation (retained from your original) */ | |
| .rotate { | |
| display: inline-block; | |
| color: #10a37f; | |
| animation: rotation 2s infinite linear; | |
| } | |
| @keyframes rotation { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(359deg); } | |
| } | |
| /* Centered button containers */ | |
| .centered-button-container, | |
| .button-container { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| text-align: center; | |
| } | |