high-contrast.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. :root {
  2. --ge-panel-color: #ffffff;
  3. --border-color: #000000;
  4. --text-color: #000000;
  5. --toolbar-color: #ffffff;
  6. --primary-color: #ffffff;
  7. --dark-text-color: #ffffff;
  8. --ge-dark-panel-color: #121212;
  9. --dark-toolbar-color: #121212;
  10. }
  11. .geSidebar *:not(svg *, .mxDisabled, [disabled]),
  12. .geToolbar *:not(svg *, .mxDisabled, [disabled]) {
  13. opacity: 1 !important;
  14. }
  15. *:not(svg *, .mxDisabled, [disabled], .spinner *, .geBackground, .geDragPreview, .geButton) {
  16. border-color: light-dark(#000000, #FFFFFF) !important;
  17. }
  18. button, .geBtn, *::-webkit-scrollbar-thumb {
  19. border-color: light-dark(#000000, #FFFFFF) !important;
  20. color: light-dark(#000000, #FFFFFF) !important;
  21. }
  22. button, .geBtn {
  23. border-style: solid !important;
  24. border-width: 1px !important;
  25. }
  26. .geSimple .geDiagramContainer {
  27. border-top-style: none !important;
  28. border-bottom-style: none !important;
  29. }
  30. button:not(:hover), .geBtn:not(:hover) {
  31. background-color: transparent !important;
  32. }
  33. .gePrimaryBtn {
  34. border-width: 3px !important;
  35. }
  36. .geActivePage, .geActiveFormatTitle {
  37. text-decoration: underline;
  38. }
  39. .geActivePage {
  40. background-color: light-dark(#ffffff, #000000) !important;
  41. color: inherit !important;
  42. filter: invert(1);
  43. }
  44. .geBigButton>img:not(.geDarkMode *) {
  45. filter: invert(1);
  46. }
  47. .geEditor,
  48. .geTitle,
  49. .geFormatTitle {
  50. font-size: 15px;
  51. }
  52. .geTab,
  53. .geFormatContainer,
  54. .geSearchSidebar input,
  55. .geSpinnerStatus {
  56. font-size: 14px !important;
  57. line-height: 14px !important;
  58. }
  59. .geEditor div.mxTooltip {
  60. font-size: 12px;
  61. }
  62. .geHint {
  63. font-size: 11pt;
  64. }
  65. /* Dialogs: restore solid backgrounds and visible borders */
  66. .geDialog {
  67. background-color: light-dark(#ffffff, var(--ge-dark-panel-color)) !important;
  68. border: 1px solid light-dark(#000000, #FFFFFF) !important;
  69. box-shadow: none !important;
  70. }
  71. html body.geDarkMode .geDialog,
  72. html body.geDarkMode div.mxWindow,
  73. html body div.mxWindow.geDarkMode {
  74. background-color: var(--ge-dark-panel-color) !important;
  75. border-color: #FFFFFF !important;
  76. box-shadow: none !important;
  77. }
  78. .geDialog,
  79. html div.mxWindow {
  80. box-shadow: none !important;
  81. }
  82. /* Dialog overlay: solid opaque background */
  83. .geBackground {
  84. background-color: light-dark(#ffffff, #000000) !important;
  85. opacity: 0.9 !important;
  86. backdrop-filter: none !important;
  87. }
  88. /* Dialog close button: full opacity for visibility */
  89. .geDialog > .geButton {
  90. opacity: 1 !important;
  91. }
  92. /* Dialog title and footer: solid visible borders */
  93. .geDialogTitle {
  94. border-bottom: 1px solid light-dark(#000000, #FFFFFF) !important;
  95. }
  96. .geDialogFooter {
  97. border-top: 1px solid light-dark(#000000, #FFFFFF) !important;
  98. }
  99. /* Input fields: solid visible borders */
  100. .geDialog input[type="text"],
  101. .geDialog input[type="number"],
  102. .geDialog textarea,
  103. .geDialog select {
  104. border: 1px solid light-dark(#000000, #FFFFFF) !important;
  105. background-color: light-dark(#ffffff, #000000) !important;
  106. }