2017-08-25 09:04:19 +08:00
|
|
|
// Mobile styles for "/user" section
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-top: s(3);
|
2014-10-28 11:35:16 +08:00
|
|
|
|
|
|
|
.user-content {
|
|
|
|
box-sizing: border-box;
|
2019-03-21 02:56:34 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
margin-top: s(3);
|
2014-10-28 11:35:16 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-top: s(3);
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.about {
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-bottom: 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
color: $secondary;
|
|
|
|
|
2017-04-27 04:18:16 +08:00
|
|
|
.secondary {
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-bottom: s(3);
|
2014-10-28 11:35:16 +08:00
|
|
|
dl {
|
2019-03-21 02:56:34 +08:00
|
|
|
padding: s(2) 0;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.details {
|
2019-03-21 02:56:34 +08:00
|
|
|
background: $secondary;
|
2016-02-06 22:18:13 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
h1 {
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-small;
|
2017-12-12 04:40:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2019-03-21 02:56:34 +08:00
|
|
|
.user-profile-avatar {
|
|
|
|
.avatar-flair {
|
|
|
|
right: 2px;
|
|
|
|
}
|
|
|
|
display: block;
|
|
|
|
float: none;
|
|
|
|
margin: s(2 auto);
|
|
|
|
img.avatar {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-names {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.location-and-website {
|
2017-12-12 04:40:04 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-03-21 02:56:34 +08:00
|
|
|
justify-content: center;
|
|
|
|
font-size: $font-0;
|
|
|
|
.d-icon {
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.8em;
|
|
|
|
margin-right: 0.25em;
|
2017-12-12 04:40:04 +08:00
|
|
|
}
|
2019-03-21 02:56:34 +08:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2014-08-14 03:38:55 +08:00
|
|
|
}
|
2019-03-21 02:56:34 +08:00
|
|
|
}
|
2014-08-01 13:41:11 +08:00
|
|
|
|
2019-03-21 02:56:34 +08:00
|
|
|
.user-profile-location {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-location,
|
|
|
|
.user-profile-website {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
2019-03-21 02:56:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
color: $primary;
|
2018-02-14 06:13:32 +08:00
|
|
|
|
2019-03-21 02:56:34 +08:00
|
|
|
.avatar {
|
|
|
|
margin: 0 0 s(3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary-textual {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
word-break: break-word;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
|
|
|
color: $primary;
|
|
|
|
margin: 0 auto s(2);
|
|
|
|
max-width: 700px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-background {
|
|
|
|
background-size: contain;
|
|
|
|
background-position: top center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
.user-profile-avatar {
|
|
|
|
margin-top: s(-24);
|
|
|
|
}
|
|
|
|
.details {
|
|
|
|
margin-top: 200px;
|
2018-02-14 06:13:32 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2017-12-12 04:40:04 +08:00
|
|
|
order: 3;
|
|
|
|
flex: 1 1 25%;
|
|
|
|
margin-left: auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-11-02 12:44:56 +08:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
2017-12-12 04:40:04 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
flex-wrap: wrap;
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-left: -1em;
|
|
|
|
li,
|
|
|
|
> span {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 45%;
|
|
|
|
margin-left: 1em;
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-12-12 23:58:03 +08:00
|
|
|
}
|
2018-03-07 10:27:18 +08:00
|
|
|
|
2017-12-12 04:40:04 +08:00
|
|
|
.user-profile-controls-outlet {
|
2019-03-21 04:04:47 +08:00
|
|
|
margin: 0 0 0 1em;
|
2017-12-12 04:40:04 +08:00
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-02 12:44:56 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
a {
|
2018-03-07 10:27:18 +08:00
|
|
|
flex: 1 1 auto;
|
2017-12-12 04:40:04 +08:00
|
|
|
min-width: 120px;
|
2013-11-01 22:27:01 +08:00
|
|
|
}
|
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.user-field {
|
|
|
|
label {
|
2017-04-27 04:18:16 +08:00
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
2014-10-28 11:35:16 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-14 15:52:57 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
|
2019-03-21 02:56:34 +08:00
|
|
|
.user-main .collapsed-info.about.has-background {
|
|
|
|
background-image: none !important; // todo: make changes to behavior to remove this
|
|
|
|
.details {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
2019-03-21 02:56:34 +08:00
|
|
|
.user-main .collapsed-info.about .details {
|
|
|
|
display: flex;
|
|
|
|
.user-profile-avatar {
|
|
|
|
margin: 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
.primary .primary-textual {
|
|
|
|
flex: 1 0 80%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.user-profile-names {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin: s(2) 0 s(3);
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.paginated-topics-list {
|
|
|
|
margin-top: 20px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2015-01-09 09:32:19 +08:00
|
|
|
|
2017-12-12 04:40:04 +08:00
|
|
|
.stats-section {
|
2018-03-07 10:27:18 +08:00
|
|
|
li {
|
2017-12-12 04:40:04 +08:00
|
|
|
margin: 0 15px 10px 0;
|
|
|
|
padding: 0;
|
|
|
|
&.linked-stat {
|
|
|
|
a {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-26 16:30:20 +08:00
|
|
|
.badge-card.medium {
|
2017-12-12 04:40:04 +08:00
|
|
|
width: 100%;
|
2016-03-26 16:30:20 +08:00
|
|
|
}
|
|
|
|
|
2016-03-28 14:39:56 +08:00
|
|
|
.user-badges {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.user-preferences {
|
|
|
|
.instructions {
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-top: s(1);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls-dropdown {
|
2019-03-21 02:56:34 +08:00
|
|
|
margin-bottom: s(4);
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.delete-account {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
2017-12-12 04:40:04 +08:00
|
|
|
display: flex;
|
2018-03-07 10:27:18 +08:00
|
|
|
overflow: auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
width: 100%;
|
2017-12-12 04:40:04 +08:00
|
|
|
padding: 5px 0;
|
|
|
|
input {
|
|
|
|
margin-right: 5px;
|
2018-05-14 23:11:16 +08:00
|
|
|
flex: 0 0 auto;
|
2017-12-12 04:40:04 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.apps .controls button {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-03-28 14:39:56 +08:00
|
|
|
}
|
2019-03-21 02:56:34 +08:00
|
|
|
|
|
|
|
.staff-counters {
|
|
|
|
margin-bottom: s(4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-right {
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|