2018-07-03 11:14:53 +08:00
|
|
|
//Styles for /admin/users
|
|
|
|
|
|
|
|
.display-row.associations .value {
|
|
|
|
width: 750px;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 75%;
|
|
|
|
float: right;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.display-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 10px 5px;
|
|
|
|
&:nth-of-type(1) {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
&.highlight-danger {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2018-07-03 11:14:53 +08:00
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
2018-07-03 19:51:22 +08:00
|
|
|
&.secondary-emails ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
.field {
|
|
|
|
font-weight: bold;
|
|
|
|
width: 17.65765%;
|
2019-12-18 22:25:42 +08:00
|
|
|
min-width: 125px;
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: 12px;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
margin-left: 0;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-large);
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.value {
|
2019-12-18 22:25:42 +08:00
|
|
|
width: 100%;
|
|
|
|
max-width: 350px;
|
|
|
|
min-width: 50px;
|
2018-07-03 11:14:53 +08:00
|
|
|
margin-left: 12px;
|
2020-09-15 22:00:10 +08:00
|
|
|
word-break: break-word;
|
2019-12-18 22:25:42 +08:00
|
|
|
.select-kit {
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
text-align: left;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.select-kit {
|
|
|
|
width: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.long-value {
|
|
|
|
margin-left: 12px;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2018-07-03 11:14:53 +08:00
|
|
|
button {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin-left: 12px;
|
|
|
|
@media (max-width: $mobile-breakpoint) {
|
|
|
|
width: 75%;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.btn {
|
2018-09-19 20:37:04 +08:00
|
|
|
margin-right: 5px;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-25 01:39:16 +08:00
|
|
|
&.username,
|
|
|
|
&.name {
|
|
|
|
.value {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
|
2018-09-19 20:37:04 +08:00
|
|
|
.admin-users {
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.users-list {
|
2019-10-05 01:25:54 +08:00
|
|
|
.username .d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2018-09-19 20:37:04 +08:00
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.admin-users-list {
|
2023-03-03 04:10:19 +08:00
|
|
|
.directory-table__cell {
|
|
|
|
&.username {
|
|
|
|
justify-content: start;
|
|
|
|
}
|
|
|
|
&.email {
|
|
|
|
justify-content: start;
|
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
min-width: 17em;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2023-03-02 22:20:38 +08:00
|
|
|
}
|
2023-03-03 01:52:02 +08:00
|
|
|
}
|
2023-03-03 04:10:19 +08:00
|
|
|
|
|
|
|
.directory-table {
|
|
|
|
margin-top: 1em;
|
|
|
|
&__column-header--username,
|
|
|
|
&__column-header--email {
|
|
|
|
.header-contents {
|
|
|
|
text-align: left;
|
2023-03-03 01:52:02 +08:00
|
|
|
}
|
2023-03-03 04:10:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__cell.username {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__cell.email {
|
|
|
|
@include breakpoint("tablet") {
|
2018-07-03 11:14:53 +08:00
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: -1;
|
2023-03-03 04:10:19 +08:00
|
|
|
span {
|
|
|
|
max-width: 100%;
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-03 04:10:19 +08:00
|
|
|
|
|
|
|
.directory-table__cell {
|
|
|
|
padding: 0.5em 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-status span {
|
|
|
|
gap: 0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2018-07-03 11:14:53 +08:00
|
|
|
}
|
2018-07-05 16:18:51 +08:00
|
|
|
|
|
|
|
// mobile styles
|
|
|
|
.mobile-view .admin-users.admin-user {
|
|
|
|
.display-row {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
.field,
|
|
|
|
.value {
|
2020-12-08 08:18:02 +08:00
|
|
|
width: 100%;
|
2018-07-05 16:18:51 +08:00
|
|
|
}
|
2020-12-08 08:18:02 +08:00
|
|
|
|
2018-07-05 16:18:51 +08:00
|
|
|
.select-kit {
|
2020-12-08 08:18:02 +08:00
|
|
|
width: 100%;
|
2018-07-05 16:18:51 +08:00
|
|
|
}
|
|
|
|
}
|
2018-07-07 12:28:04 +08:00
|
|
|
|
|
|
|
.long-value {
|
|
|
|
word-wrap: break-word;
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
button {
|
|
|
|
margin: 5px 0;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 15px 0 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-controls {
|
|
|
|
text-align: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
width: unset;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.associations button {
|
|
|
|
margin: 5px 5px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ip-lookup {
|
|
|
|
display: block;
|
|
|
|
.location-box {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-07-05 16:18:51 +08:00
|
|
|
}
|