65b364643e8231815537288bbfc457f217768295592944b22667a513d0f60565fa079dcb74cab2c8a765b1575ee5b9de4161236d4fd9c759ef38229c7dafee 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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-text-button {
  6. box-sizing: border-box;
  7. display: flex;
  8. width: 100%;
  9. padding: 4px;
  10. text-align: center;
  11. cursor: pointer;
  12. justify-content: center;
  13. align-items: center;
  14. }
  15. .monaco-text-button:focus {
  16. outline-offset: 2px !important;
  17. }
  18. .monaco-text-button:hover {
  19. text-decoration: none !important;
  20. }
  21. .monaco-button.disabled:focus,
  22. .monaco-button.disabled {
  23. opacity: 0.4 !important;
  24. cursor: default;
  25. }
  26. .monaco-text-button > .codicon {
  27. margin: 0 0.2em;
  28. color: inherit !important;
  29. }
  30. .monaco-button-dropdown {
  31. display: flex;
  32. cursor: pointer;
  33. }
  34. .monaco-button-dropdown.disabled {
  35. cursor: default;
  36. }
  37. .monaco-button-dropdown > .monaco-button:focus {
  38. outline-offset: -1px !important;
  39. }
  40. .monaco-button-dropdown.disabled > .monaco-button.disabled,
  41. .monaco-button-dropdown.disabled > .monaco-button.disabled:focus,
  42. .monaco-button-dropdown.disabled > .monaco-button-dropdown-separator {
  43. opacity: 0.4 !important;
  44. }
  45. .monaco-button-dropdown > .monaco-button.monaco-text-button {
  46. border-right-width: 0 !important;
  47. }
  48. .monaco-button-dropdown .monaco-button-dropdown-separator {
  49. padding: 4px 0;
  50. cursor: default;
  51. }
  52. .monaco-button-dropdown .monaco-button-dropdown-separator > div {
  53. height: 100%;
  54. width: 1px;
  55. }
  56. .monaco-button-dropdown > .monaco-button.monaco-dropdown-button {
  57. border-left-width: 0 !important;
  58. }
  59. .monaco-description-button {
  60. flex-direction: column;
  61. }
  62. .monaco-description-button .monaco-button-label {
  63. font-weight: 500;
  64. }
  65. .monaco-description-button .monaco-button-description {
  66. font-style: italic;
  67. }
  68. .monaco-description-button .monaco-button-label,
  69. .monaco-description-button .monaco-button-description
  70. {
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. }
  75. .monaco-description-button .monaco-button-label > .codicon,
  76. .monaco-description-button .monaco-button-description > .codicon
  77. {
  78. margin: 0 0.2em;
  79. color: inherit !important;
  80. }