diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-25 19:33:39 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-25 19:33:39 -0400 |
commit | 71e4689d118b3628a6ef7b93117c54265c4d83a5 (patch) | |
tree | 90b7b998ba4f5813f7286f3c5a02bece68f6dc62 /public/ng/less | |
parent | f69761563b7a4fe9ace2a1643391cbcf9b92b372 (diff) | |
download | gitea-71e4689d118b3628a6ef7b93117c54265c4d83a5.tar.gz gitea-71e4689d118b3628a6ef7b93117c54265c4d83a5.zip |
Page: User profile
Diffstat (limited to 'public/ng/less')
-rw-r--r-- | public/ng/less/gogs.less | 3 | ||||
-rw-r--r-- | public/ng/less/gogs/profile.less | 57 |
2 files changed, 59 insertions, 1 deletions
diff --git a/public/ng/less/gogs.less b/public/ng/less/gogs.less index a5cd26c42d..2d9812da1a 100644 --- a/public/ng/less/gogs.less +++ b/public/ng/less/gogs.less @@ -7,4 +7,5 @@ @import "gogs/settings"; @import "gogs/issue"; @import "gogs/organization"; -@import "gogs/admin";
\ No newline at end of file +@import "gogs/admin"; +@import "gogs/profile";
\ No newline at end of file diff --git a/public/ng/less/gogs/profile.less b/public/ng/less/gogs/profile.less new file mode 100644 index 0000000000..f618d2606b --- /dev/null +++ b/public/ng/less/gogs/profile.less @@ -0,0 +1,57 @@ +.profile-avatar { + width: 200px; + height: 200px; + border-radius: 6px; +} +#profile-name { + padding: 10px 0; +} +#profile-fullname { + font-size: 1.6em; +} +#profile-username { + font-size: 1.6em; + font-weight: bold; +} +.profile-info { + padding: 0 50px; + font-size: 14px; + ul { + padding-bottom: 10px; + .list-group-item { + background-color: transparent; + padding-top: 5px; + color: #666; + } + .profile-rel { + width: 31%; + text-align: center; + display: inline-block; + strong { + display: block; + font-size: 28px; + font-weight: bold; + line-height: 1; + } + p { + font-size: 12px; + } + } + } +} +#profile-header { + li { + a { + font-size: 1.2em; + color: #444444; + padding: .4em .8em; + &:hover { + background-color: transparent; + color: @dashboardHeaderLinkHoverColor; + } + } + .current { + border-bottom: 2px solid #D26911; + } + } +}
\ No newline at end of file |