summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/admin.css205
1 files changed, 55 insertions, 150 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 99067f5d..85e89e13 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -626,120 +626,99 @@ form.button_to svg {
626 Tables 626 Tables
627 ============================================================ */ 627 ============================================================ */
628 628
629table tr.header { 629.admin_table {
630 height: 20px;
631 text-align: left;
632}
633
634table.node_table,
635table.assets_table,
636table.user_table,
637table.events_table {
638 border-collapse: collapse; 630 border-collapse: collapse;
639} 631}
640 632
641table.node_table tr, 633.admin_table thead {
642table.assets_table tr, 634 text-align: left;
643table.user_table tr,
644table.events_table tr {
645 border-bottom: 1px solid var(--hairline);
646} 635}
647 636
648table.node_table th.revision { 637.admin_table thead tr {
649 min-width: 4rem; 638 height: 2rem;
650} 639}
651 640
652table.node_table th.editor, 641.admin_table th,
653table.node_table th.title { 642.admin_table td {
654 min-width: 12rem; 643 padding: 0.75rem;
644 min-width: 2rem;
655} 645}
656 646
657table.node_table tr.header, 647.admin_table th:first-child,
658table.assets_table tr.header, 648.admin_table td:first-child {
659table.user_table tr.header, 649 padding-left: 0;
660table.events_table tr.header {
661 height: 2rem;
662 text-align: left;
663} 650}
664 651
665table.node_table td, 652.admin_table tbody tr {
666table.assets_table td, 653 border-bottom: 1px solid var(--hairline);
667table.user_table td,
668table.events_table td {
669 padding-top: 12px;
670 padding-bottom: 12px;
671 padding-right: 25px;
672 padding-left: 0px;
673 min-width: 2rem;
674} 654}
675 655
676table.node_table tr.header:hover, 656.admin_table tbody tr:hover {
677table.assets_table tr.header:hover, 657 background-color: var(--surface-tint);
678table.user_table tr.header:hover,
679table.events_table tr.header:hover {
680 background-color: var(--surface);
681} 658}
682 659
683table.node_table tr:hover, 660.node_table th.revision {
684table.assets_table tr:hover, 661 min-width: 4rem;
685table.user_table tr:hover,
686table.events_table tr:hover {
687 background-color: var(--surface-tint);
688} 662}
689 663
690table.revisions_table { 664.node_table th.editor,
691 border-collapse: collapse; 665.node_table th.title {
666 min-width: 12rem;
692} 667}
693 668
694table.revisions_table thead { 669.revisions_table thead {
695 position: sticky; 670 position: sticky;
696 top: 0; 671 top: 0;
697 z-index: 1; 672 z-index: 1;
673 background-color: var(--surface);
698} 674}
699 675
700table.revisions_table th, 676.revisions_table th,
701table.revisions_table td { 677.revisions_table td {
702 padding: 0.4rem 0.75rem; 678 padding: 0.4rem 0.75rem;
703 text-align: left;
704} 679}
705 680
706table.revisions_table thead tr.header, 681.revisions_table .diff_sticky_bar td {
707table.revisions_table thead tr.diff_sticky_bar { 682 border-bottom: 1px solid var(--hairline);
708 background-color: var(--surface);
709} 683}
710 684
711table.revisions_table .diff_sticky_bar td { 685.row_primary {
712 padding-top: 0.5rem; 686 font-weight: bold;
713 padding-bottom: 0.5rem;
714 border-bottom: 1px solid var(--hairline);
715} 687}
716 688
717#diff_selection_label { 689.row_secondary {
718 margin-left: 0.75rem; 690 display: flex;
691 align-items: center;
692 gap: 0.3rem;
693 margin-top: 0.25rem;
694 font-size: 0.875rem;
719 color: var(--text-muted); 695 color: var(--text-muted);
720} 696}
721table.revisions_table td.title {
722 width: 450px;
723}
724 697
725table.revisions_table td.date { 698.row_secondary a {
726 width: 175px; 699 color: inherit;
700 overflow-wrap: anywhere;
727} 701}
728 702
729table.revisions_table tr:not(.header):not(.no_hover) { 703.row_secondary svg {
730 border-bottom: 1px solid var(--hairline); 704 width: 0.875rem;
705 height: 0.875rem;
706 flex-shrink: 0;
731} 707}
732 708
733table.revisions_table tr.header:hover { 709#diff_selection_label {
734 background-color: var(--surface); 710 margin-left: 0.75rem;
711 color: var(--text-muted);
735} 712}
736 713
737table.revisions_table tr.no_hover:hover { 714@media (min-width: 1016px) {
738 background-color: var(--surface); 715 .revisions_table td.title {
739} 716 min-width: 28rem;
717 }
740 718
741table.revisions_table tr:hover { 719 .revisions_table td.date {
742 background-color: var(--surface-tint); 720 min-width: 11rem;
721 }
743} 722}
744 723
745#diffview del { 724#diffview del {
@@ -795,12 +774,9 @@ table.revisions_table tr:hover {
795 margin-bottom: 1.5rem; 774 margin-bottom: 1.5rem;
796} 775}
797 776
798.user_table td.actions, 777.admin-table td.actions {
799.node_table td.actions,
800.assets_table td.actions {
801 width: 1px; 778 width: 1px;
802 white-space: nowrap; 779 white-space: nowrap;
803 padding-right: 0;
804} 780}
805 781
806.events_table td.title, 782.events_table td.title,
@@ -808,33 +784,6 @@ table.revisions_table tr:hover {
808 padding-right: 0.75rem; 784 padding-right: 0.75rem;
809} 785}
810 786
811.assets_table .asset_name,
812.events_table .event_title {
813 font-weight: bold;
814}
815
816.assets_table .asset_meta,
817.events_table .event_meta {
818 display: flex;
819 align-items: center;
820 gap: 0.3rem;
821 margin-top: 0.35rem;
822 font-size: 0.875rem;
823}
824
825.assets_table .asset_meta svg,
826.events_table .event_meta svg {
827 width: 0.875rem;
828 height: 0.875rem;
829 flex-shrink: 0;
830}
831
832.assets_table .asset_meta a,
833.events_table .event_meta a {
834 overflow-wrap: anywhere;
835 color: var(--text-muted);
836}
837
838.events_table .event_when { 787.events_table .event_when {
839 overflow-wrap: normal; 788 overflow-wrap: normal;
840 min-width: 7rem; 789 min-width: 7rem;
@@ -845,12 +794,6 @@ table.revisions_table tr:hover {
845 overflow-wrap: anywhere; 794 overflow-wrap: anywhere;
846} 795}
847 796
848.events_table td.actions {
849 width: 1px;
850 white-space: nowrap;
851 padding-right: 0;
852}
853
854.assets_table .asset_thumb img { 797.assets_table .asset_thumb img {
855 display: block; 798 display: block;
856 max-width: 120px; 799 max-width: 120px;
@@ -869,8 +812,8 @@ table.revisions_table tr:hover {
869 display: block; 812 display: block;
870 } 813 }
871 814
872 .events_table tr.header, 815 .events_table thead,
873 .assets_table tr.header { 816 .assets_table thead {
874 display: none; 817 display: none;
875 } 818 }
876 819
@@ -1011,20 +954,6 @@ table.revisions_table tr:hover {
1011 min-width: 0; 954 min-width: 0;
1012} 955}
1013 956
1014.node_table .node_title {
1015 font-weight: bold;
1016}
1017
1018.node_table .node_path {
1019 margin-top: 0.25rem;
1020 font-size: 0.875rem;
1021}
1022
1023.node_table .node_path a {
1024 color: var(--text-muted);
1025}
1026
1027
1028.user_group_heading { 957.user_group_heading {
1029 margin-top: 1.5rem; 958 margin-top: 1.5rem;
1030} 959}
@@ -1430,10 +1359,6 @@ div.layout_row_content {
1430 max-width: 60rem; 1359 max-width: 60rem;
1431} 1360}
1432 1361
1433#sitemap .node_title a {
1434 font-weight: bold;
1435}
1436
1437#sitemap .title_with_flags { 1362#sitemap .title_with_flags {
1438 align-items: start; 1363 align-items: start;
1439} 1364}
@@ -1442,26 +1367,6 @@ div.layout_row_content {
1442 flex: 1; 1367 flex: 1;
1443} 1368}
1444 1369
1445#sitemap .node_path {
1446 display: flex;
1447 align-items: center;
1448 gap: 0.3rem;
1449 margin-top: 0.25rem;
1450 font-size: 0.875rem;
1451 color: var(--text-muted);
1452}
1453
1454#sitemap .node_path svg {
1455 width: 0.875rem;
1456 height: 0.875rem;
1457 flex-shrink: 0;
1458}
1459
1460#sitemap .node_path a {
1461 color: var(--text-muted);
1462 overflow-wrap: anywhere;
1463}
1464
1465#sitemap .action_grid { 1370#sitemap .action_grid {
1466 grid-template-columns: repeat(2, auto); 1371 grid-template-columns: repeat(2, auto);
1467} 1372}