mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 05:55:51 +01:00
Improve diff view
This commit is contained in:
@@ -35,12 +35,22 @@ table.diff {
|
|||||||
table.diff tbody {
|
table.diff tbody {
|
||||||
font-family:Courier, monospace
|
font-family:Courier, monospace
|
||||||
}
|
}
|
||||||
|
table.diff tbody tr:hover {
|
||||||
|
background-color:#F8EEC7;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.diff tbody tr:hover th {
|
||||||
|
background-color:#F6E8B5;
|
||||||
|
}
|
||||||
|
table.diff tbody tr:hover td {
|
||||||
|
background-color:#F6E8B5;
|
||||||
|
}
|
||||||
table.diff tbody th {
|
table.diff tbody th {
|
||||||
font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
|
font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
|
||||||
background:#EED;
|
background-color:#FBFBFB;
|
||||||
font-size:11px;
|
font-size:11px;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
border:1px solid #BBC;
|
border-top:none; /* for overriding bootstrap */
|
||||||
color:#886;
|
color:#886;
|
||||||
padding:.3em .5em .1em 2em;
|
padding:.3em .5em .1em 2em;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
@@ -58,6 +68,7 @@ table.diff tbody td {
|
|||||||
padding:0px .4em;
|
padding:0px .4em;
|
||||||
padding-top:.4em;
|
padding-top:.4em;
|
||||||
vertical-align:top;
|
vertical-align:top;
|
||||||
|
border-top: none;
|
||||||
}
|
}
|
||||||
table.diff .empty {
|
table.diff .empty {
|
||||||
background-color:#DDD;
|
background-color:#DDD;
|
||||||
@@ -69,9 +80,10 @@ table.diff .delete {
|
|||||||
background-color:#FFDDDD;
|
background-color:#FFDDDD;
|
||||||
}
|
}
|
||||||
table.diff .skip {
|
table.diff .skip {
|
||||||
background-color:#EFEFEF;
|
background-color: #F8F8FF;
|
||||||
border:1px solid #AAA;
|
}
|
||||||
border-right:1px solid #BBC;
|
table.diff .skip:before {
|
||||||
|
content: " ...";
|
||||||
}
|
}
|
||||||
table.diff .insert {
|
table.diff .insert {
|
||||||
background-color:#DDFFDD
|
background-color:#DDFFDD
|
||||||
|
|||||||
Reference in New Issue
Block a user