X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fhotkeys%2Fhotkeys.component.scss;h=a848d98cd85111ad92802ae1658d08873d63d2ee;hb=8cbc40b2fe9d36ef0505b9441276ca561342e9e9;hp=a970260c9294546bc8a4f6e5498e3e393b187614;hpb=610d0be13b3d01f653ef269271dd667a57c85ef2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/hotkeys/hotkeys.component.scss b/client/src/app/core/hotkeys/hotkeys.component.scss index a970260c9..a848d98cd 100644 --- a/client/src/app/core/hotkeys/hotkeys.component.scss +++ b/client/src/app/core/hotkeys/hotkeys.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .cfp-hotkeys-container { display: flex !important; @@ -12,16 +12,13 @@ left: 0; color: #333; font-size: 1em; - background-color: rgba(255,255,255,0.9); + background-color: rgba(255, 255, 255, 0.9); } .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; } @@ -54,24 +51,25 @@ .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; 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; }