Skip to content

Commit

Permalink
[ARCH-131] Style tooltip and disable suspend/unsuspend button in user…
Browse files Browse the repository at this point in the history
…s table
  • Loading branch information
annrra committed Oct 7, 2024
1 parent f9f3d21 commit 06a39d2
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 2 deletions.
17 changes: 17 additions & 0 deletions src/bp-core/admin/css/common-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3592,6 +3592,23 @@ table.moderations .column-member img {
content: "\ee6a";
}

table.users .suspend a.disabled,
table.users .unsuspend a.disabled {
cursor: default;
}

table.users .suspend a.disabled[data-bp-tooltip],
table.users .unsuspend a.disabled[data-bp-tooltip] {
display: inline-block;
}

table.users .suspend a.disabled[data-bp-tooltip]:after,
table.users .unsuspend a.disabled[data-bp-tooltip]:after {
white-space: normal;
width: 210px;
text-align: center;
}

/*------------------------------------------------------------------------------
* 17.0 Domain restriction
*----------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-core/admin/css/common-rtl.min.css

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions src/bp-core/admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -3592,6 +3592,23 @@ table.moderations .column-member img {
content: "\ee6a";
}

table.users .suspend a.disabled,
table.users .unsuspend a.disabled {
cursor: default;
}

table.users .suspend a.disabled[data-bp-tooltip],
table.users .unsuspend a.disabled[data-bp-tooltip] {
display: inline-block;
}

table.users .suspend a.disabled[data-bp-tooltip]:after,
table.users .unsuspend a.disabled[data-bp-tooltip]:after {
white-space: normal;
width: 210px;
text-align: center;
}

/*------------------------------------------------------------------------------
* 17.0 Domain restriction
*----------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion src/bp-core/admin/css/common.min.css

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions src/bp-core/admin/sass/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3900,6 +3900,27 @@ table.moderations .column-member {
}
}

table.users {

.suspend,
.unsuspend {

a.disabled {
cursor: default;
}

a.disabled[data-bp-tooltip] {
display: inline-block;

&:after {
white-space: normal;
width: 210px;
text-align: center;
}
}
}
}

/*------------------------------------------------------------------------------
* 17.0 Domain restriction
*----------------------------------------------------------------------------*/
Expand Down

0 comments on commit 06a39d2

Please sign in to comment.