Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/frontend/_jupyter.sass
Views: 687
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45// I just noticed there is another version of this file in jupyter/_jupyter.sass6// They need to be carefully merged into one! But not today.78.smc-jupyter-nbviewer-content9border: 1px solid lightgray1011.smc-jupyter-nbviewer12background: white13position: fixed14width: 100%1516.smc-jupyter-notebook17background: white18width: 100%19left: 0px20min-height: 10em /* ensure path is covered while loading notebook */2122.smc-jupyter-notebook-history-slider-controls23position: absolute24top: 8px25right: 5px26width: 80%27background: white28border: 2px solid orange29border-radius: 4px30padding: 20px31box-shadow: 5px 6px 4px lightgray3233.smc-jupyter-notebook-history-slider34margin-top: 11px3536.smc-jupyter-notebook-status-messages37font-size: 10pt3839.smc-jupyter-notebook-danger40color: white41font-weight: bold42font-size: 7pt43background: red4445.smc-jupyter-history-revision-number46font-size: 10pt4748.smc-jupyter-history-revision-time49font-size: 10pt5051/* Used for new sync. */52.smc-jupyter-cursor53position: absolute54width: 15em55z-index: 5 !important5657.smc-jupyter-cursor-inside58height: 1.2em59width: 1px6061.smc-jupyter-cursor-label62font-size: 8pt63font-family: serif64color: #fff65z-index: 10006667.smc-jupyter-notebook-notebook68width: 100%6970.cc-jupyter-snippets71.ant-collapse-content-box72padding: 0 !important7374span.hl75background-color: yellow76font-weight: bold7778.cc-jupyter-snippet79> div.ant-collapse-header80color: $COL_GRAY !important8182.cc-jupyter-snippet-collapse83.cc-jupyter-snippet84border-radius: 2px85border: 0px86overflow: hidden8788.cc-jupyter-snippet-content89background: white90margin: 0 10px 10px 10px91padding: 10px92border: 1px solid $COL_GRAY_L93border-radius: 3px94box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.22)95> pre96font-size: 80%9798.cc-jupyter-snippet-header99vertical-align: -0.125em // to match ANTD's collapse icon100p101display: inline102103// katex 0.13.5 somehow causes formulas to be displayed wider than the width of the output104// adding ugly horizontal scrollbars. this eliminates that.105.cocalc-jupyter-rendered106.katex-display>.katex>.katex-html107// display: contents // this did work, but it's some experimenal new display option108margin: 1em .5em // margin works as well, but we also have to set it for mathjax to make it look consistent109.katex110padding: 0 2.5px111112// this seems to be missing from jupyter widgets, but is used to implement the according113// https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20List.html#accordion114// I.e., without this css rule, accordian is just broken.115.lm-Widget.lm-mod-hidden116display: none !important117118.cc-jupyter-buttonbar-dropdown119.ant-dropdown-menu-item120color: $COL_GRAY_D !important121122123