405 lines
6.8 KiB
SCSS
405 lines
6.8 KiB
SCSS
// styles that apply to the user page
|
|
@import "common/foundation/variables";
|
|
@import "common/foundation/mixins";
|
|
|
|
.groups {
|
|
.group-link {
|
|
color: $link_color;
|
|
}
|
|
}
|
|
|
|
.user-preferences {
|
|
input.category-group {
|
|
width: 500px;
|
|
}
|
|
|
|
.autocomplete .badge-category {
|
|
margin: 2px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.autocomplete .badge-category.selected {
|
|
font-weight: bold;
|
|
}
|
|
|
|
textarea {
|
|
width: 530px;
|
|
height: 100px;
|
|
}
|
|
|
|
input[type=text] {
|
|
@include small-width {
|
|
width: 450px;
|
|
}
|
|
}
|
|
|
|
#pagedown-editor {
|
|
width: 450px;
|
|
|
|
textarea {
|
|
width: 440px;
|
|
}
|
|
}
|
|
|
|
#profile-background-preview {
|
|
height: 270px;
|
|
|
|
background-position: center center;
|
|
background-size: cover;
|
|
|
|
background-color: $secondary_background_color;
|
|
}
|
|
|
|
#profile-background-controls {
|
|
padding: 10px;
|
|
}
|
|
|
|
.static {
|
|
color: $primary_text_color;
|
|
margin-top: 5px;
|
|
margin-left: 5px;
|
|
display: inline-block;
|
|
}
|
|
.instructions {
|
|
color: $primary_text_color;
|
|
margin-left: 160px;
|
|
margin-top: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.avatar {
|
|
margin-left: 3px;
|
|
}
|
|
.instructions a[href] {
|
|
color: $link_color;
|
|
}
|
|
.warning {
|
|
background-color: $warning_background_color;
|
|
padding: 5px 8px;
|
|
color: $primary_background_color;
|
|
width: 520px;
|
|
}
|
|
|
|
.other .controls {
|
|
margin-top: 10px;
|
|
select {
|
|
width: 280px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-navigation {
|
|
width: 240px;
|
|
margin-right: 20px;
|
|
float: left;
|
|
|
|
h3 {
|
|
color: $primary_text_color;
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
|
|
.map {
|
|
height: 50px;
|
|
}
|
|
.avatar {
|
|
float: left;
|
|
width: 45px;
|
|
}
|
|
nav.buttons {
|
|
width: 180px;
|
|
padding: 0;
|
|
.btn {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
@include box-sizing(border-box);
|
|
}
|
|
}
|
|
h2 {
|
|
a {
|
|
font-size: 14px;
|
|
color: $link_color;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-main {
|
|
width: 850px;
|
|
float: left;
|
|
margin-bottom: 50px;
|
|
|
|
@include medium-width {
|
|
width: 735px;
|
|
}
|
|
|
|
@include small-width {
|
|
width: 680px;
|
|
}
|
|
|
|
table.group-members {
|
|
width: 100%;
|
|
th.seen {
|
|
text-align: right;
|
|
}
|
|
td.avatar {
|
|
width: 60px;
|
|
}
|
|
td {
|
|
img {
|
|
margin-right: 10px;
|
|
}
|
|
span.last-seen-at {
|
|
float: right;
|
|
color: $secondary_text_color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-content {
|
|
padding: 10px 8px;
|
|
background-color: $primary_background_color;
|
|
border: 1px solid $primary_border_color;
|
|
margin-bottom: 10px;
|
|
|
|
.btn.right {
|
|
float: right
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
|
|
th {
|
|
text-align: left;
|
|
border-bottom: 1px solid $primary_border_color;
|
|
padding: 5px;
|
|
}
|
|
|
|
td {
|
|
padding: 5px;
|
|
border-bottom: 1px solid $primary_border_color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.about {
|
|
background-color: $secondary_background_color;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
color: $secondary_text_color;
|
|
|
|
|
|
.details {
|
|
text-align: center;
|
|
padding: 12px;
|
|
|
|
|
|
h1 {
|
|
font-size: 30px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
margin-bottom: 6px;
|
|
font-weight: normal;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
a[href] {
|
|
color: $secondary_link_color;
|
|
}
|
|
|
|
img.avatar {
|
|
border: 3px solid $tertiary_border_color;
|
|
margin-bottom: 10px;
|
|
background-color: $secondary_background_color;
|
|
}
|
|
|
|
.suspended {
|
|
color: $warning_text_color;
|
|
}
|
|
|
|
.primary {
|
|
margin-top: 20px;
|
|
float: left;
|
|
width: 75%;
|
|
color: $tertiary_text_color;
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
|
|
|
h1, h2 {font-weight: bold;}
|
|
|
|
.bio {
|
|
color: $tertiary_text_color;
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
|
|
|
a[href] {
|
|
color: $tertiary_text_color;
|
|
text-decoration: underline;
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.secondary {
|
|
float: right;
|
|
background-color: rgba($tertiary_background_color, .9);
|
|
text-align: right;
|
|
padding: 0 20px;
|
|
|
|
dd {
|
|
color: rgba($tertiary_text_color, .7);
|
|
margin: 0 0 7px 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
dt {
|
|
color: rgba($tertiary_text_color, .7);
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.controls {
|
|
background-color: $tertiary_background_color;
|
|
padding: 12px;
|
|
height: 30px;
|
|
|
|
.right {
|
|
float: right;
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
border: 2px solid $tertiary_border_color;
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 20px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 17px;
|
|
line-height: 20px;
|
|
margin-top: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-stream {
|
|
.excerpt {
|
|
margin: 5px 0;
|
|
font-size: 13px;
|
|
word-wrap: break-word;
|
|
color: $primary_text_color;
|
|
}
|
|
.item.moderator-action {
|
|
background-color: $moderator_background_color;
|
|
}
|
|
.item.deleted {
|
|
opacity: 0.8;
|
|
background-color: $warning_background_color;
|
|
}
|
|
.item.hidden {
|
|
display: block;
|
|
opacity: 0.4;
|
|
}
|
|
.item {
|
|
padding: 20px 8px 15px 8px;
|
|
background-color: $primary_background_color;
|
|
border-bottom: 1px solid lighten($primary_border_color, 10%);
|
|
}
|
|
.type {
|
|
color: $primary_text_color;
|
|
}
|
|
span.name {
|
|
color: $secondary_text_color;
|
|
}
|
|
.time {
|
|
display: block;
|
|
float: right;
|
|
color: $secondary_text_color;
|
|
margin-right: 8px;
|
|
font-size: 11px;
|
|
}
|
|
.avatar-link {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
.title {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 14px;
|
|
}
|
|
.edit-reason {
|
|
background-color: $moderator_background_color;
|
|
padding: 3px 5px 5px 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// styling of bottom section
|
|
.user-stream .child-actions {
|
|
margin-top: 8px;
|
|
.avatar-link {
|
|
float: none;
|
|
}
|
|
.fa {
|
|
width: 15px;
|
|
display: inline-block;
|
|
color: $secondary_text_color;
|
|
}
|
|
.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;
|
|
}
|
|
}
|