200 lines
3.4 KiB
CSS
200 lines
3.4 KiB
CSS
/* Podstawowe style dla zakładek */
|
|
.tab {
|
|
display: none;
|
|
}
|
|
|
|
.tab.active {
|
|
display: block;
|
|
}
|
|
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 */
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.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 */
|
|
}
|
|
|
|
/* 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 {
|
|
text-align: center;
|
|
}
|
|
|
|
.select-role {
|
|
text-align: center;
|
|
}
|
|
|
|
.select-class select {
|
|
padding: 5px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.select-role 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;
|
|
}
|