Fix avatar upload and use less2 everywhere in profile
This commit is contained in:
@@ -19,15 +19,15 @@
|
||||
&.cp-app-profile {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
#header {
|
||||
#cp-app-profile-header {
|
||||
display: flex;
|
||||
#rightside {
|
||||
#cp-app-profile-rightside {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
}
|
||||
#avatar {
|
||||
#cp-app-profile-avatar {
|
||||
width: 300px;
|
||||
//height: 350px;
|
||||
margin: 10px;
|
||||
@@ -42,7 +42,7 @@
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
.delete {
|
||||
.cp-app-profile-avatar-delete {
|
||||
right: 0;
|
||||
position: absolute;
|
||||
opacity: 0.7;
|
||||
@@ -75,7 +75,7 @@
|
||||
margin: 5px;
|
||||
}
|
||||
}
|
||||
#displayName, #link {
|
||||
#cp-app-profile-displayname, #cp-app-profile-link {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
margin: 10px 0;
|
||||
@@ -88,44 +88,44 @@
|
||||
input:focus ~ .edit {
|
||||
display: none;
|
||||
}
|
||||
.edit {
|
||||
.cp-app-profile-input-edit {
|
||||
position: absolute;
|
||||
margin-left: -25px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.temp {
|
||||
.cp-app-profile-input-temp {
|
||||
font-weight: 400;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.displayName {
|
||||
.cp-app-profile-input-displayname {
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
}
|
||||
.link {
|
||||
.cp-app-profile-input-link {
|
||||
font-size: 25px;
|
||||
}
|
||||
.displayName, .link {
|
||||
.cp-app-profile-input-displayname, .cp-app-profile-input-link {
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
// I tried using flexbox but messed with how the pencil icon was displayed
|
||||
#inviteButton {
|
||||
#cp-app-profile-invite-button {
|
||||
float: right;
|
||||
}
|
||||
#viewProfileButton {
|
||||
#cp-app-profile-viewprofile-button {
|
||||
margin-bottom: 20px;
|
||||
float: right;
|
||||
}
|
||||
#description {
|
||||
#cp-app-profile-description {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
border: 1px solid #DDD;
|
||||
margin-bottom: 20px;
|
||||
.rendered {
|
||||
.cp-app-profile-description-rendered {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.ok, .spin {
|
||||
.cp-app-profile-description-ok, .cp-app-profile-description-spin {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
@@ -149,7 +149,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
#createProfile {
|
||||
#cp-app-profile-create {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
|
||||
Reference in New Issue
Block a user