aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdCommand.vue
diff options
context:
space:
mode:
authorpacien2021-07-04 17:35:17 +0200
committerpacien2021-07-04 17:35:17 +0200
commitd48a9eb9a75d8e55f78964e884bb94efd23fcd9b (patch)
tree6058cc246b6546ed57b3ac7821a6ae775caf1fd5 /viewer/src/components/LdCommand.vue
parent34fc1501f74f29d29737164e47977b7412c84ceb (diff)
parentdfa1c6e2f2977c32f75c1d93d9e7eb44fbed28c0 (diff)
downloadldgallery-d48a9eb9a75d8e55f78964e884bb94efd23fcd9b.tar.gz
Merge branch 'oz-css-modules' into develop
Reviewed-by: pacien <pacien.trangirard@pacien.net> GitHub: closes #306
Diffstat (limited to 'viewer/src/components/LdCommand.vue')
-rw-r--r--viewer/src/components/LdCommand.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 7ffa670..19174ad 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -19,14 +19,14 @@
19--> 19-->
20 20
21<template> 21<template>
22 <div class="flex command-btns"> 22 <div class="flex" :class="$style.commandBtns">
23 <a class="link" :title="$t('command.search')" @click="$uiStore.toggleFullWidth()"> 23 <a class="link" :title="$t('command.search')" @click="$uiStore.toggleFullWidth()">
24 <fa-icon :icon="commandToggleSearchPanelIcon" size="lg" /> 24 <fa-icon :icon="commandToggleSearchPanelIcon" size="lg" />
25 </a> 25 </a>
26 <ld-command-sort /> 26 <ld-command-sort />
27 <a 27 <a
28 :class="{ disabled: isEntryPoint() }" 28 class="link"
29 class="link command-secondary" 29 :class="{ disabled: isEntryPoint(), [$style.commandSecondary]: true }"
30 :title="$t('command.back')" 30 :title="$t('command.back')"
31 @click="isEntryPoint() || $router.back()" 31 @click="isEntryPoint() || $router.back()"
32 > 32 >
@@ -68,11 +68,11 @@ export default class LdCommand extends Vue {
68} 68}
69</script> 69</script>
70 70
71<style lang="scss"> 71<style lang="scss" module>
72@import "~@/assets/scss/_buefy_variables.scss"; 72@import "~@/assets/scss/_buefy_variables.scss";
73@import "~@/assets/scss/theme.scss"; 73@import "~@/assets/scss/theme.scss";
74 74
75.command-btns { 75.commandBtns {
76 background-color: $command-buttons-bgcolor; 76 background-color: $command-buttons-bgcolor;
77 justify-content: space-around; 77 justify-content: space-around;
78 vertical-align: middle; 78 vertical-align: middle;
@@ -90,7 +90,7 @@ export default class LdCommand extends Vue {
90 @media only screen and (max-width: $tablet) { 90 @media only screen and (max-width: $tablet) {
91 flex: 0 1; 91 flex: 0 1;
92 92
93 > .command-secondary { 93 > .commandSecondary {
94 display: none; 94 display: none;
95 } 95 }
96 } 96 }