menuEntryActionViewItem.css 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. .monaco-action-bar .action-item.menu-entry .action-label.icon {
  6. width: 16px;
  7. height: 16px;
  8. background-repeat: no-repeat;
  9. background-position: 50%;
  10. background-size: 16px;
  11. }
  12. .monaco-action-bar .action-item.menu-entry .action-label {
  13. background-image: var(--menu-entry-icon-light);
  14. }
  15. .vs-dark .monaco-action-bar .action-item.menu-entry .action-label,
  16. .hc-black .monaco-action-bar .action-item.menu-entry .action-label {
  17. background-image: var(--menu-entry-icon-dark);
  18. }
  19. .monaco-dropdown-with-default {
  20. display: flex !important;
  21. flex-direction: row;
  22. border-radius: 5px;
  23. }
  24. .monaco-dropdown-with-default > .action-container > .action-label {
  25. margin-right: 0;
  26. }
  27. .monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {
  28. width: 16px;
  29. height: 16px;
  30. background-repeat: no-repeat;
  31. background-position: 50%;
  32. background-size: 16px;
  33. }
  34. .monaco-dropdown-with-default > .action-container.menu-entry > .action-label {
  35. background-image: var(--menu-entry-icon-light);
  36. }
  37. .vs-dark .monaco-dropdown-with-default > .action-container.menu-entry > .action-label,
  38. .hc-black .monaco-dropdown-with-default > .action-container.menu-entry > .action-label {
  39. background-image: var(--menu-entry-icon-dark);
  40. }
  41. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {
  42. font-size: 12px;
  43. padding-left: 0px;
  44. padding-right: 0px;
  45. line-height: 16px;
  46. margin-left: -3px;
  47. }
  48. .monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {
  49. display: block;
  50. background-size: 16px;
  51. background-position: center center;
  52. background-repeat: no-repeat;
  53. }