|
@@ -3,157 +3,13 @@
|
|
|
| Distributed under the terms of the Modified BSD License.
|
|
|
|----------------------------------------------------------------------------*/
|
|
|
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| Private CSS variables
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-
|
|
|
-:root {
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/*-----------------------------------------------------------------------------
|
|
|
-| Cell
|
|
|
+| Imports
|
|
|
|----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
-.jp-Cell {
|
|
|
- padding: var(--jp-cell-padding);
|
|
|
- margin: 0px;
|
|
|
- border: none;
|
|
|
- outline: none;
|
|
|
- background: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/* Hidden by zero height be default */
|
|
|
-.jp-Cell-header, .jp-Cell-footer {
|
|
|
- height: 0px;
|
|
|
- width: 100%;
|
|
|
- padding: 0px;
|
|
|
- margin: 0px;
|
|
|
- border: none;
|
|
|
- outline: none;
|
|
|
- background: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| Common input/output
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-
|
|
|
-.jp-Cell-inputWrapper, .jp-Cell-outputWrapper {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
- padding: 0px;
|
|
|
- margin: 0px;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/* Hidden by zero width be default */
|
|
|
-.jp-Cell-inputCollapser, .jp-Cell-outputCollapser {
|
|
|
- flex: 0 0 0px;
|
|
|
- padding: 0px;
|
|
|
- margin: 0px;
|
|
|
- border: none;
|
|
|
- outline: none;
|
|
|
- background: transparent;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/* Only input areas inside cells */
|
|
|
-.jp-Cell-inputArea, .jp-Cell-outputArea {
|
|
|
- flex: 1 1 auto;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| Input
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-
|
|
|
-/* All input areas */
|
|
|
-.jp-InputArea {
|
|
|
- display: flex;
|
|
|
- flex-direction: row;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.jp-InputArea-editor {
|
|
|
- flex: 1 1 auto;;
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.jp-InputArea-editor {
|
|
|
- border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
|
|
|
- border-radius: 0px;
|
|
|
- background: var(--jp-cell-editor-background);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.jp-InputPrompt {
|
|
|
- flex: 0 0 var(--jp-cell-prompt-width);
|
|
|
- color: var(--jp-cell-inprompt-font-color);
|
|
|
- font-family: var(--jp-cell-prompt-font-family);
|
|
|
- padding: var(--jp-code-padding);
|
|
|
- text-align: right;
|
|
|
- letter-spacing: var(--jp-cell-prompt-letter-spacing);
|
|
|
- opacity: var(--jp-cell-prompt-opacity);
|
|
|
- line-height: var(--jp-code-line-height);
|
|
|
- font-size: var(--jp-code-font-size);
|
|
|
- border: var(--jp-border-width) solid transparent;
|
|
|
- opacity: var(--jp-cell-prompt-opacity);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| Output
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-/* Put a space between input and output when there IS output */
|
|
|
-.jp-Cell:not(.jp-mod-noOutputs) .jp-Cell-outputWrapper {
|
|
|
- margin-top: 5px;
|
|
|
-}
|
|
|
-
|
|
|
-/* Make the output collapser disappear when there is not output, but do so
|
|
|
- * in a manner that leaves it in the layout and preserves its width.
|
|
|
- */
|
|
|
-.jp-Cell.jp-mod-noOutputs .jp-Cell-outputCollapser {
|
|
|
- border: none !important;
|
|
|
- background: transparent !important;
|
|
|
-}
|
|
|
-
|
|
|
-/* Text output with the Out[] prompt needs a top padding to match the
|
|
|
- * alignment of the Out[] prompt itself.
|
|
|
- */
|
|
|
-.jp-OutputArea-executeResult .jp-RenderedText.jp-OutputArea-output {
|
|
|
- padding-top: var(--jp-code-padding);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| CodeCell
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-/*-----------------------------------------------------------------------------
|
|
|
-| MarkdownCell
|
|
|
-|----------------------------------------------------------------------------*/
|
|
|
-
|
|
|
-
|
|
|
-.jp-MarkdownOutput {
|
|
|
- flex: 1 1 auto;
|
|
|
- margin-top: 0.5em;
|
|
|
- margin-bottom: 0.5em;
|
|
|
- padding-left: var(--jp-code-padding);
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-.jp-MarkdownOutput.jp-RenderedHTMLCommon {
|
|
|
- overflow: visible;
|
|
|
-}
|
|
|
+@import './collapser.css';
|
|
|
+@import './headerfooter.css';
|
|
|
+@import './inputarea.css';
|
|
|
+@import './placeholder.css';
|
|
|
+@import './widget.css';
|