2017-08-25 09:04:19 +08:00
|
|
|
// Common styles for "/user" section
|
2018-05-04 03:13:59 +08:00
|
|
|
// These styles are also used for "/groups" — test those pages if making significant changes
|
2019-03-26 02:38:38 +08:00
|
|
|
|
|
|
|
.user-content-wrapper {
|
|
|
|
// Grid layout
|
2019-03-30 03:34:31 +08:00
|
|
|
width: 100%;
|
2019-03-26 02:38:38 +08:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 5fr;
|
|
|
|
grid-template-rows: auto auto 1fr auto;
|
2020-04-25 07:32:02 +08:00
|
|
|
grid-row-gap: 20px;
|
2019-03-26 02:38:38 +08:00
|
|
|
.user-primary-navigation {
|
2019-03-26 04:41:03 +08:00
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
2019-03-26 02:38:38 +08:00
|
|
|
grid-row-start: 1;
|
|
|
|
grid-row-end: 2;
|
|
|
|
}
|
|
|
|
.user-secondary-navigation {
|
|
|
|
grid-column-start: 1;
|
2019-03-26 04:41:03 +08:00
|
|
|
grid-column-end: 2;
|
2019-03-26 02:38:38 +08:00
|
|
|
grid-row-start: 2;
|
|
|
|
grid-row-end: 3;
|
|
|
|
}
|
2019-04-05 22:59:52 +08:00
|
|
|
.solo-preference,
|
2019-03-26 02:38:38 +08:00
|
|
|
.user-content,
|
|
|
|
.spinner {
|
|
|
|
grid-row-start: 2;
|
|
|
|
grid-row-end: 4;
|
2019-03-26 04:41:03 +08:00
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
2019-03-26 02:38:38 +08:00
|
|
|
}
|
|
|
|
.user-content {
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
2019-03-26 04:41:03 +08:00
|
|
|
.user-additional-controls + .user-content,
|
2019-03-26 02:38:38 +08:00
|
|
|
.user-secondary-navigation + .user-content {
|
|
|
|
grid-column-start: 2;
|
2019-03-26 04:41:03 +08:00
|
|
|
grid-column-end: 3;
|
2019-03-26 02:38:38 +08:00
|
|
|
}
|
|
|
|
.user-additional-controls {
|
|
|
|
grid-row-start: 3;
|
|
|
|
align-self: start;
|
|
|
|
justify-self: start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-content {
|
2017-09-01 19:29:50 +08:00
|
|
|
.list-actions {
|
2019-01-18 06:29:27 +08:00
|
|
|
display: flex;
|
2020-04-25 07:32:02 +08:00
|
|
|
margin-bottom: 12px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.btn {
|
2020-04-25 07:32:02 +08:00
|
|
|
margin-right: 12px;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
2018-03-06 14:38:43 +08:00
|
|
|
|
|
|
|
.paginated-topics-list {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-mores {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-26 02:38:38 +08:00
|
|
|
|
|
|
|
.d-icon-heart {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--love);
|
2019-03-26 02:38:38 +08:00
|
|
|
}
|
2020-05-04 14:36:59 +08:00
|
|
|
|
2020-07-02 18:06:00 +08:00
|
|
|
.user-notifications-filter-select-kit {
|
2020-05-04 14:36:59 +08:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-bottom: 0.5px solid var(--primary-low);
|
2020-05-04 14:36:59 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2015-07-22 19:19:15 +08:00
|
|
|
.user-main {
|
2017-09-01 19:29:50 +08:00
|
|
|
.about {
|
|
|
|
width: 100%;
|
2018-05-02 08:41:28 +08:00
|
|
|
margin-bottom: 15px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2019-04-02 10:04:11 +08:00
|
|
|
&.has-background {
|
|
|
|
.user-profile-image {
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2019-04-02 11:50:47 +08:00
|
|
|
.staff-counters {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-04-02 10:04:11 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.secondary {
|
2019-03-30 00:52:26 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.btn {
|
2018-04-10 02:02:43 +08:00
|
|
|
padding: 4px 12px;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
margin: 0;
|
2018-04-10 02:02:43 +08:00
|
|
|
padding: 5px 10px;
|
|
|
|
div {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: baseline;
|
|
|
|
margin-right: 15px;
|
2018-04-20 23:44:17 +08:00
|
|
|
margin: 4px 0;
|
2018-04-10 02:02:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
dt,
|
|
|
|
dd {
|
2018-04-10 02:02:43 +08:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
padding: 0;
|
2018-04-10 02:02:43 +08:00
|
|
|
margin: 0 15px 0 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
&.groups {
|
2019-01-23 23:10:17 +08:00
|
|
|
span:not(:last-of-type) {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
span:after {
|
2018-06-08 17:49:31 +08:00
|
|
|
content: ",";
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
span:last-of-type:after {
|
2018-06-08 17:49:31 +08:00
|
|
|
content: "";
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary-medium);
|
2018-04-20 23:44:17 +08:00
|
|
|
margin-right: 5px;
|
2017-09-01 19:29:50 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: rgba(var(--secondary-rgb), 0.8);
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
h1 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-5;
|
2017-09-01 19:29:50 +08:00
|
|
|
font-weight: normal;
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2018-06-08 17:49:31 +08:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-weight: normal;
|
|
|
|
max-width: 100%;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-weight: normal;
|
2019-01-09 02:07:29 +08:00
|
|
|
margin-bottom: 0.5em;
|
2017-09-01 20:32:27 +08:00
|
|
|
.d-icon:not(:first-of-type) {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.groups {
|
|
|
|
margin-left: 10px;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.suspended {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
a[href] {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 06:13:32 +08:00
|
|
|
|
|
|
|
.user-profile-avatar {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
.avatar-flair {
|
|
|
|
bottom: 8px;
|
|
|
|
right: 16px;
|
|
|
|
}
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
2021-06-08 01:22:28 +08:00
|
|
|
margin-top: 0;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2018-12-19 09:36:42 +08:00
|
|
|
.btn {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed-info {
|
|
|
|
.details {
|
|
|
|
margin-top: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: rgba(var(--secondary-rgb), 0.8);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.bio {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-3;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
2019-03-21 02:56:34 +08:00
|
|
|
h3,
|
|
|
|
h3.location-and-website {
|
2017-09-01 19:29:50 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-14 06:13:32 +08:00
|
|
|
|
|
|
|
.user-profile-avatar {
|
|
|
|
.avatar-flair {
|
|
|
|
bottom: 8px;
|
|
|
|
right: 2px;
|
2019-03-26 02:38:38 +08:00
|
|
|
.d-icon {
|
2018-08-31 22:38:39 +08:00
|
|
|
font-size: $font-0;
|
|
|
|
}
|
2018-02-14 06:13:32 +08:00
|
|
|
}
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.staff-counters {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary);
|
|
|
|
color: var(--secondary);
|
2017-12-12 23:40:16 +08:00
|
|
|
display: flex;
|
2018-02-26 18:42:57 +08:00
|
|
|
padding: 10px;
|
2020-04-25 07:32:02 +08:00
|
|
|
margin-bottom: 16px;
|
2018-06-08 17:49:31 +08:00
|
|
|
> div,
|
|
|
|
> div a {
|
2017-12-12 23:40:16 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
flex: 0 1 auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
margin: 0 10px 0 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2019-03-26 02:38:38 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
span {
|
2019-03-26 02:38:38 +08:00
|
|
|
padding: 0 7px 1px;
|
2017-09-01 19:29:50 +08:00
|
|
|
border-radius: 10px;
|
2018-02-26 18:42:57 +08:00
|
|
|
margin-right: 5px;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
2018-02-26 18:42:57 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.helpful-flags {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--success);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flagged-posts {
|
2018-06-08 17:49:31 +08:00
|
|
|
background-color: #e49735;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.warnings-received {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-posts {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.suspensions {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-field {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
label {
|
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-01-19 09:08:52 +08:00
|
|
|
.user-content {
|
|
|
|
.admin-controls nav {
|
|
|
|
margin: 0;
|
|
|
|
.nav-pills {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-22 19:19:15 +08:00
|
|
|
}
|
|
|
|
|
2020-12-15 05:35:32 +08:00
|
|
|
.login-form,
|
2021-03-11 01:27:53 +08:00
|
|
|
.user-field,
|
|
|
|
.invites-show {
|
2014-10-09 02:38:18 +08:00
|
|
|
.required {
|
2018-10-04 10:26:05 +08:00
|
|
|
vertical-align: top;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2014-10-09 02:38:18 +08:00
|
|
|
font-weight: bold;
|
2018-10-04 10:26:05 +08:00
|
|
|
margin-left: 0.25em;
|
2014-10-09 02:38:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-30 06:38:39 +08:00
|
|
|
.public-user-fields {
|
2017-02-16 17:45:20 +08:00
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2015-01-30 06:38:39 +08:00
|
|
|
.user-field-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.collapsed-info & {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-01-30 06:38:39 +08:00
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.avatar-selector {
|
2017-11-30 01:09:44 +08:00
|
|
|
.avatar-choice {
|
2019-07-19 22:39:38 +08:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 2em 1fr auto;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
align-items: center;
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
word-break: break-word; // Prevents long emails from breaking the modal width
|
|
|
|
}
|
|
|
|
input[type="radio"] {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2019-07-19 22:39:38 +08:00
|
|
|
$label-max-width: 300px;
|
|
|
|
label.radio {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
max-width: $label-max-width;
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
padding: 0;
|
|
|
|
.avatar {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin: 0 0.75em 0 0;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2019-07-19 22:39:38 +08:00
|
|
|
.error {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-07-19 22:39:38 +08:00
|
|
|
margin: 0;
|
|
|
|
max-width: calc(#{$label-max-width} - 20px);
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-column-end: 3;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2014-09-27 02:48:34 +08:00
|
|
|
|
2016-01-20 12:11:52 +08:00
|
|
|
.top-section {
|
2016-04-04 17:18:15 +08:00
|
|
|
@include clearfix();
|
2016-03-31 00:05:16 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.top-section,
|
2016-04-17 19:19:06 +08:00
|
|
|
.top-sub-section {
|
2016-03-31 00:05:16 +08:00
|
|
|
margin-bottom: 20px;
|
2018-03-03 03:43:54 +08:00
|
|
|
&.badges-section {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.stats-title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 10px;
|
2018-03-03 03:43:54 +08:00
|
|
|
width: 100%;
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.stats-section {
|
|
|
|
ul {
|
|
|
|
margin: 10px 0;
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
2019-03-26 02:38:38 +08:00
|
|
|
padding: 10px 14px 10px 0;
|
|
|
|
margin: 0 10px 10px 0;
|
2016-11-10 02:38:07 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
&.linked-stat {
|
|
|
|
// This makes the entire "box" (the li) clickable instead of a narrow area.
|
2016-11-10 02:38:07 +08:00
|
|
|
padding: 0;
|
|
|
|
a {
|
2019-03-26 02:38:38 +08:00
|
|
|
padding: 10px 14px 10px 0;
|
2016-11-10 02:38:07 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2016-11-10 02:38:07 +08:00
|
|
|
}
|
|
|
|
}
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
|
|
|
|
.value {
|
|
|
|
font-weight: bold;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-03-31 05:16:22 +08:00
|
|
|
|
|
|
|
.label {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2016-03-31 05:16:22 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
2016-04-17 19:19:06 +08:00
|
|
|
.top-sub-section {
|
2016-03-31 00:05:16 +08:00
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
max-width: 95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2020-08-04 10:57:10 +08:00
|
|
|
border-left: var(--primary-low) solid 2px;
|
2016-03-31 00:05:16 +08:00
|
|
|
padding: 5px 8px;
|
|
|
|
margin: 10px 0;
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
|
|
|
|
.topic-info {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
@media all and (max-width: 600px) {
|
2017-09-01 19:29:50 +08:00
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
|
|
|
|
2016-04-19 00:07:14 +08:00
|
|
|
.replies-section,
|
|
|
|
.topics-section,
|
|
|
|
.links-section {
|
|
|
|
li {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-14 05:02:51 +08:00
|
|
|
.links-section {
|
|
|
|
.domain {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2016-04-14 05:02:51 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
2018-07-19 04:37:50 +08:00
|
|
|
.top-categories-section {
|
|
|
|
table {
|
|
|
|
max-width: 95%;
|
|
|
|
tr {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0.5em;
|
|
|
|
&.topic-count,
|
|
|
|
&.reply-count {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-14 03:20:42 +08:00
|
|
|
.summary-user-list {
|
2016-04-14 05:02:51 +08:00
|
|
|
li {
|
2019-03-26 02:38:38 +08:00
|
|
|
height: 45px;
|
2016-04-14 05:02:51 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.groups {
|
|
|
|
.group-link {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-preferences {
|
|
|
|
textarea {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
2019-03-26 02:38:38 +08:00
|
|
|
.tracking-controls {
|
|
|
|
label {
|
|
|
|
align-items: center;
|
2019-06-28 09:36:24 +08:00
|
|
|
display: inline-block;
|
2019-03-26 02:38:38 +08:00
|
|
|
.d-icon {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
2019-06-28 09:36:24 +08:00
|
|
|
.select-kit.multi-select {
|
2019-07-11 21:57:53 +08:00
|
|
|
@include breakpoint(mobile-extra-large) {
|
2019-06-28 09:36:24 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.show-tracking {
|
|
|
|
float: right;
|
|
|
|
}
|
2019-03-26 02:38:38 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.static {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-09-01 19:29:50 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-bottom: 10px;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
|
|
|
line-height: $line-height-large;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
a[href] {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
padding: 5px 8px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2017-09-01 19:29:50 +08:00
|
|
|
width: 520px;
|
|
|
|
}
|
|
|
|
|
2018-05-24 09:51:08 +08:00
|
|
|
.warning-wrap {
|
|
|
|
height: 30px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-03-26 02:38:38 +08:00
|
|
|
.tracking-controls {
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-top: 24px;
|
|
|
|
}
|
2018-06-28 16:12:32 +08:00
|
|
|
|
|
|
|
&.second-factor-backup-preferences {
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
.second-factor-token-input {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2020-05-05 09:05:25 +08:00
|
|
|
.form-horizontal {
|
|
|
|
.instructions {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.actions {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2018-06-28 16:12:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.backup-codes {
|
|
|
|
margin: 2em 0;
|
|
|
|
|
|
|
|
.wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 3px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2020-01-21 22:28:31 +08:00
|
|
|
width: 100%;
|
2018-06-28 16:12:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.backup-codes-area {
|
|
|
|
resize: none;
|
|
|
|
padding: 0;
|
|
|
|
height: auto;
|
|
|
|
text-align: center;
|
2020-01-21 22:28:31 +08:00
|
|
|
width: 100%;
|
2020-09-01 00:56:57 +08:00
|
|
|
background: var(--secondary);
|
2018-06-28 16:12:32 +08:00
|
|
|
border: 0;
|
|
|
|
cursor: auto;
|
|
|
|
outline: none;
|
|
|
|
font-family: monospace;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--primary-low);
|
2018-06-28 16:12:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.backup-codes-copy-btn,
|
|
|
|
.backup-codes-download-btn {
|
|
|
|
right: 5px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.backup-codes-copy-btn {
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.backup-codes-download-btn {
|
|
|
|
top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-23 23:51:57 +08:00
|
|
|
|
|
|
|
.pref-associated-accounts table {
|
|
|
|
td {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
}
|
2019-12-17 00:41:34 +08:00
|
|
|
.featured-topic-link {
|
|
|
|
padding: 5px 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2020-05-23 12:56:13 +08:00
|
|
|
.save-theme-alert {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2020-08-28 22:36:52 +08:00
|
|
|
|
|
|
|
.control-subgroup {
|
|
|
|
float: left;
|
|
|
|
+ .controls {
|
|
|
|
clear: both;
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.light-color-scheme {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
|
|
|
clear: both;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin inactiveMode() {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
.select-kit.combo-box .select-kit-header {
|
|
|
|
border-color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.light-color-scheme {
|
|
|
|
@include inactiveMode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
.dark-color-scheme {
|
|
|
|
@include inactiveMode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.undo-preview {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2016-07-08 10:58:18 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.paginated-topics-list {
|
|
|
|
.user-content {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 0;
|
2016-07-08 10:58:18 +08:00
|
|
|
}
|
|
|
|
}
|
2017-09-16 01:24:43 +08:00
|
|
|
|
2021-02-08 15:45:14 +08:00
|
|
|
.large-notifications {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-16 01:24:43 +08:00
|
|
|
.large-notification {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2019-05-25 21:53:03 +08:00
|
|
|
span:first-child {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-09-16 01:24:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Can remove this once other languages have removed html from i18n values
|
2018-06-08 17:49:31 +08:00
|
|
|
div {
|
2017-09-16 01:24:43 +08:00
|
|
|
.fa {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-24 00:14:51 +08:00
|
|
|
|
2018-02-22 06:23:47 +08:00
|
|
|
.qr-code-container {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: flex;
|
|
|
|
.qr-code {
|
|
|
|
padding: 5px 5px 0 5px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
2018-02-22 06:23:47 +08:00
|
|
|
}
|
2018-04-20 23:44:17 +08:00
|
|
|
|
2019-06-27 07:58:06 +08:00
|
|
|
.second-factor {
|
|
|
|
&.instructions {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-06-27 07:58:06 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
|
|
|
.second-factor-item {
|
|
|
|
margin-top: 0.75em;
|
|
|
|
}
|
|
|
|
.btn.edit {
|
|
|
|
min-height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-20 23:44:17 +08:00
|
|
|
.primary-textual .staged,
|
2020-02-13 17:58:17 +08:00
|
|
|
.user-card .staged {
|
2018-04-20 23:44:17 +08:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2018-07-18 18:57:43 +08:00
|
|
|
|
|
|
|
.selectable-avatars {
|
|
|
|
max-height: 350px;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
text-align: justify;
|
|
|
|
.selectable-avatar {
|
|
|
|
margin: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
.avatar {
|
2018-07-19 04:54:35 +08:00
|
|
|
cursor: pointer;
|
2018-07-18 18:57:43 +08:00
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
box-shadow: 0 0 10px var(--primary);
|
2018-07-18 18:57:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-24 09:39:09 +08:00
|
|
|
|
|
|
|
.timezone-input {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2020-10-03 15:35:26 +08:00
|
|
|
|
|
|
|
.user-invites-page {
|
2021-04-29 21:44:51 +08:00
|
|
|
.user-invite-search {
|
|
|
|
clear: both;
|
|
|
|
margin: 15px 0px -15px 0px;
|
|
|
|
}
|
|
|
|
|
2020-10-03 15:35:26 +08:00
|
|
|
.invite-error {
|
|
|
|
grid-column: 1 / span 2;
|
|
|
|
}
|
2021-04-29 21:44:51 +08:00
|
|
|
|
|
|
|
table.user-invite-list {
|
|
|
|
.invite-type {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.invite-extra {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
margin: 0.25em 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-03 15:35:26 +08:00
|
|
|
}
|
2021-01-21 00:31:52 +08:00
|
|
|
|
|
|
|
.notification-schedule {
|
|
|
|
.instruction {
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-schedule-table {
|
|
|
|
.notification-schedule-tbody {
|
|
|
|
border-top-width: 1px;
|
|
|
|
.day {
|
|
|
|
.day-label {
|
|
|
|
padding: 1em 1em 1em 0;
|
|
|
|
}
|
|
|
|
.to {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|