Skip to content
Browse files

add in a few ipython classes that were missing

  • Loading branch information...
1 parent 5b55b49 commit de4224d566b19332c3fd80acf5a95bc35cc3d976 Nikhil S committed
Showing with 35 additions and 16 deletions.
  1. +17 −8 templates/ipython-notebook/-dark.css.erb
  2. +18 −8 templates/ipython-notebook/-light.css.erb
View
25 templates/ipython-notebook/-dark.css.erb
@@ -15,7 +15,14 @@ div#notebook, div.CodeMirror, div.output_area pre, div.output_wrapper, div.promp
}
*/
-body {background-color:#<%= @base["00"]["hex"] %>;}
+/* GLOBALS */
+body {background-color: #<%= @base["00"]["hex"] %>;}
+a {color: #<%= @base["0D"]["hex"] %>;}
+
+/* INTRO PAGE */
+.toolbar_info, .list_container {color: #<%= @base["06"]["hex"] %>;}
+
+/* NOTEBOOK */
/* comment out this line to bring the toolbar back */
div#maintoolbar, div#header {display: none !important;}
@@ -31,15 +38,15 @@ div.input_area {
div.output_area pre {font-weight: normal; color: #<%= @base["05"]["hex"] %>;}
.rendered_html table, .rendered_html th, .rendered_html tr, .rendered_html td {
- border: 1px #<%= @base["02"]["hex"] %> solid;
+ border: 1px #<%= @base["05"]["hex"] %> solid;
+ color: #<%= @base["05"]["hex"] %>;
}
-.rendered_html th {font-weight: normal;}
div.output_html { font-family: sans-serif; }
-table.dataframe tr {border: 1px #<%= @base["02"]["hex"] %>;}
+table.dataframe tr {border: 1px #<%= @base["05"]["hex"] %>;}
div.cell.selected {border-radius: 0px;}
-div.text_cell_render, div.output_html {color: #<%= @base["02"]["hex"] %>;}
-span.CodeMirror-matchingbracket {color: #<%= @base["01"]["hex"] %>;}
+div.cell.edit_mode {border-radius: 0px; border: thin solid #<%= @base["0E"]["hex"] %>;}
+div.text_cell_render, div.output_html {color: #<%= @base["05"]["hex"] %>;}
span.ansiblack {color: #<%= @base["01"]["hex"] %>;}
span.ansiblue {color: #<%= @base["0C"]["hex"] %>;}
@@ -65,13 +72,15 @@ div.output_stderr pre {color: #<%= @base["06"]["hex"] %>;}
.cm-s-ipython span.cm-property, .cm-s-ipython span.cm-attribute {color: #<%= @base["0B"]["hex"] %>;}
.cm-s-ipython span.cm-keyword {color: #<%= @base["08"]["hex"] %>;}
.cm-s-ipython span.cm-string {color: #<%= @base["0A"]["hex"] %>;}
+.cm-s-ipython span.cm-operator {color: #<%= @base["0F"]["hex"] %>;}
+.cm-s-ipython span.cm-builtin {color: #<%= @base["0E"]["hex"] %>;}
.cm-s-ipython span.cm-variable {color: #<%= @base["0B"]["hex"] %>;}
.cm-s-ipython span.cm-variable-2 {color: #<%= @base["0D"]["hex"] %>;}
.cm-s-ipython span.cm-def {color: #<%= @base["09"]["hex"] %>;}
.cm-s-ipython span.cm-error {background: #<%= @base["08"]["hex"] %>; color: #<%= @base["04"]["hex"] %>;}
-.cm-s-ipython span.cm-bracket {color: #<%= @base["06"]["hex"] %>;}
+.cm-s-ipython span.cm-bracket {color: #<%= @base["05"]["hex"] %>;}
.cm-s-ipython span.cm-tag {color: #<%= @base["08"]["hex"] %>;}
.cm-s-ipython span.cm-link {color: #<%= @base["0E"]["hex"] %>;}
-.cm-s-ipython .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
+.cm-s-ipython .CodeMirror-matchingbracket { text-decoration: underline; color: #<%= @base["06"]["hex"] %> !important;}
View
26 templates/ipython-notebook/-light.css.erb
@@ -15,7 +15,14 @@ div#notebook, div.CodeMirror, div.output_area pre, div.output_wrapper, div.promp
}
*/
-body {background-color:#<%= @base["07"]["hex"] %>;}
+/* GLOBALS */
+body {background-color: #<%= @base["07"]["hex"] %>;}
+a {color: #<%= @base["0D"]["hex"] %>;}
+
+/* INTRO PAGE */
+.toolbar_info, .list-container {color: #<%= @base["01"]["hex"] %>;}
+
+/* NOTEBOOK */
/* comment out this line to bring the toolbar back */
div#maintoolbar, div#header {display: none !important;}
@@ -28,17 +35,18 @@ div.input_area {
border-radius: 0px;
border: 1px solid #<%= @base["05"]["hex"] %>;
}
-div.output_area pre {font-weight: normal; color: #<%= @base["03"]["hex"] %>;}
+div.output_area pre {font-weight: normal; color: #<%= @base["02"]["hex"] %>;}
.rendered_html table, .rendered_html th, .rendered_html tr, .rendered_html td {
- border: 1px #<%= @base["0A"]["hex"] %> solid;
+ border: 1px #<%= @base["03"]["hex"] %> solid;
+ color: #<%= @base["03"]["hex"] %>;
}
-.rendered_html th {font-weight: normal;}
div.output_html { font-family: sans-serif; }
-table.dataframe tr {border: 1px #<%= @base["0A"]["hex"] %>;}
+table.dataframe tr {border: 1px #<%= @base["02"]["hex"] %>;}
div.cell.selected {border-radius: 0px;}
-div.text_cell_render, div.output_html {color: #<%= @base["0A"]["hex"] %>;}
+div.cell.edit_mode {border-radius: 0px; border: thin solid #<%= @base["0F"]["hex"] %>;}
+div.text_cell_render, div.output_html {color: #<%= @base["02"]["hex"] %>;}
span.ansiblack {color: #<%= @base["01"]["hex"] %>;}
span.ansiblue {color: #<%= @base["0C"]["hex"] %>;}
@@ -64,13 +72,15 @@ div.output_stderr pre {color: #<%= @base["06"]["hex"] %>;}
.cm-s-ipython span.cm-property, .cm-s-ipython span.cm-attribute {color: #<%= @base["0B"]["hex"] %>;}
.cm-s-ipython span.cm-keyword {color: #<%= @base["08"]["hex"] %>;}
.cm-s-ipython span.cm-string {color: #<%= @base["0A"]["hex"] %>;}
+.cm-s-ipython span.cm-operator {color: #<%= @base["0F"]["hex"] %>;}
+.cm-s-ipython span.cm-builtin {color: #<%= @base["0E"]["hex"] %>;}
.cm-s-ipython span.cm-variable {color: #<%= @base["0B"]["hex"] %>;}
.cm-s-ipython span.cm-variable-2 {color: #<%= @base["0D"]["hex"] %>;}
.cm-s-ipython span.cm-def {color: #<%= @base["09"]["hex"] %>;}
.cm-s-ipython span.cm-error {background: #<%= @base["08"]["hex"] %>; color: #<%= @base["03"]["hex"] %>;}
-.cm-s-ipython span.cm-bracket {color: #<%= @base["01"]["hex"] %>;}
+.cm-s-ipython span.cm-bracket {color: #<%= @base["02"]["hex"] %>;}
.cm-s-ipython span.cm-tag {color: #<%= @base["08"]["hex"] %>;}
.cm-s-ipython span.cm-link {color: #<%= @base["0E"]["hex"] %>;}
-.cm-s-ipython .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
+.cm-s-ipython .CodeMirror-matchingbracket { text-decoration: underline; color: #<%= @base["01"]["hex"] %> !important;}

0 comments on commit de4224d

Please sign in to comment.
Something went wrong with that request. Please try again.