From 7e2a98768f26f4f21e87ba05cf03b18b6ccba19a Mon Sep 17 00:00:00 2001 From: SamPoyigi Date: Sat, 27 Oct 2018 21:24:14 +0100 Subject: [PATCH] Minor ui improvements --- app/system/assets/ui/flame.css | 3 ++- .../assets/ui/scss/components/_buttons.scss | 27 ++++++++++--------- .../assets/ui/scss/helpers/_variables.scss | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/app/system/assets/ui/flame.css b/app/system/assets/ui/flame.css index e702cd05ce..ed9b6fad83 100755 --- a/app/system/assets/ui/flame.css +++ b/app/system/assets/ui/flame.css @@ -17258,7 +17258,8 @@ readers do not read off random characters that represent icons */ } .btn-action { - padding: 5px 10px; + border: 0; + padding: 4px 8px; } .btn-light, .swal-button--cancel { diff --git a/app/system/assets/ui/scss/components/_buttons.scss b/app/system/assets/ui/scss/components/_buttons.scss index b109a213af..0be118191b 100644 --- a/app/system/assets/ui/scss/components/_buttons.scss +++ b/app/system/assets/ui/scss/components/_buttons.scss @@ -1,21 +1,22 @@ .btn-edit { - color: $primary; - background-color: transparent; + color: $primary; + background-color: transparent; } .btn-action { - padding: $btn-action-padding-y; + border: 0; + padding: $btn-action-padding; } .btn-light { - background-color: $light; - border-color: $gray-400; - - &:hover { - border-color: $gray-400; - } + background-color: $light; + border-color: $gray-400; + + &:hover { + border-color: $gray-400; + } } -.btn-light:not(:disabled):not(.disabled):active, -.btn-light:not(:disabled):not(.disabled).active, +.btn-light:not(:disabled):not(.disabled):active, +.btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle { - background-color: $gray-300; - border-color: $gray-400; + background-color: $gray-300; + border-color: $gray-400; } \ No newline at end of file diff --git a/app/system/assets/ui/scss/helpers/_variables.scss b/app/system/assets/ui/scss/helpers/_variables.scss index 9b973d5806..99c33058a1 100644 --- a/app/system/assets/ui/scss/helpers/_variables.scss +++ b/app/system/assets/ui/scss/helpers/_variables.scss @@ -79,7 +79,7 @@ $label-padding-x: .75rem; // $btn-border-radius: 2px; -$btn-action-padding-y: 5px 10px; +$btn-action-padding: 4px 8px; // Tables //