7ef0b134ae8b0b1d51a190de872062f606a2195a418ecc0e7e3101dfafd33c45109d5c9dc6378ced3ec648b95fdea5666d4c03a6740a7d255a3861bd8c252f 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*---------------------------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Licensed under the MIT License. See License.txt in the project root for license information.
  4. *--------------------------------------------------------------------------------------------*/
  5. .codeActionMenuWidget {
  6. padding: 8px 0px 8px 0px;
  7. overflow: auto;
  8. font-size: 13px;
  9. border-radius: 5px;
  10. min-width: 160px;
  11. z-index: 40;
  12. display: block;
  13. /* flex-direction: column;
  14. flex: 0 1 auto; */
  15. width: 100%;
  16. border-width: 0px;
  17. border-color: none;
  18. background-color: var(--vscode-menu-background);
  19. color: var(--vscode-menu-foreground);
  20. box-shadow: rgb(0,0,0, 16%) 0px 2px 8px;
  21. }
  22. .codeActionMenuWidget .monaco-list:not(.element-focused):focus:before {
  23. position: absolute;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 5; /* make sure we are on top of the tree items */
  29. content: "";
  30. pointer-events: none; /* enable click through */
  31. outline: 0px solid !important; /* we still need to handle the empty tree or no focus item case */
  32. outline-width: 0px !important;
  33. outline-style: none !important;
  34. outline-offset: 0px !important;
  35. }
  36. .codeActionMenuWidget .monaco-list {
  37. user-select: none;
  38. -webkit-user-select: none;
  39. -ms-user-select: none;
  40. border: none !important;
  41. border-width: 0px !important;
  42. }
  43. /* .codeActionMenuWidget .monaco-list:not(.element-focus) {
  44. border: none !important;
  45. border-width: 0px !important;
  46. } */
  47. .codeActionMenuWidget .monaco-list .monaco-scrollable-element .monaco-list-rows {
  48. height: 100% !important;
  49. }
  50. .codeActionMenuWidget .monaco-list .monaco-scrollable-element {
  51. overflow: visible;
  52. }
  53. /** Styles for each row in the list element **/
  54. .codeActionMenuWidget .monaco-list .monaco-list-row:not(.separator) {
  55. display: flex;
  56. -mox-box-sizing: border-box;
  57. box-sizing: border-box;
  58. padding: 0px 26px 0px 26px;
  59. background-repeat: no-repeat;
  60. background-position: 2px 2px;
  61. white-space: nowrap;
  62. cursor: pointer;
  63. touch-action: none;
  64. width: 100%;
  65. }
  66. .codeActionMenuWidget .monaco-list .monaco-list-row:hover:not(.option-disabled),
  67. .codeActionMenuWidget .monaco-list .moncao-list-row.focused:not(.option-disabled) {
  68. color: var(--vscode-menu-selectionForeground) !important;
  69. background-color: var(--vscode-menu-selectionBackground) !important;
  70. }
  71. .codeActionMenuWidget .monaco-list .option-disabled,
  72. .codeActionMenuWidget .monaco-list .option-disabled .focused {
  73. pointer-events: none;
  74. -webkit-touch-callout: none;
  75. -webkit-user-select: none;
  76. -khtml-user-select: none;
  77. -moz-user-select: none;
  78. -ms-user-select: none;
  79. user-select: none;
  80. color: var(--vscode-disabledForeground) !important;
  81. }
  82. .codeActionMenuWidget .monaco-list .separator {
  83. border-bottom: 1px solid var(--vscode-menu-separatorBackground);
  84. padding-top: 0px !important;
  85. /* padding: 30px; */
  86. width: 100%;
  87. height: 0px !important;
  88. opacity: 1;
  89. font-size: inherit;
  90. margin: 5px 0 !important;
  91. border-radius: 0;
  92. display: flex;
  93. -mox-box-sizing: border-box;
  94. box-sizing: border-box;
  95. background-repeat: no-repeat;
  96. background-position: 2px 2px;
  97. white-space: nowrap;
  98. cursor: pointer;
  99. touch-action: none;
  100. }