From 6424e10be5a89f175a74c71c55660412a169b8b8 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 23 Jun 2026 18:04:37 +0200 Subject: Update deployed state to what's currently running --- public/stylesheets/admin.css | 202 +++++++++++++++++++++++++++++++++---------- 1 file changed, 155 insertions(+), 47 deletions(-) (limited to 'public/stylesheets/admin.css') diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index c7ebb52..7031f77 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -2,7 +2,7 @@ body { font-family: Helvetica, Arial, sans-serif; - font-size: 12px; + font-size: 1rem; margin: 0px; } @@ -19,15 +19,25 @@ th { text-transform: lowercase; } +#metadata, #content { margin-left: 5px; } +@media(min-width:1016px) { +#wrapper { + margin: 0 125px; +} +} +@media(max-width:1015px) { #wrapper { - margin-left: 125px; - width: 899px; + margin: 0; + width: 100%; + box-sizing: border-box; +} } + #flash { height: 12px; line-height: 20px; @@ -110,16 +120,24 @@ input[type=submit], margin-bottom: 2rem; } -#admin_wizard a { +#page_submit a, +.admin_wizard_button a { + color: white !important; +} + +#page_submit, +.admin_wizard_button { + display: inline-block; font-size: 1rem; font-weight: bold; padding: 0.5rem; + margin-bottom: 0.5rem; background-color: green; - color: white; } -#admin_wizard a:hover { - background-color: lime; +#page_submit:hover, +.admin_wizard_button:hover { + background-color: lime !important; } #sub_navigation a { @@ -144,21 +162,27 @@ input[type=submit], /* Nodes */ table.node_table { - width: 899px; border-collapse: collapse; } table.node_table tr { - height: 65px; + min-height: 2rem; border-bottom: 1px solid #000000; } +table.node_table th.node_id, +table.node_table th.revision, table.node_table th.title { - width: 450px; + min-width: 4rem; +} + +table.node_table th.editor, +table.node_table th.title { + min-width: 12rem; } table.node_table tr.header { - height: 20px; + height: 2rem; text-align: left; } @@ -167,6 +191,7 @@ table.node_table td { padding-bottom: 0px; padding-right: 25px; padding-left: 0px; + min-width: 2rem; } table.node_table .node_id { @@ -232,31 +257,19 @@ table#revisions tr { /* Page Editor */ input[type=text], textarea { - font-size: 12px; + font-size: 1rem; font-family: Helvetica; border: 1px solid #989898; } select { - font-size: 12px; + font-size: 1rem; border: 1px solid #989898; } -input[type=text]#page_title { - width: 690px; - font-size: 14px; - padding-top: 6px; - padding-bottom: 4px; - padding-left: 5px; - padding-right: 5px; - font-weight: bold; -} - -input[type=text]#tag_list { - padding: 5px; -} - -input[type=text]#node_slug { +input[type=text]#tag_list, +input[type=text]#node_staged_slug, +input#move_to_search_term { padding: 5px; } @@ -285,6 +298,24 @@ div#login_form input[type=text], div#login_form input[type=password] { width: 150px; } + +@media(min-width:1016px) { +input#tag_list, +input#node_staged_slug, +input#move_to_search_term { + width: 690px; +} + +input[type=text]#page_title { + width: 690px; + font-size: 1rem; + padding-top: 6px; + padding-bottom: 4px; + padding-left: 5px; + padding-right: 5px; + font-weight: bold; +} + textarea#page_abstract { width: 690px; height: 150px; @@ -300,6 +331,56 @@ textarea#page_abstract { margin-left: -125px; } +} + +/* Mobile */ +@media(max-width:1015px) { +input#tag_list, +input#node_staged_slug, +input#move_to_search_term { + box-sizing: border-box; + width: 100%; +} + +#page_editor #content, +#page_editor #metadata { + padding-right: 5px; +} + +#page_editor textarea#page_body { + box-sizing: border-box; + width: 800px; + height: 50rem; +} + +#page_editor textarea#page_abstract { + box-sizing: border-box; + height: 8rem; + width: 100%; +} + +input[type=text]#page_title { + box-sizing: border-box; + width: 100%; + font-size: 2rem; + padding-top: 6px; + padding-bottom: 4px; + padding-left: 5px; + font-weight: bold; +} + +input[type=text], textarea { + font-size: 1.5rem; +} +select { + font-size: 1.5rem; +} + +#metadata ul#image_box { + width: 100% !important; +} +} + #new_node { margin-left: -118px; } @@ -316,14 +397,38 @@ td { padding-right: 10px; } -td.description { - width: 100px; +@media(min-width:1016px) { +div.node_description { + float: left; + width: 110px; + min-height: 2rem; text-align: right; text-transform: lowercase; - letter-spacing: 1px; vertical-align: top; } +div.node_content { + margin-left: 120px; + min-height: 2rem; + display: block; + margin-bottom: 1rem; +} +} +@media(max-width:1015px) { +div.node_description { + min-height: 2rem; + width: 30em; + text-transform: lowercase; + vertical-align: top; +} + +div.node_content { + min-height: 2rem; + margin-bottom: 1rem; +} + +} + div#page_editor { margin-top: 0px; margin-left: 10px; @@ -401,6 +506,10 @@ table#content th.content { #menu_item_list { border-collapse: collapse; + padding: 5px 5px 5px 5px; + border: solid 5px lightgrey; + background-color: lightgrey; + border-radius: 5px; } #menu_item_list tr:hover { @@ -413,16 +522,24 @@ table#content th.content { #menu_item_list td.menu_sort_handle div { background-color: #989898; - height: 10px; - width: 10px; + height: 26px; + width: 26px; +} + +#menu_item_list td.menu_sort_handle div:before { + content: "⇳"; + font-size: 20px; + font-weight: bold; + text-align: center; + vertical-align: center; } #menu_item_list td.menu_sort_handle div:hover { - cursor: move; + cursor: grab; } #menu_item_list td.menu_item_title { - width: 100px; + width: 200px; } .ui-state-highlight td{ @@ -430,12 +547,11 @@ table#content th.content { } #metadata ul#image_box { + box-sizing: border-box; margin: 0; - padding-left: 0; + padding: 10px 5px 10px 5px; height: 100px; - width: 690px; - padding-top: 10px; - padding-bottom: 10px; + width: 702px; border: 1px solid #989898; } @@ -455,14 +571,6 @@ div#image_browser ul li { list-style-type: none; } -input#move_to_search_term, input#node_staged_slug { - width: 690px; -} - -#tag_list { - width: 680px; -} - table.user_list td.user_login { padding-right: 30px; } -- cgit v1.3