2017-08-25 09:04:19 +08:00
|
|
|
// Common styles for "/user" section
|
2017-09-01 19:29:50 +08:00
|
|
|
.user-right {
|
|
|
|
.list-actions {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-22 19:19:15 +08:00
|
|
|
.user-main {
|
2017-11-24 00:14:51 +08:00
|
|
|
.d-icon-heart {
|
2015-07-22 19:19:15 +08:00
|
|
|
color: $love !important;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.about {
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.secondary {
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 3px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: $primary;
|
|
|
|
|
|
|
|
&.groups {
|
|
|
|
span:after {
|
|
|
|
content: ','
|
|
|
|
}
|
|
|
|
span:last-of-type:after {
|
|
|
|
content:''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
color: $secondary-medium;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.details {
|
2017-12-12 04:40:04 +08:00
|
|
|
background: rgba($secondary, .8);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
background-color: $secondary-low;
|
|
|
|
border-left-color: $secondary-low;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 2.286em;
|
2017-09-01 19:29:50 +08:00
|
|
|
font-weight: normal;
|
|
|
|
i {font-size: .8em;}
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 1.286em;
|
2017-09-01 19:29:50 +08:00
|
|
|
font-weight: normal;
|
|
|
|
margin-top: 10px;
|
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 5px 0;
|
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 {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
a[href] {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.controls {
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed-info {
|
|
|
|
.controls {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profile-image {
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
|
|
|
margin-top: 0;
|
2017-12-12 04:40:04 +08:00
|
|
|
background: rgba($secondary, .8);
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.bio {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.429em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 1.143em;
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.staff-counters {
|
|
|
|
background: $primary;
|
2017-12-12 23:40:16 +08:00
|
|
|
color: $secondary;
|
|
|
|
display: flex;
|
|
|
|
padding: 10px;
|
|
|
|
> div, > div a {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
flex: 0 1 auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
margin: 0 10px 0 0;
|
|
|
|
span {
|
2017-12-12 23:40:16 +08:00
|
|
|
padding: 1px 6px;
|
2017-09-01 19:29:50 +08:00
|
|
|
border-radius: 10px;
|
2017-12-12 23:40:16 +08:00
|
|
|
margin-right: 5px;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
2017-12-12 23:40:16 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
a {
|
2016-04-01 05:33:25 +08:00
|
|
|
color: $secondary;
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pill {
|
|
|
|
border-radius: 15px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.helpful-flags {
|
|
|
|
background-color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flagged-posts {
|
|
|
|
background-color: #E49735;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warnings-received {
|
|
|
|
background-color: #EC441B;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-posts {
|
|
|
|
background-color: #EC441B;
|
|
|
|
}
|
|
|
|
|
|
|
|
.suspensions {
|
|
|
|
background-color: #c22020;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-field {
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&.text {
|
|
|
|
padding-top: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
label {
|
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
float: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: .857em;
|
2017-09-01 19:29:50 +08:00
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-22 19:19:15 +08:00
|
|
|
}
|
|
|
|
|
2014-10-09 02:38:18 +08:00
|
|
|
.user-field {
|
|
|
|
.required {
|
|
|
|
text-align: top;
|
|
|
|
color: $danger;
|
|
|
|
font-weight: bold;
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 1.286em;
|
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
|
|
|
.user-navigation {
|
2014-10-09 02:38:18 +08:00
|
|
|
.map {
|
2014-04-21 03:17:11 +08:00
|
|
|
height: 50px;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
width: 45px;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
nav.buttons {
|
|
|
|
width: 180px;
|
|
|
|
padding: 0;
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px;
|
2014-10-11 19:30:34 +08:00
|
|
|
box-sizing: border-box;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
h2 {
|
|
|
|
a {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1em;
|
2016-04-01 05:33:25 +08:00
|
|
|
color: scale-color($tertiary, $lightness: -10%);
|
2014-04-21 03:17:11 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-table {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 20px;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-selector {
|
2017-11-30 01:09:44 +08:00
|
|
|
padding-bottom: 0 !important;
|
|
|
|
label.radio {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
.avatar-choice {
|
|
|
|
min-height: 40px;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
#avatar-input {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin: 5px 10px 5px 0;
|
|
|
|
}
|
2017-11-30 01:09:44 +08:00
|
|
|
p.error {
|
|
|
|
color: $danger;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2014-09-27 02:48:34 +08:00
|
|
|
|
2014-11-30 10:09:34 +08:00
|
|
|
.new-private-message {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2015-03-20 02:53:52 +08:00
|
|
|
|
2016-04-01 05:33:25 +08:00
|
|
|
.user-nav {
|
|
|
|
margin: 5px 0px;
|
2016-06-20 02:43:17 +08:00
|
|
|
padding-top: 10px;
|
2016-04-01 05:33:25 +08:00
|
|
|
|
2017-08-25 10:39:14 +08:00
|
|
|
li a {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-section {
|
2016-04-04 17:18:15 +08:00
|
|
|
@include clearfix();
|
2016-04-01 05:33:25 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-04-08 01:51:05 +08:00
|
|
|
|
|
|
|
.username, .name {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-nav {
|
|
|
|
margin: 5px 0px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
.fa.fa-comment {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-right .list-actions {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
.btn {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-section {
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.top-section,
|
|
|
|
.replies-section,
|
|
|
|
.topics-section {
|
|
|
|
margin-bottom: 20px;
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.top-section,
|
2016-04-17 19:19:06 +08:00
|
|
|
.top-sub-section {
|
2016-04-01 05:33:25 +08:00
|
|
|
margin-bottom: 20px;
|
2015-03-20 02:53:52 +08:00
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
|
|
|
|
.stats-title {
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stats-section {
|
|
|
|
ul {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px 14px;
|
|
|
|
margin: 0 5px 10px 0;
|
2016-11-10 02:38:07 +08:00
|
|
|
|
|
|
|
&.linked-stat { // This makes the entire "box" (the li) clickable instead of a narrow area.
|
|
|
|
padding: 0;
|
|
|
|
a {
|
2017-12-12 04:40:04 +08:00
|
|
|
padding: 10px 14px;
|
2016-11-10 02:38:07 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
2017-07-23 06:48:31 +08:00
|
|
|
color: $primary;
|
2016-11-10 02:38:07 +08:00
|
|
|
}
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
li:last-of-type {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value {
|
|
|
|
font-weight: bold;
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 1.286em;
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
2017-10-14 03:20:42 +08:00
|
|
|
// TODO: Remove once all languages have been translated to remove icons from
|
|
|
|
// their user-stat labels
|
|
|
|
.fa:nth-of-type(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-06-12 10:20:14 +08:00
|
|
|
color: blend-primary-secondary(50%);
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-17 19:19:06 +08:00
|
|
|
.top-sub-section {
|
2016-04-01 05:33:25 +08:00
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
max-width: 95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2017-06-12 10:20:14 +08:00
|
|
|
border-left: $primary-low solid 2px;
|
2016-04-01 05:33:25 +08:00
|
|
|
padding: 5px 8px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-info {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2016-01-20 12:11:52 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
@media all and (max-width : 600px) {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 00:07:14 +08:00
|
|
|
.replies-section,
|
|
|
|
.topics-section,
|
|
|
|
.links-section {
|
|
|
|
li {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
2016-04-14 05:02:51 +08:00
|
|
|
.links-section {
|
|
|
|
.domain {
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: 0.786em;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2016-04-14 05:02:51 +08:00
|
|
|
}
|
2016-03-31 00:05:16 +08:00
|
|
|
}
|
|
|
|
|
2017-10-14 03:20:42 +08:00
|
|
|
.summary-user-list {
|
2016-04-14 05:02:51 +08:00
|
|
|
li {
|
|
|
|
height: 40px;
|
|
|
|
}
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.groups {
|
|
|
|
.group-link {
|
|
|
|
color: $tertiary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-preferences {
|
|
|
|
textarea {
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.static {
|
|
|
|
color: $primary;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.instructions {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-bottom: 10px;
|
2017-12-22 01:59:19 +08:00
|
|
|
font-size: .857em;
|
2017-09-01 19:29:50 +08:00
|
|
|
line-height: 1.4em;
|
|
|
|
|
|
|
|
a[href] {
|
|
|
|
color: $tertiary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning {
|
2017-10-11 04:07:46 +08:00
|
|
|
background-color: $danger-medium;
|
2017-09-01 19:29:50 +08:00
|
|
|
padding: 5px 8px;
|
|
|
|
color: $secondary;
|
|
|
|
width: 520px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-notifications .category-controls,
|
|
|
|
.tag-notifications .tag-controls {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags .select2-container-multi {
|
|
|
|
border: 1px solid $primary-low;
|
|
|
|
width: 540px;
|
|
|
|
border-radius: 0;
|
|
|
|
.select2-choices {
|
|
|
|
border: none;
|
|
|
|
}
|
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 {
|
2016-04-01 05:33:25 +08:00
|
|
|
width: 100%;
|
2017-09-01 19:29:50 +08:00
|
|
|
margin-top: 0;
|
2016-04-01 05:33:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Can remove this once other languages have removed html from i18n values
|
|
|
|
div {
|
|
|
|
.fa {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-07-08 10:58:18 +08:00
|
|
|
}
|
|
|
|
}
|
2017-11-24 00:14:51 +08:00
|
|
|
|