index.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. body {
  6. margin: 0;
  7. padding: 0;
  8. background: #EFEFEF;
  9. overflow: hidden;
  10. }
  11. .p-AppShell.p-Widget {
  12. position: absolute;
  13. top: 0;
  14. left: 0;
  15. right: 0;
  16. bottom: 0;
  17. }
  18. .p-CommandPalette {
  19. font-family: "Helvetica Neue", Helvetica;
  20. }
  21. .jp-Dialog {
  22. padding-left: 3px;
  23. background: rgba(245, 245, 245, .6);
  24. }
  25. .jp-Dialog-content {
  26. background-color: #F5F5F5;
  27. min-width: 50%;
  28. border: 1px solid #757575;
  29. border-radius: 5px;
  30. padding-bottom: 10px;
  31. }
  32. .jp-Dialog-header {
  33. padding: 5px;
  34. }
  35. .jp-Dialog-body {
  36. padding: 5px;
  37. padding-top: 20px;
  38. padding-bottom: 20px;
  39. }
  40. .jp-Dialog-footer {
  41. padding: 20px;
  42. }
  43. .jp-Dialog-button {
  44. padding: 5px;
  45. border: 1px solid #757575;
  46. font-size: 16px;
  47. background-color: #FAFAFA;
  48. line-height: 20px;
  49. border-radius: 3px;
  50. max-width: 100px;
  51. margin-left: 5px;
  52. }
  53. .jp-Dialog-close {
  54. line-height: 21px;
  55. }
  56. .p-SideBar {
  57. min-width: 36px;
  58. max-width: 36px;
  59. font-size: 13px;
  60. font-family: Helvetica, Arial;
  61. background: #F7F7F7;
  62. }
  63. .p-SideBar.p-Widget {
  64. overflow: visible;
  65. }
  66. .p-SideBar.p-mod-left {
  67. border-right: 1px solid #C0C0C0;
  68. }
  69. .p-SideBar.p-mod-right {
  70. border-left: 1px solid #C0C0C0;
  71. }
  72. .p-SideBar-content {
  73. height: 35px;
  74. transform-origin: 0 0 0;
  75. }
  76. .p-SideBar.p-mod-left > .p-SideBar-content {
  77. flex-direction: row-reverse;
  78. transform: rotate(-90deg) translateX(-100%);
  79. }
  80. .p-SideBar.p-mod-right > .p-SideBar-content {
  81. flex-direction: row;
  82. transform: rotate(90deg) translateY(-100%);
  83. }
  84. .p-SideBar-button {
  85. padding: 0 18px;
  86. line-height: 35px;
  87. }
  88. .p-SideBar-button:hover:not(.p-mod-current) {
  89. background: white;
  90. }
  91. .p-SideBar-button.p-mod-current {
  92. background: white;
  93. min-height: 36px;
  94. }
  95. .p-SideBar.p-mod-left .p-SideBar-button {
  96. border-left: 1px solid #C0C0C0;
  97. }
  98. .p-SideBar.p-mod-right .p-SideBar-button {
  99. border-right: 1px solid #C0C0C0;
  100. }
  101. #p-left-stack {
  102. padding: 5px;
  103. background: white;
  104. }
  105. #p-right-stack {
  106. padding: 5px;
  107. background: white;
  108. }
  109. #p-main-dock-panel {
  110. padding: 8px;
  111. }
  112. .p-Widget.p-DockSplitPanel {
  113. overflow: visible;
  114. }
  115. .p-DockTabPanel {
  116. border-left: 1px solid #C0C0C0;
  117. border-right: 1px solid #C0C0C0;
  118. border-bottom: 1px solid #B0B0B0;
  119. box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  120. }
  121. .p-DockTabPanel > .p-StackedPanel {
  122. padding: 8px;
  123. background: white;
  124. }
  125. .p-DockPanel-overlay {
  126. background: rgba(64, 151, 234, 0.1);
  127. border: 1px dashed #4097EA;
  128. }
  129. .p-DockPanel-overlay.p-mod-root-top,
  130. .p-DockPanel-overlay.p-mod-root-left,
  131. .p-DockPanel-overlay.p-mod-root-right,
  132. .p-DockPanel-overlay.p-mod-root-bottom,
  133. .p-DockPanel-overlay.p-mod-root-center {
  134. border-width: 2px;
  135. }
  136. .p-TabBar {
  137. min-height: 24px;
  138. max-height: 24px;
  139. background: #F7F7F7;
  140. }
  141. /* the child selectors just increase specificity :-( */
  142. .p-TabBar > .p-TabBar-header {
  143. flex: 0 0 1px;
  144. background: #D0D0D0;
  145. }
  146. .p-TabBar > .p-TabBar-footer {
  147. flex: 0 0 1px;
  148. background: #C0C0C0;
  149. }
  150. .p-TabBar .p-TabBar-content {
  151. min-width: 0;
  152. max-height: 22px;
  153. }
  154. .p-TabBar-tab {
  155. flex-basis: 125px;
  156. min-height: 23px;
  157. max-height: 23px;
  158. min-width: 35px;
  159. margin-left: -1px;
  160. border-top: 1px solid #C0C0C0;
  161. border-left: 1px solid #C0C0C0;
  162. border-right: 1px solid #C0C0C0;
  163. padding: 0px 10px;
  164. background: #EBEBEB;
  165. font: 12px Helvetica, Arial, sans-serif;
  166. transform: translateY(-1px);
  167. }
  168. .p-TabBar-tab:last-child {
  169. margin-right: -1px;
  170. }
  171. .p-TabBar-tab.p-mod-current {
  172. border-top: 1px solid #4097EA;
  173. background: white;
  174. min-height: 24px;
  175. max-height: 24px;
  176. }
  177. .p-TabBar-tab:hover:not(.p-mod-current) {
  178. background: #F0F0F0;
  179. }
  180. .p-TabBar-tabIcon,
  181. .p-TabBar-tabText,
  182. .p-TabBar-tabCloseIcon {
  183. line-height: 22px;
  184. }
  185. .p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon {
  186. margin-left: 4px;
  187. }
  188. .p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon:before {
  189. content: '\f00d';
  190. font-family: FontAwesome;
  191. }
  192. .p-TabBar-tab.p-mod-drag-image {
  193. min-height: 24px;
  194. min-width: 125px;
  195. border: none;
  196. border-top: 1px solid #4097EA;
  197. box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  198. transform: translateX(-40%) translateY(-58%);
  199. }
  200. #p-main-split-panel > .p-SplitPanel-handle {
  201. background: #C0C0C0;
  202. }
  203. .editor-CodeMirrorWidget {
  204. border: 1px solid #C0C0C0;
  205. min-width: 100px;
  206. min-height: 100px;
  207. }
  208. .p-CommandPalette {
  209. background: #white;
  210. min-width: 150px;
  211. min-height: 50px;
  212. padding: 4px 4px 0px 4px;
  213. }
  214. .p-CommandPalette .p-header {
  215. color: #757575;
  216. font-size: 11px;
  217. font-weight: 500;
  218. margin-top: 12px;
  219. }
  220. .p-CommandPalette .p-header hr {
  221. height: 1px;
  222. border-width: 0;
  223. background-color: #e0e0e0;
  224. }
  225. .p-CommandPalette .p-search {
  226. margin-bottom: 4px;
  227. }
  228. .p-CommandPalette .p-search .p-input-wrapper {
  229. border: 1px solid #e0e0e0;
  230. padding: 4px;
  231. }
  232. .p-CommandPalette .p-search input {
  233. width: 100%;
  234. border: none;
  235. outline: none;
  236. }
  237. .p-CommandPalette .p-command {
  238. color: #757575;
  239. font-weight: 500;
  240. font-size: 13px;
  241. padding: 3px 0px;
  242. }
  243. .p-CommandPalette .p-command .p-description {
  244. color: #9e9e9e;
  245. font-weight: 400;
  246. font-size: 10px;
  247. }
  248. .p-CommandPalette .p-command .p-shortcut {
  249. margin-right: 15px;
  250. }
  251. .p-CommandPalette .p-command:focus,
  252. .p-CommandPalette .p-command:focus .p-description,
  253. .p-CommandPalette .p-command:focus .p-shortcut {
  254. outline: 0;
  255. background: #2196f3;
  256. color: #fff;
  257. }
  258. .p-MenuBar {
  259. padding-left: 5px;
  260. background: #FAFAFA;
  261. color: rgba(0, 0, 0, 0.87);
  262. border-bottom: 1px solid #DDDDDD;
  263. font: 13px Helvetica, Arial, sans-serif;
  264. }
  265. .p-MenuBar-menu {
  266. transform: translateY(-1px);
  267. }
  268. .p-MenuBar-item {
  269. padding: 4px 8px;
  270. border-left: 1px solid transparent;
  271. border-right: 1px solid transparent;
  272. }
  273. .p-MenuBar-item.p-mod-active {
  274. background: #E5E5E5;
  275. }
  276. .p-MenuBar-item.p-mod-disabled {
  277. color: rgba(0, 0, 0, 0.26);
  278. }
  279. .p-MenuBar-item.p-type-separator {
  280. margin: 2px;
  281. padding: 0;
  282. border: none;
  283. border-left: 1px solid #DDDDDD;
  284. }
  285. .p-MenuBar.p-mod-active .p-MenuBar-item.p-mod-active {
  286. z-index: 10001;
  287. background: white;
  288. border-left: 1px solid #C0C0C0;
  289. border-right: 1px solid #C0C0C0;
  290. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
  291. }
  292. .p-Menu {
  293. z-index: 10000;
  294. padding: 3px 0px;
  295. background: white;
  296. color: rgba(0, 0, 0, 0.87);
  297. border: 1px solid #C0C0C0;
  298. font: 12px Helvetica, Arial, sans-serif;
  299. box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
  300. }
  301. .p-Menu-item.p-mod-active {
  302. background: #E5E5E5;
  303. }
  304. .p-Menu-item.p-mod-disabled {
  305. color: rgba(0, 0, 0, 0.26);
  306. }
  307. .p-Menu-itemIcon {
  308. width: 21px;
  309. padding: 4px 2px;
  310. }
  311. .p-Menu-itemText {
  312. padding: 4px 35px 4px 2px;
  313. }
  314. .p-Menu-itemShortcut {
  315. padding: 4px 0px;
  316. }
  317. .p-Menu-itemSubmenuIcon {
  318. width: 16px;
  319. padding: 4px 0px;
  320. }
  321. .p-Menu-item.p-type-separator > span {
  322. padding: 0;
  323. height: 9px;
  324. }
  325. .p-Menu-item.p-type-separator > span::after {
  326. content: '';
  327. display: block;
  328. position: relative;
  329. top: 4px;
  330. border-top: 1px solid #DDDDDD;
  331. }
  332. .p-Menu-itemIcon::before,
  333. .p-Menu-itemSubmenuIcon::before {
  334. font-family: FontAwesome;
  335. }
  336. .p-Menu-item.p-type-check.p-mod-checked > .p-Menu-itemIcon::before {
  337. content: '\f00c';
  338. }
  339. .p-Menu-item.p-type-submenu > .p-Menu-itemSubmenuIcon::before {
  340. content: '\f0da';
  341. }