summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css237
1 files changed, 194 insertions, 43 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index f95fa18..4b08356 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,14 +19,24 @@ 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) {
26#wrapper { 28#wrapper {
27 margin-left: 125px; 29 margin: 0 125px;
28 width: 899px;
29} 30}
31}
32@media(max-width:1015px) {
33#wrapper {
34 margin: 0;
35 width: 100%;
36 box-sizing: border-box;
37}
38}
39
30 40
31#flash { 41#flash {
32 height: 12px; 42 height: 12px;
@@ -106,6 +116,53 @@ input[type=submit],
106 text-transform: lowercase; 116 text-transform: lowercase;
107} 117}
108 118
119/* button_to forms: render submit inputs as plain links */
120form.button_to {
121 display: inline;
122 margin: 0;
123 padding: 0;
124}
125
126form.button_to input[type="submit"] {
127 background: none;
128 border: none;
129 padding: 0;
130 margin: 0;
131 font: inherit;
132 color: inherit;
133 cursor: pointer;
134 text-decoration: none
135}
136
137form.button_to input[type="submit"]:hover {
138 color: #ffffff;
139 background-color: #ff9600;
140}
141
142#admin_wizard {
143 margin-bottom: 2rem;
144}
145
146#page_submit a,
147.admin_wizard_button a {
148 color: white !important;
149}
150
151#page_submit,
152.admin_wizard_button {
153 display: inline-block;
154 font-size: 1rem;
155 font-weight: bold;
156 padding: 0.5rem;
157 margin-bottom: 0.5rem;
158 background-color: green;
159}
160
161#page_submit:hover,
162.admin_wizard_button:hover {
163 background-color: lime !important;
164}
165
109#sub_navigation a { 166#sub_navigation a {
110 color: #969696; 167 color: #969696;
111} 168}
@@ -128,21 +185,27 @@ input[type=submit],
128/* Nodes */ 185/* Nodes */
129 186
130table.node_table { 187table.node_table {
131 width: 899px;
132 border-collapse: collapse; 188 border-collapse: collapse;
133} 189}
134 190
135table.node_table tr { 191table.node_table tr {
136 height: 65px; 192 min-height: 2rem;
137 border-bottom: 1px solid #000000; 193 border-bottom: 1px solid #000000;
138} 194}
139 195
196table.node_table th.node_id,
197table.node_table th.revision,
140table.node_table th.title { 198table.node_table th.title {
141 width: 450px; 199 min-width: 4rem;
200}
201
202table.node_table th.editor,
203table.node_table th.title {
204 min-width: 12rem;
142} 205}
143 206
144table.node_table tr.header { 207table.node_table tr.header {
145 height: 20px; 208 height: 2rem;
146 text-align: left; 209 text-align: left;
147} 210}
148 211
@@ -151,6 +214,7 @@ table.node_table td {
151 padding-bottom: 0px; 214 padding-bottom: 0px;
152 padding-right: 25px; 215 padding-right: 25px;
153 padding-left: 0px; 216 padding-left: 0px;
217 min-width: 2rem;
154} 218}
155 219
156table.node_table .node_id { 220table.node_table .node_id {
@@ -170,6 +234,10 @@ table.node_table .actions {
170 text-transform: lowercase; 234 text-transform: lowercase;
171} 235}
172 236
237#admin_sitemap_table .node_id:before {
238 content: "• ";
239}
240
173/* Revisions */ 241/* Revisions */
174 242
175table#revisions { 243table#revisions {
@@ -212,31 +280,19 @@ table#revisions tr {
212/* Page Editor */ 280/* Page Editor */
213 281
214input[type=text], textarea { 282input[type=text], textarea {
215 font-size: 12px; 283 font-size: 1rem;
216 font-family: Helvetica; 284 font-family: Helvetica;
217 border: 1px solid #989898; 285 border: 1px solid #989898;
218} 286}
219 287
220select { 288select {
221 font-size: 12px; 289 font-size: 1rem;
222 border: 1px solid #989898; 290 border: 1px solid #989898;
223} 291}
224 292
225input[type=text]#page_title { 293input[type=text]#tag_list,
226 width: 690px; 294input[type=text]#node_staged_slug,
227 font-size: 14px; 295input#move_to_search_term {
228 padding-top: 6px;
229 padding-bottom: 4px;
230 padding-left: 5px;
231 padding-right: 5px;
232 font-weight: bold;
233}
234
235input[type=text]#tag_list {
236 padding: 5px;
237}
238
239input[type=text]#node_slug {
240 padding: 5px; 296 padding: 5px;
241} 297}
242 298
@@ -265,6 +321,24 @@ div#login_form input[type=text], div#login_form input[type=password] {
265 width: 150px; 321 width: 150px;
266} 322}
267 323
324
325@media(min-width:1016px) {
326input#tag_list,
327input#node_staged_slug,
328input#move_to_search_term {
329 width: 690px;
330}
331
332input[type=text]#page_title {
333 width: 690px;
334 font-size: 1rem;
335 padding-top: 6px;
336 padding-bottom: 4px;
337 padding-left: 5px;
338 padding-right: 5px;
339 font-weight: bold;
340}
341
268textarea#page_abstract { 342textarea#page_abstract {
269 width: 690px; 343 width: 690px;
270 height: 150px; 344 height: 150px;
@@ -280,6 +354,56 @@ textarea#page_abstract {
280 margin-left: -125px; 354 margin-left: -125px;
281} 355}
282 356
357}
358
359/* Mobile */
360@media(max-width:1015px) {
361input#tag_list,
362input#node_staged_slug,
363input#move_to_search_term {
364 box-sizing: border-box;
365 width: 100%;
366}
367
368#page_editor #content,
369#page_editor #metadata {
370 padding-right: 5px;
371}
372
373#page_editor textarea#page_body {
374 box-sizing: border-box;
375 width: 800px;
376 height: 50rem;
377}
378
379#page_editor textarea#page_abstract {
380 box-sizing: border-box;
381 height: 8rem;
382 width: 100%;
383}
384
385input[type=text]#page_title {
386 box-sizing: border-box;
387 width: 100%;
388 font-size: 2rem;
389 padding-top: 6px;
390 padding-bottom: 4px;
391 padding-left: 5px;
392 font-weight: bold;
393}
394
395input[type=text], textarea {
396 font-size: 1.5rem;
397}
398select {
399 font-size: 1.5rem;
400}
401
402#metadata ul#image_box {
403 width: 100% !important;
404}
405}
406
283#new_node { 407#new_node {
284 margin-left: -118px; 408 margin-left: -118px;
285} 409}
@@ -296,14 +420,38 @@ td {
296 padding-right: 10px; 420 padding-right: 10px;
297} 421}
298 422
299td.description { 423@media(min-width:1016px) {
300 width: 100px; 424div.node_description {
425 float: left;
426 width: 110px;
427 min-height: 2rem;
301 text-align: right; 428 text-align: right;
302 text-transform: lowercase; 429 text-transform: lowercase;
303 letter-spacing: 1px;
304 vertical-align: top; 430 vertical-align: top;
305} 431}
306 432
433div.node_content {
434 margin-left: 120px;
435 min-height: 2rem;
436 display: block;
437 margin-bottom: 1rem;
438}
439}
440@media(max-width:1015px) {
441div.node_description {
442 min-height: 2rem;
443 width: 30em;
444 text-transform: lowercase;
445 vertical-align: top;
446}
447
448div.node_content {
449 min-height: 2rem;
450 margin-bottom: 1rem;
451}
452
453}
454
307div#page_editor { 455div#page_editor {
308 margin-top: 0px; 456 margin-top: 0px;
309 margin-left: 10px; 457 margin-left: 10px;
@@ -381,6 +529,10 @@ table#content th.content {
381 529
382#menu_item_list { 530#menu_item_list {
383 border-collapse: collapse; 531 border-collapse: collapse;
532 padding: 5px 5px 5px 5px;
533 border: solid 5px lightgrey;
534 background-color: lightgrey;
535 border-radius: 5px;
384} 536}
385 537
386#menu_item_list tr:hover { 538#menu_item_list tr:hover {
@@ -393,16 +545,24 @@ table#content th.content {
393 545
394#menu_item_list td.menu_sort_handle div { 546#menu_item_list td.menu_sort_handle div {
395 background-color: #989898; 547 background-color: #989898;
396 height: 10px; 548 height: 26px;
397 width: 10px; 549 width: 26px;
550}
551
552#menu_item_list td.menu_sort_handle div:before {
553 content: "⇳";
554 font-size: 20px;
555 font-weight: bold;
556 text-align: center;
557 vertical-align: center;
398} 558}
399 559
400#menu_item_list td.menu_sort_handle div:hover { 560#menu_item_list td.menu_sort_handle div:hover {
401 cursor: move; 561 cursor: grab;
402} 562}
403 563
404#menu_item_list td.menu_item_title { 564#menu_item_list td.menu_item_title {
405 width: 100px; 565 width: 200px;
406} 566}
407 567
408.ui-state-highlight td{ 568.ui-state-highlight td{
@@ -410,12 +570,11 @@ table#content th.content {
410} 570}
411 571
412#metadata ul#image_box { 572#metadata ul#image_box {
573 box-sizing: border-box;
413 margin: 0; 574 margin: 0;
414 padding-left: 0; 575 padding: 10px 5px 10px 5px;
415 height: 100px; 576 height: 100px;
416 width: 690px; 577 width: 702px;
417 padding-top: 10px;
418 padding-bottom: 10px;
419 border: 1px solid #989898; 578 border: 1px solid #989898;
420} 579}
421 580
@@ -435,14 +594,6 @@ div#image_browser ul li {
435 list-style-type: none; 594 list-style-type: none;
436} 595}
437 596
438input#move_to_search_term, input#node_staged_slug {
439 width: 690px;
440}
441
442#tag_list {
443 width: 680px;
444}
445
446table.user_list td.user_login { 597table.user_list td.user_login {
447 padding-right: 30px; 598 padding-right: 30px;
448} 599}