51 lines
824 B
CSS

.container_table {
width: 600px;
border: 1px solid #ccc;
border-radius: 8px;
margin: 10px;
padding: 10px;
background: white;
}
.header_table {
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
padding: 10px;
background: #f0f0f0;
border-radius: 8px;
}
.content_table {
max-height: 200px;
overflow-y: auto;
display: none;
margin-top: 10px;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 8px;
border-bottom: 1px solid #ddd;
}
tr:hover {
background-color: #f1f1f1;
cursor: pointer;
}
.icon {
font-size: 20px;
transition: transform 0.3s;
margin-left: 10px;
}
.expanded .icon {
transform: rotate(180deg);
}