-@import '_variables';
-@import '_mixins';
-@import '_miniature';
+@use '_variables' as *;
+@use '_mixins' as *;
+@use '_miniature' as *;
$more-button-width: 40px;
width: calc(100% - #{$more-button-width});
}
-my-account-avatar,
-.avatar {
- margin: 10px 10px 0 0;
-
- img.channel {
- @include channel-avatar(40px);
- }
+my-actor-avatar {
+ @include margin(10px, 10px, 0, 0);
}
.video-miniature-created-at-views {
}
.video-info-blocked {
- color: red;
+ color: #ff0000;
.blocked-reason::before {
content: ' - ';
}
.video-info-nsfw {
- color: red;
+ color: #ff0000;
}
.video-actions {
}
}
-.video-miniature {
- &:hover ::ng-deep .video-thumbnail-actions-overlay,
- &:hover .video-actions ::ng-deep .dropdown-root {
+.video-miniature:hover {
+ ::ng-deep .video-thumbnail-actions-overlay,
+ .video-actions ::ng-deep .dropdown-root {
opacity: 1 !important;
}
}
.video-bottom {
display: flex;
width: 100%;
+ min-width: 1px;
}
.video-miniature-name {
.video-bottom {
display: flex;
+ min-width: 1px;
}
// We don't display avatar in row mode
- .avatar {
+ .channel-avatar {
display: none;
}
my-video-thumbnail {
+ @include margin-right(10px);
+
min-width: var(--rowThumbnailWidth);
max-width: var(--rowThumbnailWidth);
height: var(--rowThumbnailHeight);
- margin-right: 10px;
}
.video-miniature-name {