X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.component.scss;h=7ebdfc0c4b7fffc8726e54f8579069a46f55d803;hb=cbca00dfc14fe47260e8d081f4ed0bec7c66fd09;hp=e742e1329518058b287e59713ae22587c112022c;hpb=b2731bff2834fb6aacf166cf435030bf96eb12f3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index e742e1329..7ebdfc0c4 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -27,7 +27,8 @@ line-height: 300px; margin-top: 50px; text-align: center; - font-weight: bold; + font-weight: $font-semibold; + font-size: 15px; } .video-bottom { @@ -51,6 +52,12 @@ .video-info-actions { min-width: 215px; + display: flex; + justify-content: end; + + .action-button:not(:first-child), .action-more { + margin-left: 10px; + } .action-button { @include peertube-button; @@ -85,12 +92,16 @@ } } - &.activated { - @include orange-button; + &.action-button-like.activated { + background-color: #39CC0B; .icon-like { background-image: url('../../../assets/images/video/like-white.svg'); } + } + + &.action-button-dislike.activated { + background-color: #FF0000; .icon-dislike { background-image: url('../../../assets/images/video/dislike-white.svg'); @@ -101,27 +112,31 @@ .action-more { display: inline-block; - .dropdown-menu .icon { - display: inline-block; - background-repeat: no-repeat; - background-size: contain; - width: 21px; - height: 21px; - vertical-align: middle; - margin-right: 5px; - position: relative; - top: -1px; + .dropdown-menu .dropdown-item { + padding: 6px 24px; - &.icon-download { - background-image: url('../../../assets/images/video/download-grey.svg'); - } + .icon { + @include icon(24px); - &.icon-alert { - background-image: url('../../../assets/images/video/alert.svg'); - } + margin-right: 10px; + position: relative; + top: -1px; + + &.icon-download { + background-image: url('../../../assets/images/video/download-black.svg'); + } - &.icon-blacklist { - background-image: url('../../../assets/images/video/eye-closed.svg'); + &.icon-edit { + background-image: url('../../../assets/images/global/edit-black.svg'); + } + + &.icon-alert { + background-image: url('../../../assets/images/video/alert.svg'); + } + + &.icon-blacklist { + background-image: url('../../../assets/images/video/blacklist.svg'); + } } } } @@ -161,9 +176,9 @@ font-size: 13px; img { - width: 16px; - height: 16px; - margin-left: 3px; + @include avatar(18px); + + margin-left: 7px; } } @@ -222,7 +237,7 @@ } -@media screen and (max-width: 1200px) { +@media screen and (max-width: 1300px) { .other-videos { display: none; }