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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .repository.file.editor .tab[data-tab="write"] {
  2. padding: 0 !important;
  3. }
  4. .repository.file.editor .tab[data-tab="write"] .editor-toolbar {
  5. border: 0 !important;
  6. }
  7. .repository.file.editor .tab[data-tab="write"] .CodeMirror {
  8. border-left: 0;
  9. border-right: 0;
  10. border-bottom: 0;
  11. }
  12. .editor-toolbar {
  13. opacity: 1 !important;
  14. border-color: var(--color-secondary);
  15. }
  16. .editor-toolbar.fullscreen {
  17. background: var(--color-body);
  18. }
  19. .editor-toolbar button {
  20. border: none !important;
  21. color: var(--color-text-light);
  22. }
  23. .editor-toolbar button:not(:hover) {
  24. background-color: transparent !important;
  25. }
  26. .editor-toolbar i.separator {
  27. border-left: none;
  28. border-right-color: var(--color-secondary);
  29. }
  30. .editor-toolbar button:hover {
  31. background: var(--color-hover);
  32. }
  33. .editor-toolbar button.active {
  34. background: var(--color-active);
  35. }
  36. /* hide preview button, we have the preview tab for this */
  37. .editor-toolbar:not(.fullscreen) .preview {
  38. display: none;
  39. }
  40. /* hide revert button in fullscreen, it breaks the page */
  41. .editor-toolbar.fullscreen .revert-to-textarea {
  42. display: none;
  43. }
  44. .editor-preview {
  45. background-color: var(--color-body);
  46. }
  47. .editor-preview-side {
  48. border-color: var(--color-secondary);
  49. }
  50. .editor-statusbar {
  51. color: var(--color-text-light);
  52. }
  53. .editor-loading {
  54. padding: 1rem;
  55. text-align: center;
  56. }
  57. .edit-diff {
  58. padding: 0 !important;
  59. }
  60. .edit-diff > div > .ui.table {
  61. border-top: none !important;
  62. border-bottom: none !important;
  63. border-left: 1px solid var(--color-secondary) !important;
  64. border-right: 1px solid var(--color-secondary) !important;
  65. }