Skip to content

Commit

Permalink
Added a :hover border around CodeMirror, so it's easier to see its ed…
Browse files Browse the repository at this point in the history
…ges after it's been resized on any color background.
  • Loading branch information
emackey committed Dec 24, 2011
1 parent ef615c8 commit d2ac5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/css/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
background-color: transparent;
position: absolute; left: 25px; top: 75px;
padding: 12px;
border: none;
border: solid 1px transparent;
border-radius: 5px;
line-height: 1.1em;
font-family: monospace;
Expand All @@ -15,6 +15,7 @@

.CodeMirror:hover {
background-color:rgba(0,0,0,.5);
border: solid 1px rgba(128,128,128,.4);
}

.CodeMirror-scroll {
Expand Down

0 comments on commit d2ac5fd

Please sign in to comment.