Factor out <ins>/<del> css from #c-post-versions to .diff-list.
This commit is contained in:
21
app/assets/stylesheets/common/diffs.scss
Normal file
21
app/assets/stylesheets/common/diffs.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
.diff-list {
|
||||
ins, ins a {
|
||||
color: green;
|
||||
text-decoration: none;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
ins.obsolete, ins.obsolete a {
|
||||
color: darkGreen;
|
||||
}
|
||||
|
||||
del, del a {
|
||||
color: red;
|
||||
text-decoration: line-through;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
del.obsolete, del.obsolete a {
|
||||
color: darkRed;
|
||||
}
|
||||
}
|
||||
9
app/assets/stylesheets/specific/post_versions.scss
Normal file
9
app/assets/stylesheets/specific/post_versions.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
@import "../common/000_vars.scss";
|
||||
|
||||
div#c-post-versions {
|
||||
div#a-index {
|
||||
tr.hilite {
|
||||
background: $highlight_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -482,30 +482,6 @@ div#c-post-versions, div#c-artist-versions {
|
||||
a {
|
||||
word-wrap: break-word
|
||||
}
|
||||
|
||||
tr.hilite {
|
||||
background: $highlight_color;
|
||||
}
|
||||
|
||||
ins, ins a {
|
||||
color: green;
|
||||
text-decoration: none;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
ins.obsolete, ins.obsolete a {
|
||||
color: darkGreen;
|
||||
}
|
||||
|
||||
del, del a {
|
||||
color: red;
|
||||
text-decoration: line-through;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
del.obsolete, del.obsolete a {
|
||||
color: darkRed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user