5 $thumbnail-width: 130px;
6 $thumbnail-height: 72px;
9 @include thumbnail-size-component($thumbnail-width, $thumbnail-height);
13 width: $thumbnail-width;
14 height: $thumbnail-height;
15 background-color: #ececec;
20 display: flex; // Avoids an issue with line-height that adds space below the element
26 grid-template-columns: 1fr auto;
27 background-color: pvar(--mainBackgroundColor);
29 border-bottom: 1px solid $separator-border-color;
36 background-color: rgba(0, 0, 0, 0.05);
43 @media not all and (hover: hover) and (pointer: fine) {
45 opacity: 1 !important;
50 background-color: rgba(0, 0, 0, 0.02);
54 @include disable-default-a-behaviour;
56 color: pvar(--mainForegroundColor);
63 font-weight: $font-semibold;
65 color: pvar(--greyForegroundColor);
69 @include apply-svg-color(pvar(--greyForegroundColor));
79 flex-direction: column;
80 align-self: flex-start;
88 .video-info-timestamp {
89 color: pvar(--greyForegroundColor);
98 font-weight: $font-semibold;
99 display: inline-block;
104 justify-self: flex-end;
118 @include apply-svg-color(pvar(--greyForegroundColor));
132 @include dropdown-with-icon-item;
148 my-peertube-checkbox {
153 @include peertube-button;
154 @include orange-button;
161 @mixin more-dropdown-control {
167 display: inline-flex;
173 @mixin edit-button-control {
181 display: inline-flex;
187 my-edit-button + .more {
193 @mixin edit-button-in-mobile-view {
196 ::ng-deep .action-button-edit {
207 @media screen and (min-width: $small-view) {
208 :host-context(.expanded) {
209 @include more-dropdown-control();
213 @media screen and (max-width: $small-view) {
214 :host-context(.expanded) {
215 @include edit-button-control();
219 @media screen and (max-width: $mobile-view) {
220 :host-context(.expanded) {
221 @include edit-button-in-mobile-view();
225 @media screen and (min-width: #{$small-view + $menu-width}) {
226 :host-context(.main-col:not(.expanded)) {
227 @include more-dropdown-control();
231 @media screen and (max-width: #{$small-view + $menu-width}) {
232 :host-context(.main-col:not(.expanded)) {
233 @include edit-button-control();
237 @media screen and (max-width: #{$mobile-view + $menu-width}) {
238 :host-context(.main-col:not(.expanded)) {
239 @include edit-button-in-mobile-view();