From f179c7683f595ded42b542fbafd6c134d9c04ef4 Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Sun, 9 Jun 2019 22:18:15 +0200 Subject: [PATCH] add support to load keymaps from url (#403) * add support to load keymaps from url * adding modal * review * CSS style the modal box (#1) - remove min-height from .input-url-modal to not waste space - apply full border declaration to .input-url-modal - apply padding to .input-url-modal - apply CSS rules to .input-url-modal's child elements - makes the modal's appearance more consistent with main UI - swap positions of Load and Cancel buttons * css fix --- public/style.css | 1 + src/components/ControllerBottom.vue | 103 ++++++++++++++++++++++++++-- src/i18n/en/index.js | 3 + src/main.js | 2 + 4 files changed, 103 insertions(+), 6 deletions(-) diff --git a/public/style.css b/public/style.css index 8894cb334a38..a80ec96aeb75 100644 --- a/public/style.css +++ b/public/style.css @@ -584,6 +584,7 @@ a img { #source, #export, #import, +#import-url, #settings, #printkeymaps, #testkeys, diff --git a/src/components/ControllerBottom.vue b/src/components/ControllerBottom.vue index cc3f86fc6ec7..d651d8e8d932 100644 --- a/src/components/ControllerBottom.vue +++ b/src/components/ControllerBottom.vue @@ -1,5 +1,24 @@