diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-10-08 16:24:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 16:24:35 +0200 |
commit | 30f4268f325921c13f786e7f8d52d744ea542ef2 (patch) | |
tree | 6a35186beb95ebff2a474d3af9c61b80ff8e46f6 /app | |
parent | 33b945e3731d6c34004dfa6660e7970baf90d8f6 (diff) |
[Glitch] Add ability to select all accounts matching search for batch (#1857)
Port SCSS changes from 5b0e8cc92b9ca0ab0dc24366d95f67a88c470173 Signed-off-by: Claire <claire.github-309c@sitedethib.com> Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/styles/tables.scss | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/tables.scss b/app/javascript/flavours/glitch/styles/tables.scss index 598c67034..919255790 100644 --- a/app/javascript/flavours/glitch/styles/tables.scss +++ b/app/javascript/flavours/glitch/styles/tables.scss @@ -190,6 +190,55 @@ a.table-action-link { } } + &__select-all { + background: $ui-base-color; + height: 47px; + align-items: center; + justify-content: center; + border: 1px solid darken($ui-base-color, 8%); + border-top: 0; + color: $secondary-text-color; + display: none; + + &.active { + display: flex; + } + + .selected, + .not-selected { + display: none; + + &.active { + display: block; + } + } + + strong { + font-weight: 700; + } + + span { + padding: 8px; + display: inline-block; + } + + button { + background: transparent; + border: 0; + font: inherit; + color: $highlight-text-color; + border-radius: 4px; + font-weight: 700; + padding: 8px; + + &:hover, + &:focus, + &:active { + background: lighten($ui-base-color, 8%); + } + } + } + &__form { padding: 16px; border: 1px solid darken($ui-base-color, 8%); |