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;
87 .video-info-account, .video-info-timestamp {
88 color: pvar(--greyForegroundColor);
95 font-weight: $font-semibold;
96 display: inline-block;
101 .more, my-edit-button {
102 justify-self: flex-end;
116 @include apply-svg-color(pvar(--greyForegroundColor));
126 @include dropdown-with-icon-item;
140 @include peertube-button;
141 @include orange-button;
149 @mixin more-dropdown-control {
155 display: inline-flex;
161 @mixin edit-button-control {
169 display: inline-flex;
175 my-edit-button + .more {
181 @mixin edit-button-in-mobile-view {
184 ::ng-deep .action-button-edit {
195 @media screen and (min-width: $small-view) {
196 :host-context(.expanded) {
197 @include more-dropdown-control();
201 @media screen and (max-width: $small-view) {
202 :host-context(.expanded) {
203 @include edit-button-control();
207 @media screen and (max-width: $mobile-view) {
208 :host-context(.expanded) {
209 @include edit-button-in-mobile-view();
213 @media screen and (min-width: #{$small-view + $menu-width}) {
214 :host-context(.main-col:not(.expanded)) {
215 @include more-dropdown-control();
219 @media screen and (max-width: #{$small-view + $menu-width}) {
220 :host-context(.main-col:not(.expanded)) {
221 @include edit-button-control();
225 @media screen and (max-width: #{$mobile-view + $menu-width}) {
226 :host-context(.main-col:not(.expanded)) {
227 @include edit-button-in-mobile-view();