Fix profile vcard and style

This commit is contained in:
Fabio Comuni 2011-09-01 12:37:30 +02:00
commit 058e329dfb
6 changed files with 96 additions and 15 deletions

View file

@ -55,6 +55,9 @@
@MenuItemDetail: @Metalic2;
@AsideBorder: @Metalic1;
@AsideConnect: @Grey1;
@AsideConnectBg: @Blue3;
@AsideConnectHoverBg: @Blue1;

View file

@ -203,8 +203,38 @@ aside {
width: 200px;
padding:0px 10px 0px 20px;
border-right: 1px solid @AsideBorder;
.vcard {
.fn { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
.title { margin-bottom: 5px; }
dl { height: auto; overflow: auto; }
dt {float: left; margin-left: 0px; width: 35%; }
dd {float: left; margin-left: 4px; width: 60%;}
}
#profile-extra-links {
ul { padding: 0px; margin: 0px; }
li { padding: 0px; margin: 0px; list-style: none; }
}
#dfrn-request-link {
display: block;
.rounded();
color: @AsideConnect;
background: @AsideConnectBg url('../../../images/connect-bg.png') no-repeat left center;
font-weight: bold;
text-transform:uppercase;
padding: 4px 2px 2px 35px;
&:hover { text-decoration: none; background-color: @AsideConnectHoverBg; }
}
}
/* section */
section {
display: table-cell;

View file

@ -250,6 +250,52 @@ aside {
padding: 0px 10px 0px 20px;
border-right: 1px solid #bdcdd4;
}
aside .vcard .fn {
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}
aside .vcard .title {
margin-bottom: 5px;
}
aside .vcard dl {
height: auto;
overflow: auto;
}
aside .vcard dt {
float: left;
margin-left: 0px;
width: 35%;
}
aside .vcard dd {
float: left;
margin-left: 4px;
width: 60%;
}
aside #profile-extra-links ul {
padding: 0px;
margin: 0px;
}
aside #profile-extra-links li {
padding: 0px;
margin: 0px;
list-style: none;
}
aside #dfrn-request-link {
display: block;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
color: #ffffff;
background: #005c94 url('../../../images/connect-bg.png') no-repeat left center;
font-weight: bold;
text-transform: uppercase;
padding: 4px 2px 2px 35px;
}
aside #dfrn-request-link:hover {
text-decoration: none;
background-color: #19aeff;
}
/* section */
section {
display: table-cell;