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

Add lang specific font stacks for CJK (#6007) * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
5 jaren geleden
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .CodeMirror {
  2. font: 14px @monospaced-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 i.separator {
  26. border-left: none;
  27. }
  28. .editor-loading {
  29. padding: 1rem;
  30. text-align: center;
  31. }
  32. .edit-diff {
  33. padding: 0 !important;
  34. }
  35. .edit-diff > div > .ui.table {
  36. border-top: none !important;
  37. border-bottom: none !important;
  38. border-left: 1px solid #d4d4d5 !important;
  39. border-right: 1px solid #d4d4d5 !important;
  40. }
  41. #edit_area {
  42. display: none;
  43. }
  44. .monaco-editor-container {
  45. width: 100%;
  46. min-height: 200px;
  47. height: 90vh;
  48. }
  49. /* overwrite conflicting styles from fomantic */
  50. .monaco-editor-container .inputarea {
  51. min-height: 0 !important;
  52. margin: 0 !important;
  53. padding: 0 !important;
  54. resize: none !important;
  55. border: none !important;
  56. color: transparent !important;
  57. background-color: transparent !important;
  58. }