mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-26 07:23:36 -05:00
275 lines
4.5 KiB
SCSS
275 lines
4.5 KiB
SCSS
// styles that apply to the user page
|
|
@import "../common/foundation/variables";
|
|
@import "../common/foundation/mixins";
|
|
|
|
.user-preferences {
|
|
textarea {
|
|
width: 530px;
|
|
height: 100px;
|
|
}
|
|
.static {
|
|
color: $primary;
|
|
margin-top: 5px;
|
|
margin-left: 5px;
|
|
display: inline-block;
|
|
}
|
|
.instructions {
|
|
color: $primary_medium;
|
|
margin-left: 165px;
|
|
margin-top: 5px;
|
|
}
|
|
.avatar {
|
|
margin-left: 3px;
|
|
}
|
|
.instructions a[href] {
|
|
color: $primary_medium;
|
|
}
|
|
.warning {
|
|
@include border-radius-all(6px);
|
|
background-color: lighten($highlight_danger, 10%);
|
|
padding: 5px 8px;
|
|
color: $secondary;
|
|
width: 520px;
|
|
}
|
|
|
|
.other .controls {
|
|
margin-top: 10px;
|
|
select {
|
|
width: 280px;
|
|
}
|
|
}
|
|
}
|
|
|
|
#about-me {
|
|
padding: 4px;
|
|
margin: -4px;
|
|
display: block;
|
|
width: 220px;
|
|
min-height: 200px;
|
|
background-color: $primary_lightest;
|
|
color: $primary;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.user-navigation {
|
|
|
|
h3 {
|
|
color: $primary_medium;
|
|
padding-left: 5px;
|
|
}
|
|
.nav-stacked {
|
|
border-left: 0;
|
|
border-right: 0;
|
|
}
|
|
.map {
|
|
height: 50px;
|
|
}
|
|
.avatar {
|
|
float: left;
|
|
width: 45px;
|
|
background-color: $secondary;
|
|
}
|
|
|
|
nav.buttons {
|
|
width: 180px;
|
|
padding: 0;
|
|
.btn {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
@include box-sizing(border-box);
|
|
}
|
|
}
|
|
h2 {
|
|
a {
|
|
font-size: 14px;
|
|
color: $primary_light;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-main {
|
|
clear: both;
|
|
margin-bottom: 50px;
|
|
|
|
.about {
|
|
background-color: $primary;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
color: $secondary;
|
|
|
|
.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] {
|
|
color: $secondary;
|
|
}
|
|
|
|
img.avatar {
|
|
border: 3px solid $primary_lightest;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.secondary {
|
|
background-color: $primary;
|
|
text-align: left;
|
|
padding: 0 10px;
|
|
|
|
dd {
|
|
color: $secondary;
|
|
margin: 0 0 7px 0;
|
|
}
|
|
dt {
|
|
color: $primary_light;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.controls {
|
|
background-color: $primary_lighter;
|
|
margin-top: 0px;
|
|
padding: 10px 10px 0 10px;
|
|
|
|
.btn {
|
|
margin-bottom: 10px;
|
|
float: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.about.collapsed-info {
|
|
.controls {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.details {
|
|
.secondary { display: none; }
|
|
.bio { display: none; }
|
|
|
|
.primary {
|
|
width: 100%;
|
|
text-align: left;
|
|
margin-top: 4px;
|
|
|
|
.avatar {
|
|
float: left;
|
|
margin-right: 10px;
|
|
border: 2px solid $secondary;
|
|
width: 45px;
|
|
height: 45px;
|
|
}
|
|
|
|
h1 {
|
|
margin:0;
|
|
font-size: 20px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 17px;
|
|
line-height: 16px;
|
|
margin-top: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-stream {
|
|
.excerpt {
|
|
margin: 5px 0px;
|
|
font-size: 13px;
|
|
word-wrap: break-word;
|
|
color: lighten($primary, 30%);
|
|
}
|
|
.item.moderator-action {
|
|
background-color: $tertiary_lightest;
|
|
}
|
|
.item.deleted {
|
|
opacity: 0.8;
|
|
background-color: $highlight_danger_light;
|
|
}
|
|
.item.hidden {
|
|
display: block;
|
|
opacity: 0.4;
|
|
}
|
|
.item {
|
|
padding: 10px 8px;
|
|
background-color: $secondary;
|
|
border-bottom: 1px solid $primary_light;
|
|
}
|
|
.type {
|
|
color: lighten($primary, 40%);
|
|
}
|
|
span.name {
|
|
color: lighten($primary, 40%);
|
|
}
|
|
.time {
|
|
display: block;
|
|
float: right;
|
|
color: $primary_light;
|
|
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: $highlight;
|
|
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: $primary_medium;
|
|
}
|
|
.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;
|
|
}
|
|
}
|