repo page ui

This commit is contained in:
FuXiaoHei 2014-03-14 14:17:29 +08:00
parent 1ce17cce76
commit 8d1fcdaf2c
4 changed files with 159 additions and 34 deletions

View file

@ -137,6 +137,11 @@ body {
margin-top: 50px;
}
#gogs-body .btn-default {
background-color: #FFF;
background-image: linear-gradient(to bottom, #FFF 0, #FAFAFA 100%);
}
#gogs-body-nav {
margin-top: 52px;
margin-bottom: -50px;
@ -381,6 +386,7 @@ body {
}
#gogs-feed-right .repo-panel .list-group-item:hover {
background-color: #eafffd;
background-color: rgba(65, 131, 196, 0.1);
}
@ -392,6 +398,12 @@ body {
/* gogits repo single page */
#gogs-body-nav.gogs-repo-nav {
padding-top: 16px;
padding-bottom: 30px;
height: auto;
}
.gogs-repo-nav h3 .fa {
color: #BBB;
}
@ -436,6 +448,7 @@ body {
border-bottom: 1px solid #BBB;
background-color: #FFF;
height: 40px;
font-size: 14px;
}
#gogs-repo-toolbar .navbar-default {
@ -457,4 +470,54 @@ body {
#gogs-repo-toolbar .navbar-collapse {
padding: 0;
}
/* #gogs-source */
#gogs-source-toolbar:after {
clear: both;
}
#gogs-source-toolbar .branch-switch {
display: inline-block;
}
#gogs-source-toolbar .breadcrumb {
margin: 0 .5em;
font-size: 16px;
vertical-align: middle;
display: inline-block;
background-color: transparent;
}
#gogs-source-table {
margin-top: 1.5em;
font-size: 14px;
}
#gogs-source-table .fa{
font-size: 15px;
width: 16px;
text-align: center;
color: #666;
}
#gogs-source-table .name{
width: 160px;
}
#gogs-source-table .size{
width: 80px;
}
#gogs-source-table .date{
width: 120px;
}
#gogs-source-table .is-dir .name {
font-weight: bold;
}
#gogs-source-table.table-hover > tbody > tr:hover > td {
background-color: #FEFEFE;
}