2013-09-06 03:37:07 +08:00
|
|
|
// styles that apply to the user page
|
|
|
|
@import "common/foundation/variables";
|
|
|
|
@import "common/foundation/mixins";
|
|
|
|
|
2014-02-11 01:30:36 +08:00
|
|
|
.groups {
|
|
|
|
.group-link {
|
|
|
|
color: $tertiary_lightest;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.user-preferences {
|
2014-01-02 14:58:49 +08:00
|
|
|
input.category-group {
|
|
|
|
width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete .badge-category {
|
|
|
|
margin: 2px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete .badge-category.selected {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
textarea {
|
|
|
|
width: 530px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
input[type=text] {
|
|
|
|
@include small-width {
|
|
|
|
width: 450px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagedown-editor {
|
|
|
|
width: 450px;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 440px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.static {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.instructions {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_medium;
|
2014-01-13 07:11:40 +08:00
|
|
|
margin-left: 160px;
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-top: 5px;
|
2014-01-13 07:11:40 +08:00
|
|
|
margin-bottom: 10px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
.instructions a[href] {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_medium;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.warning {
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: lighten($highlight_danger, 10%);
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 5px 8px;
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $secondary;
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 520px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.other .controls {
|
|
|
|
margin-top: 10px;
|
|
|
|
select {
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
}
|
2014-02-19 01:51:37 +08:00
|
|
|
|
|
|
|
#save-button-top {
|
|
|
|
float: right;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-navigation {
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 240px;
|
|
|
|
margin-right: 20px;
|
|
|
|
float: left;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
h3 {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_light;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 20px 0 10px 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;
|
|
|
|
}
|
|
|
|
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-10 14:04:21 +08:00
|
|
|
color: $primary_light;
|
2013-09-06 03:37:07 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-main {
|
2013-11-01 22:27:01 +08:00
|
|
|
width: 850px;
|
2013-09-06 03:37:07 +08:00
|
|
|
float: left;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 50px;
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
@include medium-width {
|
2013-11-01 22:27:01 +08:00
|
|
|
width: 735px;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
@include small-width {
|
2013-11-01 22:27:01 +08:00
|
|
|
width: 680px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2014-02-08 02:46:39 +08:00
|
|
|
table.group-members {
|
|
|
|
width: 100%;
|
|
|
|
th.seen {
|
|
|
|
text-align: right;
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
2014-02-08 02:46:39 +08:00
|
|
|
td.avatar {
|
|
|
|
width: 60px;
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
span.last-seen-at {
|
|
|
|
float: right;
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_light;
|
2014-02-08 02:46:39 +08:00
|
|
|
}
|
2014-02-07 06:16:59 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.user-content {
|
|
|
|
padding: 10px 8px;
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
border: 1px solid $primary_lighter;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
2013-11-06 06:52:50 +08:00
|
|
|
|
2013-11-07 01:56:26 +08:00
|
|
|
.btn.right {
|
|
|
|
float: right
|
|
|
|
}
|
|
|
|
|
2013-11-06 06:52:50 +08:00
|
|
|
h2 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
2014-02-10 14:04:21 +08:00
|
|
|
border-bottom: 1px solid $primary_light;
|
2013-11-06 06:52:50 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 5px;
|
2014-02-10 14:04:21 +08:00
|
|
|
border-bottom: 1px solid $primary_lighter;
|
2013-11-06 06:52:50 +08:00
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
.about {
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $primary;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
overflow: hidden;
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $secondary;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
.details {
|
|
|
|
text-align: center;
|
2013-11-01 22:27:01 +08:00
|
|
|
padding: 12px;
|
2013-10-11 00:48:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[href] {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $secondary;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
img.avatar {
|
2014-02-10 14:04:21 +08:00
|
|
|
border: 3px solid $primary_lightest;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin-bottom: 4px;
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $secondary;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
2013-11-08 05:34:18 +08:00
|
|
|
.suspended {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $highlight_danger_light;
|
2013-11-08 05:34:18 +08:00
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
.primary {
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-top: 20px;
|
2013-10-11 00:48:26 +08:00
|
|
|
float: left;
|
|
|
|
width: 75%;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
h1, h2 {margin-top: 10px;}
|
|
|
|
|
2013-10-17 04:22:16 +08:00
|
|
|
.bio {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_lighter;
|
2013-10-17 04:22:16 +08:00
|
|
|
|
|
|
|
a[href] {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $tertiary_light;
|
2013-10-17 04:22:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.secondary {
|
|
|
|
float: right;
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: lighten($primary, 10%);
|
2013-10-11 00:48:26 +08:00
|
|
|
text-align: right;
|
|
|
|
padding: 0 10px;
|
|
|
|
width: 20%;
|
|
|
|
|
|
|
|
dd {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $secondary;
|
2013-10-11 00:48:26 +08:00
|
|
|
margin: 0 0 7px 0;
|
2013-11-01 22:27:01 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2013-10-11 00:48:26 +08:00
|
|
|
}
|
|
|
|
dt {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_lighter;
|
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-10 14:04:21 +08:00
|
|
|
background-color: $primary_lighter;
|
2013-11-01 22:27:01 +08:00
|
|
|
padding: 12px;
|
|
|
|
height: 30px;
|
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
|
|
|
|
2013-10-28 23:29:23 +08:00
|
|
|
.about.collapsed-info {
|
|
|
|
.controls {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.details {
|
|
|
|
.secondary { display: none; }
|
|
|
|
.bio { display: none; }
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2014-02-10 14:04:21 +08:00
|
|
|
border: 2px solid $secondary;
|
2013-10-28 23:29:23 +08:00
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
.user-stream {
|
|
|
|
.excerpt {
|
|
|
|
margin: 5px 0px;
|
|
|
|
font-size: 13px;
|
|
|
|
word-wrap: break-word;
|
2014-02-10 14:04:21 +08:00
|
|
|
color: lighten($primary, 30%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.moderator-action {
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $tertiary_lightest;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.deleted {
|
|
|
|
opacity: 0.8;
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $highlight_danger_light;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.item.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
.item {
|
|
|
|
padding: 10px 8px;
|
2014-02-10 14:04:21 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
border-bottom: 1px solid lighten($primary_lighter, 10%);
|
2013-09-06 03:37:07 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.type {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: lighten($primary, 40%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
span.name {
|
2014-02-10 14:04:21 +08:00
|
|
|
color: lighten($primary, 40%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.time {
|
|
|
|
display: block;
|
|
|
|
float: right;
|
2014-02-10 14:04:21 +08:00
|
|
|
color: $primary_light;
|
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-10 14:04:21 +08:00
|
|
|
background-color: $highlight_light;
|
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-10 14:04:21 +08:00
|
|
|
color: $primary_medium;
|
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;
|
|
|
|
}
|
|
|
|
}
|