]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
miniature duration visibility and overlay background opacity
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index abbc137b2b25aa175a9e7ae91b48235f87891920..d9095e0bdf7706ce1ee025389fbe0e6b8d58119b 100644 (file)
@@ -99,7 +99,7 @@
 
 @mixin peertube-input-group($width) {
   width: $width;
-  height: $button-height;
+  min-height: $button-height;
   padding-top: 0;
   padding-bottom: 0;
 
   & + span {
     position: relative;
     width: 18px;
+    min-width: 18px;
     height: 18px;
-    border: $border-width solid var(--mainForegroundColor);
+    border: $border-width solid $fg-color;
     border-radius: 3px;
     vertical-align: middle;
     cursor: pointer;
       height: 12px;
       opacity: 0;
       transform: rotate(45deg) scale(0);
-      border-right: 2px solid var(--mainBackgroundColor);
-      border-bottom: 2px solid var(--mainBackgroundColor);
+      border-right: 2px solid $bg-color;
+      border-bottom: 2px solid $bg-color;
     }
   }
 
   &:checked + span {
     border-color: transparent;
-    background: var(--mainColor);
+    background: $orange-color;
     animation: jelly 0.6s ease;
 
     &:after {
   border-radius: 50%;
   width: $size;
   height: $size;
+  min-width: $size;
 }
 
 @mixin chevron ($size, $border-width) {