discourse/app/assets/stylesheets/common/base/user.scss

171 lines
2.8 KiB
SCSS
Raw Normal View History

// styling of bottom section
.user-stream .child-actions {
margin-top: 8px;
.avatar-link {
float: none;
}
.fa {
width: 15px;
display: inline-block;
color: $primary;
}
.avatar-link {
margin-right: 3px;
}
}
2015-07-22 07:19:15 -04:00
.user-main {
i.fa-heart {
color: $love !important;
}
}
.user-field {
.required {
text-align: top;
color: $danger;
font-weight: bold;
font-size: 1.3em;
}
}
.public-user-fields {
.user-field-name {
font-weight: bold;
}
}
.collapsed-info .public-user-fields {
display: none;
}
.notification-buttons {
margin: 10px 0;
text-align: right;
}
.user-navigation {
.map {
height: 50px;
}
.avatar {
float: left;
width: 45px;
}
nav.buttons {
width: 180px;
padding: 0;
.btn {
width: 100%;
margin-bottom: 5px;
box-sizing: border-box;
}
}
h2 {
a {
font-size: 1em;
2015-11-20 11:36:55 -05:00
color: scale-color($tertiary, $lightness: -10%);
cursor: pointer;
}
}
}
.avatar-selector {
label {
display: inline-block;
margin-right: 10px;
}
#avatar-input {
width: 0;
height: 0;
overflow: hidden;
}
.avatar {
margin: 5px 10px 5px 0;
}
}
.new-private-message {
margin-bottom: 15px;
}
.user-small {
display: inline-block;
width: 333px;
clear: both;
.user-image {
float: left;
padding-right: 4px;
}
.user-detail {
float: left;
width: 70%;
padding-left: 5px;
font-size: 13px;
.name-line {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.username a {
font-weight: bold;
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
}
.name {
margin-left: 5px;
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
}
.title {
margin-top: 3px;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
}
}
}
.user-nav {
width: 100%;
padding: 0;
margin: 0;
li {
padding: 0;
a {
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 40%));
padding: 5px;
min-width: 90px;
display: inline-block;
text-align: center;
border-bottom: 3px solid transparent;
}
a.active, a:hover {
color: $primary;
border-bottom: 3px solid dark-light-choose(scale-color($primary, $lightness: 20%), scale-color($secondary, $lightness: 20%));
}
display: inline-block;
text-decoration: none;
margin: 5px 0px;
.fa {
margin-right: 5px;
}
.fa.fa-comment {
margin-right: 2px;
}
}
}
.user-right .list-actions {
margin-bottom: 10px;
.btn {
margin-right: 10px;
}
}