diff options
| author | Neo <50623835+neobooru@users.noreply.github.com> | 2023-01-19 18:44:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 18:44:31 +0100 |
| commit | e3062b1c77b52ff9fad23a279844b946d6491417 (patch) | |
| tree | a037b90b2a6a2f4fb5da20a339efdd8642c7871a /client/css | |
| parent | 8088ff3bbe101907c2cea3341bc4437285b3d12d (diff) | |
client: add bulk delete feature (#459)
This introduces a new privilege 'posts:bulk-edit:delete' which by default is given to power users.
Diffstat (limited to 'client/css')
| -rw-r--r-- | client/css/post-list-view.styl | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/client/css/post-list-view.styl b/client/css/post-list-view.styl index 0272ee1..7f6aa80 100644 --- a/client/css/post-list-view.styl +++ b/client/css/post-list-view.styl @@ -114,6 +114,29 @@ &[data-disabled] background: rgba(200, 200, 200, 0.7) + .delete-flipper + display: inline-block + padding: 0.5em + box-sizing: border-box + border: 0 + &:after + display: inline-block + width: 1em + height: 1em + text-align: center + line-height: 1em + font-size: 2.2em + &.delete + background: rgba(255, 0, 0, 0.7) + &:after + color: white + font-family: FontAwesome; + content: "\f1f8"; // fa-trash + &:not(.delete) + background: rgba(200, 200, 200, 0.7) + &:after + color: white + content: '-' .thumbnail width: 100% @@ -215,7 +238,19 @@ .append @media (max-width: 1000px) margin-left: 0 - + .bulk-edit-delete + &.opened + .start + @media (max-width: 1000px) + margin-left: 0 + &:not(.opened) + .start + display: none + .append.open + @media (max-width: 1000px) + margin-left: 0 + .start + margin-left: 1em .safety margin-right: 0.25em &.safety-safe |