summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-23 18:04:37 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-23 18:04:37 +0200
commit6424e10be5a89f175a74c71c55660412a169b8b8 (patch)
treeae8c8111bd1e8c6e82c0a5f9a2c4b088c92bafe5 /public/stylesheets/admin.css
parent375ed745052148faeb34763087fe04214105f1b8 (diff)
Update deployed state to what's currently running
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css202
1 files changed, 155 insertions, 47 deletions
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 @@
2 2
3body { 3body {
4 font-family: Helvetica, Arial, sans-serif; 4 font-family: Helvetica, Arial, sans-serif;
5 font-size: 12px; 5 font-size: 1rem;
6 margin: 0px; 6 margin: 0px;
7} 7}
8 8
@@ -19,15 +19,25 @@ th {
19 text-transform: lowercase; 19 text-transform: lowercase;
20} 20}
21 21
22#metadata,
22#content { 23#content {
23 margin-left: 5px; 24 margin-left: 5px;
24} 25}
25 26
27@media(min-width:1016px) {
28#wrapper {
29 margin: 0 125px;
30}
31}
32@media(max-width:1015px) {
26#wrapper { 33#wrapper {
27 margin-left: 125px; 34 margin: 0;
28 width: 899px; 35 width: 100%;
36 box-sizing: border-box;
37}
29} 38}
30 39
40
31#flash { 41#flash {
32 height: 12px; 42 height: 12px;
33 line-height: 20px; 43 line-height: 20px;
@@ -110,16 +120,24 @@ input[type=submit],
110 margin-bottom: 2rem; 120 margin-bottom: 2rem;
111} 121}
112 122
113#admin_wizard a { 123#page_submit a,
124.admin_wizard_button a {
125 color: white !important;
126}
127
128#page_submit,
129.admin_wizard_button {
130 display: inline-block;
114 font-size: 1rem; 131 font-size: 1rem;
115 font-weight: bold; 132 font-weight: bold;
116 padding: 0.5rem; 133 padding: 0.5rem;
134 margin-bottom: 0.5rem;
117 background-color: green; 135 background-color: green;
118 color: white;
119} 136}
120 137
121#admin_wizard a:hover { 138#page_submit:hover,
122 background-color: lime; 139.admin_wizard_button:hover {
140 background-color: lime !important;
123} 141}
124 142
125#sub_navigation a { 143#sub_navigation a {
@@ -144,21 +162,27 @@ input[type=submit],
144/* Nodes */ 162/* Nodes */
145 163
146table.node_table { 164table.node_table {
147 width: 899px;
148 border-collapse: collapse; 165 border-collapse: collapse;
149} 166}
150 167
151table.node_table tr { 168table.node_table tr {
152 height: 65px; 169 min-height: 2rem;
153 border-bottom: 1px solid #000000; 170 border-bottom: 1px solid #000000;
154} 171}
155 172
173table.node_table th.node_id,
174table.node_table th.revision,
156table.node_table th.title { 175table.node_table th.title {
157 width: 450px; 176 min-width: 4rem;
177}
178
179table.node_table th.editor,
180table.node_table th.title {
181 min-width: 12rem;
158} 182}
159 183
160table.node_table tr.header { 184table.node_table tr.header {
161 height: 20px; 185 height: 2rem;
162 text-align: left; 186 text-align: left;
163} 187}
164 188
@@ -167,6 +191,7 @@ table.node_table td {
167 padding-bottom: 0px; 191 padding-bottom: 0px;
168 padding-right: 25px; 192 padding-right: 25px;
169 padding-left: 0px; 193 padding-left: 0px;
194 min-width: 2rem;
170} 195}
171 196
172table.node_table .node_id { 197table.node_table .node_id {
@@ -232,31 +257,19 @@ table#revisions tr {
232/* Page Editor */ 257/* Page Editor */
233 258
234input[type=text], textarea { 259input[type=text], textarea {
235 font-size: 12px; 260 font-size: 1rem;
236 font-family: Helvetica; 261 font-family: Helvetica;
237 border: 1px solid #989898; 262 border: 1px solid #989898;
238} 263}
239 264
240select { 265select {
241 font-size: 12px; 266 font-size: 1rem;
242 border: 1px solid #989898; 267 border: 1px solid #989898;
243} 268}
244 269
245input[type=text]#page_title { 270input[type=text]#tag_list,
246 width: 690px; 271input[type=text]#node_staged_slug,
247 font-size: 14px; 272input#move_to_search_term {
248 padding-top: 6px;
249 padding-bottom: 4px;
250 padding-left: 5px;
251 padding-right: 5px;
252 font-weight: bold;
253}
254
255input[type=text]#tag_list {
256 padding: 5px;
257}
258
259input[type=text]#node_slug {
260 padding: 5px; 273 padding: 5px;
261} 274}
262 275
@@ -285,6 +298,24 @@ div#login_form input[type=text], div#login_form input[type=password] {
285 width: 150px; 298 width: 150px;
286} 299}
287 300
301
302@media(min-width:1016px) {
303input#tag_list,
304input#node_staged_slug,
305input#move_to_search_term {
306 width: 690px;
307}
308
309input[type=text]#page_title {
310 width: 690px;
311 font-size: 1rem;
312 padding-top: 6px;
313 padding-bottom: 4px;
314 padding-left: 5px;
315 padding-right: 5px;
316 font-weight: bold;
317}
318
288textarea#page_abstract { 319textarea#page_abstract {
289 width: 690px; 320 width: 690px;
290 height: 150px; 321 height: 150px;
@@ -300,6 +331,56 @@ textarea#page_abstract {
300 margin-left: -125px; 331 margin-left: -125px;
301} 332}
302 333
334}
335
336/* Mobile */
337@media(max-width:1015px) {
338input#tag_list,
339input#node_staged_slug,
340input#move_to_search_term {
341 box-sizing: border-box;
342 width: 100%;
343}
344
345#page_editor #content,
346#page_editor #metadata {
347 padding-right: 5px;
348}
349
350#page_editor textarea#page_body {
351 box-sizing: border-box;
352 width: 800px;
353 height: 50rem;
354}
355
356#page_editor textarea#page_abstract {
357 box-sizing: border-box;
358 height: 8rem;
359 width: 100%;
360}
361
362input[type=text]#page_title {
363 box-sizing: border-box;
364 width: 100%;
365 font-size: 2rem;
366 padding-top: 6px;
367 padding-bottom: 4px;
368 padding-left: 5px;
369 font-weight: bold;
370}
371
372input[type=text], textarea {
373 font-size: 1.5rem;
374}
375select {
376 font-size: 1.5rem;
377}
378
379#metadata ul#image_box {
380 width: 100% !important;
381}
382}
383
303#new_node { 384#new_node {
304 margin-left: -118px; 385 margin-left: -118px;
305} 386}
@@ -316,14 +397,38 @@ td {
316 padding-right: 10px; 397 padding-right: 10px;
317} 398}
318 399
319td.description { 400@media(min-width:1016px) {
320 width: 100px; 401div.node_description {
402 float: left;
403 width: 110px;
404 min-height: 2rem;
321 text-align: right; 405 text-align: right;
322 text-transform: lowercase; 406 text-transform: lowercase;
323 letter-spacing: 1px;
324 vertical-align: top; 407 vertical-align: top;
325} 408}
326 409
410div.node_content {
411 margin-left: 120px;
412 min-height: 2rem;
413 display: block;
414 margin-bottom: 1rem;
415}
416}
417@media(max-width:1015px) {
418div.node_description {
419 min-height: 2rem;
420 width: 30em;
421 text-transform: lowercase;
422 vertical-align: top;
423}
424
425div.node_content {
426 min-height: 2rem;
427 margin-bottom: 1rem;
428}
429
430}
431
327div#page_editor { 432div#page_editor {
328 margin-top: 0px; 433 margin-top: 0px;
329 margin-left: 10px; 434 margin-left: 10px;
@@ -401,6 +506,10 @@ table#content th.content {
401 506
402#menu_item_list { 507#menu_item_list {
403 border-collapse: collapse; 508 border-collapse: collapse;
509 padding: 5px 5px 5px 5px;
510 border: solid 5px lightgrey;
511 background-color: lightgrey;
512 border-radius: 5px;
404} 513}
405 514
406#menu_item_list tr:hover { 515#menu_item_list tr:hover {
@@ -413,16 +522,24 @@ table#content th.content {
413 522
414#menu_item_list td.menu_sort_handle div { 523#menu_item_list td.menu_sort_handle div {
415 background-color: #989898; 524 background-color: #989898;
416 height: 10px; 525 height: 26px;
417 width: 10px; 526 width: 26px;
527}
528
529#menu_item_list td.menu_sort_handle div:before {
530 content: "⇳";
531 font-size: 20px;
532 font-weight: bold;
533 text-align: center;
534 vertical-align: center;
418} 535}
419 536
420#menu_item_list td.menu_sort_handle div:hover { 537#menu_item_list td.menu_sort_handle div:hover {
421 cursor: move; 538 cursor: grab;
422} 539}
423 540
424#menu_item_list td.menu_item_title { 541#menu_item_list td.menu_item_title {
425 width: 100px; 542 width: 200px;
426} 543}
427 544
428.ui-state-highlight td{ 545.ui-state-highlight td{
@@ -430,12 +547,11 @@ table#content th.content {
430} 547}
431 548
432#metadata ul#image_box { 549#metadata ul#image_box {
550 box-sizing: border-box;
433 margin: 0; 551 margin: 0;
434 padding-left: 0; 552 padding: 10px 5px 10px 5px;
435 height: 100px; 553 height: 100px;
436 width: 690px; 554 width: 702px;
437 padding-top: 10px;
438 padding-bottom: 10px;
439 border: 1px solid #989898; 555 border: 1px solid #989898;
440} 556}
441 557
@@ -455,14 +571,6 @@ div#image_browser ul li {
455 list-style-type: none; 571 list-style-type: none;
456} 572}
457 573
458input#move_to_search_term, input#node_staged_slug {
459 width: 690px;
460}
461
462#tag_list {
463 width: 680px;
464}
465
466table.user_list td.user_login { 574table.user_list td.user_login {
467 padding-right: 30px; 575 padding-right: 30px;
468} 576}