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

101 lines
1.7 KiB
SCSS
Raw Normal View History

.profile--img {
min-height: 80px;
min-width: 80px;
height: 80px;
width: 8px;
}
.profile--displayname {
2015-01-02 16:49:56 -08:00
font-weight: 700;
font-size: 1.2em;
margin-top: -0.165em;
line-height: 1.33em;
}
.profile--username {
2015-01-02 16:49:56 -08:00
font-size: 0.9em;
color: rgba(0, 0, 0, 0.4);
2015-01-02 17:13:53 -08:00
line-height: 1.33;
}
.profile--followtag {
margin: 0px 0px 0.2em;
}
.profile--text {
margin-bottom: 2px;
2015-01-02 17:14:49 -08:00
line-height: 1.5em;
2015-01-02 19:32:26 -08:00
margin-top: 0.65em;
2014-12-12 15:55:00 -08:00
}
.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;
2014-12-19 14:41:15 -08:00
}
.profile--panel .panel-body {
padding-top: 0px;
2014-12-20 05:37:14 -08:00
}
.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;
2014-12-26 04:48:20 -08:00
}
.profile--follow-btn {
margin-top: 5px;
2015-01-02 16:49:56 -08:00
}
2015-01-02 16:58:27 -08:00
.profile--avatar {
2015-01-02 16:49:56 -08:00
width: 100%;
height: auto;
border: medium none;
2015-01-06 06:26:24 -08:00
}
.profile--panel-badge {
width: 100%;
text-align: center;
padding-top: 0.15em;
padding-bottom: 0.15em;
2015-01-06 06:26:24 -08:00
text-transform: uppercase;
font-weight: bold;
margin: 0;
color: #fff;
}
2015-01-25 11:30:09 -08:00
$colours: danger $brand-danger,
default #BBB,
success $brand-success,
warning $brand-warning,
2015-01-25 11:48:14 -08:00
primary $brand-primary,
info #2980b9;
2015-01-06 06:32:14 -08:00
2015-01-25 11:30:09 -08:00
@each $colour in $colours {
.panel-badge-#{nth($colour, 1)} {
background-color: nth($colour, 2);
}
}
.user--banned {
text-decoration: line-through !important;
}