styling.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) 2014-2017, Jupyter Development Team.
  3. |
  4. | Distributed under the terms of the Modified BSD License.
  5. |----------------------------------------------------------------------------*/
  6. button.jp-mod-styled {
  7. font-size: var(--jp-ui-font-size1);
  8. color: var(--jp-ui-font-color0);
  9. border: none;
  10. box-sizing: border-box;
  11. text-align: center;
  12. line-height: 32px;
  13. height: 32px;
  14. padding: 0px 12px;
  15. letter-spacing: 0.8px;
  16. outline: none;
  17. appearance: none;
  18. -webkit-appearance: none;
  19. -moz-appearance: none;
  20. }
  21. input.jp-mod-styled {
  22. background: var(--jp-input-background);
  23. height: 28px;
  24. box-sizing: border-box;
  25. border: var(--jp-border-width) solid var(--jp-border-color1);
  26. padding-left: 7px;
  27. padding-right: 7px;
  28. font-size: var(--jp-ui-font-size2);
  29. color: var(--jp-ui-font-color0);
  30. outline: none;
  31. appearance: none;
  32. -webkit-appearance: none;
  33. -moz-appearance: none;
  34. }
  35. input.jp-mod-styled:focus {
  36. border: var(--jp-border-width) solid var(--md-blue-500);
  37. box-shadow: inset 0 0 4px var(--md-blue-300);
  38. }
  39. input.jp-FileDialog-Checkbox {
  40. position: relative;
  41. cursor: pointer;
  42. background: none;
  43. border: none;
  44. width: 13px;
  45. height: 13px;
  46. margin-top: 35px;
  47. margin-right: 10px;
  48. top: 5px;
  49. left: 0px;
  50. }
  51. input.jp-FileDialog-Checkbox:focus {
  52. border: none;
  53. box-shadow: none;
  54. }
  55. input.jp-FileDialog-Checkbox:before {
  56. content: '';
  57. display: block;
  58. position: absolute;
  59. width: 13px;
  60. height: 13px;
  61. top: 0;
  62. left: 0;
  63. background-color: #e9e9e9;
  64. }
  65. input.jp-FileDialog-Checkbox:checked:before {
  66. content: '';
  67. display: block;
  68. position: absolute;
  69. width: 13px;
  70. height: 13px;
  71. top: 0;
  72. left: 0;
  73. background-color: #1e80ef;
  74. }
  75. input.jp-FileDialog-Checkbox:checked:after {
  76. content: '';
  77. display: block;
  78. width: 3px;
  79. height: 7px;
  80. border: solid white;
  81. border-width: 0 2px 2px 0;
  82. -webkit-transform: rotate(45deg);
  83. -ms-transform: rotate(45deg);
  84. transform: rotate(45deg);
  85. position: absolute;
  86. top: 1px;
  87. left: 4px;
  88. }
  89. .jp-select-wrapper {
  90. display: flex;
  91. position: relative;
  92. flex-direction: column;
  93. padding: 1px;
  94. background-color: var(--jp-layout-color1);
  95. height: 28px;
  96. box-sizing: border-box;
  97. margin-bottom: 12px;
  98. }
  99. .jp-select-wrapper.jp-mod-focused select.jp-mod-styled {
  100. border: var(--jp-border-width) solid var(--jp-input-active-border-color);
  101. box-shadow: var(--jp-input-box-shadow);
  102. background-color: var(--jp-input-active-background);
  103. }
  104. select.jp-mod-styled:hover {
  105. background-color: var(--jp-layout-color1);
  106. cursor: pointer;
  107. color: var(--jp-ui-font-color0);
  108. background-color: var(--jp-input-hover-background);
  109. box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.5);
  110. }
  111. select.jp-mod-styled {
  112. flex: 1 1 auto;
  113. height: 32px;
  114. width: 100%;
  115. font-size: var(--jp-ui-font-size2);
  116. background: var(--jp-input-background);
  117. color: var(--jp-ui-font-color0);
  118. padding: 0 25px 0 8px;
  119. border: var(--jp-border-width) solid var(--jp-input-border-color);
  120. border-radius: 0px;
  121. outline: none;
  122. appearance: none;
  123. -webkit-appearance: none;
  124. -moz-appearance: none;
  125. }