Browse Source

[Glitch] Add batch suspend for accounts in admin UI

Port SCSS changes from 2aafa5b4e7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
closed-social-glitch-2
Eugen Rochko 2 years ago
committed by Claire
parent
commit
9cecf59300
3 changed files with 51 additions and 2 deletions
  1. +28
    -2
      app/javascript/flavours/glitch/styles/accounts.scss
  2. +5
    -0
      app/javascript/flavours/glitch/styles/tables.scss
  3. +18
    -0
      app/javascript/flavours/glitch/styles/widgets.scss

+ 28
- 2
app/javascript/flavours/glitch/styles/accounts.scss View File

@ -328,7 +328,12 @@
}
}
.batch-table__row--muted .pending-account__header {
.batch-table__row--muted {
color: lighten($ui-base-color, 26%);
}
.batch-table__row--muted .pending-account__header,
.batch-table__row--muted .accounts-table {
&,
a,
strong {
@ -336,10 +341,31 @@
}
}
.batch-table__row--attention .pending-account__header {
.batch-table__row--muted .accounts-table {
tbody td.accounts-table__extra,
&__count,
&__count small {
color: lighten($ui-base-color, 26%);
}
}
.batch-table__row--attention {
color: $gold-star;
}
.batch-table__row--attention .pending-account__header,
.batch-table__row--attention .accounts-table {
&,
a,
strong {
color: $gold-star;
}
}
.batch-table__row--attention .accounts-table {
tbody td.accounts-table__extra,
&__count,
&__count small {
color: $gold-star;
}
}

+ 5
- 0
app/javascript/flavours/glitch/styles/tables.scss View File

@ -237,6 +237,11 @@ a.table-action-link {
flex: 1 1 auto;
}
&__quote {
padding: 12px;
padding-top: 0;
}
&__extra {
flex: 0 0 auto;
text-align: right;

+ 18
- 0
app/javascript/flavours/glitch/styles/widgets.scss View File

@ -434,6 +434,24 @@
}
}
tbody td.accounts-table__extra {
width: 120px;
text-align: right;
color: $darker-text-color;
padding-right: 16px;
a {
text-decoration: none;
color: inherit;
&:focus,
&:hover,
&:active {
text-decoration: underline;
}
}
}
&__comment {
width: 50%;
vertical-align: initial !important;

Loading…
Cancel
Save