Skip to content

Commit

Permalink
css fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Jun 28, 2014
1 parent a32fede commit 4146476
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
14 changes: 12 additions & 2 deletions css/june-night.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,34 @@
border-right: 1px solid #000; }
.cm-s-june-night .CodeMirror-selected {
background: #444; }
.cm-s-june-night .CodeMirror-linebackground.error {
background: rgba(255, 50, 50, 0.3); }

/* Light Table stuff */
.cm-s-june-night .inline-result, .cm-s-june-night .inline-doc {
.cm-s-june-night .inline-result, .cm-s-june-night .underline-result > pre {
background: #404444;
color: #DCDCCC;
border: 1px solid #222222;
box-shadow: 1px 1px 0px #222222;
-webkit-border-radius: 5px; }
.cm-s-june-night .inline-doc pre {
color: #DCDCCC; }
.cm-s-june-night .inline-exception pre, .cm-s-june-night .inline-exception div {
.cm-s-june-night .inline-exception > pre, .cm-s-june-night .inline-exception > div {
display: inline-block;
background: #633;
color: #dee;
padding: 5px 10px 5px 10px;
border: 1px solid #440000;
box-shadow: 1px 1px 0px #440000;
-webkit-border-radius: 5px; }
.cm-s-june-night .inline-exception > pre a, .cm-s-june-night .inline-exception > div a {
color: #Ddd; }
.cm-s-june-night .inline-exception > pre a:hover, .cm-s-june-night .inline-exception > div a:hover {
text-decoration: underline; }
.cm-s-june-night .inline-doc {
background: #404444; }
.cm-s-june-night .inline-doc > pre, .cm-s-june-night .underline-result > pre {
color: #DCDCCC !important; }

/* Julia Theming */
.cm-s-june-night .variable.cm-hash-0, .cm-s-june-night .variable-2.cm-hash-0, .cm-s-june-night .def.cm-hash-0 {
Expand Down
2 changes: 2 additions & 0 deletions css/june.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
border-right: 1px solid #bbb; }
.cm-s-june .CodeMirror-selected {
background: #eee; }
.cm-s-june .CodeMirror-linebackground.error {
background: rgba(255, 0, 0, 0.08); }

/* Light Table stuff */
/* Results */
Expand Down
23 changes: 21 additions & 2 deletions sass/june-night.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@
background: #444;
}

.CodeMirror-linebackground.error {
background: rgba(255,50,50,0.3);
}

}

/* Light Table stuff */
@import 'common';

.cm-s-june-night {
.inline-result, .inline-doc {
.inline-result, .underline-result > pre {
background: #404444;
color: #DCDCCC;
@include border(#222);
Expand All @@ -66,14 +70,29 @@
}

.inline-exception {
pre, div {
& > pre, & > div {
display:inline-block;
background: #633;
color: #dee;
padding: 5px 10px 5px 10px;
@include border(#400);

a {
color: #Ddd;
&:hover {
text-decoration: underline;
}
}
}
}

.inline-doc {
background: #404444;
}

.inline-doc > pre, .underline-result > pre {
color: #DCDCCC !important;
}
}

/* Julia Theming */
Expand Down
4 changes: 4 additions & 0 deletions sass/june.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
.CodeMirror-selected {
background: #eee;
}

.CodeMirror-linebackground.error {
background: rgba(255,0,0,0.08);
}
}

/* Light Table stuff */
Expand Down

0 comments on commit 4146476

Please sign in to comment.