lint.css 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* The lint marker gutter */
  2. .CodeMirror-lint-markers {
  3. width: 16px;
  4. }
  5. .CodeMirror-lint-tooltip {
  6. background-color: #ffd;
  7. border: 1px solid black;
  8. border-radius: 4px;
  9. color: black;
  10. font-family: monospace;
  11. font-size: 10pt;
  12. overflow: hidden;
  13. padding: 2px 5px;
  14. position: fixed;
  15. white-space: pre;
  16. white-space: pre-wrap;
  17. z-index: 100;
  18. max-width: 600px;
  19. opacity: 0;
  20. transition: opacity .4s;
  21. -moz-transition: opacity .4s;
  22. -webkit-transition: opacity .4s;
  23. -o-transition: opacity .4s;
  24. -ms-transition: opacity .4s;
  25. }
  26. .CodeMirror-lint-mark {
  27. background-position: left bottom;
  28. background-repeat: repeat-x;
  29. }
  30. .CodeMirror-lint-mark-warning {
  31. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
  32. }
  33. .CodeMirror-lint-mark-error {
  34. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==");
  35. }
  36. .CodeMirror-lint-marker {
  37. background-position: center center;
  38. background-repeat: no-repeat;
  39. cursor: pointer;
  40. display: inline-block;
  41. height: 16px;
  42. width: 16px;
  43. vertical-align: middle;
  44. position: relative;
  45. }
  46. .CodeMirror-lint-message {
  47. padding-left: 18px;
  48. background-position: top left;
  49. background-repeat: no-repeat;
  50. }
  51. .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
  52. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
  53. }
  54. .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
  55. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
  56. }
  57. .CodeMirror-lint-marker-multiple {
  58. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
  59. background-repeat: no-repeat;
  60. background-position: right bottom;
  61. width: 100%; height: 100%;
  62. }
  63. .CodeMirror-lint-line-error {
  64. background-color: rgba(183, 76, 81, 0.08);
  65. }
  66. .CodeMirror-lint-line-warning {
  67. background-color: rgba(255, 211, 0, 0.1);
  68. }