278 lines
6.3 KiB
CSS
278 lines
6.3 KiB
CSS
|
/* Podstawowe style dla zakładek */
|
||
|
.tab {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.tab.active {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
/* Style dla przycisków kategorii */
|
||
|
.category-buttons {
|
||
|
margin: 10px 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.category-buttons button {
|
||
|
margin: 5px;
|
||
|
padding: 10px 15px;
|
||
|
font-size: 16px;
|
||
|
cursor: pointer;
|
||
|
background-color: #f2f2f2;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 4px;
|
||
|
transition: background-color 0.3s, color 0.3s, border 0.3s;
|
||
|
}
|
||
|
|
||
|
.category-buttons button.active {
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
border: 1px solid #4CAF50;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja tabeli */
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
th, td {
|
||
|
border: 1px solid #ddd;
|
||
|
padding: 8px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
background-color: #f2f2f2;
|
||
|
}
|
||
|
|
||
|
tr:nth-child(even) {
|
||
|
background-color: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja kontenera klasy */
|
||
|
.select-class {
|
||
|
margin-top: 20px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.select-class select {
|
||
|
padding: 5px;
|
||
|
font-size: 16px;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja nagłówków */
|
||
|
h1, h2, h3 {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
/* Dodatkowe style dla układu */
|
||
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
margin: 20px;
|
||
|
background-color: #fafafa;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja stopki */
|
||
|
footer.footer {
|
||
|
width: 100%;
|
||
|
padding: 20px 0;
|
||
|
background-color: #fafafa;
|
||
|
color: #555;
|
||
|
}
|
||
|
|
||
|
.footer-container {
|
||
|
max-width: 1200px;
|
||
|
margin: 0 auto;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: stretch;
|
||
|
}
|
||
|
|
||
|
.footer-left, .footer-right {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.footer-left {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
.footer-right {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
.footer-line {
|
||
|
border: none;
|
||
|
border-top: 2px solid #ddd;
|
||
|
margin: 20px 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
/* Dodatkowe style dla estetyki */
|
||
|
.footer-left p,
|
||
|
.footer-right p {
|
||
|
margin: 5px 0;
|
||
|
font-size: 14px;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja przycisków ogólna */
|
||
|
button {
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
button:hover {
|
||
|
opacity: 0.8;
|
||
|
}
|
||
|
|
||
|
/* Stylizacja checkboxów */
|
||
|
input[type="checkbox"] {
|
||
|
transform: scale(1.2);
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Style dla przycisków kategorii */
|
||
|
.category-buttons button {
|
||
|
margin: 5px;
|
||
|
padding: 10px 15px;
|
||
|
font-size: 16px;
|
||
|
cursor: pointer;
|
||
|
background-color: #4CAF50; /* A vibrant green color */
|
||
|
color: white; /* White text for contrast */
|
||
|
border: none; /* No border */
|
||
|
border-radius: 4px;
|
||
|
transition: background-color 0.3s, transform 0.2s;
|
||
|
}
|
||
|
|
||
|
.category-buttons button:hover {
|
||
|
background-color: #45a049; /* Slightly darker green on hover */
|
||
|
transform: scale(1.05); /* Slight scaling effect */
|
||
|
}
|
||
|
|
||
|
.category-buttons button:active {
|
||
|
background-color: #388e3c; /* Darker shade when pressed */
|
||
|
transform: scale(0.95); /* Slightly smaller when pressed */
|
||
|
}
|
||
|
|
||
|
/* Active button state */
|
||
|
.category-buttons button.active {
|
||
|
background-color: #2e7d32; /* Dark green for active button */
|
||
|
color: white; /* Keep the text white */
|
||
|
border: 1px solid #2e7d32; /* Dark green border */
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Style dla głównych przycisków */
|
||
|
.button-main {
|
||
|
margin: 10px;
|
||
|
padding: 12px 20px;
|
||
|
font-size: 18px;
|
||
|
cursor: pointer;
|
||
|
background-color: #2e7d32; /* Bright blue color */
|
||
|
color: white; /* White text */
|
||
|
border: none; /* No border */
|
||
|
border-radius: 5px; /* Rounded corners */
|
||
|
transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
|
||
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
|
||
|
}
|
||
|
|
||
|
.button-main:hover {
|
||
|
background-color: #2e7d32; /* Darker blue on hover */
|
||
|
transform: scale(1.05); /* Slight scaling effect */
|
||
|
}
|
||
|
|
||
|
.button-main:active {
|
||
|
background-color: #2e7d32; /* Even darker shade when pressed */
|
||
|
transform: scale(0.95); /* Slightly smaller when pressed */
|
||
|
}
|
||
|
|
||
|
.day-navigation {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
margin: 20px 0;
|
||
|
}
|
||
|
|
||
|
.day-navigation button {
|
||
|
margin: 0 10px; /* Spacing between buttons */
|
||
|
padding: 10px 20px; /* Padding for the buttons */
|
||
|
font-size: 16px; /* Font size */
|
||
|
color: white; /* Text color */
|
||
|
background-color: #2e7d32; /* Blue background color */
|
||
|
border: none; /* No border */
|
||
|
border-radius: 4px; /* Rounded corners */
|
||
|
cursor: pointer; /* Pointer cursor on hover */
|
||
|
transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
|
||
|
}
|
||
|
|
||
|
.day-navigation button:hover {
|
||
|
background-color: #2e7d32; /* Darker blue on hover */
|
||
|
transform: scale(1.05); /* Slight scaling effect */
|
||
|
}
|
||
|
|
||
|
.day-navigation button:active {
|
||
|
background-color: #0D47A1; /* Even darker blue when pressed */
|
||
|
transform: scale(0.95); /* Slightly smaller when pressed */
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/* Container for the statistics section */
|
||
|
.statistics-container {
|
||
|
margin: 20px auto; /* Centering the container */
|
||
|
padding: 20px; /* Inner spacing */
|
||
|
border: 1px solid #ddd; /* Light border */
|
||
|
border-radius: 8px; /* Rounded corners */
|
||
|
background-color: #f9f9f9; /* Light background color */
|
||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
|
||
|
}
|
||
|
|
||
|
/* Styling for labels */
|
||
|
.statistics-container label {
|
||
|
display: block; /* Block display for labels */
|
||
|
margin: 10px 0 5px; /* Spacing around labels */
|
||
|
font-weight: bold; /* Bold text */
|
||
|
}
|
||
|
|
||
|
/* Styling for input fields */
|
||
|
.statistics-container input[type="number"] {
|
||
|
width: 100%; /* Full width inputs */
|
||
|
padding: 10px; /* Inner padding */
|
||
|
font-size: 16px; /* Font size */
|
||
|
border: 1px solid #ccc; /* Border color */
|
||
|
border-radius: 4px; /* Rounded corners */
|
||
|
margin-bottom: 15px; /* Space below inputs */
|
||
|
transition: border-color 0.3s; /* Smooth border color change */
|
||
|
}
|
||
|
|
||
|
.statistics-container input[type="number"]:focus {
|
||
|
border-color: #4CAF50; /* Change border color on focus */
|
||
|
outline: none; /* Remove default outline */
|
||
|
}
|
||
|
|
||
|
/* Styling for the table */
|
||
|
.statistics-container table {
|
||
|
width: 100%; /* Full width table */
|
||
|
border-collapse: collapse; /* Remove gaps between table cells */
|
||
|
margin-top: 20px; /* Space above table */
|
||
|
}
|
||
|
|
||
|
.statistics-container th,
|
||
|
.statistics-container td {
|
||
|
border: 1px solid #ddd; /* Cell borders */
|
||
|
padding: 10px; /* Inner spacing */
|
||
|
text-align: center; /* Centered text */
|
||
|
}
|
||
|
|
||
|
.statistics-container th {
|
||
|
background-color: #4CAF50; /* Header background color */
|
||
|
color: white; /* Header text color */
|
||
|
}
|
||
|
|
||
|
.statistics-container tr:nth-child(even) {
|
||
|
background-color: #f2f2f2; /* Alternating row colors */
|
||
|
}
|