minor fix to #2335

This commit is contained in:
Unknwon 2016-01-09 14:51:17 +08:00
parent 21d7b5acaf
commit 86bce4a2ae
7 changed files with 57 additions and 42 deletions

View file

@ -2306,9 +2306,10 @@ footer .container .links > *:first-child {
}
.repository .diff-box .count {
margin-right: 12px;
font-size: 13px;
}
.repository .diff-box .count .bar {
background-color: #e75316;
background-color: #bd2c00 ;
height: 12px;
width: 40px;
display: inline-block;
@ -2316,7 +2317,7 @@ footer .container .links > *:first-child {
vertical-align: text-top;
}
.repository .diff-box .count .bar .add {
background-color: #77c64a;
background-color: #55a532;
height: 12px;
}
.repository .diff-box .file {
@ -2387,6 +2388,12 @@ footer .container .links > *:first-child {
.repository .diff-file-box .code-diff tbody tr.add-code td.halfwidth {
width: 50%;
}
.repository .diff-file-box .code-diff tbody tr .removed-code {
background-color: #ff9999;
}
.repository .diff-file-box .code-diff tbody tr .added-code {
background-color: #99ff99;
}
.repository .diff-file-box.file-content img {
max-width: 100%;
padding: 5px 5px 0 5px;
@ -2764,12 +2771,6 @@ footer .container .links > *:first-child {
#delete-repo-modal .ui.message {
width: 100%!important;
}
.removed-code {
background-color: #ff9999;
}
.added-code {
background-color: #99ff99;
}
.organization {
padding-top: 15px;
padding-bottom: 80px;

View file

@ -641,15 +641,17 @@
.diff-box {
.count {
margin-right: 12px;
font-size: 13px;
.bar {
background-color: #e75316;
background-color: #bd2c00 ;
height: 12px;
width: 40px;
display: inline-block;
margin: 2px 4px 0 4px;
vertical-align: text-top;
.add {
background-color: #77c64a;
background-color: #55a532;
height: 12px;
}
}
@ -716,6 +718,7 @@
// }
// }
&.del-code {
// Duplicate here to enforce add code color.
td.add-code {
background-color: #eaffea !important;
border-color: #c1e9c1 !important;
@ -749,6 +752,13 @@
// background-color: #ffffdd !important;
// }
}
.removed-code {
background-color: #ff9999;
}
.added-code {
background-color: #99ff99;
}
}
}
}
@ -1218,10 +1228,4 @@
}
}
.removed-code {
background-color: #ff9999;
}
.added-code {
background-color: #99ff99;
}