MVCPostall/Postall/wwwroot/css/videos.css
2025-03-04 19:06:01 -03:00

83 lines
1.4 KiB
CSS

/* Estilos para a página de vídeos */
.card {
transition: all 0.3s ease;
border: 1px solid rgba(0,0,0,.125);
}
.card:hover {
box-shadow: 0 5px 15px rgba(0,0,0,.1);
}
.card-header button.btn-link {
text-decoration: none;
color: #212529;
}
.card-header button.btn-link:hover {
color: #007bff;
}
.card-body img {
max-height: 120px;
object-fit: cover;
width: 100%;
}
.video-checkbox {
cursor: pointer;
width: 20px;
height: 20px;
}
.list-group-item {
transition: background-color 0.2s ease;
}
.list-group-item:hover {
background-color: rgba(0,123,255,.03);
}
.list-group-item img {
max-height: 100px;
object-fit: cover;
}
/* Animação para o colapso */
.collapse {
transition: all 0.3s ease;
}
/* Estilo para o botão de expansão do card */
.card-header button.btn-link {
transform: rotate(0deg);
transition: transform 0.3s ease;
}
.card-header button.btn-link[aria-expanded="true"] i {
transform: rotate(180deg);
}
/* Ajustes para responsividade */
@media (max-width: 768px) {
.col-md-6.mb-4 {
padding-left: 5px;
padding-right: 5px;
}
.card-body .row {
flex-direction: column;
}
.card-body .col-md-5,
.card-body .col-md-7 {
width: 100%;
max-width: 100%;
flex: 0 0 100%;
}
.card-body .col-md-5 {
margin-bottom: 15px;
}
}