2017-08-24 21:04:19 -04:00
|
|
|
// Mobile styles for "/user" section
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2019-03-25 14:38:38 -04:00
|
|
|
.user-content-wrapper {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-template-rows: auto auto auto;
|
2020-04-24 19:32:02 -04:00
|
|
|
grid-row-gap: 20px;
|
|
|
|
grid-column-gap: 16px;
|
2019-03-25 14:38:38 -04:00
|
|
|
.user-primary-navigation {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-row-start: 1;
|
2019-03-25 16:41:03 -04:00
|
|
|
grid-column-end: 2;
|
2020-12-30 15:34:27 -05:00
|
|
|
min-width: 120px;
|
2019-03-25 14:38:38 -04:00
|
|
|
}
|
|
|
|
.user-secondary-navigation {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-row-start: 1;
|
2020-12-30 15:34:27 -05:00
|
|
|
min-width: 120px;
|
2019-03-25 14:38:38 -04:00
|
|
|
}
|
2019-03-25 16:41:03 -04:00
|
|
|
.user-additional-controls + .user-content,
|
2019-03-25 14:38:38 -04:00
|
|
|
.user-secondary-navigation + .user-content {
|
|
|
|
grid-column-start: 1;
|
|
|
|
}
|
|
|
|
.user-additional-controls {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-row-start: 2;
|
|
|
|
}
|
|
|
|
.user-content,
|
|
|
|
.spinner {
|
|
|
|
grid-row-start: 3;
|
2019-03-25 16:41:03 -04:00
|
|
|
grid-column-start: 1;
|
2019-03-25 14:38:38 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-10 12:48:26 -04:00
|
|
|
.user-main {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-top: 12px;
|
2020-06-04 21:42:01 -04:00
|
|
|
padding-bottom: 60px; // slightly taller than .footer-nav
|
2014-10-27 23:35:16 -04:00
|
|
|
|
|
|
|
.user-content {
|
|
|
|
box-sizing: border-box;
|
2020-08-03 22:57:10 -04:00
|
|
|
background-color: var(--secondary);
|
2014-10-27 23:35:16 -04:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-top: 12px;
|
2014-10-27 23:35:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-10 12:48:26 -04:00
|
|
|
.about {
|
2019-03-20 14:56:34 -04:00
|
|
|
margin-bottom: 0;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--secondary);
|
2014-10-27 23:35:16 -04:00
|
|
|
|
2017-04-26 16:18:16 -04:00
|
|
|
.secondary {
|
2014-10-27 23:35:16 -04:00
|
|
|
dl {
|
2020-04-24 19:32:02 -04:00
|
|
|
padding: 8px 0;
|
2014-10-27 23:35:16 -04:00
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2013-10-10 12:48:26 -04:00
|
|
|
.details {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-bottom: 12px;
|
2016-02-06 09:18:13 -05:00
|
|
|
|
2013-10-10 12:48:26 -04:00
|
|
|
h1 {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-small;
|
2017-12-11 15:40:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2013-10-10 12:48:26 -04:00
|
|
|
}
|
|
|
|
|
2019-03-20 14:56:34 -04:00
|
|
|
.user-profile-avatar {
|
|
|
|
.avatar-flair {
|
|
|
|
right: 2px;
|
|
|
|
}
|
|
|
|
display: block;
|
|
|
|
float: none;
|
2020-04-24 19:32:02 -04:00
|
|
|
margin: 8px auto;
|
2019-03-20 14:56:34 -04:00
|
|
|
img.avatar {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-names {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-01-09 16:35:34 -05:00
|
|
|
.featured-topic {
|
|
|
|
text-align: center;
|
|
|
|
font-size: $font-0;
|
|
|
|
}
|
|
|
|
|
2019-03-20 14:56:34 -04:00
|
|
|
.location-and-website {
|
2017-12-11 15:40:04 -05:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-03-20 14:56:34 -04:00
|
|
|
justify-content: center;
|
|
|
|
font-size: $font-0;
|
|
|
|
.d-icon {
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.8em;
|
|
|
|
margin-right: 0.25em;
|
2017-12-11 15:40:04 -05:00
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2014-08-13 15:38:55 -04:00
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
2014-08-01 01:41:11 -04:00
|
|
|
|
2019-03-20 14:56:34 -04:00
|
|
|
.user-profile-location {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-location,
|
|
|
|
.user-profile-website {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2013-10-10 12:48:26 -04:00
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-02-13 17:13:32 -05:00
|
|
|
|
2019-03-20 14:56:34 -04:00
|
|
|
.avatar {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin: 0 0 12px;
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary-textual {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
word-break: break-word;
|
|
|
|
margin: 0;
|
2019-05-22 15:03:50 -04:00
|
|
|
max-width: 100%;
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2020-04-24 19:32:02 -04:00
|
|
|
margin: 0 auto 8px;
|
2019-03-20 14:56:34 -04:00
|
|
|
max-width: 700px;
|
|
|
|
text-align: center;
|
2020-01-14 16:33:50 -05:00
|
|
|
|
|
|
|
ol {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 0;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.public-user-fields .public-user-field {
|
|
|
|
text-align: center;
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-background {
|
2019-03-29 12:52:26 -04:00
|
|
|
.user-profile-image {
|
|
|
|
height: 200px;
|
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
.user-profile-avatar {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-top: -60px;
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2013-10-10 12:48:26 -04:00
|
|
|
.controls {
|
2017-12-11 15:40:04 -05:00
|
|
|
order: 3;
|
|
|
|
flex: 1 1 25%;
|
|
|
|
margin-left: auto;
|
2017-09-01 07:29:50 -04:00
|
|
|
|
2014-11-02 00:44:56 -04:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
2017-12-11 15:40:04 -05:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
flex-wrap: wrap;
|
2019-03-20 14:56:34 -04:00
|
|
|
margin-left: -1em;
|
|
|
|
li,
|
|
|
|
> span {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 45%;
|
|
|
|
margin-left: 1em;
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-29 12:52:26 -04:00
|
|
|
.select-kit.dropdown-select-box.user-notifications-dropdown {
|
|
|
|
width: 100%;
|
|
|
|
li {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
}
|
2017-12-12 10:58:03 -05:00
|
|
|
}
|
2018-03-06 21:27:18 -05:00
|
|
|
|
2017-12-11 15:40:04 -05:00
|
|
|
.user-profile-controls-outlet {
|
2019-03-20 16:04:47 -04:00
|
|
|
margin: 0 0 0 1em;
|
2017-12-11 15:40:04 -05:00
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-02 00:44:56 -04:00
|
|
|
}
|
2017-09-01 07:29:50 -04:00
|
|
|
|
2014-10-27 23:35:16 -04:00
|
|
|
a {
|
2018-03-06 21:27:18 -05:00
|
|
|
flex: 1 1 auto;
|
2017-12-11 15:40:04 -05:00
|
|
|
min-width: 120px;
|
2013-11-01 10:27:01 -04:00
|
|
|
}
|
|
|
|
}
|
2013-10-10 12:48:26 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
|
2014-10-27 23:35:16 -04:00
|
|
|
.user-field {
|
|
|
|
label {
|
2017-04-26 16:18:16 -04:00
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
2014-10-27 23:35:16 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-14 03:52:57 -04:00
|
|
|
}
|
2014-10-27 23:35:16 -04:00
|
|
|
}
|
|
|
|
|
2019-03-20 14:56:34 -04: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 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
2019-03-20 14:56:34 -04: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;
|
|
|
|
}
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
2014-10-27 23:35:16 -04:00
|
|
|
.paginated-topics-list {
|
|
|
|
margin-top: 20px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-01-08 20:32:19 -05:00
|
|
|
|
2017-12-11 15:40:04 -05:00
|
|
|
.stats-section {
|
2018-03-06 21:27:18 -05:00
|
|
|
li {
|
2017-12-11 15:40:04 -05:00
|
|
|
margin: 0 15px 10px 0;
|
|
|
|
padding: 0;
|
|
|
|
&.linked-stat {
|
|
|
|
a {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-26 04:30:20 -04:00
|
|
|
.badge-card.medium {
|
2017-12-11 15:40:04 -05:00
|
|
|
width: 100%;
|
2016-03-26 04:30:20 -04:00
|
|
|
}
|
|
|
|
|
2016-03-28 02:39:56 -04:00
|
|
|
.user-badges {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2017-09-01 07:29:50 -04:00
|
|
|
.user-preferences {
|
2019-10-07 12:03:31 -04:00
|
|
|
padding-bottom: 2em;
|
|
|
|
|
2017-09-01 07:29:50 -04:00
|
|
|
.instructions {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-top: 4px;
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls-dropdown {
|
2020-04-24 19:32:02 -04:00
|
|
|
margin-bottom: 16px;
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.delete-account {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
2017-12-11 15:40:04 -05:00
|
|
|
display: flex;
|
2018-03-06 21:27:18 -05:00
|
|
|
overflow: auto;
|
2017-09-01 07:29:50 -04:00
|
|
|
width: 100%;
|
2017-12-11 15:40:04 -05:00
|
|
|
padding: 5px 0;
|
|
|
|
input {
|
|
|
|
margin-right: 5px;
|
2018-05-14 11:11:16 -04:00
|
|
|
flex: 0 0 auto;
|
2017-12-11 15:40:04 -05:00
|
|
|
}
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.apps .controls button {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-03-28 02:39:56 -04:00
|
|
|
}
|
2019-03-20 14:56:34 -04:00
|
|
|
|
|
|
|
.user-right {
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 14:38:38 -04:00
|
|
|
|
|
|
|
.user-invites-page {
|
|
|
|
.admin-controls {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
.pull-right {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
font-size: $font-down-1;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table {
|
|
|
|
tr:first-of-type {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
tr {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
td:first-of-type {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
td:nth-of-type(n + 3) {
|
|
|
|
display: block;
|
|
|
|
width: 50%;
|
|
|
|
padding: 0.25em 0 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-invite-none {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|