1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/public/css/gogs.css

1018 lines
16 KiB
CSS
Raw Normal View History

2014-02-14 20:14:22 -05:00
/*!
* Gogs - Go Git Service (http://gogits.org)
* Copyright 2014 Gogs.
* Licensed under MIT (https://github.com/gogits/gogs/blob/master/LICENSE)
*/
body {
background: #F6F6F6;
2014-02-14 20:14:22 -05:00
}
2014-03-15 08:40:26 -04:00
html, body {
height: 100%;
font-family: Helvetica, Arial, sans-serif;
2014-03-15 08:40:26 -04:00
}
/* override bs3 */
2014-03-03 09:40:22 -05:00
.tooltip-inner {
border-radius: 3px;
background: #333;
border: none;
}
2014-03-03 09:40:22 -05:00
.tooltip-arrow {
border-bottom-color: #333 !important;
}
2014-03-06 10:14:45 -05:00
.tooltip-arrow:before {
border-bottom-color: transparent !important;
}
2014-03-03 09:40:22 -05:00
.fa {
margin: 0 .5em;
}
2014-03-19 10:03:06 -04:00
.fa-m {
2014-03-18 01:57:07 -04:00
margin: 0;
}
2014-03-10 04:54:52 -04:00
.list-group .list-group-item {
background-color: transparent;
}
2014-03-10 23:41:38 -04:00
.btn {
2014-03-10 09:12:49 -04:00
cursor: pointer;
}
2014-03-11 05:19:54 -04:00
.panel-default .panel-heading {
2014-03-11 00:49:09 -04:00
background-color: #FAFAFA;
border-bottom: 1px solid #DDD;
font-weight: bold;
}
/* gogits nav header */
2014-03-25 06:44:37 -04:00
.masthead {
background-color: #428bca;
box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
2014-03-15 08:40:26 -04:00
margin: 0;
}
/* gogits nav item link */
2014-03-25 06:44:37 -04:00
.nav-item {
position: relative;
display: inline-block;
padding: 10px;
font-weight: bold;
color: #EEE;
font-size: 100%;
2014-03-06 10:14:45 -05:00
height: 46px;
}
2014-03-25 06:44:37 -04:00
#nav-logo {
2014-03-16 23:22:07 -04:00
padding-left: 0;
2014-03-17 05:14:31 -04:00
padding-right: 0;
margin-right: 10px;
2014-03-16 23:22:07 -04:00
}
2014-03-25 06:44:37 -04:00
.nav-item:hover,
.nav-item:focus {
color: #fff;
text-decoration: none;
}
2014-03-25 06:44:37 -04:00
.nav-item.navbar-right {
2014-03-06 08:33:17 -05:00
margin-top: 3px;
}
2014-03-25 06:44:37 -04:00
.nav-item.navbar-btn {
cursor: pointer;
margin-top: 8px;
padding: 5px 15px;
2014-03-06 10:14:45 -05:00
height: 30px;
2014-02-14 20:14:22 -05:00
}
2014-03-25 06:44:37 -04:00
.nav-item.navbar-right .fa {
2014-03-03 09:40:22 -05:00
margin: 0;
}
/* gogits nav item active status */
2014-03-25 07:38:07 -04:00
#masthead .nav .active {
color: #fff;
2014-02-14 20:14:22 -05:00
}
2014-03-25 07:38:07 -04:00
#masthead .nav .active:after {
position: absolute;
2014-03-06 10:14:45 -05:00
bottom: -1px;
left: 50%;
width: 0;
height: 0;
margin-left: -5px;
vertical-align: middle;
content: " ";
border-right: 5px solid transparent;
border-bottom: 5px solid;
border-left: 5px solid transparent;
2014-02-14 20:14:22 -05:00
}
2014-03-25 06:44:37 -04:00
#nav-logo:after {
2014-03-06 10:14:45 -05:00
bottom: -4px !important;
}
2014-03-25 06:44:37 -04:00
#nav-avatar:after {
2014-03-19 10:15:28 -04:00
bottom: -4px !important;
}
2014-03-25 06:44:37 -04:00
.nav .tooltip {
2014-03-03 09:40:22 -05:00
border: none;
}
/* gogits logo */
2014-03-25 06:44:37 -04:00
#nav-avatar {
2014-03-03 09:40:22 -05:00
margin-top: 0;
}
2014-03-25 06:44:37 -04:00
#logo, #nav-avatar img {
width: 28px;
2014-03-03 09:40:22 -05:00
height: 28px;
}
2014-03-25 06:44:37 -04:00
#nav-out {
2014-03-03 09:40:22 -05:00
margin-top: 10px;
padding: 5px 0;
margin-left: 10px;
height: 28px;
2014-03-17 03:17:44 -04:00
float: right;
}
2014-03-25 06:44:37 -04:00
#nav-signin, #nav-signup {
2014-03-17 03:17:44 -04:00
float: right;
2014-03-21 09:48:13 -04:00
margin-left: 1em;
2014-03-03 09:40:22 -05:00
}
2014-03-25 06:44:37 -04:00
#nav-out .fa {
2014-03-03 09:40:22 -05:00
vertical-align: -10%;
margin: 0 .5em;
2014-02-14 20:14:22 -05:00
}
/* gogits body */
2014-03-25 06:44:37 -04:00
#body {
padding-bottom: 60px;
2014-03-15 08:55:20 -04:00
margin-top: 30px;
2014-02-14 20:14:22 -05:00
}
2014-03-25 06:44:37 -04:00
#body .btn-default {
2014-03-14 02:17:29 -04:00
background-color: #FFF;
background-image: linear-gradient(to bottom, #FFF 0, #FAFAFA 100%);
}
2014-03-25 06:44:37 -04:00
#body-nav {
2014-03-11 00:49:09 -04:00
background-color: #FFF;
2014-03-15 08:40:26 -04:00
border-bottom: 1px solid #DDD;
2014-03-11 00:49:09 -04:00
height: 66px
}
2014-03-25 06:44:37 -04:00
#body-nav .nav {
2014-03-11 00:49:09 -04:00
font-size: 14px;
margin-top: 12px;
}
2014-03-25 06:44:37 -04:00
#body-nav .nav-pills li a {
2014-03-11 00:49:09 -04:00
color: #444;
}
2014-03-25 06:44:37 -04:00
#body-nav .nav-pills li.active a {
2014-03-11 00:49:09 -04:00
font-weight: bold;
border-bottom: 2px solid #d26911;
background-color: transparent;
color: #444;
}
2014-03-25 06:44:37 -04:00
#body-nav .nav-pills li:hover a {
2014-03-11 00:49:09 -04:00
background-color: transparent;
text-decoration: underline;
}
/* gogits login card */
2014-03-25 06:44:37 -04:00
.card {
margin: auto;
padding: 30px;
background: #fff;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
2014-02-14 20:14:22 -05:00
}
2014-03-25 06:44:37 -04:00
.card h3 {
margin-top: 0;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #ccc;
}
2014-03-25 06:44:37 -04:00
#login-card {
2014-03-02 11:22:20 -05:00
width: 600px;
}
2014-03-25 06:44:37 -04:00
#login-card .form-control {
padding: 6px 12px;
box-sizing: content-box;
}
2014-03-25 06:44:37 -04:00
#login-card .control-label {
height: 44px;
line-height: 30px;
}
2014-03-25 06:44:37 -04:00
#install-card {
2014-03-25 04:51:42 -04:00
width: 800px;
}
2014-03-25 06:44:37 -04:00
#install-card .form-group {
2014-03-25 04:51:42 -04:00
margin-left: 0;
margin-right: 0;
}
2014-03-25 06:44:37 -04:00
.card .btn {
cursor: pointer;
margin-right: 1.2em;
}
2014-03-25 06:44:37 -04:00
#social-login {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #ccc;
}
2014-03-25 06:44:37 -04:00
#social-login .btn {
float: none;
margin: auto;
}
/* gogs-user-profile */
2014-03-25 06:44:37 -04:00
#user-avatar {
width: 200px;
height: 200px;
border-radius: 6px;
}
2014-03-25 06:44:37 -04:00
#user-avatar-commit {
2014-03-16 12:07:35 -04:00
width: 16px;
height: 16px;
border-radius: 2px;
}
2014-03-25 06:44:37 -04:00
#user-name {
margin-top: 20px;
font-size: 1.6em;
font-weight: bold;
margin-bottom: 20px;
}
2014-03-25 06:44:37 -04:00
#user-profile .profile-info .list-group-item {
background-color: transparent;
padding-top: 18px;
color: #666;
}
2014-03-25 06:44:37 -04:00
#user-profile .profile-info .list-group-item a {
margin: 0;
padding: 0;
display: inline;
color: #0093c4;
}
2014-03-25 06:44:37 -04:00
#user-profile .profile-info .list-group {
border-top: 1px solid #ccc;
padding-bottom: 18px;
border-bottom: 1px solid #ccc;
padding-left: 18px;
padding-right: 18px;
}
2014-03-25 06:44:37 -04:00
#user-activity .tab-pane {
padding: 20px;
}
2014-03-25 06:44:37 -04:00
#user-act-tabs li.active a {
border-bottom-color: #ddd;
2014-03-02 11:22:20 -05:00
}
/* gogits repo create */
2014-03-25 06:44:37 -04:00
#repo-create {
2014-03-02 11:22:20 -05:00
width: 800px;
}
2014-03-25 06:44:37 -04:00
#repo-create textarea[name=desc] {
2014-03-02 11:22:20 -05:00
height: 8em;
2014-03-10 04:54:52 -04:00
}
/* gogits user setting */
2014-03-25 06:44:37 -04:00
#user-setting-nav > h4, #user-setting-container > h4, #user-setting-container > div > h4,
#ssh-keys > h4, #user-delete > h4, #repo-setting-container .tab-pane > h4 {
2014-03-10 04:54:52 -04:00
padding-bottom: 18px;
margin-bottom: 18px;
border-bottom: 1px solid #CCC;
}
2014-03-25 06:44:37 -04:00
#user-setting-nav .list-group .list-group-item a {
2014-03-10 04:54:52 -04:00
margin-left: 0;
padding: .6em;
font-size: 14px;
color: #3B73AF;
}
2014-03-25 06:44:37 -04:00
#user-setting-nav .list-group .list-group-item {
2014-03-10 04:54:52 -04:00
background-color: transparent;
}
2014-03-25 06:44:37 -04:00
#user-setting-nav .list-group .list-group-item-success a {
2014-03-10 04:54:52 -04:00
font-weight: bold;
color: #444;
}
2014-03-25 06:44:37 -04:00
.admin-nav {
2014-03-21 09:06:05 -04:00
background-color: #FFF;
padding-top: 10px;
padding-left: 0;
padding-right: 0;
2014-03-21 09:48:13 -04:00
border: 1px solid #D8D8D8;
2014-03-21 09:06:05 -04:00
}
2014-03-25 06:44:37 -04:00
.admin-nav li {
2014-03-21 09:06:05 -04:00
margin-bottom: 8px;
border-left: 4px solid transparent;
}
2014-03-25 06:44:37 -04:00
.admin-nav li:hover {
2014-03-21 09:06:05 -04:00
border-left-color: #EEE;
}
2014-03-25 06:44:37 -04:00
.admin-nav li.active:hover {
2014-03-21 09:06:05 -04:00
border-left: 4px solid #DD4B39;
}
2014-03-25 06:44:37 -04:00
#repo-setting-container .form-horizontal label {
2014-03-23 04:06:07 -04:00
line-height: 30px;
}
2014-03-10 04:54:52 -04:00
/* gogits user ssh keys */
2014-03-25 06:44:37 -04:00
#ssh-keys .list-group-item {
padding: 15px 0;
2014-03-10 04:54:52 -04:00
border-bottom: 1px solid #DDD;
}
2014-03-25 06:44:37 -04:00
#ssh-keys .list-group-item .delete {
margin: -5px 50px 0;
2014-03-10 04:54:52 -04:00
}
2014-03-25 06:44:37 -04:00
#ssh-keys .list-group-item:after {
clear: both;
2014-03-10 04:54:52 -04:00
}
2014-03-25 06:44:37 -04:00
#ssh-keys .name {
2014-03-10 04:54:52 -04:00
font-size: 14px;
font-weight: bold;
}
2014-03-25 06:44:37 -04:00
#ssh-keys .print {
2014-03-10 04:54:52 -04:00
padding-left: 1em;
color: #888;
}
2014-03-25 06:44:37 -04:00
#ssh-add {
2014-03-10 04:54:52 -04:00
display: inline-block;
color: white;
cursor: pointer;
margin-left: 0;
border-radius: 3px;
}
2014-03-25 06:44:37 -04:00
#ssh-form textarea {
2014-03-10 04:54:52 -04:00
height: 16em;
2014-03-11 00:49:09 -04:00
}
2014-03-11 05:19:54 -04:00
2014-03-25 06:44:37 -04:00
/* #feed */
2014-03-11 00:49:09 -04:00
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .panel-heading .btn {
2014-03-11 00:49:09 -04:00
margin-top: -4px;
2014-03-11 05:19:54 -04:00
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .panel-body {
2014-03-11 05:19:54 -04:00
padding: 0;
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group {
2014-03-11 05:19:54 -04:00
margin-bottom: 0;
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group-item a {
2014-03-21 09:16:13 -04:00
display: block;
2014-03-11 05:19:54 -04:00
margin-left: 0;
background-color: transparent;
padding-left: 0;
font-weight: bold;
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group-item .fa {
2014-03-11 05:19:54 -04:00
color: #666;
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group-item {
2014-03-11 05:19:54 -04:00
font-size: 14px;
line-height: 32px;
border-bottom: 1px solid #DDD;
padding-left: 15px;
2014-03-13 00:15:58 -04:00
clear: both;
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group-item:last-child {
2014-03-13 00:15:58 -04:00
border-bottom: none;
2014-03-11 05:19:54 -04:00
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel .list-group-item:hover {
2014-03-14 02:17:29 -04:00
background-color: #eafffd;
2014-03-11 05:19:54 -04:00
background-color: rgba(65, 131, 196, 0.1);
2014-03-13 00:15:58 -04:00
}
2014-03-25 06:44:37 -04:00
#feed-right .repo-panel span.stars {
2014-03-13 00:15:58 -04:00
color: #666;
margin-right: 1em;
}
/* gogits repo single page */
2014-03-25 06:44:37 -04:00
#body-nav.repo-nav {
2014-03-14 02:17:29 -04:00
padding-top: 16px;
padding-bottom: 30px;
height: auto;
}
2014-03-25 06:44:37 -04:00
.repo-nav .name {
2014-03-19 09:00:20 -04:00
margin-top: 15px;
}
2014-03-25 06:44:37 -04:00
.repo-nav .desc {
2014-03-19 09:00:20 -04:00
color: #888;
margin-bottom: 0;
}
2014-03-25 06:44:37 -04:00
.repo-nav h3 .fa {
2014-03-13 00:15:58 -04:00
color: #BBB;
2014-03-16 23:22:07 -04:00
margin-left: 0;
2014-03-13 00:15:58 -04:00
}
2014-03-25 06:44:37 -04:00
.repo-nav .actions {
2014-03-17 06:13:07 -04:00
padding-top: 20px;
2014-03-13 00:15:58 -04:00
}
2014-03-25 06:44:37 -04:00
.repo-nav .btn-default {
2014-03-18 01:57:07 -04:00
font-family: Tahoma, Arial, sans-serif;
}
2014-03-25 06:44:37 -04:00
#repo-watching .dropdown-menu {
2014-03-13 00:15:58 -04:00
width: 280px;
padding: 0;
}
2014-03-25 06:44:37 -04:00
#repo-watching .dropdown-menu .dropdown-item:hover .dropdown-header, #repo-watching .dropdown-item .dropdown-header.text-primary {
2014-03-13 00:15:58 -04:00
color: rgb(65, 131, 196);
cursor: pointer;
}
2014-03-25 06:44:37 -04:00
#repo-watching .dropdown-menu .description {
2014-03-13 00:15:58 -04:00
padding: 0 20px;
color: #888;
}
2014-03-25 06:44:37 -04:00
#repo-watching .dropdown-menu .dropdown-header {
2014-03-13 00:15:58 -04:00
color: #444;
font-weight: bold;
font-size: 14px;
margin-bottom: 4px;
}
2014-03-25 06:44:37 -04:00
#repo-toolbar {
2014-03-15 08:40:26 -04:00
border-bottom: 1px solid #DDD;
2014-03-13 00:15:58 -04:00
background-color: #FFF;
height: 40px;
2014-03-14 02:17:29 -04:00
font-size: 14px;
2014-03-13 00:15:58 -04:00
}
2014-03-25 06:44:37 -04:00
#repo-toolbar .navbar-default {
2014-03-13 00:15:58 -04:00
border: none;
height: 39px;
}
2014-03-25 06:44:37 -04:00
#repo-toolbar .nav > li > a {
2014-03-13 00:15:58 -04:00
height: 39px;
}
2014-03-25 06:44:37 -04:00
#repo-toolbar .nav .active {
color: #F6F6F6;
}
#repo-toolbar .nav > .active > a:after {
2014-03-13 00:15:58 -04:00
border-bottom-color: #999;
}
2014-03-25 06:44:37 -04:00
#repo-toolbar .navbar.nav-toolbar {
2014-03-13 00:15:58 -04:00
margin-bottom: 0;
}
2014-03-25 06:44:37 -04:00
#repo-toolbar .navbar-collapse {
2014-03-13 00:15:58 -04:00
padding: 0;
2014-03-14 02:17:29 -04:00
}
.activity-list {
font-size: 14px;
}
.activity-list .icon {
font-size: 20px;
color: #aaa;
float: left;
}
.activity-list .info {
2014-03-20 09:32:44 -04:00
margin: 0 0 0 40px;
line-height: 1.7em;
}
.activity-list .meta {
color: #aaa;
}
.activity-list li {
padding: 15px 0;
border-top: 1px solid #ddd;
}
.activity-list li:first-child {
border-top: none;
}
2014-03-15 12:41:12 -04:00
.repo-list li {
padding: 15px 0;
border-top: 1px solid #ddd;
}
.repo-list li:first-child {
border-top: none;
}
.repo-list h4 {
font-weight: bold;
font-size: 24px;
}
.repo-list .meta {
margin: 15px 0 0;
font-size: 14px;
}
.repo-list .desc {
font-size: 15px;
}
.repo-list .meta .fa {
margin: 0 0 0 20px;
}
.repo-list .meta,
.repo-list .info {
color: #999;
}
2014-03-19 10:03:06 -04:00
.popover .repo-clone-div {
2014-03-18 01:57:07 -04:00
min-width: 200px;
}
2014-03-25 06:44:37 -04:00
#repo-clone .dropdown-menu {
2014-03-21 11:27:33 -04:00
width: 400px;
padding: 20px;
}
2014-03-25 06:44:37 -04:00
#repo-clone .input-group {
2014-03-21 11:27:33 -04:00
margin-bottom: 15px;
}
2014-03-25 06:44:37 -04:00
/* #source */
#source {
2014-03-16 23:22:07 -04:00
margin-top: -20px;
}
2014-03-25 06:44:37 -04:00
#source .source-toolbar:after {
2014-03-16 10:29:23 -04:00
clear: both;
}
2014-03-25 06:44:37 -04:00
#source .source-toolbar .branch-switch {
2014-03-16 10:29:23 -04:00
display: inline-block;
}
2014-03-25 06:44:37 -04:00
#source .source-toolbar .breadcrumb {
2014-03-16 10:29:23 -04:00
margin: 0 .5em;
padding: 6px 15px;
font-size: 16px;
vertical-align: middle;
display: inline-block;
background-color: transparent;
}
2014-03-25 06:44:37 -04:00
#source .source-toolbar,
#source .info-box,
#source .file-content {
2014-03-16 10:29:23 -04:00
margin: 0 0 10px;
}
.info-box .info-head,
.info-box .info-content {
padding: 9px 20px;
}
2014-03-19 05:03:38 -04:00
.info-box .info-head {
font-weight: normal;
}
2014-03-19 10:03:06 -04:00
.info-box .info-content a,
2014-03-19 05:03:38 -04:00
.info-box .info-head a {
color: #666;
}
2014-03-16 10:29:23 -04:00
.file-list {
background-color: #fafafa;
}
.file-list .icon {
font-size: 17px;
padding: 5px 0 4px 10px;
2014-03-16 11:25:01 -04:00
width: 50px;
color: #999;
text-align: right;
2014-03-16 10:29:23 -04:00
}
.file-list .wrap {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
}
.file-list .name .wrap {
max-width: 180px;
}
.file-list .text .wrap {
max-width: 450px;
}
.file-list .date .wrap {
2014-03-16 10:41:41 -04:00
max-width: 120px;
2014-03-16 23:22:07 -04:00
padding: 0 20px 0 0;
2014-03-16 10:29:23 -04:00
}
.file-list .date {
text-align: right;
}
2014-03-16 11:25:01 -04:00
.file-content .file-head {
font-size: 18px;
}
.file-content .file-head .icon {
color: #666;
margin: 0 .5em 0 0;
}
2014-03-25 04:51:42 -04:00
.file-content .file-head .file-size {
2014-03-24 12:09:58 -04:00
font-size: 13px;
color: #888;
margin-left: 1em;
}
2014-03-16 11:25:01 -04:00
.file-content .file-body {
2014-03-20 09:10:37 -04:00
padding: 30px 30px 50px;
2014-03-20 08:42:06 -04:00
border: none;
background-color: #FFF;
2014-03-20 09:24:15 -04:00
overflow: auto;
overflow-x: auto;
overflow-y: hidden;
2014-03-20 08:42:06 -04:00
}
2014-03-20 11:55:27 -04:00
.file-content .file-body.file-code pre {
2014-03-20 08:42:06 -04:00
background-color: #FFF;
border: none;
}
2014-03-20 09:10:37 -04:00
.file-content .file-body.file-code {
padding: 0;
}
.file-content .file-body.file-code .lines-code > pre {
border: none;
background: none;
border-left: 1px solid #ddd;
}
.file-content .file-body.file-code .lines-code ol.linenums > .active {
background: #ffffdd;
}
.file-content .file-body.file-code .lines-num {
text-align: right;
color: #999;
background: #fafafa;
width: 1%;
}
2014-03-24 10:23:55 -04:00
.file-content .file-body.file-code .lines-ellipsis {
background-color: #FAFAFA;
color: #999;
width: 1%;
}
2014-03-20 09:10:37 -04:00
.file-content .file-body.file-code .lines-num span {
2014-03-20 10:39:10 -04:00
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
2014-03-20 09:10:37 -04:00
line-height: 1.6;
padding: 0 8px 0 10px;
cursor: pointer;
display: block;
2014-03-20 11:44:13 -04:00
margin-top: 2px;
2014-03-20 09:10:37 -04:00
font-size: 90%;
}
.file-content .file-body.file-code .lines-num span:first-child {
2014-03-20 08:42:06 -04:00
margin-top: 0;
2014-03-16 11:25:01 -04:00
}
2014-03-20 09:10:37 -04:00
.file-content .file-body.file-code > table {
width: 100%;
2014-03-20 05:31:18 -04:00
}
2014-03-20 09:10:37 -04:00
.file-content .file-body.file-code > table > tbody > tr,
.file-content .file-body.file-code > table > tbody > tr > td,
.file-content .file-body.file-code > table {
2014-03-20 05:31:18 -04:00
border: none;
2014-03-20 09:10:37 -04:00
background: none;
2014-03-20 05:31:18 -04:00
}
2014-03-19 10:03:06 -04:00
.branch-list th, .commit-list th {
2014-03-17 05:14:31 -04:00
background-color: #FFF;
line-height: 28px !important;
}
2014-03-19 10:03:06 -04:00
.branch-list td {
2014-03-17 05:14:31 -04:00
line-height: 36px !important;
}
2014-03-19 10:03:06 -04:00
.branch-box tr:hover td, .commit-box tr:hover td {
2014-03-17 05:14:31 -04:00
background-color: rgba(19, 95, 215, 0.06) !important;
}
2014-03-19 10:03:06 -04:00
.branch-box .name, .commit-box .author {
2014-03-17 05:14:31 -04:00
padding-left: 20px;
2014-03-19 10:03:06 -04:00
}
.branch-box .name {
2014-03-17 05:14:31 -04:00
font-size: 15px;
}
2014-03-19 10:03:06 -04:00
.branch-box .action {
2014-03-17 05:14:31 -04:00
width: 150px;
}
2014-03-19 10:03:06 -04:00
.branch-box td.date, .branch-box td.behind, .branch-box td.ahead {
2014-03-17 05:14:31 -04:00
width: 120px;
font-family: Verdana, Arial, sans-serif;
}
2014-03-19 10:03:06 -04:00
.branch-box .graph {
2014-03-17 05:14:31 -04:00
display: block;
height: 3px;
}
2014-03-19 10:03:06 -04:00
.branch-box .behind {
2014-03-17 05:14:31 -04:00
text-align: right;
direction: rtl;
}
2014-03-19 10:03:06 -04:00
.branch-box .behind .graph {
2014-03-17 05:14:31 -04:00
background-color: #888;
}
2014-03-19 10:03:06 -04:00
.branch-box .ahead .graph {
2014-03-17 05:14:31 -04:00
background-color: #0093c4;
}
2014-03-19 10:03:06 -04:00
.branch-box .branch-main {
2014-03-17 05:14:31 -04:00
background-color: #444;
color: #FFF;
border-color: #444;
}
2014-03-19 10:03:06 -04:00
.branch-box .branch-main a {
2014-03-17 05:14:31 -04:00
color: #FFF;
}
2014-03-19 10:03:06 -04:00
.branch-box .branch-main .name .btn {
2014-03-17 05:14:31 -04:00
margin-left: .5em;
}
2014-03-24 09:27:19 -04:00
.commit-box .avatar, .diff-head-box .avatar {
2014-03-19 10:03:06 -04:00
width: 20px;
height: 20px;
margin-right: 8px;
vertical-align: top;
}
2014-03-19 10:15:28 -04:00
.commit-box .search {
2014-03-19 10:03:06 -04:00
margin-top: 3px;
}
2014-03-19 10:15:28 -04:00
.commit-box td {
2014-03-19 10:03:06 -04:00
background-color: #FFF;
}
2014-03-20 08:12:31 -04:00
.commit-list .date {
width: 120px;
}
2014-03-20 10:39:10 -04:00
.commit-list .author {
min-width: 180px;
}
2014-03-20 08:12:31 -04:00
.guide-box pre, .guide-box .input-group {
margin-top: 20px;
margin-bottom: 30px;
line-height: 24px;
}
.guide-box input[readonly] {
background-color: #FFF;
}
2014-03-24 09:27:19 -04:00
.guide-box, .diff-head-box {
2014-03-20 08:42:06 -04:00
margin-top: 20px;
}
2014-03-24 09:27:19 -04:00
.diff-head-box h4 {
margin-top: 0;
margin-bottom: 0;
line-height: 26px;
}
.diff-head-box p {
margin-bottom: 0;
}
.diff-head-box .sha {
margin-left: 8px;
}
.diff-head-box a.name {
color: #444;
margin-right: 8px;
}
.diff-head-box span.time {
color: #888;
}
.diff-detail-box {
margin-bottom: 16px;
line-height: 30px;
}
.diff-detail-box span.status {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 8px;
vertical-align: middle;
}
.diff-detail-box ol {
padding-left: 0;
margin-bottom: 28px;
}
.diff-detail-box li {
list-style: none;
padding-bottom: 4px;
margin-bottom: 4px;
border-bottom: 1px dashed #DDD;
padding-left: 6px;
}
.diff-detail-box span.status.modify {
background-color: #f0db88;
}
.diff-detail-box span.status.add {
background-color: #b4e2b4;
}
.diff-detail-box span.status.del {
background-color: #e9aeae;
}
2014-03-24 10:23:55 -04:00
.diff-detail-box span.status.rename {
2014-03-24 09:27:19 -04:00
background-color: #dad8ff;
}
.diff-file-box .panel-heading {
padding: 10px 20px;
line-height: 26px;
}
.diff-box .count {
margin-right: 12px;
}
.diff-box .count .bar {
width: 40px;
display: inline-block;
margin: 2px 4px 0 4px;
vertical-align: text-top;
}
.diff-box .file {
color: #888;
}
2014-03-25 06:44:37 -04:00
#source .file-content.diff-file-box {
2014-03-24 09:27:19 -04:00
margin-bottom: 20px;
}
.diff-box .count .bar .add {
background-color: #77c64a;
height: 12px;
}
.diff-box .count .bar .del, .diff-box .count .bar {
background-color: #e75316;
height: 12px;
}
.diff-file-box .file-body.file-code .lines-code > pre {
margin: 0;
padding: 3px;
}
.diff-file-box .file-body.file-code .lines-num-old {
border-right: 1px solid #DDD;
}
.diff-file-box .code-bin td {
padding: 20px;
}
.diff-file-box .code-diff tbody tr.add-code td, .diff-file-box .code-diff tbody tr.add-code pre {
background-color: #d1ffd6 !important;
border-color: #b4e2b4 !important;
}
.diff-file-box .code-diff tbody tr.del-code td, .diff-file-box .code-diff tbody tr.del-code pre {
background-color: #ffe2dd !important;
border-color: #e9aeae !important;
}
.diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre {
background-color: #fff8d2 !important;
border-color: #f0db88 !important;
}
2014-03-24 10:23:55 -04:00
.diff-file-box .ellipsis-code pre {
color: #AAA;
}
2014-03-17 05:14:31 -04:00
/* wrapper and footer */
2014-03-15 08:40:26 -04:00
#wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -100px;
padding: 0 0 100px;
}
#footer {
background: #fff;
-webkit-box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);;
height: 100px;
}
#footer .footer-wrap {
2014-03-17 03:17:44 -04:00
padding: 20px 15px;
2014-03-15 08:40:26 -04:00
}
#footer a {
color: #000;
}