diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-07 03:48:09 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-07 03:48:09 +0200 |
| commit | 1bf719d6ac58187cf406d92a40b665d3fa6e658b (patch) | |
| tree | 214c0095fe06dd204e31285fbd16df4e07821d80 /public/stylesheets/admin.css | |
| parent | 7b6af89509e8439fe2474e623ee97e4db67ab011 (diff) | |
Add context-aware child-creation shortcuts to nodes#show
parent_match Procs on CccConventions::NODE_KINDS, matched against
unique_path, decide which "add child" kinds show on a given node. Fixes
nodes#new not honoring a pre-selected kind (radio group and parent-field
visibility both defaulted to "generic" unconditionally).
Diffstat (limited to 'public/stylesheets/admin.css')
| -rw-r--r-- | public/stylesheets/admin.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 1196d83..3033798 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -338,6 +338,14 @@ input[type=radio] { | |||
| 338 | border: 1px solid #989898; | 338 | border: 1px solid #989898; |
| 339 | } | 339 | } |
| 340 | 340 | ||
| 341 | .add_child_links { | ||
| 342 | margin-top: 0.5rem; | ||
| 343 | } | ||
| 344 | |||
| 345 | .add_child_links a { | ||
| 346 | white-space: nowrap; | ||
| 347 | } | ||
| 348 | |||
| 341 | div#login_form input[type=text], div#login_form input[type=password] { | 349 | div#login_form input[type=text], div#login_form input[type=password] { |
| 342 | width: 150px; | 350 | width: 150px; |
| 343 | } | 351 | } |
