Browse Source

Merge pull request #907 from makhov/new-lines-highlighting-format

fix highlighting css for del code
pull/910/merge
无闻 10 years ago
parent
commit
15d4f32825
  1. 11
      public/ng/less/gogs/repository.less

11
public/ng/less/gogs/repository.less

@ -653,12 +653,23 @@
background-color: #E0E0E0 !important; background-color: #E0E0E0 !important;
border-color: #ADADAD !important; border-color: #ADADAD !important;
} }
td.selected-line, td.selected-line pre {
background-color: #ffffdd !important;
}
}
&.same-code {
td.selected-line, td.selected-line pre {
background-color: #ffffdd !important;
}
} }
&.del-code { &.del-code {
td, pre { td, pre {
background-color: #ffe2dd !important; background-color: #ffe2dd !important;
border-color: #e9aeae !important; border-color: #e9aeae !important;
} }
td.selected-line, td.selected-line pre {
background-color: #ffffdd !important;
}
} }
&.add-code { &.add-code {
td, pre { td, pre {

Loading…
Cancel
Save