p22.10/css/style.css

172 lines
2.8 KiB
CSS
Raw Normal View History

2024-10-17 10:47:01 +00:00
/* 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;
2024-10-18 11:35:03 +00:00
background-color: #A9A9A9;
2024-10-17 10:47:01 +00:00
}
.category-buttons button {
margin: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
2024-10-18 11:35:03 +00:00
background-color: lightgray;
border: 1px solid black;
2024-10-17 10:47:01 +00:00
border-radius: 4px;
2024-10-17 12:39:47 +00:00
transition: background-color 0.3s, color 0.3s, border 0.3s;
2024-10-18 11:35:03 +00:00
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
.category-buttons button.active {
background-color: #4CAF50;
color: white;
border: 1px solid #4CAF50;
}
/* Stylizacja tabeli */
2024-10-16 08:40:14 +00:00
table {
width: 100%;
border-collapse: collapse;
2024-10-17 10:47:01 +00:00
margin-top: 20px;
2024-10-18 11:35:03 +00:00
background-color: whitesmoke;
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
2024-10-16 08:40:14 +00:00
th, td {
2024-10-18 11:35:03 +00:00
border: 1px solid grey;
2024-10-17 10:47:01 +00:00
padding: 8px;
2024-10-16 08:40:14 +00:00
text-align: center;
}
2024-10-17 10:47:01 +00:00
2024-10-16 08:40:14 +00:00
th {
2024-10-18 11:35:03 +00:00
background-color: whitesmoke;
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
tr:nth-child(even) {
2024-10-18 11:35:03 +00:00
background-color: whitesmoke;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
/* Stylizacja kontenera klasy */
.select-class {
2024-10-18 08:30:42 +00:00
text-align: center;
}
.select-role {
2024-10-17 10:47:01 +00:00
text-align: center;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
.select-class select {
padding: 5px;
font-size: 16px;
2024-10-17 12:39:47 +00:00
border: 1px solid #ccc;
border-radius: 4px;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
2024-10-18 08:30:42 +00:00
.select-role select {
padding: 5px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
}
2024-10-17 10:47:01 +00:00
/* Stylizacja nagłówków */
h1, h2, h3 {
text-align: center;
2024-10-16 10:42:08 +00:00
}
2024-10-17 10:47:01 +00:00
/* Dodatkowe style dla układu */
body {
font-family: Arial, sans-serif;
margin: 20px;
2024-10-17 12:39:47 +00:00
background-color: #fafafa;
2024-10-17 10:47:01 +00:00
}
2024-10-16 10:42:08 +00:00
2024-10-17 12:39:47 +00:00
/* Stylizacja stopki */
footer.footer {
width: 100%;
padding: 20px 0;
background-color: #fafafa;
2024-10-17 10:47:01 +00:00
color: #555;
}
2024-10-17 12:39:47 +00:00
.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;
2024-10-18 11:35:03 +00:00
2024-10-17 12:39:47 +00:00
}
/* 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;
}
2024-10-18 10:15:36 +00:00
.sticky {
position: sticky;
top: 0;
background-color: white; /* lub inny kolor, aby tło było widoczne */
z-index: 1000; /* zapewnia, że będzie na wierzchu */
border-bottom: 1px solid #ccc; /* opcjonalnie, aby oddzielić od treści */
}
2024-10-18 11:35:03 +00:00
.dark-background {
background-color: #2e2e2e; /* Ciemnoszare tło */
2024-10-18 12:06:44 +00:00
color: black; /* Jasny kolor tekstu dla lepszej czytelności */
2024-10-18 11:35:03 +00:00
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.lead {
background-color: #555;
}