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: pvar(--mainBackgroundColor);
29 border-bottom: 1px solid $separator-border-color;
32 background-color: rgba(0, 0, 0, 0.05);
39 @media not all and (hover: hover) and (pointer: fine) {
41 opacity: 1 !important;
46 background-color: rgba(0, 0, 0, 0.02);
50 @include disable-default-a-behaviour;
52 color: pvar(--mainForegroundColor);
59 font-weight: $font-semibold;
61 color: pvar(--greyForegroundColor);
65 @include apply-svg-color(pvar(--greyForegroundColor));
75 flex-direction: column;
76 align-self: flex-start;
83 .video-info-account, .video-info-timestamp {
84 color: pvar(--greyForegroundColor);
91 font-weight: $font-semibold;
92 display: inline-block;
97 .more, my-edit-button {
98 justify-self: flex-end;
112 @include apply-svg-color(pvar(--greyForegroundColor));
122 @include dropdown-with-icon-item;
136 @include peertube-button;
137 @include orange-button;
145 @mixin more-dropdown-control {
151 display: inline-flex;
157 @mixin edit-button-control {
165 display: inline-flex;
170 my-edit-button + .more {
176 @mixin edit-button-in-mobile-view {
179 ::ng-deep .action-button-edit {
190 @media screen and (min-width: $small-view) {
191 :host-context(.expanded) {
192 @include more-dropdown-control();
196 @media screen and (max-width: $small-view) {
197 :host-context(.expanded) {
198 @include edit-button-control();
202 @media screen and (max-width: $mobile-view) {
203 :host-context(.expanded) {
204 @include edit-button-in-mobile-view();
208 @media screen and (min-width: #{$small-view + $menu-width}) {
209 :host-context(.main-col:not(.expanded)) {
210 @include more-dropdown-control();
214 @media screen and (max-width: #{$small-view + $menu-width}) {
215 :host-context(.main-col:not(.expanded)) {
216 @include edit-button-control();
220 @media screen and (max-width: #{$mobile-view + $menu-width}) {
221 :host-context(.main-col:not(.expanded)) {
222 @include edit-button-in-mobile-view();