2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

updating user profile to match theme/usercard

This commit is contained in:
awesomerobot 2016-06-19 14:43:17 -04:00
parent 605a302546
commit 92fe4118df
3 changed files with 23 additions and 23 deletions

View file

@ -13,12 +13,10 @@
transition: height .15s linear;
}


.no-background {
.profile-image {
height: 200px;
}

}

.user-preferences {
@ -31,8 +29,6 @@
height: 100px;
}

input

input[type=text] {
@include small-width {
width: 450px;
@ -260,7 +256,9 @@
}

.secondary {
background: dark-light-diff($primary, $secondary, 90%, -65%);
background: scale-color($secondary, $lightness: -5%);
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
font-size: 0.929em;
.btn { padding: 3px 12px; }

@ -303,9 +301,9 @@
}

.details {
padding: 15px 15px 4px 15px;
padding: 0 0 4px 0;
background: rgba($secondary, .85);
margin-top: -200px;
background: dark-light-choose(rgba($primary, .85), rgba($secondary, .85));
transition: margin .15s linear;

blockquote {
@ -357,20 +355,17 @@
width: 100%;
position: relative;
float: left;
color: dark-light-choose($secondary, lighten($primary, 10%));

h1 {font-weight: bold;}

.primary-textual {
padding: 3px;
a[href] {
color: dark-light-choose($secondary, lighten($primary, 10%));

text-decoration: underline;
}
}

.bio {
color: dark-light-choose($secondary, lighten($primary, 10%));
max-height: 300px;
overflow: auto;
max-width: 750px;
@ -390,6 +385,9 @@
}
}
}
&.has-background {
.details { padding: 15px 15px 4px 15px;}
}

.controls {
padding: 0 0 12px 0;
@ -435,9 +433,10 @@
}

.details {
padding: 12px 15px 2px 15px;
padding: 0 0 2px 0;
margin-top: 0;
background: dark-light-choose(rgba($primary, 1), scale-color($secondary, $lightness: 15%));
background: rgba($secondary, .85);
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
.bio { display: none; }

.primary {
@ -466,8 +465,12 @@
}
}
}
}

&.has-background {
.details { padding: 12px 15px 2px 15px;}
}

}

.user-stream {
.excerpt {
@ -708,6 +711,3 @@
padding-left: 15px;
}
}