Browse files

Added diff styling to admin CSS

  • Loading branch information...
1 parent 29e66e1 commit 3d65177842f04a0e4c63683dfd98adff278ea0e3 @JordanHatch JordanHatch committed Feb 22, 2012
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;
}

0 comments on commit 3d65177

Please sign in to comment.