]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/hotkeys/hotkeys.component.scss
Add redis version note
[github/Chocobozzz/PeerTube.git] / client / src / app / core / hotkeys / hotkeys.component.scss
index 02c8c59aa7a34c3786c0141a487c65bf746479cb..da23b1f482d67b0ae159421fa2cc460ea4c15d84 100644 (file)
@@ -1,4 +1,5 @@
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 .cfp-hotkeys-container {
   display: flex !important;
   height: 100%;
   top: 0;
   left: 0;
-  color: #333;
+  color: pvar(--mainForegroundColor);
   font-size: 1em;
-  background-color: rgba(255,255,255,0.9);
+  background-color: pvar(--mainBackgroundColor);
 }
 
 .cfp-hotkeys-container.fade {
   z-index: -1024;
   visibility: hidden;
   opacity: 0;
-  -webkit-transition: opacity 0.15s linear;
-  -moz-transition: opacity 0.15s linear;
-  -o-transition: opacity 0.15s linear;
   transition: opacity 0.15s linear;
 }
 
@@ -43,7 +41,7 @@
 
 .cfp-hotkeys table {
   margin: auto;
-  color: #333;
+  color: pvar(--mainForegroundColor);
 }
 
 .cfp-content {
 
 .cfp-hotkeys-keys {
   padding: 5px;
-  text-align: right;
+  text-align: end;
 }
 
 .cfp-hotkeys-key {
+  @include margin-right(5px);
+
   display: inline-block;
-  color: #fff;
-  background-color: #333;
-  border: 1px solid #333;
+  color: pvar(--mainBackgroundColor);
+  background-color: pvar(--mainForegroundColor);
+  border: 1px solid pvar(--mainForegroundColor);
   border-radius: 5px;
   text-align: center;
-  margin-right: 5px;
   box-shadow: inset 0 1px 0 #666, 0 1px 0 #bbb;
   padding: 5px 9px;
   font-size: 1em;
 }
 
 .cfp-hotkeys-text {
-  padding-left: 10px;
+  @include padding-left(10px);
   font-size: 1em;
 }
 
@@ -93,7 +92,7 @@
   cursor: pointer;
 }
 
-@media all and (max-width: 500px) {
+@media all and (max-width: $mobile-view) {
   .cfp-hotkeys {
     font-size: 0.8em;
   }