From 6f4044d812c0b0ce43c914e9e7be38fbc3dd7ea3 Mon Sep 17 00:00:00 2001 From: Matteias Collet Date: Tue, 22 Feb 2022 03:40:14 +0000 Subject: [PATCH] allow specifying custom gecko codes --- site/.vuepress/components/ButtonComponent.vue | 24 ++- site/.vuepress/components/CodeList.vue | 155 ++++++++++++++-- site/.vuepress/components/CustomCodeModal.vue | 166 ++++++++++++++++++ site/.vuepress/components/Generator.vue | 1 + site/.vuepress/data/codeCategories.json | 5 + site/.vuepress/i18n/de-CH.json | 19 +- site/.vuepress/i18n/en-US.json | 19 +- site/.vuepress/styles/index.styl | 4 + 8 files changed, 376 insertions(+), 17 deletions(-) create mode 100644 site/.vuepress/components/CustomCodeModal.vue diff --git a/site/.vuepress/components/ButtonComponent.vue b/site/.vuepress/components/ButtonComponent.vue index f5ef417..53b9dc9 100644 --- a/site/.vuepress/components/ButtonComponent.vue +++ b/site/.vuepress/components/ButtonComponent.vue @@ -1,16 +1,32 @@ @@ -28,6 +44,10 @@ export default { cursor: not-allowed; } +.small { + padding: 3px 7px; +} + button { border: none; outline: none; diff --git a/site/.vuepress/components/CodeList.vue b/site/.vuepress/components/CodeList.vue index 47409e7..0541015 100644 --- a/site/.vuepress/components/CodeList.vue +++ b/site/.vuepress/components/CodeList.vue @@ -1,5 +1,13 @@