You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_editor.less 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .EasyMDEContainer .CodeMirror {
  2. color: var(--color-input-text);
  3. background-color: var(--color-input-background);
  4. border-color: var(--color-secondary);
  5. font: 14px var(--fonts-monospace);
  6. .CodeMirror-cursor {
  7. border-left: 1px solid var(--color-input-text);
  8. }
  9. &.cm-s-default {
  10. border-radius: 3px;
  11. padding: 0 !important;
  12. }
  13. .cm-comment {
  14. background: inherit !important;
  15. }
  16. }
  17. .repository.file.editor .tab[data-tab="write"] {
  18. padding: 0 !important;
  19. }
  20. .repository.file.editor .tab[data-tab="write"] .editor-toolbar {
  21. border: 0 !important;
  22. }
  23. .repository.file.editor .tab[data-tab="write"] .CodeMirror {
  24. border-left: 0;
  25. border-right: 0;
  26. border-bottom: 0;
  27. }
  28. .editor-toolbar {
  29. opacity: 1 !important;
  30. border-color: var(--color-secondary);
  31. }
  32. .editor-toolbar button:not(:hover) {
  33. background-color: transparent !important;
  34. }
  35. .editor-toolbar i.separator {
  36. border-left: none;
  37. }
  38. .editor-loading {
  39. padding: 1rem;
  40. text-align: center;
  41. }
  42. .edit-diff {
  43. padding: 0 !important;
  44. }
  45. .edit-diff > div > .ui.table {
  46. border-top: none !important;
  47. border-bottom: none !important;
  48. border-left: 1px solid var(--color-secondary) !important;
  49. border-right: 1px solid var(--color-secondary) !important;
  50. }
  51. .monaco-editor-container {
  52. width: 100%;
  53. min-height: 200px;
  54. height: 90vh;
  55. }
  56. /* overwrite conflicting styles from fomantic */
  57. .monaco-editor-container .inputarea {
  58. min-height: 0 !important;
  59. margin: 0 !important;
  60. padding: 0 !important;
  61. resize: none !important;
  62. border: none !important;
  63. color: transparent !important;
  64. background-color: transparent !important;
  65. }
  66. .edit.githook .monaco-editor-container {
  67. border: 1px solid var(--color-secondary);
  68. height: 70vh;
  69. }