summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-09 14:19:36 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-09 14:19:36 +0200
commit8310751d4db2854597d6379b24e346c65622972d (patch)
treedd00ae2f671ab81cf292caf41b09c6da90fbc383 /public/stylesheets/admin.css
parent3ae22916cd5fd0f63ffacc7a9e1aa97d311b83e6 (diff)
Major resource view cleanup
Remove dead pages#index and occurrences resource; fix menu_items#new menu_items#new called menu_item_params, which requires a submitted menu_item key that can never be present on a fresh GET -- new only ever needs a blank record to render against. pages#index and the entire occurrences resource were unmodified Rails scaffold generator output, unlinked from any nav and unreachable except by direct URL. pages#index had no controller action at all (@pages was never assigned); occurrences#index queried every row with no scoping or pagination and its layout referenced a scaffold.css asset that no longer exists in the pipeline. Neither is a real editorial surface -- occurrences are auto-generated from an event's RRULE and were never meant to be browsed as a flat list. Removed rather than repaired. pages#preview and pages#sort_images remain, now as explicit routes rather than under a full resources :pages block.
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 66f13b8..f00a658 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -640,6 +640,13 @@ form.button_to button[type="submit"] {
640 color: #969696; 640 color: #969696;
641 padding-bottom: 4px; 641 padding-bottom: 4px;
642} 642}
643
644.action_button + .field_hint {
645 display: inline;
646 margin-left: 0.5rem;
647 margin-top: 0;
648}
649
643/* Identical declaration block to #search_results p span.result_path / 650/* Identical declaration block to #search_results p span.result_path /
644 #menu_search_results p span.result_path below -- three independent 651 #menu_search_results p span.result_path below -- three independent
645 copies of the same "small gray helper text" style. */ 652 copies of the same "small gray helper text" style. */
@@ -692,6 +699,7 @@ a.action_button {
692 font-weight: bold; 699 font-weight: bold;
693 text-decoration: none; 700 text-decoration: none;
694 color: #000000; 701 color: #000000;
702 margin-bottom: 1rem;
695} 703}
696 704
697#page_editor a.action_button:hover, 705#page_editor a.action_button:hover,
@@ -700,6 +708,11 @@ a.action_button:hover {
700 background-color: #000000; 708 background-color: #000000;
701} 709}
702 710
711#page_editor form input[type=text],
712#page_editor form input[type=password] {
713 padding: 5px;
714}
715
703@media(min-width:1016px) { 716@media(min-width:1016px) {
704 input#tag_list, 717 input#tag_list,
705 input#node_staged_slug, 718 input#node_staged_slug,
@@ -731,6 +744,11 @@ a.action_button:hover {
731 #page_editor #metadata, #page_editor #content, #admin_overview { 744 #page_editor #metadata, #page_editor #content, #admin_overview {
732 margin-left: -125px; 745 margin-left: -125px;
733 } 746 }
747
748 #page_editor form input[type=text],
749 #page_editor form input[type=password] {
750 width: 690px;
751 }
734} 752}
735 753
736@media(max-width:1015px) { 754@media(max-width:1015px) {
@@ -773,6 +791,12 @@ a.action_button:hover {
773 font-weight: bold; 791 font-weight: bold;
774 } 792 }
775 793
794 #page_editor form input[type=text],
795 #page_editor form input[type=password] {
796 box-sizing: border-box;
797 width: 100%;
798 }
799
776 input[type=text], textarea { 800 input[type=text], textarea {
777 font-size: 1.5rem; 801 font-size: 1.5rem;
778 } 802 }
@@ -920,6 +944,14 @@ div#draft_list table td.actions a {
920 cursor: grab; 944 cursor: grab;
921} 945}
922 946
947#menu_item_list td a {
948 text-decoration: underline;
949 text-decoration-style: wavy;
950 text-decoration-color: #b0b0b0;
951 text-decoration-thickness: 1px;
952 text-underline-offset: 2px;
953}
954
923.ui-state-highlight td { 955.ui-state-highlight td {
924 height: 20px; 956 height: 20px;
925} 957}