Files
ALwrity/lib/workspace/alwrity_ui_styling.css
2024-06-09 09:19:24 +05:30

170 lines
3.5 KiB
CSS

/* General body styling */
body {
background: #f0f4f8;
background-image: linear-gradient(to bottom right, #d0e1f9, #e1ebf9);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0; /* Remove any default margin */
padding: 0; /* Remove any default padding */
}
.block-container {
padding-top: 2.5rem;
padding-bottom: 3rem;
padding-left: 5rem;
padding-right: 5rem;
}
/* Main header styling */
.main-header {
font-size: 2.5em;
font-weight: bold;
color: #1565C0;
margin-bottom: 20px;
text-align: center;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
padding-top: 10px; /* Add padding to the top to move it up */
}
/* Sub-header styling */
.sub-header {
font-size: 1.75em;
font-weight: bold;
color: #1976D2;
margin-top: 20px;
margin-bottom: 10px;
text-align: center;
}
/* Navigation tabs styling */
.stTabs [role="tab"] {
font-size: 3.75em; /* Increased font size */
font-weight: bold;
color: white;
background: #1565C0;
padding: 16px 24px; /* Increased padding */
margin: 5px;
border-radius: 8px;
border: 2px solid #ddd;
transition: background 0.3s ease, padding 0.3s ease;
}
.stTabs [role="tab"]:hover {
background: #1976D2;
}
.stTabs [role="tab"][aria-selected="true"] {
background: #E3F2FD;
color: #333;
border: 2px solid #1565C0;
}
/* Sidebar header styling */
.sidebar-header {
font-size: 2.2em;
font-weight: bold;
color: #333;
margin-bottom: 20px;
}
/* Sidebar option styling */
.sidebar-option {
margin-bottom: 10px;
font-size: 2.2em;
color: #1565C0;
}
/* Content section styling */
.content-section {
padding: 20px;
margin-bottom: 30px;
border-radius: 10px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
background-color: #f0f4f8; /* Change background to match body */
}
/* Input fields styling */
input[type="text"] {
width: 100%;
padding: 12px;
margin: 8px 0;
box-sizing: border-box;
border: 2px solid #ddd;
border-radius: 4px;
background-color: #f0f8ff;
}
/* Custom button styling */
button {
background: #1565C0; /* Match tab color */
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 2px;
cursor: pointer;
transition: background-color 0.3s ease;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
font-weight: bold;
}
button:hover {
background-color: #1976D2; /* Match tab hover color */
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}
/* Scrollbar styling */
::-webkit-scrollbar-track {
background: #e1ebf9;
}
::-webkit-scrollbar-thumb {
background-color: #90CAF9;
border-radius: 10px;
border: 3px solid #e1ebf9;
}
::-webkit-scrollbar-thumb:hover {
background: #64B5F6;
}
::-webkit-scrollbar {
width: 16px;
}
/* Radio button group styling */
div.row-widget.stRadio > div {
flex-direction: row;
align-items: stretch;
}
div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"] {
background-color: #BBDEFB;
padding-right: 10px;
padding-left: 4px;
padding-bottom: 3px;
margin: 4px;
}
/* Radio wrapper styling */
.radio-wrapper {
border: 2px solid #1565C0;
border-radius: 5px;
padding: 15px;
margin: 10px 0;
background-color: #f9f9f9;
}
/* Content title styling */
.content-title {
font-size: 1.5em;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}