code-editor-rtl.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*! This file is auto-generated */
  2. .wrap [class*="CodeMirror-lint-marker"],
  3. .wp-core-ui [class*="CodeMirror-lint-message"],
  4. .wrap .CodeMirror-lint-marker-multiple {
  5. background-image: none;
  6. }
  7. .wp-core-ui .CodeMirror-lint-marker-error,
  8. .wp-core-ui .CodeMirror-lint-marker-warning {
  9. cursor: help;
  10. }
  11. .wrap .CodeMirror-lint-marker-multiple {
  12. position: absolute;
  13. top: 0;
  14. }
  15. .wrap [class*="CodeMirror-lint-marker"]:before {
  16. font: normal 18px/1 dashicons;
  17. position: relative;
  18. top: -2px;
  19. }
  20. .wp-core-ui [class*="CodeMirror-lint-message"]:before {
  21. font: normal 16px/1 dashicons;
  22. right: 16px;
  23. position: absolute;
  24. }
  25. .wp-core-ui .CodeMirror-lint-message-error,
  26. .wp-core-ui .CodeMirror-lint-message-warning {
  27. box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  28. margin: 5px 0 2px;
  29. padding: 3px 28px 3px 12px;
  30. }
  31. .wp-core-ui .CodeMirror-lint-message-warning {
  32. background-color: #fcf9e8;
  33. border-right: 4px solid #dba617;
  34. }
  35. .wrap .CodeMirror-lint-marker-warning:before,
  36. .wp-core-ui .CodeMirror-lint-message-warning:before {
  37. content: "\f534";
  38. color: #dba617;
  39. }
  40. .wp-core-ui .CodeMirror-lint-message-error {
  41. background-color: #fcf0f1;
  42. border-right: 4px solid #d63638;
  43. }
  44. .wrap .CodeMirror-lint-marker-error:before,
  45. .wp-core-ui .CodeMirror-lint-message-error:before {
  46. content: "\f153";
  47. color: #d63638;
  48. }
  49. .wp-core-ui .CodeMirror-lint-tooltip {
  50. background: none;
  51. border: none;
  52. border-radius: 0;
  53. direction: rtl;
  54. }
  55. .wrap .CodeMirror .CodeMirror-matchingbracket {
  56. background: rgba(219, 166, 23, 0.3);
  57. color: inherit;
  58. }
  59. .CodeMirror {
  60. text-align: right;
  61. }
  62. .wrap .CodeMirror .CodeMirror-linenumber {
  63. color: #646970;
  64. }