home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / WP.iso / wordpress / wp-admin / css / code-editor.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2017-10-18  |  1.5 KB  |  73 lines

  1. .wrap [class*="CodeMirror-lint-marker"],
  2. .wp-core-ui [class*="CodeMirror-lint-message"],
  3. .wrap .CodeMirror-lint-marker-multiple {
  4.     background-image: none;
  5. }
  6.  
  7. .wp-core-ui .CodeMirror-lint-marker-error,
  8. .wp-core-ui .CodeMirror-lint-marker-warning {
  9.     cursor: help;
  10. }
  11.  
  12. .wrap .CodeMirror-lint-marker-multiple {
  13.     position: absolute;
  14.     top: 0;
  15. }
  16.  
  17. .wrap [class*="CodeMirror-lint-marker"]:before {
  18.     font: normal 18px/1 dashicons;
  19.     position: relative;
  20.     top: -2px;
  21. }
  22.  
  23. .wp-core-ui [class*="CodeMirror-lint-message"]:before {
  24.     font: normal 16px/1 dashicons;
  25.     left: 16px;
  26.     position: absolute;
  27. }
  28.  
  29. .wp-core-ui .CodeMirror-lint-message-error,
  30. .wp-core-ui .CodeMirror-lint-message-warning {
  31.     box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
  32.     margin: 5px 0 2px;
  33.     padding: 3px 12px 3px 28px;
  34. }
  35.  
  36. .wp-core-ui .CodeMirror-lint-message-warning {
  37.     background-color: #fff8e5;
  38.     border-left: 4px solid #ffb900;
  39. }
  40.  
  41. .wrap .CodeMirror-lint-marker-warning:before,
  42. .wp-core-ui .CodeMirror-lint-message-warning:before {
  43.     content: "\f534";
  44.     color: #f6a306;
  45. }
  46.  
  47. .wp-core-ui .CodeMirror-lint-message-error {
  48.     background-color: #fbeaea;
  49.     border-left: 4px solid #dc3232;
  50. }
  51.  
  52. .wrap .CodeMirror-lint-marker-error:before,
  53. .wp-core-ui .CodeMirror-lint-message-error:before {
  54.     content: "\f153";
  55.     color: #dc3232;
  56. }
  57.  
  58. .wp-core-ui .CodeMirror-lint-tooltip {
  59.     background: none;
  60.     border: none;
  61.     border-radius: 0;
  62.     direction: ltr;
  63. }
  64.  
  65. .wrap .CodeMirror .CodeMirror-matchingbracket {
  66.     background: rgba(255, 150, 0, .3);
  67.     color: inherit;
  68. }
  69.  
  70. .CodeMirror {
  71.     text-align: left;
  72. }
  73.