-@import '_variables';
-@import '_mixins';
-@import '_miniature';
+@use '_variables' as *;
+@use '_mixins' as *;
+@use '_miniature' as *;
$thumbnail-width: 130px;
$thumbnail-height: 72px;
my-video-thumbnail,
.fake-thumbnail {
+ @include margin-right(10px);
+
display: flex; // Avoids an issue with line-height that adds space below the element
- margin-right: 10px;
}
.video {
cursor: pointer;
.position {
+ @include margin-right(10px);
+
font-weight: $font-semibold;
- margin-right: 10px;
color: pvar(--greyForegroundColor);
min-width: 25px;
width: auto;
}
- .video-info-account, .video-info-timestamp {
+ .video-info-account,
+ .video-info-timestamp {
color: pvar(--greyForegroundColor);
}
}
}
.video-info-name {
+ @include ellipsis;
+
font-size: 18px;
font-weight: $font-semibold;
display: inline-block;
-
- @include ellipsis;
}
- .more, my-edit-button {
+ .more,
+ my-edit-button {
+ @include margin-left(auto);
+
justify-self: flex-end;
- margin-left: auto;
cursor: pointer;
min-width: 24px;
}
display: flex;
&::after {
- border: none;
+ border: 0;
}
}
+ }
+}
- .dropdown-item {
- @include dropdown-with-icon-item;
- }
+.dropdown-menu {
- .timestamp-options {
- padding-top: 0;
- padding-left: 35px;
- margin-bottom: 15px;
+ .dropdown-item {
+ @include dropdown-with-icon-item;
- > div {
- display: flex;
- align-items: center;
- }
+ cursor: pointer;
+ }
- input {
- @include peertube-button;
- @include orange-button;
+ .timestamp-options {
+ @include padding-left(35px);
- margin-top: 10px;
- }
+ padding-top: 0;
+ margin-bottom: 15px;
+
+ > div {
+ display: flex;
+ align-items: center;
+ margin-bottom: 5px;
+ }
+
+ my-peertube-checkbox {
+ @include margin-right(5px);
+ }
+
+ input {
+ @include peertube-button;
+ @include orange-button;
+
+ margin-top: 10px;
}
}
}