variables.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-DebuggerVariables-body {
  6. border-bottom: solid var(--jp-border-width) var(--jp-border-color2);
  7. min-height: 24px;
  8. height: 99%;
  9. display: flex;
  10. flex-direction: column;
  11. }
  12. .jp-DebuggerVariables-table {
  13. min-height: 50px;
  14. flex-basis: 30%;
  15. }
  16. .jp-DebuggerVariables-table table {
  17. width: 100%;
  18. border-collapse: collapse;
  19. }
  20. .jp-DebuggerVariables-table table thead th {
  21. margin-bottom: 4px;
  22. border-top: var(--jp-border-width) solid var(--jp-border-color2);
  23. border-bottom: var(--jp-border-width) solid var(--jp-border-color2);
  24. min-height: 23px;
  25. padding: 4px 12px;
  26. font-weight: 500;
  27. text-align: left;
  28. }
  29. .jp-DebuggerVariables-table table thead th:not(:first-child) {
  30. border-left: var(--jp-border-width) solid var(--jp-border-color2);
  31. }
  32. .jp-DebuggerVariables-table table tbody tr td {
  33. white-space: nowrap;
  34. overflow: hidden;
  35. text-overflow: ellipsis;
  36. max-width: 0;
  37. padding-top: 4px;
  38. padding-bottom: 4px;
  39. }
  40. .jp-DebuggerVariables-table table tbody tr span {
  41. padding-right: 3px;
  42. }
  43. .jp-DebuggerVariables-table table th:hover,
  44. .jp-DebuggerVariables-table table tbody tr:not(.selected):hover {
  45. background: var(--jp-layout-color2);
  46. }
  47. .jp-DebuggerVariables-table table tr.selected {
  48. color: white;
  49. background: var(--jp-brand-color1);
  50. }
  51. .jp-DebuggerVariables-description {
  52. border-top: var(--jp-border-width) solid var(--jp-border-color2);
  53. min-height: 25px;
  54. padding: 10px;
  55. overflow: auto;
  56. }
  57. .jp-DebuggerVariables-description p {
  58. margin-top: 1rem;
  59. margin-bottom: 1rem;
  60. }
  61. .jp-DebuggerVariables-search {
  62. color: var(--jp-ui-font-color1);
  63. overflow: visible;
  64. flex: 0 0 auto;
  65. display: flex;
  66. flex-direction: row;
  67. height: 24px;
  68. align-items: center;
  69. }
  70. .jp-DebuggerVariables-search .jp-DebuggerVariables-input > div {
  71. display: flex;
  72. padding-left: 8px;
  73. padding-right: 8px;
  74. vertical-align: middle;
  75. font-size: 14px;
  76. line-height: 23px;
  77. align-items: baseline;
  78. }
  79. .jp-DebuggerVariables-search > .jp-DebuggerVariables-input {
  80. flex: 1 0 auto;
  81. }
  82. .jp-DebuggerVariables-search > .jp-DebuggerVariables-scope {
  83. flex: 0 0 auto;
  84. }
  85. .jp-DebuggerVariables-search input {
  86. min-height: 22px;
  87. vertical-align: top;
  88. width: 100%;
  89. height: 100%;
  90. border: none;
  91. padding-left: 10px;
  92. }
  93. .jp-DebuggerVariables-search .jp-DebuggerVariables-scope span.label {
  94. padding-left: 10px;
  95. padding-right: 5px;
  96. }
  97. .jp-DebuggerVariables ul {
  98. position: absolute;
  99. list-style: none;
  100. left: 0;
  101. right: 0;
  102. margin: 0;
  103. top: 20px;
  104. z-index: 10000;
  105. padding: 10px 10px;
  106. background: var(--jp-layout-color1);
  107. color: var(--jp-ui-font-color1);
  108. border: var(--jp-border-width) solid var(--jp-border-color1);
  109. font-size: var(--jp-ui-font-size1);
  110. box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
  111. }