aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2021-10-16 14:30:54 -0400
committerNick Coutsos <[email protected]>2021-10-16 14:30:54 -0400
commitcbc5b6737ad6c439b228eb4beebe1fbcceb7681e (patch)
tree8b3be0b544175bcbe86358b9f135ae45d707522d
parent814d6d95ce45dbc17dfd69405a5619bd87618034 (diff)
downloadkeymap-editor-cbc5b6737ad6c439b228eb4beebe1fbcceb7681e.tar.gz
keymap-editor-cbc5b6737ad6c439b228eb4beebe1fbcceb7681e.zip
Tweak button styles
-rw-r--r--application/components/app.vue17
-rw-r--r--application/components/keymap.vue1
2 files changed, 17 insertions, 1 deletions
diff --git a/application/components/app.vue b/application/components/app.vue
index 9661238..eb0d942 100644
--- a/application/components/app.vue
+++ b/application/components/app.vue
@@ -137,4 +137,19 @@ export default {
/>
</div>
</loader>
-</template> \ No newline at end of file
+</template>
+
+<style scoped>
+button {
+ cursor: pointer;
+ background-color: var(--hover-selection);
+ color: white;
+
+ font-size: 16px;
+ border: none;
+ border-radius: 5px;
+ padding: 5px;
+ margin: 2px;
+}
+
+</style>
diff --git a/application/components/keymap.vue b/application/components/keymap.vue
index 4c72c9d..e6ec245 100644
--- a/application/components/keymap.vue
+++ b/application/components/keymap.vue
@@ -130,6 +130,7 @@ export default {
<template>
<layer-selector
+ v-if="isReady()"
:layers="keymap.layer_names"
:activeLayer="activeLayer"
@select="activeLayer = $event"