2014-02-15 09:14:22 +08:00
|
|
|
/*!
|
|
|
|
* Gogs - Go Git Service (http://gogits.org)
|
|
|
|
* Copyright 2014 Gogs.
|
|
|
|
* Licensed under MIT (https://github.com/gogits/gogs/blob/master/LICENSE)
|
|
|
|
*/
|
|
|
|
|
|
|
|
body {
|
2014-03-02 15:31:06 +08:00
|
|
|
background: #F6F6F6;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
2014-03-02 21:47:55 +08:00
|
|
|
/* override bs3 */
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
.tooltip-inner {
|
2014-03-02 21:47:55 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
background: #333;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
.tooltip-arrow {
|
2014-03-02 21:47:55 +08:00
|
|
|
border-bottom-color: #333 !important;
|
|
|
|
}
|
|
|
|
|
2014-03-06 23:14:45 +08:00
|
|
|
.tooltip-arrow:before {
|
|
|
|
border-bottom-color: transparent !important;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
.fa {
|
2014-03-02 21:47:55 +08:00
|
|
|
margin: 0 .5em;
|
|
|
|
}
|
|
|
|
|
2014-03-10 16:54:52 +08:00
|
|
|
.list-group .list-group-item {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2014-03-11 11:41:38 +08:00
|
|
|
.btn {
|
2014-03-10 21:12:49 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
.panel-default .panel-heading {
|
2014-03-11 12:49:09 +08:00
|
|
|
background-color: #FAFAFA;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
/* gogits nav header */
|
|
|
|
.gogs-masthead {
|
|
|
|
background-color: #428bca;
|
|
|
|
box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
|
2014-03-03 22:40:22 +08:00
|
|
|
padding: 0 16px;
|
2014-03-02 15:31:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* gogits nav item link */
|
|
|
|
.gogs-nav-item {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #EEE;
|
|
|
|
font-size: 100%;
|
2014-03-06 23:14:45 +08:00
|
|
|
height: 46px;
|
2014-03-02 15:31:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.gogs-nav-item:hover,
|
|
|
|
.gogs-nav-item:focus {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-03-06 21:33:17 +08:00
|
|
|
.gogs-nav-item.navbar-right {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
.gogs-nav-item.navbar-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 5px 15px;
|
2014-03-06 23:14:45 +08:00
|
|
|
height: 30px;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
2014-03-06 21:33:17 +08:00
|
|
|
.gogs-nav-item.navbar-right .fa {
|
2014-03-03 22:40:22 +08:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
/* gogits nav item active status */
|
|
|
|
.gogs-nav .active {
|
|
|
|
color: #fff;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
|
|
|
.gogs-nav .active:after {
|
|
|
|
position: absolute;
|
2014-03-06 23:14:45 +08:00
|
|
|
bottom: -1px;
|
2014-03-02 15:31:06 +08:00
|
|
|
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-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
2014-03-06 23:14:45 +08:00
|
|
|
#gogs-nav-logo:after {
|
|
|
|
bottom: -4px !important;
|
|
|
|
}
|
|
|
|
|
2014-03-06 21:33:17 +08:00
|
|
|
.gogs-nav .tooltip {
|
2014-03-03 22:40:22 +08:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
/* gogits logo */
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-nav-avatar {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-logo, #gogs-nav-avatar img {
|
2014-03-02 15:31:06 +08:00
|
|
|
width: 28px;
|
2014-03-03 22:40:22 +08:00
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-nav-out {
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 5px 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-nav-out .fa {
|
|
|
|
vertical-align: -10%;
|
|
|
|
margin: 0 .5em;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
|
|
|
/* gogits body */
|
|
|
|
#gogs-body {
|
|
|
|
padding-top: 30px;
|
|
|
|
padding-bottom: 60px;
|
2014-03-03 22:40:22 +08:00
|
|
|
margin-top: 50px;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-body-nav {
|
2014-03-11 12:49:09 +08:00
|
|
|
margin-top: 52px;
|
|
|
|
margin-bottom: -50px;
|
|
|
|
background-color: #FFF;
|
|
|
|
border-bottom: 1px solid #BBB;
|
|
|
|
height: 66px
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-body-nav .nav {
|
2014-03-11 12:49:09 +08:00
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-body-nav .nav-pills li a {
|
2014-03-11 12:49:09 +08:00
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-body-nav .nav-pills li.active a {
|
2014-03-11 12:49:09 +08:00
|
|
|
font-weight: bold;
|
|
|
|
border-bottom: 2px solid #d26911;
|
|
|
|
background-color: transparent;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-body-nav .nav-pills li:hover a {
|
2014-03-11 12:49:09 +08:00
|
|
|
background-color: transparent;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
/* gogits login card */
|
2014-03-03 22:40:22 +08:00
|
|
|
.gogs-card {
|
2014-03-02 15:31:06 +08:00
|
|
|
margin: auto;
|
|
|
|
padding: 30px;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 5px;
|
|
|
|
box-sizing: border-box;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|
2014-03-02 15:31:06 +08:00
|
|
|
|
2014-03-03 00:22:20 +08:00
|
|
|
.gogs-card h3 {
|
2014-03-02 15:31:06 +08:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-login-card {
|
2014-03-03 00:22:20 +08:00
|
|
|
width: 600px;
|
|
|
|
}
|
|
|
|
|
2014-03-02 15:31:06 +08:00
|
|
|
#gogs-login-card .form-control {
|
|
|
|
padding: 6px 12px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-login-card .control-label {
|
|
|
|
height: 44px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
.gogs-card .btn {
|
2014-03-02 15:31:06 +08:00
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 1.2em;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-social-login {
|
2014-03-02 15:31:06 +08:00
|
|
|
margin-top: 30px;
|
|
|
|
padding-top: 20px;
|
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-social-login .btn {
|
2014-03-02 15:31:06 +08:00
|
|
|
float: none;
|
|
|
|
margin: auto;
|
2014-03-02 21:47:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* gogs-user-profile */
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-avatar {
|
2014-03-02 21:47:55 +08:00
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-name {
|
2014-03-02 21:47:55 +08:00
|
|
|
margin-top: 20px;
|
|
|
|
font-size: 1.6em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-profile .profile-info .list-group-item {
|
2014-03-02 21:47:55 +08:00
|
|
|
background-color: transparent;
|
|
|
|
padding-top: 18px;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-profile .profile-info .list-group-item a {
|
2014-03-02 21:47:55 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline;
|
|
|
|
color: #0093c4;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-profile .profile-info .list-group {
|
2014-03-02 21:47:55 +08:00
|
|
|
border-top: 1px solid #ccc;
|
|
|
|
padding-bottom: 18px;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
padding-left: 18px;
|
|
|
|
padding-right: 18px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-activity .tab-pane {
|
2014-03-02 21:47:55 +08:00
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-user-act-tabs li.active a {
|
2014-03-02 21:47:55 +08:00
|
|
|
border-bottom-color: #ddd;
|
2014-03-03 00:22:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* gogits repo create */
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-repo-create {
|
2014-03-03 00:22:20 +08:00
|
|
|
width: 800px;
|
|
|
|
}
|
|
|
|
|
2014-03-03 22:40:22 +08:00
|
|
|
#gogs-repo-create textarea[name=desc] {
|
2014-03-03 00:22:20 +08:00
|
|
|
height: 8em;
|
2014-03-10 16:54:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* gogits user setting */
|
|
|
|
|
2014-03-13 14:08:49 +08:00
|
|
|
#gogs-user-setting-nav > h4, #gogs-user-setting-container > h4, #gogs-ssh-keys > h4, #gogs-user-delete > h4 ,#gogs-repo-setting-container .tab-pane > h4{
|
2014-03-10 16:54:52 +08:00
|
|
|
padding-bottom: 18px;
|
|
|
|
margin-bottom: 18px;
|
|
|
|
border-bottom: 1px solid #CCC;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-user-setting-nav .list-group .list-group-item a {
|
|
|
|
margin-left: 0;
|
|
|
|
padding: .6em;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #3B73AF;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-user-setting-nav .list-group .list-group-item {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-user-setting-nav .list-group .list-group-item-success a {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* gogits user ssh keys */
|
|
|
|
|
|
|
|
#gogs-ssh-keys .list-group-item {
|
|
|
|
line-height: 48px;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
|
2014-03-11 11:41:38 +08:00
|
|
|
#gogs-ssh-keys .list-group-item:after {
|
2014-03-10 16:54:52 +08:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-03-11 11:41:38 +08:00
|
|
|
#gogs-ssh-keys .list-group-item:hover a.delete {
|
2014-03-10 16:54:52 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-ssh-keys .name {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-ssh-keys .list-group-item a.delete {
|
|
|
|
float: right;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-top: 10px;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-ssh-keys .print {
|
|
|
|
padding-left: 1em;
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-ssh-add {
|
|
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2014-03-11 11:41:38 +08:00
|
|
|
#gogs-ssh-form textarea {
|
2014-03-10 16:54:52 +08:00
|
|
|
height: 16em;
|
2014-03-11 12:49:09 +08:00
|
|
|
}
|
2014-03-11 17:19:54 +08:00
|
|
|
|
2014-03-11 12:49:09 +08:00
|
|
|
/* #gogs-feed */
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-feed-left {
|
2014-03-11 12:49:09 +08:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-11 17:19:54 +08:00
|
|
|
#gogs-feed-right .repo-panel .panel-heading .btn {
|
2014-03-11 12:49:09 +08:00
|
|
|
margin-top: -4px;
|
2014-03-11 17:19:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .panel-body {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group-item a {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
padding-left: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group-item .fa {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group-item {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 32px;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
padding-left: 15px;
|
2014-03-13 12:15:58 +08:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group-item:last-child {
|
|
|
|
border-bottom: none;
|
2014-03-11 17:19:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel .list-group-item:hover {
|
|
|
|
background-color: rgba(65, 131, 196, 0.1);
|
2014-03-13 12:15:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-feed-right .repo-panel span.stars {
|
|
|
|
color: #666;
|
|
|
|
line-height: 44px;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* gogits repo single page */
|
|
|
|
|
|
|
|
.gogs-repo-nav h3 .fa {
|
|
|
|
color: #BBB;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gogs-repo-btns {
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gogs-repo-btns .btn-group {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gogs-repo-btns .btn-group .btn {
|
|
|
|
padding-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-watching .dropdown-menu {
|
|
|
|
width: 280px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-watching .dropdown-menu .dropdown-item:hover .dropdown-header {
|
|
|
|
color: rgb(65, 131, 196);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-watching .dropdown-menu .description {
|
|
|
|
padding: 0 20px;
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-watching .dropdown-menu .dropdown-header {
|
|
|
|
color: #444;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 14px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#gogs-repo-toolbar{
|
|
|
|
margin-top: 51px;
|
|
|
|
margin-bottom: -50px;
|
|
|
|
border-bottom: 1px solid #BBB;
|
|
|
|
background-color: #FFF;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-toolbar .navbar-default{
|
|
|
|
border: none;
|
|
|
|
height: 39px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-toolbar .nav > li > a{
|
|
|
|
height: 39px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-toolbar .navbar-toolbar.navbar-default .navbar-nav>.active>a:after{
|
|
|
|
border-bottom-color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-toolbar .navbar.nav-toolbar{
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gogs-repo-toolbar .navbar-collapse{
|
|
|
|
padding: 0;
|
2014-02-15 09:14:22 +08:00
|
|
|
}
|