index.css 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * Copyright 2018-2022 Elyra Authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. .elyra-ScriptEditor-OutputArea-error {
  17. background-color: var(--jp-rendermime-error-background);
  18. }
  19. .elyra-ScriptEditor-OutputArea-child {
  20. border-top: 1px solid var(--jp-border-color2);
  21. border-bottom: 1px solid var(--jp-border-color2);
  22. }
  23. .elyra-ScriptEditor-OutputArea-prompt {
  24. flex: 0 0 37px;
  25. border-right: 1px solid var(--jp-border-color2);
  26. display: flex;
  27. justify-content: center;
  28. }
  29. /* TODO: fix selector not beig picked up */
  30. .elyra-ScriptEditor-OutputArea-output {
  31. padding: var(--jp-code-padding);
  32. border: var(--jp-border-width) solid transparent;
  33. margin: auto;
  34. }
  35. .elyra-ScriptEditor-scrollTop {
  36. top: 33px;
  37. }
  38. .elyra-ScriptEditor-scrollBottom {
  39. top: 62px;
  40. }
  41. .elyra-ScriptEditor-scrollBottom,
  42. .elyra-ScriptEditor-scrollTop {
  43. position: absolute;
  44. right: 21px;
  45. z-index: 1;
  46. background-color: transparent;
  47. width: 30px;
  48. height: 30px;
  49. border-width: 0px;
  50. border-style: solid;
  51. border-radius: 5px;
  52. }
  53. button.elyra-ScriptEditor-scrollTop:hover {
  54. background-color: var(--jp-layout-color2);
  55. }
  56. button.elyra-ScriptEditor-scrollBottom:hover {
  57. background-color: var(--jp-layout-color2);
  58. }
  59. .elyra-ScriptEditor-scrollBottom g[fill],
  60. .elyra-ScriptEditor-scrollTop g[fill] {
  61. fill: var(--jp-inverse-layout-color3);
  62. }
  63. .jp-Document .jp-Toolbar.elyra-ScriptEditor-Toolbar {
  64. justify-content: flex-start;
  65. }
  66. /* TODO: fix selector not beig picked up */
  67. /* fix border style in safari */
  68. .elyra-ScriptEditor-KernelSelector select {
  69. background-color: initial;
  70. border: none;
  71. border-radius: 0;
  72. box-shadow: none;
  73. color: var(--jp-ui-font-color0);
  74. display: block;
  75. font-size: var(--jp-ui-font-size1);
  76. height: 24px;
  77. line-height: 14px;
  78. padding: 0 25px 0 10px;
  79. text-align: left;
  80. -moz-appearance: none;
  81. -webkit-appearance: none;
  82. }