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.3KB

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