From 8fc9613fea307a53f31f6b911e1aef5bb1936453 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 19 Feb 2019 23:44:38 -0500 Subject: [PATCH 1/4] typos --- sass/form/_index.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sass/form/_index.scss b/sass/form/_index.scss index f04cd73..22efe94 100644 --- a/sass/form/_index.scss +++ b/sass/form/_index.scss @@ -19,7 +19,7 @@ form { [type="email"], [type="number"], - [type="password"] + [type="password"], [type="text"] { padding-right: var(--spacing-s); padding-left: var(--spacing-s); @@ -90,6 +90,7 @@ fieldset-section { [type="email"], [type="text"], + [type="number"], select, textarea { &:not(:focus) { @@ -149,7 +150,8 @@ checkbox-element { input { &[type="checkbox"] { - width: 0; height: 0; + width: 0; + height: 0; visibility: hidden; &:not(:checked) { @@ -193,7 +195,8 @@ radio-element { input { &[type="radio"] { - width: 0; height: 0; + width: 0; + height: 0; visibility: hidden; &:not(:checked) { -- 2.45.2 From 717faf9f8ffc924dbfda4846d34b770f6cbe4ff5 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 19 Feb 2019 23:45:40 -0500 Subject: [PATCH 2/4] format --- sass/form/_index.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sass/form/_index.scss b/sass/form/_index.scss index 22efe94..aaa4a97 100644 --- a/sass/form/_index.scss +++ b/sass/form/_index.scss @@ -150,8 +150,7 @@ checkbox-element { input { &[type="checkbox"] { - width: 0; - height: 0; + width: 0; height: 0; visibility: hidden; &:not(:checked) { @@ -195,8 +194,7 @@ radio-element { input { &[type="radio"] { - width: 0; - height: 0; + width: 0; height: 0; visibility: hidden; &:not(:checked) { -- 2.45.2 From 0db60f36eb6a52ca92ef4d5f8898019ba9c9394b Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 20 Feb 2019 00:12:38 -0500 Subject: [PATCH 3/4] update select caret for dark mode --- sass/form/_index.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sass/form/_index.scss b/sass/form/_index.scss index aaa4a97..590225e 100644 --- a/sass/form/_index.scss +++ b/sass/form/_index.scss @@ -51,6 +51,10 @@ form { background-size: 1rem; padding-right: var(--spacing-l); padding-left: var(--spacing-s); + + [data-mode='dark'] & { + background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg' fill='%23ffffff'%3E%3Cpath d='M17.172, 31.172c1.562, -1.562 4.095, -1.562 5.656, 0l25.172, 25.171l25.172, -25.171c1.562, -1.562 4.095, -1.562 5.656, 0c1.562, 1.562 1.562, 4.095 0, 5.656l-28, 28c-1.562, 1.562 -4.095, 1.562 -5.656, 0l-28, -28c-0.781, -0.781 -1.172, -1.805 -1.172, -2.828c0, -1.023 0.391, -2.047 1.172, -2.828Z'/%3E%3C/svg%3E%0A"); + } } } -- 2.45.2 From 6c14a80abb557cc15aaffb604ab8a92f3acaf8b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?netop=3A//=20=E3=82=A6=E3=82=A7=E3=83=83=E3=83=96?= Date: Wed, 20 Feb 2019 09:06:49 -0600 Subject: [PATCH 4/4] Update _index.scss --- sass/form/_index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/form/_index.scss b/sass/form/_index.scss index 590225e..607d5c3 100644 --- a/sass/form/_index.scss +++ b/sass/form/_index.scss @@ -93,8 +93,8 @@ fieldset-section { } [type="email"], - [type="text"], [type="number"], + [type="text"], select, textarea { &:not(:focus) { -- 2.45.2