2017-08-24 20:04:19 -05:00
|
|
|
// Mobile styles for "/user" section
|
|
|
|
.user-right {
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.user-main {
|
2018-04-09 09:14:52 -05:00
|
|
|
margin-top: 10px;
|
2014-10-27 22:35:16 -05:00
|
|
|
table.group-members {
|
|
|
|
width: 100%;
|
|
|
|
p {
|
|
|
|
max-width: 600px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-07-07 07:51:44 -05:00
|
|
|
th {
|
|
|
|
padding: 0.5em;
|
2014-10-27 22:35:16 -05:00
|
|
|
text-align: right;
|
2017-08-24 16:40:57 -05:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
td {
|
2015-07-07 07:51:44 -05:00
|
|
|
padding: 0.5em;
|
2017-08-24 16:40:57 -05:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-27 22:35:16 -05:00
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2015-07-07 07:51:44 -05:00
|
|
|
span.text {
|
2014-10-27 22:35:16 -05:00
|
|
|
float: right;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
2016-03-24 12:05:09 -05:00
|
|
|
.user-info {
|
2015-07-07 07:51:44 -05:00
|
|
|
width: 245px;
|
|
|
|
}
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-content {
|
|
|
|
background-color: $secondary;
|
|
|
|
box-sizing: border-box;
|
2016-03-26 03:30:20 -05:00
|
|
|
margin-top: 10px;
|
2014-10-27 22:35:16 -05:00
|
|
|
|
|
|
|
.btn.right {
|
|
|
|
float: right
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2017-08-24 16:40:57 -05:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-27 22:35:16 -05:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
2017-08-24 16:40:57 -05:00
|
|
|
border-bottom: 1px solid $primary-low;
|
2014-10-27 22:35:16 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
.about {
|
2016-02-22 04:18:34 -06:00
|
|
|
background: dark-light-diff($primary, $secondary, 0%, -75%) center;
|
2013-10-10 11:48:26 -05:00
|
|
|
margin-bottom: 10px;
|
2014-10-27 22:35:16 -05:00
|
|
|
color: $secondary;
|
|
|
|
|
2017-12-11 14:40:04 -06:00
|
|
|
&.no-background {
|
|
|
|
.profile-image {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-26 15:18:16 -05:00
|
|
|
.secondary {
|
2014-10-27 22:35:16 -05:00
|
|
|
dl {
|
2018-04-09 13:02:43 -05:00
|
|
|
padding: 5px 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 {
|
2017-12-11 14:40:04 -06:00
|
|
|
padding: 15px 5px 5px 5px;
|
2016-02-06 08:18:13 -06:00
|
|
|
|
2013-10-10 11:48:26 -05:00
|
|
|
h1 {
|
2017-12-11 14:40:04 -06:00
|
|
|
margin: 0;
|
2018-01-12 16:27:38 -06:00
|
|
|
line-height: $line-height-small;
|
2017-12-11 14:40:04 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2018-01-12 16:27:38 -06:00
|
|
|
line-height: $line-height-medium;
|
2013-10-10 11:48:26 -05:00
|
|
|
}
|
|
|
|
|
2014-08-01 00:41:11 -05:00
|
|
|
.primary {
|
2017-12-11 14:40:04 -06:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2016-06-19 13:43:17 -05:00
|
|
|
color: $primary;
|
2014-08-01 00:41:11 -05:00
|
|
|
|
2017-12-11 14:40:04 -06:00
|
|
|
.avatar {
|
|
|
|
margin: 0 5px 10px 5px;
|
|
|
|
}
|
|
|
|
|
2014-08-13 14:38:55 -05:00
|
|
|
.primary-textual {
|
2017-12-11 14:40:04 -06:00
|
|
|
flex: 1 1 40%;
|
|
|
|
padding-left: 5px;
|
|
|
|
word-break: break-word;
|
2014-10-27 22:35:16 -05:00
|
|
|
a[href] {
|
2016-06-19 13:43:17 -05:00
|
|
|
color: $primary;
|
2014-08-13 14:38:55 -05:00
|
|
|
}
|
|
|
|
}
|
2014-08-01 00:41:11 -05:00
|
|
|
|
2014-10-27 22:35:16 -05:00
|
|
|
.bio {
|
2016-06-19 13:43:17 -05:00
|
|
|
color: $primary;
|
2014-10-27 22:35:16 -05:00
|
|
|
max-width: 700px;
|
2013-10-10 11:48:26 -05:00
|
|
|
}
|
|
|
|
}
|
2018-02-13 16:13:32 -06:00
|
|
|
|
|
|
|
.user-profile-avatar .avatar-flair {
|
|
|
|
right: 2px;
|
|
|
|
}
|
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
|
|
|
order: 3;
|
|
|
|
flex: 1 1 25%;
|
|
|
|
margin-left: auto;
|
2017-09-01 06:29:50 -05:00
|
|
|
|
2014-11-01 23:44:56 -05:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
2017-12-11 14:40:04 -06:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
flex-wrap: wrap;
|
2018-03-06 20:27:18 -06:00
|
|
|
|
2017-12-11 14:40:04 -06:00
|
|
|
}
|
|
|
|
|
2017-12-12 09:58:03 -06:00
|
|
|
li {
|
2017-12-11 14:40:04 -06:00
|
|
|
display: flex;
|
2018-03-06 20:27:18 -06:00
|
|
|
flex: 1 1 auto;
|
|
|
|
margin: 0 5px;
|
2017-12-11 14:40:04 -06:00
|
|
|
}
|
|
|
|
|
2017-12-12 09:58:03 -06:00
|
|
|
span {
|
|
|
|
flex: 0 1 100%;
|
2018-03-06 20:27:18 -06:00
|
|
|
margin: 0 5px;
|
2017-12-12 09:58:03 -06:00
|
|
|
}
|
2018-03-06 20:27:18 -06:00
|
|
|
|
2017-12-11 14:40:04 -06:00
|
|
|
.user-profile-controls-outlet {
|
|
|
|
margin: 0;
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-01 23:44:56 -05:00
|
|
|
}
|
2017-09-01 06:29:50 -05:00
|
|
|
|
2014-10-27 22:35:16 -05:00
|
|
|
a {
|
2018-03-06 20:27:18 -06:00
|
|
|
flex: 1 1 auto;
|
2017-12-11 14:40:04 -06:00
|
|
|
min-width: 120px;
|
2013-11-01 09:27:01 -05:00
|
|
|
}
|
|
|
|
}
|
2014-10-27 22:35:16 -05:00
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
&.collapsed-info {
|
|
|
|
.details {
|
2017-12-11 14:40:04 -06:00
|
|
|
.primary {
|
|
|
|
.primary-textual {
|
|
|
|
margin: 0 10px 5px 0;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin: 0 5px 10px 5px;
|
|
|
|
}
|
|
|
|
}
|
2013-11-01 09:27:01 -05:00
|
|
|
}
|
2018-02-13 16:13:32 -06:00
|
|
|
.user-profile-avatar .avatar-flair {
|
|
|
|
bottom: 12px;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.profile-image {
|
|
|
|
height: 25px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-background .details {
|
|
|
|
margin-top: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
// mobile fixups for badges
|
|
|
|
.badge-card.medium {
|
2017-12-11 14:40:04 -06:00
|
|
|
width: 100%;
|
2016-03-26 03:30:20 -05:00
|
|
|
}
|
|
|
|
|
2016-03-28 01:39:56 -05:00
|
|
|
.user-badges {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.show-badge-details {
|
|
|
|
margin-bottom: 1em;
|
2016-03-28 01:39:56 -05:00
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.badge-grant-info {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-28 01:39:56 -05:00
|
|
|
}
|
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
.user-preferences {
|
|
|
|
|
|
|
|
.instructions {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-controls {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls-dropdown {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 15px;
|
2016-03-28 01:39:56 -05:00
|
|
|
|
2017-09-01 06:29:50 -05:00
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.save-button {
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
max-width: 200px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.desktop-notifications button {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.apps .controls button {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-03-28 01:39:56 -05:00
|
|
|
}
|