projekt/css/style.css

267 lines
4.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;
}
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;
2024-10-20 10:57:19 +00:00
background-color: #101820; /* Kolor tła nagłówka */
padding: px; /* Padding wewnętrzny dla lepszego wyglądu */
2024-10-19 15:58:47 +00:00
color: whitesmoke; /* Kolor tekstu */
2024-10-20 10:57:19 +00:00
padding-bottom: 10px;
padding-top: 10px;
border-radius: 2px;
2024-10-18 12:03:11 +00:00
}
.header-title {
margin-left: auto; /* Przesuwa tytuł na prawo */
user-select: none;
2024-10-20 10:57:19 +00:00
margin-right: 25px;
margin-top: 0px;
margin-bottom: 0px;
2024-10-18 12:03:11 +00:00
}
2024-10-17 10:47:01 +00:00
/* Style dla przycisków kategorii */
.category-buttons {
margin: 10px 0;
text-align: center;
2024-10-20 10:57:19 +00:00
background-color: s;
2024-10-18 11:35:03 +00:00
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;
user-select: none;
2024-10-20 10:57:19 +00:00
font-weight: bold;
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
.category-buttons button.active {
2024-10-20 10:57:19 +00:00
background-color: #FEE715;
color: black;
font-weight: bold;
border: 1px solid #FEE715;
2024-10-17 10:47:01 +00:00
}
2024-10-20 10:57:19 +00:00
2024-10-18 12:03:11 +00:00
.up-button button {
2024-10-20 10:57:19 +00:00
background: #FEE715;
color: black;
2024-10-18 12:03:11 +00:00
padding: 10px 15px;
font-size: 16px;
2024-10-20 10:57:19 +00:00
font-weight: bold;
2024-10-18 12:03:11 +00:00
cursor: pointer;
2024-10-20 10:57:19 +00:00
border-radius: 4px;
text-align: left;
user-select: none;
margin-left: 15px;
display: inline-block;
outline: 0;
border: 0;
box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 0px 0px, rgba(0, 0, 0, 0.2) 0px -1px 0px 0px inset;
}
2024-10-20 10:57:19 +00:00
.up-button button:hover {
opacity: 0.9;
transition: 0.4s;
2024-10-18 12:03:11 +00:00
}
.up-button button:active {
opacity: 0.4;
}
2024-10-20 10:57:19 +00:00
.button1 button {
background-color: #FEE715;
color: color;
border: none;
margin: 5px;
padding: 10px 15px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
border-radius: 4px;
margin-left: 12.5px;
user-select: none;
margin-top: 15px;
margin-left: 15px;
}
.button1 button:active {
opacity: 0.7;
}
.tag {
2024-10-18 12:03:11 +00:00
color: white;
user-select: none;
2024-10-18 12:03:11 +00:00
}
2024-10-18 12:03:11 +00:00
.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-class {
margin: 10px 0; /* Dostosuj odstęp między elementami */
}
2024-10-20 10:57:19 +00:00
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-18 11:35:03 +00:00
background-color: whitesmoke;
user-select: none;
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;
user-select: none;
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-19 15:58:47 +00:00
border: 1px solid lightgray;
2024-10-17 12:39:47 +00:00
border-radius: 4px;
user-select: none;
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;
2024-10-19 15:58:47 +00:00
border: 1px solid lightgray;
2024-10-18 08:30:42 +00:00
border-radius: 4px;
}
2024-10-17 10:47:01 +00:00
/* Stylizacja nagłówków */
h1, h2, h3 {
text-align: center;
color: whitesmoke;
user-select: none;
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-19 15:58:47 +00:00
background-color: gray;
2024-10-20 10:57:19 +00:00
user-select: none;
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%;
2024-10-20 10:57:19 +00:00
padding: 5px 0;
background-color: #101820;
color: white;
2024-10-17 10:47:01 +00:00
}
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;
2024-10-19 15:58:47 +00:00
border-top: 2px solid black;
2024-10-17 12:39:47 +00:00
margin: 20px 0;
width: 100%;
}
/* Dodatkowe style dla estetyki */
.footer-left p,
.footer-right p {
margin: 5px 0;
2024-10-20 10:57:19 +00:00
font-size: 10px;
font-weight: bold;
color: whitesmoke;
background-color: #101820;
2024-10-18 11:35:03 +00:00
2024-10-17 12:39:47 +00:00
}
/* 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;
2024-10-19 15:58:47 +00:00
}