diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 20:41:05 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 20:41:05 +0200 |
| commit | 3b4e1423635fd9f33ae760312e438cc1e484662e (patch) | |
| tree | 0dd81aaf26ab5e4d7e178563f120b3e203c4dc0b /public | |
| parent | 683526b38442a9873d83a542b5cba1d15efc14d5 (diff) | |
Show the gate before it refuses, and check the destination
nodes#show renders publish and trash as disabled_action spans with a hint
naming what an editor can still do, matching how locked_by_other already
reads. Editing and reverting stay live: drafting is free everywhere.
Diffstat (limited to 'public')
| -rw-r--r-- | public/stylesheets/admin.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 9991fad0..55fdf15d 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -880,7 +880,9 @@ div.layout_row_content { | |||
| 880 | } | 880 | } |
| 881 | 881 | ||
| 882 | .info_group .disabled_action { | 882 | .info_group .disabled_action { |
| 883 | display: inline-block; | 883 | display: inline-flex; |
| 884 | align-items: center; | ||
| 885 | gap: 0.35rem; | ||
| 884 | border: 1px solid var(--border); | 886 | border: 1px solid var(--border); |
| 885 | border-radius: 2px; | 887 | border-radius: 2px; |
| 886 | padding: 4px 12px; | 888 | padding: 4px 12px; |
| @@ -889,6 +891,11 @@ div.layout_row_content { | |||
| 889 | cursor: not-allowed; | 891 | cursor: not-allowed; |
| 890 | } | 892 | } |
| 891 | 893 | ||
| 894 | .info_group .disabled_action svg { | ||
| 895 | width: 1.25rem; | ||
| 896 | height: 1.25rem; | ||
| 897 | } | ||
| 898 | |||
| 892 | .info_group_items { | 899 | .info_group_items { |
| 893 | display: flex; | 900 | display: flex; |
| 894 | flex-wrap: wrap; | 901 | flex-wrap: wrap; |
