projekt/css/style.css

200 lines
3.4 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;
}
2024-10-18 12:03:11 +00:00
header {
display: flex;
justify-content: space-between;
align-items: right;
}
.header-box {
display: flex;
justify-content: space-between;
align-items: center;
background-color: cornflowerblue; /* Kolor tła nagłówka */
padding: 10px; /* Padding wewnętrzny dla lepszego wyglądu */
color: white; /* Kolor tekstu */
}
.up-button {
display: flex;
}
.header-title {
margin-left: auto; /* Przesuwa tytuł na prawo */
}
2024-10-17 10:47:01 +00:00
/* 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;
2024-10-17 12:39:47 +00:00
transition: background-color 0.3s, color 0.3s, border 0.3s;
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;
}
2024-10-18 12:03:11 +00:00
.up-button {
margin: 10px 0;
text-align: left;
}
.up-button 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;
}
.up-button button.active {
background-color: #4CAF50;
color: white;
border: 1px solid #4CAF50;
}
.container {
display: flex;
flex-direction: column; /* Elementy jeden pod drugim */
align-items: flex-start; /* Ustawia elementy po lewej stronie */
margin-left: 20px; /* Możesz dostosować margines według potrzeb */
}
.select-role,
.select-class {
margin: 10px 0; /* Dostosuj odstęp między elementami */
}
2024-10-17 10:47:01 +00:00
/* 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-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-17 10:47:01 +00:00
border: 1px solid #ddd;
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 {
background-color: #f2f2f2;
}
2024-10-17 10:47:01 +00:00
tr:nth-child(even) {
background-color: #f9f9f9;
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;
}
/* 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;
}