feat: merge keyboard-shortcuts.scss styles with component
This commit is contained in:
parent
9ca8857d89
commit
f74cf516d2
3 changed files with 16 additions and 14 deletions
|
@ -132,3 +132,19 @@ export default {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.keyboard-shortcuts-button {
|
||||||
|
position: fixed;
|
||||||
|
bottom: calc(1rem - 4px);
|
||||||
|
right: 1rem;
|
||||||
|
z-index: 4500; // The modal has a z-index of 4000
|
||||||
|
|
||||||
|
color: $grey-500;
|
||||||
|
transition: color $transition;
|
||||||
|
|
||||||
|
@media screen and (max-width: $tablet) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -12,6 +12,5 @@
|
||||||
@import "list-backgrounds";
|
@import "list-backgrounds";
|
||||||
@import "namespaces";
|
@import "namespaces";
|
||||||
@import "legal";
|
@import "legal";
|
||||||
@import "keyboard-shortcuts";
|
|
||||||
@import "notifications";
|
@import "notifications";
|
||||||
@import "quick-actions";
|
@import "quick-actions";
|
|
@ -1,13 +0,0 @@
|
||||||
.keyboard-shortcuts-button {
|
|
||||||
position: fixed;
|
|
||||||
bottom: calc(1rem - 4px);
|
|
||||||
right: 1rem;
|
|
||||||
z-index: 4500; // The modal has a z-index of 4000
|
|
||||||
|
|
||||||
color: $grey-500;
|
|
||||||
transition: color $transition;
|
|
||||||
|
|
||||||
@media screen and (max-width: $tablet) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue