Finish new home page of organization

This commit is contained in:
Unknwon 2014-08-10 20:11:18 -07:00
parent 7af7584d25
commit 5fbf8531e6
27 changed files with 445 additions and 142 deletions

View file

@ -40,6 +40,11 @@ img.avatar-48 {
height: 48px;
vertical-align: middle;
}
img.avatar-100 {
width: 100px;
height: 100px;
vertical-align: middle;
}
#wrapper {
padding: 0;
margin: 0 0 -55px 0;
@ -226,6 +231,9 @@ img.avatar-48 {
.text-grey {
color: #999999;
}
.text-black {
color: #444444;
}
.markdown {
background-color: white;
font-size: 16px;
@ -974,6 +982,7 @@ The register and sign-in page style
border-left: none;
}
#repo-clone-help {
clear: both;
line-height: 48px;
}
#repo-clone-zip {
@ -1665,3 +1674,99 @@ textarea#issue-add-content {
box-sizing: border-box;
height: 120px;
}
.org-header {
padding: 16px 0;
background-color: #FFF;
border-bottom: 1px solid #DDD;
}
.org-header img {
padding-right: 10px;
}
#org-home-header {
min-height: 100px;
}
#org-home-header-info {
padding-top: 10px;
}
#org-home-header-info h2 {
font-size: 30px;
}
#org-home-header-info ul {
list-style: none;
}
#org-home-header-info ul li {
float: left;
padding-right: 5px;
}
#org-home-repo-list {
padding: 10px 0;
}
#org-repo-list {
padding: 10px 0;
}
#org-repo-list .org-repo-item {
border-top: 1px solid #eee;
padding: 30px 20px;
}
#org-repo-list .org-repo-item .org-repo-status {
list-style: none;
color: #888;
}
#org-repo-list .org-repo-item .org-repo-status li {
float: left;
margin-right: 6px;
}
#org-repo-list .org-repo-item h2 {
margin-bottom: 5px;
}
#org-repo-list .org-repo-item .org-repo-description {
margin: 0;
font-size: 14px;
color: #666;
}
#org-repo-list .org-repo-item .org-repo-updated {
font-size: 12px;
display: block;
margin: 5px 0 0;
color: #808080;
}
.org-sidebar {
margin: -80px 0 0 20px;
}
.org-sidebar .panel-footer {
padding: .8em 1.2em;
}
#org-member-avatar-group {
padding: 15px;
}
#org-member-avatar-group img {
width: 59px;
height: 59px;
border-radius: 3px;
}
#org-home-team-list {
padding: 0 15px;
}
#org-home-team-list ul {
list-style: none;
padding-top: 10px;
}
#org-home-team-list ul li {
padding: 10px 0;
border-bottom: 1px solid #eee;
}
#org-home-team-list ul li:last-child {
border-bottom: 0;
}
.team-name {
display: block;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.team-meta {
margin-top: 0;
margin-bottom: 0;
color: #777;
}

View file

@ -372,6 +372,10 @@ dt {
font-size: 10.8px;
padding: .4em .9em;
}
.btn-medium {
font-size: 12px;
padding: .4em .9em;
}
.btn-large {
font-size: 14.4px;
}

View file

@ -5,4 +5,5 @@
@import "gogs/sign";
@import "gogs/repository";
@import "gogs/settings";
@import "gogs/issue";
@import "gogs/issue";
@import "gogs/organization";

View file

@ -50,6 +50,11 @@ img.avatar-48{
height: 48px;
vertical-align: middle;
}
img.avatar-100{
width: 100px;
height: 100px;
vertical-align: middle;
}
#wrapper {
padding: 0;
margin: 0 0 -55px 0;
@ -242,4 +247,7 @@ clear: both;
}
.text-grey {
color: #999999;
}
.text-black {
color: #444444;
}

View file

@ -0,0 +1,96 @@
.org-header {
padding: 16px 0;
background-color: #FFF;
border-bottom: 1px solid #DDD;
img {
padding-right: 10px;
}
}
#org-home-header {
min-height: 100px;
}
#org-home-header-info {
padding-top: 10px;
h2 {
font-size: 30px;
}
ul {
list-style: none;
li {
float: left;
padding-right: 5px;
}
}
}
#org-home-repo-list {
padding: 10px 0;
}
#org-repo-list {
padding: 10px 0;
.org-repo-item {
border-top: 1px solid #eee;
padding: 30px 20px;
.org-repo-status {
list-style: none;
color: #888;
li {
float: left;
margin-right: 6px;
}
}
h2 {
margin-bottom: 5px;
}
.org-repo-description {
margin: 0;
font-size: 14px;
color: #666;
}
.org-repo-updated {
font-size: 12px;
display: block;
margin: 5px 0 0;
color: #808080;
}
}
}
.org-sidebar {
margin: -80px 0 0 20px;
.panel-footer {
padding: .8em 1.2em;
}
}
#org-member-avatar-group {
padding: 15px;
img {
width: 59px;
height: 59px;
border-radius: 3px;
}
}
#org-home-team-list {
padding: 0 15px;
ul {
list-style: none;
padding-top: 10px;
li {
padding: 10px 0;
border-bottom: 1px solid #eee;
&:last-child {
border-bottom: 0;
}
}
}
}
.team-name {
display: block;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.team-meta {
margin-top: 0;
margin-bottom: 0;
color: #777;
}

View file

@ -97,6 +97,7 @@ border-top-right-radius: .25em;
border-left: none;
}
#repo-clone-help {
clear: both;
line-height: 48px;
}
#repo-clone-zip {

View file

@ -5,14 +5,16 @@
&:hover {
}
}
.btn-small {
font-size: 0.9*@baseFontSize;
padding: .4em .9em;
}
.btn-medium {
font-size: @baseFontSize;
padding: .4em .9em;
}
.btn-large {
font-size: 1.2*@baseFontSize;
font-size: 1.2*@baseFontSize;
}
.btn-green {
@ -23,7 +25,6 @@
color: #FFF;
}
}
.btn-blue {
background-color: @btnBlueColor;
border: 1px solid @btnBlueColor;