Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User profiles now work a little nicer
- Loading branch information
1 parent
da73293
commit 8c92daa
Showing
2 changed files
with
142 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,78 @@ | ||
.profile-info { | ||
.clearfix(); | ||
.border-radius(3px 3px 0 0); | ||
border-bottom: 1px solid #ddd; | ||
#gradient > .vertical(#fff, #f3f3f3); | ||
} | ||
|
||
.js .profile-info { | ||
margin-bottom: 0; | ||
} | ||
|
||
.module > .profile-info { | ||
position: relative; | ||
padding-top: 25px; | ||
padding-bottom: 25px; | ||
} | ||
|
||
.profile-info .media { | ||
.makeColumn(5); | ||
display: table; // Lets us align the text to the bottom. | ||
margin-left: 0; | ||
} | ||
|
||
.profile-info .image { | ||
max-height: initial; | ||
} | ||
|
||
.profile-info .description { | ||
display: table-cell; | ||
vertical-align: bottom; | ||
} | ||
|
||
.profile-info .heading { | ||
font-size: 18px; | ||
.profile { | ||
header { | ||
position: relative; | ||
border-bottom: 1px solid @moduleHeadingBorderColor; | ||
height: 30px; | ||
.border-radius(3px 3px 0 0); | ||
#gradient > .vertical(@moduleHeadingBackgroundColorStart, @moduleHeadingBackgroundColorEnd); | ||
.nav-tabs { | ||
position: absolute; | ||
left: 20px; | ||
bottom: -1px; | ||
margin-bottom: 0; | ||
i { | ||
margin-right: 10px; | ||
font-size: 14px; | ||
} | ||
a:hover { | ||
background-color: @moduleBackgroundColor; | ||
} | ||
} | ||
} | ||
.tab-heading { | ||
display: none; | ||
} | ||
.empty, | ||
.dataset-list { | ||
margin-bottom: 20px; | ||
} | ||
} | ||
|
||
.profile-info .description :last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
.profile-info .listing { | ||
.makeColumn(3); | ||
float: right; | ||
font-size: 12px; | ||
} | ||
|
||
.profile-info .listing { | ||
.makeColumn(3); | ||
float: right; | ||
} | ||
|
||
.profile-info .nav-tabs { | ||
position: absolute; | ||
right: 0; | ||
bottom: -1px; | ||
margin-bottom: 0; | ||
} | ||
|
||
.profile .module-content { | ||
padding-bottom: 20px; | ||
} | ||
|
||
.module-activity { | ||
margin-top: 5px; | ||
} | ||
|
||
.js .tab-content .tab-heading { | ||
display: none; | ||
.profile-info { | ||
.module-content { | ||
padding: 15px; | ||
} | ||
.avatar { | ||
border: 1px solid #DDD; | ||
padding: 5px; | ||
.border-radius(2px); | ||
img, | ||
a { | ||
display: block; | ||
} | ||
} | ||
h1.heading { | ||
margin: 10px 0 5px 0; | ||
font-size: 21px; | ||
} | ||
.info { | ||
margin-top: 15px; | ||
padding-top: 10px; | ||
border-top: 1px dotted #DDD; | ||
dl dd { | ||
margin-top: 3px; | ||
margin-left: 0; | ||
} | ||
} | ||
.nums { | ||
.clearfix; | ||
margin-top: 15px; | ||
padding-top: 10px; | ||
padding-bottom: 0; | ||
border-top: 1px dotted #DDD; | ||
dl { | ||
float: left; | ||
width: 33%; | ||
margin: 5px 0 0 0; | ||
dt { | ||
font-weight: 300; | ||
} | ||
dd { | ||
font-size: 30px; | ||
font-weight: 700; | ||
line-height: 1.2; | ||
margin-left: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters