EaglerArchive/archive_stylesheet.css

96 lines
1.5 KiB
CSS
Raw Normal View History

2024-04-28 13:20:50 -05:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2024-04-27 03:23:05 -05:00
.accordion {
width: 100%;
}
2024-04-28 13:20:50 -05:00
.chevron {
2024-04-27 10:26:54 -05:00
margin: 10px;
2024-04-28 13:20:50 -05:00
width: 25px;
transition: transform 0.5s ease;
}
.accordion-icon {
width: 50px;
margin-right: 10px;
}
.accordion-item {
background-color: #333;
border-radius: 10px;
margin: 10px 0;
2024-04-27 03:23:05 -05:00
}
.accordion-item input {
display: none;
}
.accordion-item label {
display: block;
padding: 10px;
cursor: pointer;
}
2024-04-28 13:20:50 -05:00
.accordion-content {
max-height: 0px;
2024-04-27 03:23:05 -05:00
overflow: hidden;
2024-04-28 13:20:50 -05:00
background-color: #555;
border-radius: 0 0 10px 10px;
transition: max-height 0.1s ease-out;
2024-04-27 03:23:05 -05:00
}
.accordion-item input:checked ~ .accordion-content {
2024-04-28 13:20:50 -05:00
max-height: calc(71px * 18); /* You can adjust this value depending on your content */
2024-04-27 10:26:54 -05:00
}
2024-04-28 13:20:50 -05:00
.accordion-item input:checked ~ label .chevron {
2024-04-27 10:26:54 -05:00
transform: rotate(90deg);
}
2024-04-28 13:20:50 -05:00
2024-04-27 10:26:54 -05:00
.accordion-title {
display: flex;
align-items: center;
}
2024-04-28 13:20:50 -05:00
.accordion-content p {
padding: 10px;
color: white;
}
.client-item {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid #555;
}
.client-item * {
display: flex;
align-items: center;
}
.client-item img {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #333;
}
.client-item-buttons {
margin-left: auto;
}
.client-item-buttons a {
margin: 0 5px;
padding: 10px;
text-decoration: none;
border-radius: 10px;
background-color: #333;
color: white;
cursor: pointer;
}