2013-09-06 03:37:07 +08:00
|
|
|
// styles that apply to the user page
|
2014-04-01 22:24:29 +08:00
|
|
|
@import "../common/foundation/variables";
|
|
|
|
@import "../common/foundation/mixins";
|
2013-09-06 03:37:07 +08:00
|
|
|
|
|
|
|
.user-preferences {
|
2014-02-19 01:51:37 +08:00
|
|
|
.control-group {
|
|
|
|
// border-bottom: 1px solid #e5e5e5;
|
|
|
|
padding: 8px 36px 8px 8px;
|
|
|
|
}
|
|
|
|
.control-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
textarea {
|
|
|
|
width: 530px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
.static {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.instructions {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2014-02-19 01:51:37 +08:00
|
|
|
.category-controls {
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
.avatar {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
.instructions a[href] {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.warning {
|
|
|
|
@include border-radius-all(6px);
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $warning_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 5px 8px;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 520px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 01:51:37 +08:00
|
|
|
.other .controls-dropdown {
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 10px;
|
2014-02-19 01:51:37 +08:00
|
|
|
padding-left: 5px;
|
2013-09-06 03:37:07 +08:00
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
2014-02-19 01:51:37 +08:00
|
|
|
|
|
|
|
.save-button {
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
max-width: 200px;
|
|
|
|
button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
2014-03-06 14:14:51 +08:00
|
|
|
|
2014-03-01 04:12:51 +08:00
|
|
|
#profile-background-preview {
|
|
|
|
height: 150px;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: cover;
|
|
|
|
background-color: $secondary_background_color;
|
|
|
|
}
|
2014-03-26 22:45:22 +08:00
|
|
|
|
|
|
|
.bio-composer #wmd-quote-post {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#about-me {
|
|
|
|
padding: 4px;
|
|
|
|
margin: -4px;
|
|
|
|
display: block;
|
|
|
|
width: 220px;
|
|
|
|
min-height: 200px;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: lighten($secondary_background_color, 76%);
|
|
|
|
color: $primary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-navigation {
|
|
|
|
|
|
|
|
h3 {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: lighten($primary_text_color, 35%);
|
2013-11-01 22:27:01 +08:00
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
.nav-stacked {
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
2013-11-16 04:46:26 +08:00
|
|
|
.map {
|
2013-09-06 03:37:07 +08:00
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
width: 45px;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-10-17 04:22:16 +08:00
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
nav.buttons {
|
|
|
|
width: 180px;
|
|
|
|
padding: 0;
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 5px;
|
2013-11-04 19:51:39 +08:00
|
|
|
@include box-sizing(border-box);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
a {
|
|
|
|
font-size: 14px;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 50px;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.about {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $secondary_background_color;
|
2014-03-01 04:12:51 +08:00
|
|
|
background-position: center center;
|
|
|
|
background-size: cover;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
overflow: hidden;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.details {
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href] {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_text_color;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 3px solid $primary_border_color;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.secondary {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $secondary_background_color;
|
2013-10-11 00:48:26 +08:00
|
|
|
text-align: left;
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
|
|
dd {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $tertiary_text_color;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin: 0 0 7px 0;
|
|
|
|
}
|
|
|
|
dt {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.controls {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: lighten($secondary_background_color, 60%);
|
2014-03-06 14:14:51 +08:00
|
|
|
margin-top: 0;
|
2013-11-01 22:27:01 +08:00
|
|
|
padding: 10px 10px 0 10px;
|
|
|
|
|
2013-11-06 06:52:50 +08:00
|
|
|
.btn {
|
2013-11-01 22:27:01 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.about.collapsed-info {
|
|
|
|
.controls {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-11-01 22:27:01 +08:00
|
|
|
.details {
|
|
|
|
.secondary { display: none; }
|
|
|
|
.bio { display: none; }
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 2px solid $tertiary_border_color;
|
2013-11-01 22:27:01 +08:00
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin:0;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 16px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
|
|
|
.user-stream {
|
|
|
|
.excerpt {
|
2014-03-06 14:14:51 +08:00
|
|
|
margin: 5px 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
font-size: 13px;
|
|
|
|
word-wrap: break-word;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: lighten($primary_text_color, 30%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.moderator-action {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $emphasis_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.deleted {
|
|
|
|
opacity: 0.8;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $warning_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
padding: 10px 8px;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
|
|
|
border-bottom: 1px solid $primary_border_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.type {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: lighten($primary_text_color, 40%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
span.name {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: lighten($primary_text_color, 40%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.time {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-right: 8px;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
.avatar-link {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.title {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
.edit-reason {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $highlight_background_color;
|
2013-12-12 10:41:34 +08:00
|
|
|
padding: 3px 5px 5px 5px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// styling of bottom section
|
|
|
|
.user-stream .child-actions {
|
|
|
|
margin-top: 8px;
|
|
|
|
.avatar-link {
|
|
|
|
float: none;
|
|
|
|
}
|
2013-12-10 05:27:49 +08:00
|
|
|
.fa {
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 15px;
|
|
|
|
display: inline-block;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: lighten($primary_text_color, 35%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.avatar-wrapper {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.avatar-link {
|
|
|
|
margin-right: 3px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-selector {
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
#avatar-input {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin: 5px 10px 5px 0;
|
|
|
|
}
|
2014-04-01 22:24:29 +08:00
|
|
|
}
|