From 94b48e0bcd2f706caa433afe7de49110bf756aca Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 18 Aug 2021 08:29:18 +0100 Subject: [PATCH 1/2] Add missing styling for follow button at bottom of request thread --- app/assets/stylesheets/responsive/custom.scss | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/responsive/custom.scss b/app/assets/stylesheets/responsive/custom.scss index 8759ae152..0ff459a74 100644 --- a/app/assets/stylesheets/responsive/custom.scss +++ b/app/assets/stylesheets/responsive/custom.scss @@ -1,4 +1,3 @@ - /* Mixin styles */ /* Hide text when it's replaced by an image */ @@ -602,27 +601,29 @@ p.locale-list-trigger { } /* Request page */ -.request-header__action-bar__actions { +.after-actions { .action-menu__button { @include button-secondary(); + padding-right: 1.5em; &:after { border-color: #a5a5a5 transparent transparent transparent; right: 7%; } } +} - .action-bar__follow-button { - .track__action { - @include button-primary(); - @include follow-button(); - } - } - .action-bar__follower-count { - @include follower-count(); +.action-bar__follow-button { + .track__action { + @include button-primary(); + @include follow-button(); } } +.action-bar__follower-count { + @include follower-count(); +} + div.correspondence { background-color: $color_white; box-shadow: 0 2px 2px transparentize($color_black, 0.8); @@ -715,6 +716,7 @@ a.link_to_this { */ } + /* Status lines and icons */ .icon_waiting_classification, .icon_waiting_response, From 6468e6063fa0c0482d0457f5eb4712e8cb34f673 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 18 Aug 2021 08:29:45 +0100 Subject: [PATCH 2/2] Add styling for the reply button introduced in alaveteli core --- app/assets/stylesheets/responsive/custom.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/assets/stylesheets/responsive/custom.scss b/app/assets/stylesheets/responsive/custom.scss index 0ff459a74..3f43775b0 100644 --- a/app/assets/stylesheets/responsive/custom.scss +++ b/app/assets/stylesheets/responsive/custom.scss @@ -624,6 +624,14 @@ p.locale-list-trigger { @include follower-count(); } +.action-bar__reply { + .action-bar__reply-button { + @include button-primary(); + color: #fff; + } +} + + div.correspondence { background-color: $color_white; box-shadow: 0 2px 2px transparentize($color_black, 0.8);