mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
254 lines
4.0 KiB
SCSS
254 lines
4.0 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: $black;
|
|
margin-top: 5px;
|
|
margin-left: 5px;
|
|
display: inline-block;
|
|
}
|
|
.instructions {
|
|
color: $dark_gray;
|
|
margin-left: 165px;
|
|
margin-top: 5px;
|
|
}
|
|
.avatar {
|
|
margin-left: 3px;
|
|
}
|
|
.instructions a[href] {
|
|
color: $darkish_gray;
|
|
}
|
|
.warning {
|
|
@include border-radius-all(6px);
|
|
background-color: lighten($red, 10%);
|
|
padding: 5px 8px;
|
|
color: $white;
|
|
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: #f8f8f8;
|
|
border-radius: 5px;
|
|
color: #444;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.user-navigation {
|
|
|
|
h3 {
|
|
color: #666;
|
|
}
|
|
|
|
.summary {
|
|
height: 50px;
|
|
}
|
|
.avatar {
|
|
float: left;
|
|
width: 45px;
|
|
background-color: white;
|
|
}
|
|
|
|
nav.buttons {
|
|
width: 180px;
|
|
padding: 0;
|
|
.btn {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
h2 {
|
|
a {
|
|
font-size: 14px;
|
|
color: #999999;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
#no-invites {
|
|
padding: 10px;
|
|
}
|
|
|
|
#invited-users {
|
|
h2 {
|
|
color: $darkish_gray;
|
|
font-size: 20px;
|
|
}
|
|
.invites {
|
|
margin-bottom: 20px;
|
|
tr {
|
|
height: 45px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.user-main {
|
|
clear: both;
|
|
margin-bottom: 50px;
|
|
|
|
.about {
|
|
background-color: #444;
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
border: 1px solid #bbb;
|
|
color: #fff;
|
|
|
|
@include border-radius-all(4px);
|
|
|
|
.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: #fff;
|
|
}
|
|
|
|
img.avatar {
|
|
border: 3px solid #eee;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.secondary {
|
|
background-color: #222;
|
|
text-align: left;
|
|
padding: 0 10px;
|
|
@include border-radius-all(4px);
|
|
|
|
dd {
|
|
color: white;
|
|
margin: 0 0 7px 0;
|
|
}
|
|
dt {
|
|
color: #aaa;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.controls {
|
|
background-color: #ddd;
|
|
margin-top: 0px;
|
|
padding: 5px;
|
|
|
|
button { margin-bottom: 3px; }
|
|
}
|
|
}
|
|
|
|
.user-stream {
|
|
.excerpt {
|
|
margin: 5px 0px;
|
|
font-size: 13px;
|
|
word-wrap: break-word;
|
|
color: lighten($black, 30%);
|
|
}
|
|
.item.moderator-action {
|
|
background-color: #eef0ff;
|
|
}
|
|
.item.deleted {
|
|
opacity: 0.8;
|
|
background-color: #ffcece;
|
|
}
|
|
.item.hidden {
|
|
display: block;
|
|
opacity: 0.4;
|
|
}
|
|
.item {
|
|
padding: 10px 8px;
|
|
background-color: white;
|
|
border: 1px solid #b9b9b9;
|
|
margin-bottom: 10px;
|
|
@include border-radius-all(4px);
|
|
}
|
|
.type {
|
|
color: lighten($black, 40%);
|
|
}
|
|
span.name {
|
|
color: lighten($black, 40%);
|
|
}
|
|
.time {
|
|
display: block;
|
|
float: right;
|
|
color: silver;
|
|
margin-right: 8px;
|
|
font-size: 11px;
|
|
}
|
|
.avatar-link {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
.title {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// styling of bottom section
|
|
.user-stream .child-actions {
|
|
margin-top: 8px;
|
|
.avatar-link {
|
|
float: none;
|
|
}
|
|
.icon {
|
|
width: 15px;
|
|
display: inline-block;
|
|
color: #777;
|
|
}
|
|
.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;
|
|
}
|
|
}
|