2017-08-24 20:04:19 -05:00
|
|
|
// Mobile styles for "/user" section
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2019-03-25 13:38:38 -05:00
|
|
|
.user-content-wrapper {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-template-rows: auto auto auto;
|
2021-08-01 23:41:41 -05:00
|
|
|
grid-gap: 16px;
|
2023-01-23 13:28:55 -06:00
|
|
|
padding-top: 1em;
|
2019-03-25 13:38:38 -05:00
|
|
|
.user-primary-navigation {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-row-start: 1;
|
2019-03-25 15:41:03 -05:00
|
|
|
grid-column-end: 2;
|
2020-12-30 14:34:27 -06:00
|
|
|
min-width: 120px;
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
|
|
|
.user-secondary-navigation {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-row-start: 1;
|
2020-12-30 14:34:27 -06:00
|
|
|
min-width: 120px;
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2019-03-25 15:41:03 -05:00
|
|
|
.user-additional-controls + .user-content,
|
2019-03-25 13:38:38 -05:00
|
|
|
.user-secondary-navigation + .user-content {
|
|
|
|
grid-column-start: 1;
|
|
|
|
}
|
|
|
|
.user-additional-controls {
|
|
|
|
grid-column-start: 1;
|
2021-10-05 15:30:31 -05:00
|
|
|
grid-column-end: 3;
|
2019-03-25 13:38:38 -05:00
|
|
|
grid-row-start: 2;
|
|
|
|
}
|
|
|
|
.user-content,
|
|
|
|
.spinner {
|
|
|
|
grid-row-start: 3;
|
2019-03-25 15:41:03 -05:00
|
|
|
grid-column-start: 1;
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2021-08-01 23:41:41 -05:00
|
|
|
|
|
|
|
// specific to messages
|
|
|
|
|
2021-08-11 11:47:03 -05:00
|
|
|
.user-messages {
|
2021-08-01 23:41:41 -05:00
|
|
|
grid-row-start: 2;
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
gap: 16px;
|
|
|
|
|
|
|
|
+ .user-additional-controls {
|
|
|
|
grid-row-start: 2;
|
|
|
|
grid-column-start: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.inboxes-controls {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-private-message {
|
|
|
|
grid-row-start: 1;
|
|
|
|
grid-column-start: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-notifications-button {
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
.select-kit-header {
|
|
|
|
.selected-name .name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-messages-page {
|
|
|
|
.paginated-topics-list {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.show-mores {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.user-main {
|
2020-06-04 20:42:01 -05:00
|
|
|
padding-bottom: 60px; // slightly taller than .footer-nav
|
2014-10-27 22:35:16 -05:00
|
|
|
|
|
|
|
.user-content {
|
|
|
|
box-sizing: border-box;
|
2020-08-03 21:57:10 -05:00
|
|
|
background-color: var(--secondary);
|
2014-10-27 22:35:16 -05:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2020-04-24 18:32:02 -05:00
|
|
|
margin-top: 12px;
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.about {
|
2019-03-20 13:56:34 -05:00
|
|
|
margin-bottom: 0;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--secondary);
|
2014-10-27 22:35:16 -05:00
|
|
|
|
2017-04-26 15:18:16 -05:00
|
|
|
.secondary {
|
2014-10-27 22:35:16 -05:00
|
|
|
dl {
|
2020-04-24 18:32:02 -05:00
|
|
|
padding: 8px 0;
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.details {
|
2020-04-24 18:32:02 -05:00
|
|
|
margin-bottom: 12px;
|
2016-02-06 08:18:13 -06:00
|
|
|
|
2019-03-20 13:56:34 -05:00
|
|
|
.user-profile-avatar {
|
|
|
|
.avatar-flair {
|
|
|
|
right: 2px;
|
|
|
|
}
|
|
|
|
display: block;
|
|
|
|
float: none;
|
2020-04-24 18:32:02 -05:00
|
|
|
margin: 8px auto;
|
2019-03-20 13:56:34 -05:00
|
|
|
img.avatar {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-names {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-01-09 15:35:34 -06:00
|
|
|
.featured-topic {
|
|
|
|
text-align: center;
|
2022-10-12 08:31:59 -05:00
|
|
|
font-size: var(--font-0);
|
2020-01-09 15:35:34 -06:00
|
|
|
}
|
|
|
|
|
2019-03-20 13:56:34 -05:00
|
|
|
.location-and-website {
|
2017-12-11 14:40:04 -06:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2019-03-20 13:56:34 -05:00
|
|
|
justify-content: center;
|
2022-10-12 08:31:59 -05:00
|
|
|
font-size: var(--font-0);
|
2019-03-20 13:56:34 -05:00
|
|
|
.d-icon {
|
|
|
|
width: 0.8em;
|
|
|
|
height: 0.8em;
|
|
|
|
margin-right: 0.25em;
|
2017-12-11 14:40:04 -06:00
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2014-08-13 14:38:55 -05:00
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
2014-08-01 00:41:11 -05:00
|
|
|
|
2019-03-20 13:56:34 -05:00
|
|
|
.user-profile-location {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile-location,
|
|
|
|
.user-profile-website {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2013-10-10 11:48:26 -05:00
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary);
|
2018-02-13 16:13:32 -06:00
|
|
|
|
2019-03-20 13:56:34 -05:00
|
|
|
.avatar {
|
2020-04-24 18:32:02 -05:00
|
|
|
margin: 0 0 12px;
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary-textual {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
word-break: break-word;
|
|
|
|
margin: 0;
|
2019-05-22 14:03:50 -05:00
|
|
|
max-width: 100%;
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
2020-08-03 21:57:10 -05:00
|
|
|
color: var(--primary);
|
2020-04-24 18:32:02 -05:00
|
|
|
margin: 0 auto 8px;
|
2019-03-20 13:56:34 -05:00
|
|
|
max-width: 700px;
|
|
|
|
text-align: center;
|
2020-01-14 15:33:50 -06: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 13:56:34 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-background {
|
2019-03-29 11:52:26 -05:00
|
|
|
.user-profile-image {
|
|
|
|
height: 200px;
|
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
.user-profile-avatar {
|
2020-04-24 18:32:02 -05:00
|
|
|
margin-top: -60px;
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.controls {
|
2017-12-11 14:40:04 -06:00
|
|
|
flex: 1 1 25%;
|
2017-09-01 06:29:50 -05:00
|
|
|
|
2014-11-01 23:44:56 -05:00
|
|
|
ul {
|
2019-03-20 13:56:34 -05:00
|
|
|
li,
|
|
|
|
> span {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 45%;
|
|
|
|
button,
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-29 11:52:26 -05:00
|
|
|
.select-kit.dropdown-select-box.user-notifications-dropdown {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
}
|
2017-12-12 09:58:03 -06:00
|
|
|
}
|
2013-11-01 09:27:01 -05:00
|
|
|
}
|
2013-10-10 11:48:26 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2014-10-27 22:35:16 -05:00
|
|
|
.user-field {
|
|
|
|
label {
|
2017-04-26 15:18:16 -05:00
|
|
|
width: auto;
|
|
|
|
text-align: left;
|
2014-10-27 22:35:16 -05:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-07-14 02:52:57 -05:00
|
|
|
}
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
|
2019-03-20 13:56:34 -05: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 06:29:50 -05:00
|
|
|
}
|
|
|
|
|
2019-03-20 13:56:34 -05:00
|
|
|
.user-main .collapsed-info.about .details {
|
|
|
|
display: flex;
|
2023-01-23 13:28:55 -06:00
|
|
|
margin-bottom: 0;
|
2019-03-20 13:56:34 -05:00
|
|
|
.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 06:29:50 -05:00
|
|
|
}
|
|
|
|
|
2014-10-27 22:35:16 -05:00
|
|
|
.paginated-topics-list {
|
|
|
|
margin-top: 20px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2015-01-08 19:32:19 -06:00
|
|
|
|
2017-12-11 14:40:04 -06:00
|
|
|
.stats-section {
|
2018-03-06 20:27:18 -06:00
|
|
|
li {
|
2017-12-11 14:40:04 -06:00
|
|
|
margin: 0 15px 10px 0;
|
|
|
|
padding: 0;
|
|
|
|
&.linked-stat {
|
|
|
|
a {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-26 03:30:20 -05:00
|
|
|
.badge-card.medium {
|
2017-12-11 14:40:04 -06:00
|
|
|
width: 100%;
|
2016-03-26 03:30:20 -05:00
|
|
|
}
|
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.user-preferences {
|
2019-10-07 11:03:31 -05:00
|
|
|
padding-bottom: 2em;
|
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.instructions {
|
2020-04-24 18:32:02 -05:00
|
|
|
margin-top: 4px;
|
2017-09-01 06:29:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.controls-dropdown {
|
2020-04-24 18:32:02 -05:00
|
|
|
margin-bottom: 16px;
|
2017-09-01 06:29:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.delete-account {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
2017-12-11 14:40:04 -06:00
|
|
|
display: flex;
|
2018-03-06 20:27:18 -06:00
|
|
|
overflow: auto;
|
2017-09-01 06:29:50 -05:00
|
|
|
width: 100%;
|
2017-12-11 14:40:04 -06:00
|
|
|
padding: 5px 0;
|
|
|
|
input {
|
|
|
|
margin-right: 5px;
|
2018-05-14 10:11:16 -05:00
|
|
|
flex: 0 0 auto;
|
2017-12-11 14:40:04 -06:00
|
|
|
}
|
2017-09-01 06:29:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.apps .controls button {
|
|
|
|
float: right;
|
|
|
|
}
|
2023-04-19 08:41:02 -05:00
|
|
|
|
|
|
|
#change-email {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-28 01:39:56 -05:00
|
|
|
}
|
2019-03-20 13:56:34 -05:00
|
|
|
|
|
|
|
.user-right {
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 13:38:38 -05:00
|
|
|
|
|
|
|
.user-invites-page {
|
2021-04-29 08:44:51 -05:00
|
|
|
.user-invite-search input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-10-05 15:30:31 -05:00
|
|
|
.user-additional-controls {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-03-25 13:38:38 -05:00
|
|
|
flex-wrap: wrap;
|
2021-10-05 15:30:31 -05:00
|
|
|
.user-invite-search {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2021-03-15 04:52:58 -05:00
|
|
|
|
|
|
|
table.user-invite-list {
|
|
|
|
thead {
|
2019-03-25 13:38:38 -05:00
|
|
|
display: none;
|
|
|
|
}
|
2021-03-15 04:52:58 -05:00
|
|
|
|
2019-03-25 13:38:38 -05:00
|
|
|
tr {
|
2021-03-15 04:52:58 -05:00
|
|
|
display: grid;
|
2021-04-29 08:44:51 -05:00
|
|
|
grid-template-columns: repeat(4, 1fr);
|
2021-03-15 04:52:58 -05:00
|
|
|
padding: 0.25em;
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2021-03-15 04:52:58 -05:00
|
|
|
|
|
|
|
.label {
|
2019-03-25 13:38:38 -05:00
|
|
|
display: block;
|
2021-03-15 04:52:58 -05:00
|
|
|
color: var(--primary-medium);
|
2022-10-12 08:31:59 -05:00
|
|
|
font-size: var(--font-down-1);
|
2021-03-15 04:52:58 -05:00
|
|
|
margin: 0.5em 0 0.15em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.invite-type {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: -2;
|
|
|
|
order: 1;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.invite-actions {
|
|
|
|
order: 2;
|
|
|
|
align-self: center;
|
|
|
|
text-align: right;
|
2021-04-29 08:44:51 -05:00
|
|
|
|
|
|
|
button {
|
|
|
|
margin: 0.25em;
|
|
|
|
}
|
2021-03-15 04:52:58 -05:00
|
|
|
}
|
|
|
|
|
2021-04-29 08:44:51 -05:00
|
|
|
td.invite-updated-at {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
2021-03-15 04:52:58 -05:00
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.invite-expires-at {
|
2021-04-29 08:44:51 -05:00
|
|
|
grid-column-start: 3;
|
|
|
|
grid-column-end: -1;
|
2021-03-15 04:52:58 -05:00
|
|
|
order: 4;
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2021-10-05 15:30:31 -05:00
|
|
|
|
|
|
|
td.invite-actions {
|
|
|
|
display: flex;
|
|
|
|
}
|
2019-03-25 13:38:38 -05:00
|
|
|
}
|
2021-03-15 04:52:58 -05:00
|
|
|
|
2019-03-25 13:38:38 -05:00
|
|
|
.user-invite-none {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
2022-12-07 16:41:22 -06:00
|
|
|
.second-factor {
|
|
|
|
.second-factor-item {
|
|
|
|
width: auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.details {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
}
|