summaryrefslogtreecommitdiff
path: root/public/stylesheets
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-24 18:04:56 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-24 18:04:56 +0200
commit50ca5e40f461290a2db7452b95f80dd3188dba1d (patch)
tree2d94b44463afa35ef6cab73b8aac70c38c4cc0bf /public/stylesheets
parentd5883869e97244335370d54e21ef46b3f1885899 (diff)
Rename layout classes to what they actually do
Diffstat (limited to 'public/stylesheets')
-rw-r--r--public/stylesheets/admin.css70
1 files changed, 35 insertions, 35 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 23a9a581..2d2873ad 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -672,7 +672,7 @@ table.user_table td.user_login {
672 ============================================================ */ 672 ============================================================ */
673 673
674@media(min-width:1016px) { 674@media(min-width:1016px) {
675 div.node_description { 675 div.layout_row_label {
676 float: left; 676 float: left;
677 width: 110px; 677 width: 110px;
678 min-height: 2rem; 678 min-height: 2rem;
@@ -681,7 +681,7 @@ table.user_table td.user_login {
681 vertical-align: top; 681 vertical-align: top;
682 } 682 }
683 683
684 div.node_content { 684 div.layout_row_content {
685 margin-left: 120px; 685 margin-left: 120px;
686 min-height: 2rem; 686 min-height: 2rem;
687 display: block; 687 display: block;
@@ -693,26 +693,26 @@ table.user_table td.user_login {
693 } 693 }
694} 694}
695@media(max-width:1015px) { 695@media(max-width:1015px) {
696 div.node_description { 696 div.layout_row_label {
697 min-height: 2rem; 697 min-height: 2rem;
698 width: 30em; 698 width: 30em;
699 text-transform: lowercase; 699 text-transform: lowercase;
700 vertical-align: top; 700 vertical-align: top;
701 } 701 }
702 702
703 div.node_content { 703 div.layout_row_content {
704 min-height: 2rem; 704 min-height: 2rem;
705 margin-bottom: 1rem; 705 margin-bottom: 1rem;
706 } 706 }
707} 707}
708 708
709.node_content.node_info_group { 709.layout_row_content.info_group {
710 border: 1px solid #e8e8e8; 710 border: 1px solid #e8e8e8;
711 border-radius: 6px; 711 border-radius: 6px;
712 padding: 0.5rem 0.75rem; 712 padding: 0.5rem 0.75rem;
713} 713}
714 714
715.node_info_group .disabled_action { 715.info_group .disabled_action {
716 display: inline-block; 716 display: inline-block;
717 border: 1px solid #c0c0c0; 717 border: 1px solid #c0c0c0;
718 border-radius: 2px; 718 border-radius: 2px;
@@ -722,17 +722,17 @@ table.user_table td.user_login {
722 cursor: not-allowed; 722 cursor: not-allowed;
723} 723}
724 724
725.node_info_group_items { 725.info_group_items {
726 display: flex; 726 display: flex;
727 flex-wrap: wrap; 727 flex-wrap: wrap;
728 gap: 0.5rem 2rem; 728 gap: 0.5rem 2rem;
729} 729}
730 730
731.node_info_item { 731.info_item {
732 min-width: 140px; 732 min-width: 140px;
733} 733}
734 734
735.node_info_label { 735.info_label {
736 display: block; 736 display: block;
737 font-weight: normal; 737 font-weight: normal;
738 color: #969696; 738 color: #969696;
@@ -740,25 +740,25 @@ table.user_table td.user_login {
740 text-transform: lowercase; 740 text-transform: lowercase;
741} 741}
742 742
743.node_info_group ul { 743.info_group ul {
744 margin: 0; 744 margin: 0;
745 padding-left: 1.25rem; 745 padding-left: 1.25rem;
746} 746}
747 747
748.node_info_group li { 748.info_group li {
749 margin-bottom: 0.25rem; 749 margin-bottom: 0.25rem;
750} 750}
751 751
752.node_content.node_status { 752.layout_row_content.node_status {
753 border: 2px solid #000000; 753 border: 2px solid #000000;
754 background-color: #fafafa; 754 background-color: #fafafa;
755} 755}
756 756
757.node_status .node_info_group_items:first-child { 757.node_status .info_group_items:first-child {
758 margin-bottom: 0.75rem; 758 margin-bottom: 0.75rem;
759} 759}
760 760
761.node_status .node_info_group_items + .node_info_group_items { 761.node_status .info_group_items + .info_group_items {
762 margin-top: 0.5rem; 762 margin-top: 0.5rem;
763 margin-bottom: 0.5rem; 763 margin-bottom: 0.5rem;
764} 764}
@@ -768,8 +768,8 @@ table.user_table td.user_login {
768 display: block; 768 display: block;
769} 769}
770 770
771.node_content .inline-image--full, 771.layout_row_content .inline-image--full,
772.node_content .inline-image--half { 772.layout_row_content .inline-image--half {
773 max-width: 300px; 773 max-width: 300px;
774 width: auto; 774 width: auto;
775 float: none; 775 float: none;
@@ -905,7 +905,7 @@ form.button_to button[type="submit"] {
905 } 905 }
906 #main_fields { grid-area: main; } 906 #main_fields { grid-area: main; }
907 #metadata_details { grid-area: meta; } 907 #metadata_details { grid-area: meta; }
908 #page_editor #content { grid-area: body; } 908 #admin_layout #content { grid-area: body; }
909 909
910 /* Details is force-opened by JS on desktop; hide the summary only 910 /* Details is force-opened by JS on desktop; hide the summary only
911 once open, so a JS failure still leaves a working toggle. */ 911 once open, so a JS failure still leaves a working toggle. */
@@ -930,12 +930,12 @@ input#move_to_search_term {
930 padding: 5px; 930 padding: 5px;
931} 931}
932 932
933div#page_editor { 933div#admin_layout {
934 margin-top: 0px; 934 margin-top: 0px;
935 margin-left: 10px; 935 margin-left: 10px;
936} 936}
937 937
938#page_editor a.action_button, 938#admin_layout a.action_button,
939.action_button { 939.action_button {
940 display: inline-flex; 940 display: inline-flex;
941 align-items: center; 941 align-items: center;
@@ -954,15 +954,15 @@ div#page_editor {
954 font: inherit; 954 font: inherit;
955} 955}
956 956
957#page_editor a.action_button:hover, 957#admin_layout a.action_button:hover,
958.action_button:hover { 958.action_button:hover {
959 color: #ffffff; 959 color: #ffffff;
960 background-color: #000000; 960 background-color: #000000;
961} 961}
962 962
963#page_editor input[type=text], 963#admin_layout input[type=text],
964#page_editor input[type=password], 964#admin_layout input[type=password],
965#page_editor textarea { 965#admin_layout textarea {
966 padding: 5px; 966 padding: 5px;
967} 967}
968 968
@@ -996,7 +996,7 @@ input#tag_list {
996 padding: 5px; 996 padding: 5px;
997 } 997 }
998 998
999 #page_editor textarea#page_body { 999 #admin_layout textarea#page_body {
1000 width: 100%; 1000 width: 100%;
1001 box-sizing: border-box; 1001 box-sizing: border-box;
1002 height: 600px; 1002 height: 600px;
@@ -1006,9 +1006,9 @@ input#tag_list {
1006 margin-left: -125px; 1006 margin-left: -125px;
1007 } 1007 }
1008 1008
1009 #page_editor input[type=text], 1009 #admin_layout input[type=text],
1010 #page_editor input[type=password], 1010 #admin_layout input[type=password],
1011 #page_editor textarea { 1011 #admin_layout textarea {
1012 width: 100%; 1012 width: 100%;
1013 box-sizing: border-box; 1013 box-sizing: border-box;
1014 } 1014 }
@@ -1022,19 +1022,19 @@ input#tag_list {
1022 width: 100%; 1022 width: 100%;
1023 } 1023 }
1024 1024
1025 #page_editor #content, 1025 #admin_layout #content,
1026 #page_editor #metadata, 1026 #admin_layout #metadata,
1027 #page_editor #main_fields { 1027 #admin_layout #main_fields {
1028 padding-right: 5px; 1028 padding-right: 5px;
1029 } 1029 }
1030 1030
1031 #page_editor textarea#page_body { 1031 #admin_layout textarea#page_body {
1032 box-sizing: border-box; 1032 box-sizing: border-box;
1033 width: 100%; 1033 width: 100%;
1034 height: 50rem; 1034 height: 50rem;
1035 } 1035 }
1036 1036
1037 #page_editor textarea#page_abstract { 1037 #admin_layout textarea#page_abstract {
1038 box-sizing: border-box; 1038 box-sizing: border-box;
1039 height: 8rem; 1039 height: 8rem;
1040 width: 100%; 1040 width: 100%;
@@ -1050,9 +1050,9 @@ input#tag_list {
1050 font-weight: bold; 1050 font-weight: bold;
1051 } 1051 }
1052 1052
1053 #page_editor input[type=text], 1053 #admin_layout input[type=text],
1054 #page_editor input[type=password], 1054 #admin_layout input[type=password],
1055 #page_editor textarea { 1055 #admin_layout textarea {
1056 box-sizing: border-box; 1056 box-sizing: border-box;
1057 width: 100%; 1057 width: 100%;
1058 } 1058 }