Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added diff styling to admin CSS

  • Loading branch information...
commit 3d65177842f04a0e4c63683dfd98adff278ea0e3 1 parent 29e66e1
@JordanHatch JordanHatch authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 app/assets/stylesheets/core-admin.css.erb
View
23 app/assets/stylesheets/core-admin.css.erb
@@ -358,6 +358,29 @@ input[disabled]:active {
font-weight: normal;
}
+.edition .history ul.diff {
+ border: 1px solid #bbb;
+ margin: 2em 0;
+ padding: 0;
+}
+.edition .history ul.diff li {
+ background: #f6f6f6;
+ font-family: Monaco, "Courier New", fixed-width;
+ font-size: 0.8em;
+ min-height: 1em;
+ margin: 0;
+ padding: 0.5em;
+}
+.edition .history ul.diff li.alt {
+ background: #ececec;
+}
+.edition .history ul.diff li.addition {
+ background: #d7ecdb;
+}
+.edition .history ul.diff li.removal {
+ background: #ecd7d9;
+}
+
#parts { /* give parts tab groups a little breathing room */
margin-bottom: 0.5em;
}
Please sign in to comment.
Something went wrong with that request. Please try again.