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.css66
1 files changed, 52 insertions, 14 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index a6e8bf6..3607166 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -29,6 +29,7 @@ table.node_table a,
29table.assets_table a, 29table.assets_table a,
30table.events_table a, 30table.events_table a,
31table.user_table a, 31table.user_table a,
32table.revisions_table a,
32.add_child_links a, 33.add_child_links a,
33div#draft_list table td.actions a { 34div#draft_list table td.actions a {
34 text-decoration: underline; 35 text-decoration: underline;
@@ -297,6 +298,27 @@ form.button_to.destructive button[type="submit"]:hover {
297 background-color: #cc0000; 298 background-color: #cc0000;
298} 299}
299 300
301form.button_to.computation input[type="submit"],
302form.button_to.computation button[type="submit"] {
303 color: #00838f;
304 background-color: #e0f2f1;
305 border-radius: 2px;
306 padding: 2px 8px;
307}
308
309form.button_to.computation input[type="submit"]:hover,
310form.button_to.computation button[type="submit"]:hover {
311 color: #ffffff;
312 background-color: #00838f;
313}
314
315form.button_to.computation input[type="submit"]:disabled,
316form.button_to.computation button[type="submit"]:disabled {
317 opacity: 0.4;
318 cursor: not-allowed;
319 pointer-events: none;
320}
321
300/* Native (non-button_to) submit buttons -- Create/Save/Publish forms. 322/* Native (non-button_to) submit buttons -- Create/Save/Publish forms.
301 Lower specificity than form.button_to's own rule, so button_to forms 323 Lower specificity than form.button_to's own rule, so button_to forms
302 are correctly unaffected. If a button_to output ever loses its class 324 are correctly unaffected. If a button_to output ever loses its class
@@ -420,42 +442,58 @@ table.node_table tr:hover {
420 content: "• "; 442 content: "• ";
421} 443}
422 444
423table#revisions { 445table.revisions_table {
424 border-collapse: collapse; 446 border-collapse: collapse;
425} 447}
426 448
427table#revisions tr { 449table.revisions_table thead {
428 height: 45px; 450 position: sticky;
451 top: 0;
452 z-index: 1;
429} 453}
430 454
431/* Redundant with the generic table tr.header rule above (identical 455table.revisions_table th,
432 values) -- harmless, kept presumably for explicitness. */ 456table.revisions_table td {
433table#revisions tr.header { 457 padding: 0.4rem 0.75rem;
434 height: 20px;
435 text-align: left; 458 text-align: left;
436} 459}
437 460
438table#revisions td { 461table.revisions_table thead tr.header,
439 padding-right: 25px; 462table.revisions_table thead tr.diff_sticky_bar {
463 background-color: #ffffff;
464}
465
466table.revisions_table .diff_sticky_bar td {
467 padding-top: 0.5rem;
468 padding-bottom: 0.5rem;
469 border-bottom: 1px solid #e8e8e8;
440} 470}
441 471
442table#revisions td.title { 472#diff_selection_label {
473 margin-left: 0.75rem;
474 color: #969696;
475}
476table.revisions_table td.title {
443 width: 450px; 477 width: 450px;
444} 478}
445 479
446table#revisions td.date { 480table.revisions_table td.date {
447 width: 175px; 481 width: 175px;
448} 482}
449 483
450table#revisions tr.header:hover { 484table.revisions_table tr:not(.header):not(.no_hover) {
485 border-bottom: 1px solid #e8e8e8;
486}
487
488table.revisions_table tr.header:hover {
451 background-color: #ffffff; 489 background-color: #ffffff;
452} 490}
453 491
454table#revisions tr.no_hover:hover { 492table.revisions_table tr.no_hover:hover {
455 background-color: #ffffff; 493 background-color: #ffffff;
456} 494}
457 495
458table#revisions tr:hover { 496table.revisions_table tr:hover {
459 background-color: #f1f1f1; 497 background-color: #f1f1f1;
460} 498}
461 499