index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) 2014-2016, Jupyter Development Team.
  3. |
  4. | Distributed under the terms of the Modified BSD License.
  5. |----------------------------------------------------------------------------*/
  6. .jp-Dialog {
  7. position: absolute;
  8. z-index: 10000;
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. justify-content: center;
  13. top: 0px;
  14. left: 0px;
  15. margin: 0;
  16. padding: 0;
  17. width: 100%;
  18. height: 100%;
  19. background: rgba(0,0,0,0.25);
  20. color: var(--jp-1st-ui-font-color);
  21. }
  22. .jp-Dialog-content {
  23. margin-left: auto;
  24. margin-right: auto;
  25. background: #FAFAFA;
  26. padding: 24px;
  27. width: 300px;
  28. box-sizing: border-box;
  29. box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.5);
  30. word-wrap: break-word;
  31. }
  32. .jp-Dialog-header {
  33. padding-bottom: 12px;
  34. font-size: 18px;
  35. color: #616161;
  36. }
  37. .jp-Dialog-body {
  38. font-size: 15px;
  39. background: #FAFAFA;
  40. }
  41. .jp-Dialog-bodyContent {
  42. font-size: 15px;
  43. outline: none;
  44. margin-bottom: 12px;
  45. }
  46. .jp-Dialog-footer {
  47. margin-top: 24px;
  48. }
  49. .jp-Dialog-title {
  50. overflow: hidden;
  51. white-space: nowrap;
  52. text-overflow: ellipsis;
  53. }
  54. .jp-Dialog-button {
  55. font-size: 15px;
  56. border: none;
  57. min-width: 120px;
  58. max-width: 120px;
  59. text-transform: uppercase;
  60. line-height: 38px;
  61. border-radius: 2px;
  62. outline: none;
  63. padding: 0px;
  64. }
  65. .jp-Dialog-okButton {
  66. background: var(--jp-1st-branch-color);
  67. color: white;
  68. }
  69. .jp-Dialog-cancelButton {
  70. background: #9E9E9E;
  71. margin-right: 12px;
  72. color: white;
  73. }
  74. .jp-Dialog-inputWrapper {
  75. padding: 7px;
  76. background: white;
  77. width: 252px;
  78. box-sizing: border-box;
  79. border: var(--jp-borderWidth) solid var(--jp-1st-borderColor);
  80. border-radius: 2px;
  81. margin-bottom: 12px;
  82. }
  83. .jp-Dialog-input {
  84. font-size: 15px;
  85. color: #676767;
  86. width: 100%;
  87. outline: none;
  88. border: none;
  89. }
  90. .jp-Dialog-selectWrapper {
  91. padding-top: 6px;
  92. padding-bottom: 6px;
  93. background: white;
  94. width: 252px;
  95. box-sizing: border-box;
  96. border: var(--jp-borderWidth) solid var(--jp-1st-borderColor);
  97. border-radius: 2px;
  98. margin-bottom: 12px;
  99. }
  100. .jp-Dialog-select {
  101. font-size: 15px;
  102. background: white;
  103. color: #676767;
  104. width: 100%;
  105. outline: none;
  106. border: none;
  107. }