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
27 background-color: var(--mainBackgroundColor);
29 border-bottom: 1px solid $separator-border-color;
32 background-color: rgba(0, 0, 0, 0.05);
40 background-color: rgba(0, 0, 0, 0.02);
44 @include disable-default-a-behaviour;
46 color: var(--mainForegroundColor);
53 font-weight: $font-semibold;
55 color: $grey-foreground-color;
59 @include apply-svg-color($grey-foreground-color);
69 flex-direction: column;
70 align-self: flex-start;
77 .video-info-account, .video-info-timestamp {
78 color: $grey-foreground-color;
85 font-weight: $font-semibold;
86 display: inline-block;
91 .more, my-edit-button {
92 justify-self: flex-end;
106 @include apply-svg-color($grey-foreground-color);
116 @include dropdown-with-icon-item;
130 @include peertube-button;
131 @include orange-button;
139 @mixin more-dropdown-control {
145 display: inline-flex;
151 @mixin edit-button-control {
159 display: inline-flex;
164 my-edit-button + .more {
170 @mixin edit-button-in-mobile-view {
173 ::ng-deep .action-button-edit {
184 @media screen and (min-width: $small-view) {
185 :host-context(.expanded) {
186 @include more-dropdown-control();
190 @media screen and (max-width: $small-view) {
191 :host-context(.expanded) {
192 @include edit-button-control();
196 @media screen and (max-width: $mobile-view) {
197 :host-context(.expanded) {
198 @include edit-button-in-mobile-view();
202 @media screen and (min-width: #{$small-view + $menu-width}) {
203 :host-context(.main-col:not(.expanded)) {
204 @include more-dropdown-control();
208 @media screen and (max-width: #{$small-view + $menu-width}) {
209 :host-context(.main-col:not(.expanded)) {
210 @include edit-button-control();
214 @media screen and (max-width: #{$mobile-view + $menu-width}) {
215 :host-context(.main-col:not(.expanded)) {
216 @include edit-button-in-mobile-view();