From 7e022c972d14f1c6904a7f20b6abcd603ace73f7 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Fri, 30 Apr 2021 19:35:34 +0100 Subject: [PATCH] Add correct css classes to transit base64 decode/encode checkboxes. --- src/pages/Transit/TransitDecrypt.js | 1 + src/pages/Transit/TransitEncrypt.js | 1 + src/scss/uikit.scss | 12 +++++------- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/Transit/TransitDecrypt.js b/src/pages/Transit/TransitDecrypt.js index d6decb5..f9f59e9 100644 --- a/src/pages/Transit/TransitDecrypt.js +++ b/src/pages/Transit/TransitDecrypt.js @@ -42,6 +42,7 @@ export class TransitDecryptPage extends Page { class: ["uk-form-controls", "uk-form-controls-text"], children: makeElement({ tag: "input", + class: "uk-checkbox", attributes: { type: "checkbox", name: "decodeBase64Checkbox", diff --git a/src/pages/Transit/TransitEncrypt.js b/src/pages/Transit/TransitEncrypt.js index 4d7e1d7..1edf957 100644 --- a/src/pages/Transit/TransitEncrypt.js +++ b/src/pages/Transit/TransitEncrypt.js @@ -42,6 +42,7 @@ export class TransitEncryptPage extends Page { class: ["uk-form-controls", "uk-form-controls-text"], children: makeElement({ tag: "input", + class: "uk-checkbox", attributes: { type: "checkbox", name: "base64Checkbox", diff --git a/src/scss/uikit.scss b/src/scss/uikit.scss index 7044ac9..8db0fe9 100644 --- a/src/scss/uikit.scss +++ b/src/scss/uikit.scss @@ -5,25 +5,22 @@ $global-muted-color: #e5e9f0; $global-link-color: #5e81ac; $global-link-hover-color: #88c0d0; -$global-inverse-color: #fff; - $global-background: #2e3440; - $global-muted-background: #3b4252; -$global-primary-background: #434c5e; +$global-primary-background: #5e81ac; $global-secondary-background: #4c566a; + $global-success-background: #a3be8c; $global-warning-background: #d08770; $global-danger-background: #bf616a; $button-primary-background: #5e81ac; $progress-bar-background: #5e81ac; +$form-radio-background: $global-secondary-background; -$form-focus-background: $global-secondary-background; -$form-select-option-color: $global-color; -// Keep these in same order as https://github.com/uikit/uikit/blob/develop/src/less/components/_import.less +// Keep these in same order as https://github.com/uikit/uikit/blob/develop/src/scss/components/_import.scss @import "uikit/src/scss/variables.scss"; @import "uikit/src/scss/mixins.scss"; @import "uikit/src/scss/components/base.scss"; @@ -33,6 +30,7 @@ $form-select-option-color: $global-color; @import "uikit/src/scss/components/heading.scss"; @import "uikit/src/scss/components/list.scss"; @import "uikit/src/scss/components/icon.scss"; +@import "uikit/src/scss/components/form-range.scss"; @import "uikit/src/scss/components/form.scss"; @import "uikit/src/scss/components/button.scss"; @import "uikit/src/scss/components/progress.scss";