From fe9df817534d5c1d5204f48dc5dcc4f16e5ddae9 Mon Sep 17 00:00:00 2001 From: matdave Date: Fri, 1 Nov 2024 09:55:29 -0500 Subject: [PATCH] adjust panel button behavior Signed-off-by: matdave --- _build/assets/sass/_buttons.scss | 12 +++++++----- _build/assets/sass/_panels.scss | 5 +++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_build/assets/sass/_buttons.scss b/_build/assets/sass/_buttons.scss index 406d5ed4..2abd82a5 100644 --- a/_build/assets/sass/_buttons.scss +++ b/_build/assets/sass/_buttons.scss @@ -111,17 +111,19 @@ button.fred--btn, .fred--btn, .fred button.fred--btn, .fred .fred--btn{ background: transparent; border-radius: $radius; padding: math.div($baseGutter, 2) $baseGutter; - margin: math.div($baseGutter, 2) $baseGutter; + margin: auto $baseGutter; float: right; - //&:hover, &:focus { - // background-color: darken($border-light, 15%); - // color: $black; - //} + order: 0; + &:hover, &:focus { + background-color: $border-light; + color: $black; + } } &-apply { background: $green; color: $white; border: 0px solid transparent; + order: 1; &:hover, &:focus { background-color: darken($green, 15%); } diff --git a/_build/assets/sass/_panels.scss b/_build/assets/sass/_panels.scss index b04283e4..ff360e4d 100644 --- a/_build/assets/sass/_panels.scss +++ b/_build/assets/sass/_panels.scss @@ -117,4 +117,9 @@ textarea{ height: initial; } + &_button_wrapper{ + display: flex; + justify-content: end; + margin-top: math.div($baseGutter, 2); + } }