From 0ef4c392d37b036807444aac4dbfbc423a49b522 Mon Sep 17 00:00:00 2001 From: Brian Coffelt Date: Mon, 7 Jun 2021 15:16:43 -0400 Subject: [PATCH 1/2] reworking views exposed form elements --- scss/root/_forms.scss | 8 ++++---- scss/root/_tables.scss | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scss/root/_forms.scss b/scss/root/_forms.scss index b512432..b1fc472 100644 --- a/scss/root/_forms.scss +++ b/scss/root/_forms.scss @@ -157,13 +157,13 @@ input { select { @extend %input--select; - background: url('/themes/contrib/lark/images/icon-arrow-down.svg') $white 98% 11px no-repeat; + background: url('/themes/contrib/lark/images/icon-arrow-down.svg') $white right 12px bottom 11px no-repeat; background-size: 14px; appearance: none; } .form-actions { - padding: 1.5em 0; + padding: 0.5em 0; } .node-form, @@ -184,10 +184,10 @@ select { border: 1px solid rgba(216, 217, 224, 0.8); border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); - padding: 0.5rem 1.5rem 1.5rem; + padding: 1.5rem; .js-form-item { - margin: 0.75rem 0.75rem 0 0; + margin: 0 0.75rem 0 0; } } diff --git a/scss/root/_tables.scss b/scss/root/_tables.scss index 72c38c7..9848715 100644 --- a/scss/root/_tables.scss +++ b/scss/root/_tables.scss @@ -27,7 +27,7 @@ th, .th { border-color: inherit; box-shadow: inset 0 -2px 0 0 $light-gray; - padding: $spacing-small $spacing-large; + padding: 18px $spacing-large; vertical-align: inherit; text-align: left; @@ -47,6 +47,7 @@ th, } a { + white-space: nowrap; &[title^='sort'] { From 3cbcf989574bb09d70fa7e3314cc2b3184d11322 Mon Sep 17 00:00:00 2001 From: Brian Coffelt Date: Mon, 7 Jun 2021 15:43:13 -0400 Subject: [PATCH 2/2] adding space between entity form and buttons --- scss/root/_forms.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scss/root/_forms.scss b/scss/root/_forms.scss index b1fc472..70ab99e 100644 --- a/scss/root/_forms.scss +++ b/scss/root/_forms.scss @@ -191,3 +191,8 @@ select { } } +.entity-view-display-form { + .form-wrapper { + margin-top: 32px; + } +}