Retrospring/app/assets/stylesheets/scss/user.scss

103 lines
1.8 KiB
SCSS

.profile--img {
min-height: 80px;
min-width: 80px;
height: 80px;
width: 8px;
}
.profile--displayname {
font-weight: 700;
font-size: 1.2em;
margin-top: -0.165em;
line-height: 1.33em;
}
.profile--username {
font-size: 0.9em;
color: rgba(0, 0, 0, 0.4);
line-height: 1.33;
}
.profile--followtag {
margin: 0px 0px 0.2em;
}
.profile--text {
margin-bottom: 2px;
line-height: 1.5em;
margin-top: 0.65em;
}
.profile--header {
position: absolute;
z-index: 0;
width: 100%;
height: 40vh;
background-color: darken($navbar-inverse-bg, 10%);
background-size: cover;
}
.profile--panel .panel-heading {
color: $brand-primary;
border-bottom: 2px solid $brand-primary;
background-color: #fff;
text-transform: uppercase;
}
.profile--panel .panel-body {
padding-top: 0px;
}
.inbox--panel .panel-heading {
color: $brand-info;
border-bottom: 2px solid $brand-info;
background-color: #fff;
text-transform: uppercase;
}
.warning--panel .panel-heading {
color: $brand-danger;
border-bottom: 2px solid $brand-danger;
background-color: #fff;
text-transform: uppercase;
}
.profile--follow-btn {
margin-top: 5px;
}
.profile--avatar {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
width: 100%;
height: auto;
border: medium none;
}
.profile--panel-badge {
width: 100%;
text-align: center;
padding-top: 0.05em;
padding-bottom: 0.05em;
text-transform: uppercase;
font-weight: bold;
margin: 0;
color: #fff;
}
$colours: danger $brand-danger,
default #BBB,
success $brand-success,
warning $brand-warning,
primary $brand-primary,
info #2980b9;
@each $colour in $colours {
.panel-badge-#{nth($colour, 1)} {
background-color: nth($colour, 2);
}
}
.user--banned {
text-decoration: line-through !important;
}