]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_variables.scss
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _variables.scss
index c451febdc7a7c3074771320abf4e4e007d4c3d56..b9c82ea7708238431b086b5d2aec0904650822eb 100644 (file)
@@ -1,4 +1,5 @@
-@import '_bootstrap-variables';
+@use 'sass:math';
+@use '_bootstrap-variables';
 
 $small-view: 800px;
 $mobile-view: 500px;
@@ -52,12 +53,15 @@ $sub-menu-background-color: #F7F7F7;
 $sub-menu-height: 81px;
 
 $channel-background-color: #f6ede8;
+
+$banner-inverted-ratio: #{math.div(1, 6)};
+
 $max-channels-width: 1200px;
 
 $footer-height: 30px;
 $footer-margin: 30px;
 
-$separator-border-color: rgba(0, 0, 0, 0.10);
+$separator-border-color: rgba(0, 0, 0, 0.1);
 
 $video-miniature-margin-bottom: 15px;
 
@@ -87,7 +91,7 @@ $markdown-textarea-background-color: $grey-background-hover-color;
 $sub-menu-margin-bottom: 30px;
 $sub-menu-margin-bottom-small-view: 10px;
 
-$activated-action-button-color: black;
+$activated-action-button-color: #000;
 
 $focus-box-shadow-form: 0 0 0 .2rem;
 
@@ -144,7 +148,7 @@ $variables: (
   @if map-has-key($variables, $variable) {
     @return map-get($variables, $variable);
   } @else {
-    @error "ERROR: Variable #{$variable} does not exist";
+    @error 'ERROR: Variable #{$variable} does not exist';
   }
 }