From 8e97e8d4f200c8697121fdb3eedb93bdbaaed230 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Thu, 30 Apr 2020 17:01:21 +0100 Subject: [PATCH] Move is-changed to control --- src/nginxconfig/scss/style.scss | 42 +++++++++---------- .../templates/domain_sections/https.vue | 30 ++++++------- .../templates/domain_sections/php.vue | 20 ++++----- .../templates/domain_sections/python.vue | 10 ++--- .../templates/domain_sections/server.vue | 32 +++++++------- 5 files changed, 68 insertions(+), 66 deletions(-) diff --git a/src/nginxconfig/scss/style.scss b/src/nginxconfig/scss/style.scss index f9b5d06..ac91eb2 100644 --- a/src/nginxconfig/scss/style.scss +++ b/src/nginxconfig/scss/style.scss @@ -96,6 +96,27 @@ $highlight: #f2c94c; } } + .is-changed { + input { + &, + &:focus { + background: rgba($highlight, .35); + } + } + + .checkbox, + .radio, + .text { + background: rgba($highlight, .35); + } + + label { + &.text { + padding: .25rem .5rem; + } + } + } + label { @include sailec-medium; @@ -131,27 +152,6 @@ $highlight: #f2c94c; } } - .is-changed { - input { - &, - &:focus { - background: rgba($highlight, .35); - } - } - - .checkbox, - .radio, - .text { - background: rgba($highlight, .35); - } - - label { - &.text { - padding: .25rem .5rem; - } - } - } - .checkbox, .radio { border-radius: $border-radius; diff --git a/src/nginxconfig/templates/domain_sections/https.vue b/src/nginxconfig/templates/domain_sections/https.vue index 009165c..e76ddbd 100644 --- a/src/nginxconfig/templates/domain_sections/https.vue +++ b/src/nginxconfig/templates/domain_sections/https.vue @@ -5,8 +5,8 @@
-
-
+
+
@@ -23,8 +23,8 @@
-
-
+
+
@@ -41,8 +41,8 @@
-
-
+
+
@@ -97,8 +97,10 @@
-
-
+
+
@@ -115,8 +117,8 @@
-
-
+
+
ssl_certificate
-
-
+
+
ssl_certificate_key
-
-
+
+
PHP
-
-
+
+