You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

303 lines
3.9 KiB
Plaintext

10 years ago
.account {
.breadcrumb {
margin-bottom: 30px;
}
.edit-form {
max-width: 300px;
margin-left: auto;
margin-right: auto;
margin-bottom: 50px;
}
> .row {
max-width: @screen-sm-min;
margin-left: auto;
margin-right: auto;
> h1 {
text-align: center;
font-size: 20px;
color: @gray-light;
font-weight: 300;
margin-bottom: 24px;
}
}
.cover {
background-size: cover;
background-repeat: no-repeat;
height: 200px;
position: relative;
margin-bottom: 1em;
background-origin: content-box;
width: 100%;
top: 50px;
position: absolute;
left: auto;
right: 0px;
.avatar {
position: absolute;
left: 50%;
margin-left: -64px;
top: 128px;
border: 4px solid white;
border-radius: 50%;
.fab.btn-morph {
top: 93px;
right: 4px;
position: absolute;
}
.status {
position: absolute;
font-size: 23px;
top: 17px;
right: -3px;
}
.chat, .follow {
position: absolute;
width: 30px;
height: 30px;
}
.chat {
left: -1px;
bottom: 1px;
}
.follow {
right: 1px;
bottom: 1px;
}
}
&:hover {
.controls {
.opacity(0.8);
}
}
.controls {
text-align: center;
height: 200px;
line-height: 200px;
.opacity(0);
.transition(opacity .15s linear);
cursor: pointer;
pointer-events: none;
> * {
pointer-events: all;
}
.fa {
color: white;
background-color: #333;
opacity: 1;
margin: 15px;
padding: 5px;
}
}
&.active {
&:hover {
cursor: move;
}
.controls {
> * {
display: none;
}
}
.save {
display: inline-block;
}
}
&.saving {
.save {
display: none;
}
.indicator {
display: inline-block;
}
}
.save, .indicator {
display: inline-block;
position: absolute;
top: 1em;
right: 2em;
opacity: 1;
background-color: @brand-primary;
color: #eee;
padding: 0.5em;
font-weight: bold;
&:hover {
cursor: pointer;
}
}
.save {
display: none;
}
.indicator {
display: none;
}
}
10 years ago
margin-top: 200px;
.container {
height: 200px;
position: relative;
pointer-events: none;
> * {
pointer-events: all;
}
}
@media (min-width: @screen-md-min) {
margin-top: 300px;
.cover, .container {
height: 300px;
.controls {
height: 300px;
line-height: 300px;
}
.avatar {
top: 230px;
}
}
}
.profile {
margin-bottom: 40px;
.fullname {
margin-bottom: 12px;
font-size: 32px;
}
.username {
text-transform: uppercase;
text-align: center;
margin-top: 0px;
font-size: 15px;
}
.aboutme > p {
max-width: 75%;
margin-left: auto;
margin-right: auto;
color: @gray-light;
}
.profile-meta {
font-size: 10px;
text-transform: uppercase;
color: #777;
margin-top: 25px;
strong {
color: #333;
}
}
.account-stats {
text-align: center;
font-size: 35px;
line-height: 25px;
margin-top: 25px;
margin-bottom: -20px;
.stat {
display: inline-block;
min-width: 100px;
margin-bottom: 20px;
}
.stat-label {
font-size: 12px;
text-transform: uppercase;
color: @gray-light;
}
}
}
10 years ago
}
.account-fab {
position: absolute;
right: 15px;
bottom: -26px;
.open #profile {
background-color: lighten(@brand-primary, 10%);
}
.fab {
color: white;
font-size: 20px;
10 years ago
}
}
@media (max-width: @screen-md-min) {
.account > .row {
overflow: hidden;
}
}
//
10 years ago
.account-picture-block{
vertical-align:top;
margin-bottom:20px;
div {
margin-bottom: 10px;
}
.dropdown-toggle {
cursor: pointer;
}
}
.user-profile-picture {
.user-icon-style(128px, 7.5rem, 50%);
10 years ago
}
.user-picture-label {
font-size:20px;
}
.account-username{
font-size:20px;
font-weight:bold;
}
.picture-switcher {
img, .user-icon {
.user-icon-style(46px, 2.4rem, 50%);
}
h4 {
line-height: 46px;
margin: 0;
}
}