]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_miniature.scss
Cleanup menu footer links
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _miniature.scss
index e4ed88d31d261984663c519870dd496fa3135a5e..5e591cf455ba25bd17bd905b6ae87d19df11dea3 100644 (file)
@@ -45,7 +45,7 @@ $play-overlay-width: 18px;
     width: inherit;
     height: inherit;
     opacity: 0;
-    background-color: rgba(0, 0, 0, 0.7);
+    background-color: rgba(0, 0, 0, 0.3);
 
     &, .icon {
       transition: all $play-overlay-transition;
@@ -80,7 +80,8 @@ $play-overlay-width: 18px;
   }
 
   &.focus-visible {
-    box-shadow: 0 0 0 2px var(--mainColor);
+    box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest);
+    outline: none;
   }
 
   img {
@@ -140,9 +141,6 @@ $play-overlay-width: 18px;
 }
 
 @mixin miniature-rows {
-  max-height: 540px; // 2 rows max
-  overflow: hidden;
-
   &:first-child {
     padding-top: 30px;
 
@@ -208,6 +206,7 @@ $play-overlay-width: 18px;
     color: $grey-foreground-color;
     margin-bottom: 10px;
     font-weight: $font-semibold;
+    text-decoration: none;
   }
 
   @media screen and (max-width: $mobile-view) {
@@ -242,7 +241,7 @@ $play-overlay-width: 18px;
     width: $video-miniature-width * 2;
   }
 
-  @media screen and (max-width: 500px) {
+  @media screen and (max-width: $mobile-view) {
     width: auto;
     margin: 0 !important;