projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to fix subscriptions inconsistencies
[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 dac178bdef848e9cdce1ec6bd660304f15fcefab..b63fd2989efcad94cdf57756c8ae6aaecac64e19 100644
(file)
--- a/
client/src/app/shared/video/video-miniature.component.scss
+++ b/
client/src/app/shared/video/video-miniature.component.scss
@@
-3,13
+3,13
@@
@import '_miniature';
$more-button-width: 41px;
@import '_miniature';
$more-button-width: 41px;
-$more-margin-right: 1
0
px;
+$more-margin-right: 1
5
px;
.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;
@@
-64,7
+64,6
@@
$more-margin-right: 10px;
.video-actions {
margin-top: 3px;
.video-actions {
margin-top: 3px;
- margin-right: $more-margin-right;
width: $more-button-width;
height: 30px;
width: $more-button-width;
height: 30px;
@@
-75,10
+74,14
@@
$more-margin-right: 10px;
::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root {
opacity: 1;
}
::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root {
opacity: 1;
}
- }
- &:hover .video-actions ::ng-deep .dropdown-root {
- opacity: 1;
+ ::ng-deep .more-icon {
+ opacity: .6;
+
+ &:hover {
+ opacity: 1;
+ }
+ }
}
@media screen and (max-width: $small-view) {
}
@media screen and (max-width: $small-view) {
@@
-97,11
+100,17
@@
$more-margin-right: 10px;
}
}
}
}
+ &:hover ::ng-deep .video-thumbnail .video-thumbnail-actions-overlay,
+ &:hover .video-bottom .video-actions ::ng-deep .dropdown-root {
+ opacity: 1;
+ }
+
&.display-as-row {
flex-direction: row;
margin-bottom: 0;
height: auto;
&.display-as-row {
flex-direction: row;
margin-bottom: 0;
height: auto;
- width: 100%;
+ display: flex;
+ flex-grow: 1;
my-video-thumbnail {
margin-right: 10px;
my-video-thumbnail {
margin-right: 10px;
@@
-109,8
+118,10
@@
$more-margin-right: 10px;
.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);