blob: 982204e21d99bb9a23b52c7b6eefa634fd8ffefb (
plain) (
tree)
|
|
@import '_bootstrap-variables';
@import '_variables';
@import '_mixins';
@import '_miniature';
.videos {
$column-width: #{$video-thumbnail-width - 25px};
display: grid;
column-gap: calc(10px + .2%);
grid-template-columns: repeat(
auto-fill,
minmax(
var(--miniature-min-width, #{$column-width}),
1fr
)
);
@media screen and (min-width: #{breakpoint(fhd)}) {
--miniature-min-width: #{$column-width + 100px};
}
}
.videos-header {
display: flex;
justify-content: space-between;
align-items: baseline;
.title-page.title-page-single {
display: flex;
my-feed {
display: inline-block;
top: 1px;
margin-left: 5px;
width: max-content;
opacity: 0;
transition: ease-in .2s opacity;
}
&:hover my-feed {
opacity: 1;
}
}
.action-block {
a button {
@include peertube-button;
@include grey-button;
@include button-with-icon(18px, 3px, -1px);
}
}
.moderation-block {
display: flex;
flex-grow: 1;
justify-content: flex-end;
align-items: center;
}
}
.date-title {
font-size: 16px;
font-weight: $font-semibold;
margin-bottom: 20px;
margin-top: -10px;
// make the element span a full grid row within .videos grid
grid-column: 1 / -1;
&:not(:first-child) {
margin-top: .5rem;
padding-top: 20px;
border-top: 1px solid $separator-border-color;
}
}
:host-context(.main-col:not(.expanded)) .margin-content {
@include adapt-margin-content-width($fluid: true);
}
@media screen and (max-width: $mobile-view) {
.videos-header {
flex-direction: column;
align-items: center;
height: auto;
.title-page {
margin-bottom: 10px;
margin-right: 0px;
}
}
}
|