|
|
|
@ -3,8 +3,6 @@
|
|
|
|
|
@repoHeaderBgColor: #FFF; |
|
|
|
|
@repoHeaderNameColor: #888; |
|
|
|
|
|
|
|
|
|
/* repository main */ |
|
|
|
|
|
|
|
|
|
#repo-wrapper { |
|
|
|
|
padding-bottom: 100px; |
|
|
|
|
} |
|
|
|
@ -30,7 +28,7 @@
|
|
|
|
|
#repo-header-meta { |
|
|
|
|
line-height: 66px; |
|
|
|
|
li { |
|
|
|
|
> a { |
|
|
|
|
>a { |
|
|
|
|
padding: 0; |
|
|
|
|
&:hover { |
|
|
|
|
background-color: transparent; |
|
|
|
@ -38,7 +36,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
a { |
|
|
|
|
& > .btn { |
|
|
|
|
&>.btn { |
|
|
|
|
line-height: 16px; |
|
|
|
|
margin-left: 16px; |
|
|
|
|
font-size: 13px; |
|
|
|
@ -52,7 +50,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#repo-header-download-btn { |
|
|
|
|
> .btn > i { |
|
|
|
|
>.btn>i { |
|
|
|
|
margin-right: 0 !important; |
|
|
|
|
} |
|
|
|
|
&:hover { |
|
|
|
@ -80,11 +78,10 @@
|
|
|
|
|
padding: 20px; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
z-index: 1; |
|
|
|
|
.btn > i { |
|
|
|
|
.btn>i { |
|
|
|
|
margin-right: 6px; |
|
|
|
|
} |
|
|
|
|
button, |
|
|
|
|
input { |
|
|
|
|
button, input { |
|
|
|
|
font-size: 11px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -143,7 +140,7 @@
|
|
|
|
|
padding-left: 12px; |
|
|
|
|
width: 24px; |
|
|
|
|
text-align: center; |
|
|
|
|
> i.octicon { |
|
|
|
|
>i.octicon { |
|
|
|
|
font-size: 21px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -165,12 +162,12 @@
|
|
|
|
|
} |
|
|
|
|
#repo-file-nav { |
|
|
|
|
padding: .6em 0 1em 0; |
|
|
|
|
> li > a { |
|
|
|
|
>li>a { |
|
|
|
|
padding-left: 0; |
|
|
|
|
&:hover { |
|
|
|
|
background-color: transparent; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
li.repo-jump > a { |
|
|
|
|
padding-right: 0; |
|
|
|
|
.btn { |
|
|
|
@ -179,7 +176,7 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
#repo-branch-switch { |
|
|
|
|
> a { |
|
|
|
|
>a { |
|
|
|
|
.btn { |
|
|
|
|
padding-right: 30px; |
|
|
|
|
} |
|
|
|
@ -189,10 +186,9 @@
|
|
|
|
|
right: 30px; |
|
|
|
|
margin-left: 0; |
|
|
|
|
color: @baseFontColor; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
> .drop-down { |
|
|
|
|
>.drop-down { |
|
|
|
|
top: 40px; |
|
|
|
|
left: 0; |
|
|
|
|
} |
|
|
|
@ -348,6 +344,7 @@
|
|
|
|
|
width: 520px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* repository create */ |
|
|
|
|
|
|
|
|
|
#team-create-form, |
|
|
|
@ -595,32 +592,49 @@
|
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.diff-file-box .code-diff tbody tr:hover td, .diff-file-box .code-diff tbody tr:hover pre { |
|
|
|
|
.diff-file-box { |
|
|
|
|
.file-body.file-code { |
|
|
|
|
.lines-num { |
|
|
|
|
text-align: right; |
|
|
|
|
color: #999; |
|
|
|
|
background: #fafafa; |
|
|
|
|
width: 1%; |
|
|
|
|
} |
|
|
|
|
.lines-num-old { |
|
|
|
|
border-right: 1px solid #DDD; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.code-diff { |
|
|
|
|
tbody { |
|
|
|
|
tr { |
|
|
|
|
&.tag-code { |
|
|
|
|
td, pre { |
|
|
|
|
background-color: #E0E0E0 !important; |
|
|
|
|
border-color: #ADADAD !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.del-code { |
|
|
|
|
td, pre { |
|
|
|
|
background-color: #ffe2dd !important; |
|
|
|
|
border-color: #e9aeae !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.add-code { |
|
|
|
|
td, pre { |
|
|
|
|
background-color: #d1ffd6 !important; |
|
|
|
|
border-color: #b4e2b4 !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&:hover { |
|
|
|
|
td, pre { |
|
|
|
|
background-color: #FFF8D2 !important; |
|
|
|
|
border-color: #F0DB88 !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.diff-file-box .file-body.file-code .lines-num-old { |
|
|
|
|
border-right: 1px solid #DDD; |
|
|
|
|
} |
|
|
|
|
.file-content .file-body.file-code .lines-num { |
|
|
|
|
text-align: right; |
|
|
|
|
color: #999; |
|
|
|
|
background: #fafafa; |
|
|
|
|
width: 1%; |
|
|
|
|
} |
|
|
|
|
.diff-file-box .code-diff tbody tr.tag-code td, .diff-file-box .code-diff tbody tr.tag-code pre { |
|
|
|
|
background-color: #E0E0E0 !important; |
|
|
|
|
border-color: #ADADAD !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.add-code td, .diff-file-box .code-diff tbody tr.add-code pre { |
|
|
|
|
background-color: #d1ffd6 !important; |
|
|
|
|
border-color: #b4e2b4 !important; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.compare-head-box { |
|
|
|
|
margin-top: 10px; |
|
|
|
|
.compare { |
|
|
|
|