FEATURE: User page refactor

Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
This commit is contained in:
Sam
2015-12-17 18:06:04 +11:00
parent c3f08145b8
commit a8b5192efd
38 changed files with 371 additions and 194 deletions

View File

@@ -131,3 +131,34 @@
}
}
.user-nav {
width: 100%;
padding: 0;
margin: 0;
li {
padding: 0;
a {
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 40%));
padding: 5px;
min-width: 90px;
display: inline-block;
text-align: center;
border-bottom: 3px solid transparent;
}
a.active, a:hover {
color: $primary;
border-bottom: 3px solid dark-light-choose(scale-color($primary, $lightness: 20%), scale-color($secondary, $lightness: 20%));
}
display: inline-block;
text-decoration: none;
margin: 5px 0px;
.fa {
margin-right: 5px;
}
.fa.fa-comment {
margin-right: 2px;
}
}
}