summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/admin.css106
1 files changed, 80 insertions, 26 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index a54c47a3..f415379a 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -837,41 +837,99 @@ table.revisions_table tr:hover {
837 margin: 0; 837 margin: 0;
838} 838}
839 839
840.user_group_heading { 840.user_table {
841 margin-top: 1.5rem; 841 width: 100%;
842} 842 max-width: 44rem;
843 843 margin-bottom: 1.5rem;
844/* Retired accounts: present for attribution, not for action. */
845.user_group_alumni,
846.user_table_alumni {
847 color: var(--text-muted);
848} 844}
849 845
850.user_table td.user_action { 846.user_table td.user_actions {
851 width: 1px; 847 width: 1px;
852 white-space: nowrap; 848 white-space: nowrap;
853 text-align: center;
854} 849}
855 850
856.user_table td.user_action a { 851.user_table .user_action_grid {
857 text-decoration: none; 852 display: grid;
853 grid-template-columns: repeat(2, auto);
854 gap: 0.4rem;
855 justify-content: end;
856}
857
858.user_table .user_action {
859 display: inline-flex;
860 min-height: 2rem;
858} 861}
859 862
860.user_table td.user_action svg { 863.user_table .user_action svg {
861 width: 1.25rem; 864 width: 1.25rem;
862 height: 1.25rem; 865 height: 1.25rem;
863} 866}
864 867
865.user_table td.user_action .field_hint svg { 868.user_table .user_action form.button_to {
869 display: inline-flex;
870 margin: 0;
871}
872
873.user_table .user_action a,
874.user_table .user_action button[type="submit"],
875.user_table .user_action .disabled_action {
876 display: inline-flex;
877 align-items: center;
878 justify-content: center;
879 padding: 0.3rem;
880 border: 1px solid transparent;
881 border-radius: 2px;
882 background-color: var(--surface-raised);
883 color: var(--text);
884 text-decoration: none;
885}
886
887.user_table .user_action a:hover {
888 color: var(--surface);
889 background-color: var(--text);
890}
891
892.user_table .user_action form.button_to.destructive button:hover {
893 color: var(--on-solid);
894 background-color: var(--danger-solid);
895}
896
897.user_table .user_action form.button_to.state_changing button:hover {
898 color: var(--on-solid);
899 background-color: var(--action-solid);
900}
901
902.user_table .user_action .disabled_action {
866 color: var(--text-muted); 903 color: var(--text-muted);
867 vertical-align: middle; 904 background-color: transparent;
905 border-color: var(--border);
906 cursor: not-allowed;
868} 907}
869 908
870/* Four groups stacked, and the last one needs clearance from the wrapper. */ 909.user_table .user_role {
871.user_table { 910 display: block;
872 width: 100%; 911}
873 max-width: 44rem; 912
874 margin-bottom: 1.5rem; 913.user_table .user_login svg {
914 color: var(--text-muted);
915 vertical-align: -0.15em;
916 margin-right: 0.5rem;
917 width: 1rem;
918 height: 1rem;
919}
920
921.user_table .user_login .otp_missing svg {
922 color: var(--accent);
923}
924
925.user_group_heading {
926 margin-top: 1.5rem;
927}
928
929/* Retired accounts: present for attribution, not for action. */
930.user_group_alumni,
931.user_table_alumni {
932 color: var(--text-muted);
875} 933}
876 934
877.role_choice { 935.role_choice {
@@ -905,10 +963,6 @@ table.revisions_table tr:hover {
905 } 963 }
906} 964}
907 965
908table.user_table td.user_login {
909 padding-right: 30px;
910}
911
912/* ============================================================ 966/* ============================================================
913 Node display (nodes#show / nodes#new) 967 Node display (nodes#show / nodes#new)
914 ============================================================ */ 968 ============================================================ */
@@ -947,7 +1001,7 @@ div.layout_row_content {
947 padding: 0.5rem 0.75rem; 1001 padding: 0.5rem 0.75rem;
948} 1002}
949 1003
950.info_group .disabled_action { 1004.disabled_action {
951 display: inline-flex; 1005 display: inline-flex;
952 align-items: center; 1006 align-items: center;
953 gap: 0.35rem; 1007 gap: 0.35rem;
@@ -960,7 +1014,7 @@ div.layout_row_content {
960 line-height: 1.25rem; 1014 line-height: 1.25rem;
961} 1015}
962 1016
963.info_group .disabled_action svg { 1017.disabled_action svg {
964 width: 1.25rem; 1018 width: 1.25rem;
965 height: 1.25rem; 1019 height: 1.25rem;
966} 1020}