retrospring/app/assets/stylesheets/scss/user.scss
Andreas N 15605682b2 fix
2015-01-03 03:47:48 +01:00

134 lines
No EOL
2.3 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--admin {
color: $brand-danger;
text-transform: uppercase;
font-weight: bold;
font-size: 80%;
}
.profile--moderator {
color: $brand-success;
text-transform: uppercase;
font-weight: bold;
font-size: 80%;
}
.profile--supporter {
color: $brand-warning;
text-transform: uppercase;
font-weight: bold;
font-size: 80%;
}
.profile--text {
margin-bottom: 2px;
line-height: 1.5em;
}
.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 {
width: 100%;
height: auto;
}
.profile--avatar img {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
width: 100%;
height: auto;
border: medium none;
}
.profile--avatar .dimmer {
position: absolute;
top: 0px !important;
left: 0px !important;
width: 100%;
height: 100%;
display: block;
min-height: 0px;
background: none repeat scroll 0% 0% #FFF;
padding: 0px;
border: medium none;
border-radius: 0.2857rem;
box-shadow: 0px 0.2em 0px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
transition: box-shadow 0.2s ease 0s;
opacity: 0;
}
.profile--avatar .dimmer:hover {
opacity: 1;
}
.profile--avatar .dimmer .content {
width: 100%;
height: 100%;
display: table;
-moz-user-select: text;
}
.profile--avatar .dimmer .content .center {
display: table-cell;
vertical-align: middle;
padding: 20px;
}