projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release/1.4.0' into develop
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video
/
video-miniature.component.scss
diff --git
a/client/src/app/shared/video/video-miniature.component.scss
b/client/src/app/shared/video/video-miniature.component.scss
index 6e173af997a66e4b5a66724e2c113d6f34c6389e..03e15afffe23c5085e9c4e74dff68fd3534d7b49 100644
(file)
--- a/
client/src/app/shared/video/video-miniature.component.scss
+++ b/
client/src/app/shared/video/video-miniature.component.scss
@@
-2,11
+2,14
@@
@import '_mixins';
@import '_miniature';
@import '_mixins';
@import '_miniature';
+$more-button-width: 41px;
+$more-margin-right: 10px;
+
.video-miniature {
width: $video-miniature-width;
display: inline-flex;
flex-direction: column;
.video-miniature {
width: $video-miniature-width;
display: inline-flex;
flex-direction: column;
- margin-bottom:
30px
;
+ margin-bottom:
$video-miniature-margin-bottom
;
height: 195px;
vertical-align: top;
height: 195px;
vertical-align: top;
@@
-14,7
+17,7
@@
display: flex;
.video-miniature-information {
display: flex;
.video-miniature-information {
- width:
200px
;
+ width:
$video-miniature-width - $more-button-width - $more-margin-right
;
line-height: normal;
.video-miniature-name {
line-height: normal;
.video-miniature-name {
@@
-61,18
+64,20
@@
.video-actions {
margin-top: 3px;
.video-actions {
margin-top: 3px;
- margin-right: 10px;
+ margin-right: $more-margin-right;
+ width: $more-button-width;
+ height: 30px;
-
/deep/
.dropdown-root:not(.show) {
+
::ng-deep
.dropdown-root:not(.show) {
opacity: 0;
}
opacity: 0;
}
-
/deep/
.playlist-dropdown.show + my-action-dropdown .dropdown-root {
+
::ng-deep
.playlist-dropdown.show + my-action-dropdown .dropdown-root {
opacity: 1;
}
}
opacity: 1;
}
}
- &:hover .video-actions
/deep/
.dropdown-root {
+ &:hover .video-actions
::ng-deep
.dropdown-root {
opacity: 1;
}
opacity: 1;
}
@@
-85,8
+90,8
@@
margin: 0;
top: -3px;
margin: 0;
top: -3px;
-
/deep/
.dropdown-root {
-
display: block
!important;
+
::ng-deep
.dropdown-root {
+
opacity: 1
!important;
}
}
}
}
}
}
@@
-104,8
+109,10
@@
.video-bottom {
.video-miniature-information {
.video-bottom {
.video-miniature-information {
- width: auto;
- min-width: 500px;
+ @media screen and (min-width: $small-view) {
+ width: auto;
+ min-width: 500px;
+ }
.video-miniature-name {
@include ellipsis-multiline(1.3em, 2);
.video-miniature-name {
@include ellipsis-multiline(1.3em, 2);