From 8c4979b6c6596950000c25e8379577765c9e9ede Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Thu, 13 May 2021 14:45:24 +0200 Subject: [PATCH] fix: classes added to button[type='submit'] after core 0.17 update --- src/styles/admin-projects/_index.scss | 3 +++ src/styles/communities/_index.scss | 10 +++++++++- src/styles/index.scss | 1 + .../partials/communities/page-community-directory.pug | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/styles/admin-projects/_index.scss diff --git a/src/styles/admin-projects/_index.scss b/src/styles/admin-projects/_index.scss new file mode 100644 index 0000000..c73e1e5 --- /dev/null +++ b/src/styles/admin-projects/_index.scss @@ -0,0 +1,3 @@ +#admin-projects hubl-admin-project-join-button>solid-form>form>div>input[type=submit] { + line-height: 1.5; +} \ No newline at end of file diff --git a/src/styles/communities/_index.scss b/src/styles/communities/_index.scss index bc48aea..0fd54ca 100644 --- a/src/styles/communities/_index.scss +++ b/src/styles/communities/_index.scss @@ -79,4 +79,12 @@ [type="submit"] { float: initial !important; } -} \ No newline at end of file +} + +.communities-directory #communities-filter .search-button button { + background-color: transparent !important; + + &:hover { + background-color: var(--color-secondary) !important; + } +} diff --git a/src/styles/index.scss b/src/styles/index.scss index e06b686..dd550c7 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -44,6 +44,7 @@ solid-display>div { @import 'communities'; @import 'projects'; @import 'admin-circles'; +@import 'admin-projects'; nav#main__menu { @media (min-width: 768.01px) { diff --git a/src/views/partials/communities/page-community-directory.pug b/src/views/partials/communities/page-community-directory.pug index a5909f3..1cea2a2 100644 --- a/src/views/partials/communities/page-community-directory.pug +++ b/src/views/partials/communities/page-community-directory.pug @@ -11,7 +11,7 @@ class-name="segment margin-bottom-medium full sm-full padding-right-small sm-padding-none text-small input-bg-white children-shadow" submit-button="" submit-widget="button" - class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-reversed color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall" + class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall" data-trans='placeholder-name=communities.list.searchBy;submit-button=communities.list.searchButton' ) div.segment.sm-full.text-right(style='float:right')