2017-08-25 09:04:19 +08:00
|
|
|
// Desktop styles for "/user" section
|
2017-09-01 19:29:50 +08:00
|
|
|
.user-right {
|
|
|
|
display: table-cell;
|
|
|
|
|
|
|
|
&,
|
|
|
|
> .user-stream {
|
|
|
|
> .alert:first-child {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2018-03-07 10:27:18 +08:00
|
|
|
|
|
|
|
.show-mores {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2014-02-11 01:30:36 +08:00
|
|
|
}
|
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.profile-image {
|
2014-11-13 15:33:41 +08:00
|
|
|
height: 420px;
|
2014-10-28 11:35:16 +08:00
|
|
|
width: 100%;
|
|
|
|
background-size: cover;
|
|
|
|
transition: height .15s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-background {
|
|
|
|
.profile-image {
|
2014-11-13 18:11:22 +08:00
|
|
|
height: 200px;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-03 03:56:28 +08:00
|
|
|
.form-horizontal .control-group.category {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
2018-03-16 14:56:10 +08:00
|
|
|
.user-table {
|
2016-01-11 19:40:59 +08:00
|
|
|
width: 100%;
|
2017-08-17 14:52:50 +08:00
|
|
|
display: table;
|
|
|
|
table-layout: fixed;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2017-08-17 14:52:50 +08:00
|
|
|
.wrapper {
|
|
|
|
display: table-row;
|
|
|
|
}
|
2016-01-11 19:40:59 +08:00
|
|
|
}
|
|
|
|
|
2017-08-19 05:06:27 +08:00
|
|
|
.user-navigation {
|
2016-01-11 19:40:59 +08:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 170px;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2017-08-24 04:16:18 +08:00
|
|
|
.nav-stacked {
|
|
|
|
background-color: transparent;
|
2017-08-30 23:01:01 +08:00
|
|
|
|
2017-08-24 04:16:18 +08:00
|
|
|
li {
|
|
|
|
border-bottom: none;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2017-08-30 23:01:01 +08:00
|
|
|
&.archive {
|
|
|
|
padding-left: 15px;
|
2017-08-24 04:16:18 +08:00
|
|
|
}
|
2017-08-30 23:01:01 +08:00
|
|
|
}
|
2017-08-24 04:16:18 +08:00
|
|
|
|
2017-08-30 23:01:01 +08:00
|
|
|
a {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2017-08-30 23:01:01 +08:00
|
|
|
|
|
|
|
&.active {
|
2017-08-24 04:16:18 +08:00
|
|
|
color: $primary;
|
|
|
|
font-weight: bold;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
&:after {
|
2017-08-30 23:01:01 +08:00
|
|
|
display: none;
|
2017-08-24 04:16:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-content {
|
|
|
|
padding: 10px 8px;
|
|
|
|
background-color: $secondary;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
box-sizing: border-box;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2018-03-03 03:43:54 +08:00
|
|
|
&.user-badges-list {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.btn.right {
|
|
|
|
float: right
|
2014-11-13 02:57:59 +08:00
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
h2 {
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
2017-08-25 05:40:57 +08:00
|
|
|
}
|
|
|
|
}
|
2013-11-07 01:56:26 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.pref-avatar {
|
|
|
|
.avatar {
|
|
|
|
max-width: 45px;
|
|
|
|
max-height: 45px;
|
|
|
|
}
|
|
|
|
}
|
2013-11-06 06:52:50 +08:00
|
|
|
|
2018-03-23 11:05:11 +08:00
|
|
|
.pref-second-factor {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-invite-list {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 15px;
|
2013-11-06 06:52:50 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
border-bottom: 3px solid $primary-low;
|
|
|
|
padding: 0 0 10px 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2017-08-25 05:40:57 +08:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
2013-11-06 06:52:50 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
td {
|
|
|
|
padding: 10px 0 10px 0;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
}
|
|
|
|
}
|
2015-03-20 02:57:07 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-invite-search {
|
|
|
|
clear: both;
|
|
|
|
margin: 15px 0px -15px 0px;
|
|
|
|
}
|
2015-07-11 20:09:12 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-invite-none {
|
|
|
|
clear: both;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2015-07-11 20:09:12 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.user-main {
|
|
|
|
margin-bottom: 50px;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
.about {
|
2014-03-01 04:12:51 +08:00
|
|
|
background-position: center center;
|
2014-11-26 23:49:50 +08:00
|
|
|
background-size: cover;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
2014-10-29 04:04:18 +08:00
|
|
|
&.group {
|
2014-11-15 03:28:46 +08:00
|
|
|
.details {
|
2018-01-25 22:53:36 +08:00
|
|
|
padding: 15px 0;
|
2014-11-15 03:28:46 +08:00
|
|
|
margin: 0;
|
2016-06-26 00:01:15 +08:00
|
|
|
color: dark-light-choose(lighten($primary, 10%), $secondary);
|
2014-11-15 03:28:46 +08:00
|
|
|
}
|
2014-10-29 04:04:18 +08:00
|
|
|
}
|
2014-10-29 03:48:03 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
.details {
|
2016-06-20 02:43:17 +08:00
|
|
|
padding: 0 0 4px 0;
|
2014-11-13 15:33:41 +08:00
|
|
|
margin-top: -200px;
|
2014-10-28 11:35:16 +08:00
|
|
|
transition: margin .15s linear;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
img.avatar {
|
2014-10-28 11:35:16 +08:00
|
|
|
margin: 0 20px 10px 0;
|
|
|
|
transition: all .1s linear;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
2014-08-14 03:43:27 +08:00
|
|
|
.primary-textual {
|
|
|
|
padding: 3px;
|
2014-10-28 11:35:16 +08:00
|
|
|
a[href] {
|
2016-06-20 02:43:17 +08:00
|
|
|
text-decoration: underline;
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2018-02-10 05:55:43 +08:00
|
|
|
.location-and-website {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2014-08-14 03:43:27 +08:00
|
|
|
}
|
|
|
|
|
2013-10-17 04:22:16 +08:00
|
|
|
.bio {
|
2014-10-28 11:35:16 +08:00
|
|
|
max-width: 750px;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
2016-07-04 23:36:59 +08:00
|
|
|
a.mention {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-10-17 04:22:16 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2017-08-25 05:40:57 +08:00
|
|
|
|
|
|
|
&.has-background {
|
|
|
|
.details {
|
|
|
|
padding: 15px 15px 4px 15px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2014-10-28 11:35:16 +08:00
|
|
|
padding: 0 0 12px 0;
|
|
|
|
float: right;
|
2014-11-14 15:41:17 +08:00
|
|
|
text-align: right;
|
2014-11-03 23:16:10 +08:00
|
|
|
width: 180px;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-10-28 11:35:16 +08:00
|
|
|
a {
|
|
|
|
width: 140px;
|
2015-09-01 02:34:34 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.right {
|
|
|
|
float: right;
|
2013-10-28 23:19:18 +08:00
|
|
|
margin-left: 5px;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
&.collapsed-info {
|
|
|
|
.controls {
|
|
|
|
width: auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
ul {
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
a {
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: auto;
|
2017-09-01 19:29:50 +08:00
|
|
|
}
|
2017-08-25 05:40:57 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2014-07-01 04:46:47 +08:00
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
.details {
|
|
|
|
padding: 0 0 2px 0;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
2013-10-28 23:29:23 +08:00
|
|
|
}
|
|
|
|
|
2017-08-25 05:40:57 +08:00
|
|
|
&.has-background {
|
2017-09-01 19:29:50 +08:00
|
|
|
.details {
|
|
|
|
padding: 12px 15px 2px 15px;
|
|
|
|
}
|
2017-08-25 05:40:57 +08:00
|
|
|
}
|
2016-06-20 02:43:17 +08:00
|
|
|
}
|
|
|
|
}
|
2014-05-06 13:50:51 +08:00
|
|
|
|
2014-07-01 04:46:47 +08:00
|
|
|
.staff-counters {
|
2016-07-04 23:36:59 +08:00
|
|
|
margin-bottom: 20px;
|
2014-10-03 03:56:28 +08:00
|
|
|
}
|
|
|
|
|
2014-09-27 02:48:34 +08:00
|
|
|
.user-field {
|
|
|
|
input[type=text] {
|
2014-10-03 03:56:28 +08:00
|
|
|
width: 530px;
|
2014-09-27 02:48:34 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
2014-10-03 03:56:28 +08:00
|
|
|
.controls {
|
2017-04-27 04:18:16 +08:00
|
|
|
.instructions {
|
|
|
|
display: block;
|
2014-10-03 03:56:28 +08:00
|
|
|
}
|
|
|
|
}
|
2014-09-27 02:48:34 +08:00
|
|
|
}
|
2017-09-01 19:29:50 +08:00
|
|
|
|
|
|
|
.viewing-self & .about.collapsed-info {
|
|
|
|
.secondary, .staff-counters {
|
|
|
|
display: inherit;
|
|
|
|
}
|
2014-11-13 02:57:59 +08:00
|
|
|
}
|
2014-10-28 11:35:16 +08:00
|
|
|
}
|
2015-12-17 15:06:04 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.user-preferences {
|
2017-08-25 05:40:57 +08:00
|
|
|
display: table-cell;
|
2017-09-01 19:29:50 +08:00
|
|
|
vertical-align: top;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-left: 30px;
|
2017-08-25 05:40:57 +08:00
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
h3 {
|
|
|
|
color: $primary;
|
|
|
|
margin: 20px 0 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 530px;
|
|
|
|
}
|
|
|
|
|
2018-02-26 18:42:57 +08:00
|
|
|
.category-selector, .tag-chooser {
|
|
|
|
width: 530px;
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
input {
|
2018-02-26 18:42:57 +08:00
|
|
|
&.user-selector {
|
2017-09-01 19:29:50 +08:00
|
|
|
width: 530px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=text] {
|
|
|
|
@include small-width {
|
|
|
|
width: 450px;
|
|
|
|
}
|
2017-08-25 09:04:19 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-01 19:29:50 +08:00
|
|
|
.instructions {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-horizontal .instructions {
|
|
|
|
margin-left: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pref-mailing-list-mode .controls {
|
|
|
|
select {
|
|
|
|
width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifications,
|
|
|
|
.category-notifications,
|
|
|
|
.tag-notifications,
|
|
|
|
.user-custom-preferences-outlet {
|
|
|
|
.controls select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-main & .user-field.text {
|
|
|
|
padding-top: 0;
|
2017-08-25 05:40:57 +08:00
|
|
|
}
|
2015-12-17 15:06:04 +08:00
|
|
|
}
|