Skip to content

Commit

Permalink
bump version v0.20.0; fix output display (no longer clips text); seab…
Browse files Browse the repository at this point in the history
…orn style update; toolbar style compatibility in terminal mode
  • Loading branch information
dunovank committed Nov 22, 2018
1 parent 6527b4c commit 421016c
Show file tree
Hide file tree
Showing 12 changed files with 372 additions and 133 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
@@ -1,5 +1,10 @@
### Release Notes

#### **v0.20.0**
- fixed output display (no longer clips output)
- added seaborn style update
- fix toolbar style in terminal mode

#### **v0.19.6**
- added notebook>=5.6.0 as dependency

Expand Down
4 changes: 2 additions & 2 deletions jupyterthemes/__init__.py
Expand Up @@ -11,8 +11,8 @@
__all__ = [os.path.basename(f)[:-3] for f in modules]

major = 0
minor = 19
patch = 6
minor = 20
patch = 0

__version__ = '.'.join([str(v) for v in [major, minor, patch]])

Expand Down
54 changes: 40 additions & 14 deletions jupyterthemes/styles/compiled/chesterish.css
Expand Up @@ -4,6 +4,7 @@ div#notebook {
line-height: 170%;
color: #cdd2e9;
-webkit-font-smoothing: antialiased !important;
padding-top: 25px !important;
}
body,
div.body {
Expand Down Expand Up @@ -31,6 +32,27 @@ a:focus {
color: #dbe1ea;
-webkit-font-smoothing: antialiased !important;
}
div#maintoolbar {
position: absolute;
width: 90%;
margin-left: -10%;
padding-right: 8%;
float: left;
background: transparent !important;
}
#maintoolbar {
margin-bottom: -3px;
margin-top: 0px;
border: 0px;
min-height: 27px;
padding-top: 2px;
padding-bottom: 0px;
}
#maintoolbar .container {
width: 75%;
margin-right: auto;
margin-left: auto;
}
.list_header,
div#notebook_list_header.row.list_header {
font-size: 14pt;
Expand Down Expand Up @@ -637,7 +659,6 @@ div.notification_widget.info,
}
#notification_trusted {
font-family: sans-serif;
font-size: 17px !important;
border: none;
background: transparent;
background-color: transparent;
Expand All @@ -651,7 +672,7 @@ div.notification_area {
float: right !important;
position: static;
cursor: pointer;
padding-top: 7px;
padding-top: 6px;
padding-right: 4px;
}
div#notification_notebook.notification_widget.btn.btn-xs.navbar-btn {
Expand All @@ -675,7 +696,7 @@ div#notification_notebook.notification_widget.btn.btn-xs.navbar-btn {
border-left: 2px solid #0b98c8;
padding-top: 0px;
padding-bottom: 4px;
margin-top: 8px !important;
margin-top: 10px !important;
margin-left: -2px;
padding-left: 5px !important;
}
Expand Down Expand Up @@ -1437,8 +1458,9 @@ th,
td,
span,
a {
text-rendering: auto;
-webkit-font-smoothing: antialiased;
text-rendering: geometricPrecision;
-webkit-font-smoothing: subpixel-antialiased;
font-weight: 400;
}
div.input_area {
background-color: #293340;
Expand Down Expand Up @@ -1562,11 +1584,11 @@ div.cell.text_cell.jupyter-soft-selected,
div.cell.text_cell.selected.jupyter-soft-selected {
border-left-color: #005573 !important;
border-left-width: 0px !important;
padding-left: 7px !important;
padding-left: 26px !important;
border-right-color: #005573 !important;
border-right-width: 0px !important;
background: #005573 !important;
border-radius: 6px !important;
border-radius: 5px !important;
}
div.cell.jupyter-soft-selected .input,
div.cell.selected.jupyter-soft-selected .input {
Expand Down Expand Up @@ -1669,6 +1691,7 @@ div.output_subarea.output_text {
color: #b4bcde;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
margin-left: 11.5px;
}
div.output_area pre {
font-family: monospace, monospace;
Expand All @@ -1690,7 +1713,7 @@ div.output_html {
}
div.output_subarea {
overflow-x: auto;
padding: 0.8em !important;
padding: 1.2em !important;
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
Expand All @@ -1708,21 +1731,19 @@ div.btn.btn-default.output_collapsed:hover {
}
div.prompt.output_prompt {
font-family: monospace, monospace;
font-size: 9.5pt !important;
font-weight: bold !important;
background-color: #323a48;
color: transparent;
border-bottom-left-radius: 4px;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
border-bottom-right-radius: 0px;
min-width: 14.5ex !important;
width: 14.5ex !important;
min-width: 11.5ex !important;
width: 11.5ex !important;
border-right: 2px solid transparent;
}
div.out_prompt_overlay.prompt {
font-family: monospace, monospace;
font-size: 9.5pt !important;
font-weight: bold !important;
background-color: #323a48;
border-bottom-left-radius: 2px;
Expand Down Expand Up @@ -2761,6 +2782,9 @@ div#short-key-bindings-intro.well,
.terminal-app {
background: #1a2028;
}
.terminal-app > #header {
background: #1a2028;
}
.terminal-app .terminal {
font-family: monospace, monospace;
font-size: 11pt;
Expand Down Expand Up @@ -3087,11 +3111,13 @@ div.CodeMirror-linenumber,
color: #61ba86;
}
div.CodeMirror span.CodeMirror-matchingbracket {
color: #fefefe;
color: #ffffff;
font-weight: bold;
background-color: #4c8be2;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #fefefe;
color: #ffffff;
font-weight: bold;
background: rgba(191,97,106,.4) !important;
}
.cm-header-1 {
Expand Down
60 changes: 43 additions & 17 deletions jupyterthemes/styles/compiled/grade3.css
Expand Up @@ -4,6 +4,7 @@ div#notebook {
line-height: 170%;
color: #303030;
-webkit-font-smoothing: antialiased !important;
padding-top: 25px !important;
}
body,
div.body {
Expand Down Expand Up @@ -31,6 +32,27 @@ a:focus {
color: #2f2f2f;
-webkit-font-smoothing: antialiased !important;
}
div#maintoolbar {
position: absolute;
width: 90%;
margin-left: -10%;
padding-right: 8%;
float: left;
background: transparent !important;
}
#maintoolbar {
margin-bottom: -3px;
margin-top: 0px;
border: 0px;
min-height: 27px;
padding-top: 2px;
padding-bottom: 0px;
}
#maintoolbar .container {
width: 75%;
margin-right: auto;
margin-left: auto;
}
.list_header,
div#notebook_list_header.row.list_header {
font-size: 14pt;
Expand Down Expand Up @@ -637,7 +659,6 @@ div.notification_widget.info,
}
#notification_trusted {
font-family: sans-serif;
font-size: 17px !important;
border: none;
background: transparent;
background-color: transparent;
Expand All @@ -651,7 +672,7 @@ div.notification_area {
float: right !important;
position: static;
cursor: pointer;
padding-top: 7px;
padding-top: 6px;
padding-right: 4px;
}
div#notification_notebook.notification_widget.btn.btn-xs.navbar-btn {
Expand All @@ -675,7 +696,7 @@ div#notification_notebook.notification_widget.btn.btn-xs.navbar-btn {
border-left: 2px solid #ff7823;
padding-top: 0px;
padding-bottom: 4px;
margin-top: 8px !important;
margin-top: 10px !important;
margin-left: -2px;
padding-left: 5px !important;
}
Expand Down Expand Up @@ -1437,8 +1458,9 @@ th,
td,
span,
a {
text-rendering: auto;
-webkit-font-smoothing: antialiased;
text-rendering: geometricPrecision;
-webkit-font-smoothing: subpixel-antialiased;
font-weight: 400;
}
div.input_area {
background-color: #ededed;
Expand Down Expand Up @@ -1562,11 +1584,11 @@ div.cell.text_cell.jupyter-soft-selected,
div.cell.text_cell.selected.jupyter-soft-selected {
border-left-color: #f2f2f2 !important;
border-left-width: 0px !important;
padding-left: 7px !important;
padding-left: 26px !important;
border-right-color: #f2f2f2 !important;
border-right-width: 0px !important;
background: #f2f2f2 !important;
border-radius: 6px !important;
border-radius: 5px !important;
}
div.cell.jupyter-soft-selected .input,
div.cell.selected.jupyter-soft-selected .input {
Expand Down Expand Up @@ -1669,6 +1691,7 @@ div.output_subarea.output_text {
color: #303030;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
margin-left: 11.5px;
}
div.output_area pre {
font-family: monospace, monospace;
Expand All @@ -1690,7 +1713,7 @@ div.output_html {
}
div.output_subarea {
overflow-x: auto;
padding: 0.8em !important;
padding: 1.2em !important;
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
Expand All @@ -1708,21 +1731,19 @@ div.btn.btn-default.output_collapsed:hover {
}
div.prompt.output_prompt {
font-family: monospace, monospace;
font-size: 9.5pt !important;
font-weight: bold !important;
background-color: #ffffff;
color: transparent;
border-bottom-left-radius: 4px;
border-top-right-radius: 0px;
border-top-left-radius: 0px;
border-bottom-right-radius: 0px;
min-width: 14.5ex !important;
width: 14.5ex !important;
min-width: 11.5ex !important;
width: 11.5ex !important;
border-right: 2px solid transparent;
}
div.out_prompt_overlay.prompt {
font-family: monospace, monospace;
font-size: 9.5pt !important;
font-weight: bold !important;
background-color: #ffffff;
border-bottom-left-radius: 2px;
Expand Down Expand Up @@ -2761,6 +2782,9 @@ div#short-key-bindings-intro.well,
.terminal-app {
background: #ffffff;
}
.terminal-app > #header {
background: #ffffff;
}
.terminal-app .terminal {
font-family: monospace, monospace;
font-size: 11pt;
Expand Down Expand Up @@ -3069,7 +3093,7 @@ div.CodeMirror-linenumber,
font-weight: normal;
}
.cm-s-ipython span.cm-error {
background: rgba(191,97,106,.40);
background: rgba(191,11,55,.70);
}
.cm-s-ipython span.cm-tag {
color: #e22978;
Expand All @@ -3087,12 +3111,14 @@ div.CodeMirror-linenumber,
color: #009e07;
}
div.CodeMirror span.CodeMirror-matchingbracket {
color: #1c1c1c;
background-color: rgba(30,112,199,.30);
color: #ffffff;
font-weight: bold;
background-color: #009e07;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
color: #1c1c1c;
background: rgba(191,97,106,.40) !important;
color: #ffffff;
font-weight: bold;
background: rgba(191,11,55,.70) !important;
}
.cm-header-1 {
font-size: 215%;
Expand Down

0 comments on commit 421016c

Please sign in to comment.