lint.css 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 4px 4px 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-error, .CodeMirror-lint-mark-warning {
  27. background-position: left bottom;
  28. background-repeat: repeat-x;
  29. }
  30. .CodeMirror-lint-mark-error {
  31. background-image:
  32. url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")
  33. ;
  34. }
  35. .CodeMirror-lint-mark-warning {
  36. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=");
  37. }
  38. .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
  39. background-position: center center;
  40. background-repeat: no-repeat;
  41. cursor: pointer;
  42. display: inline-block;
  43. height: 16px;
  44. width: 16px;
  45. vertical-align: middle;
  46. position: relative;
  47. }
  48. .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {
  49. padding-left: 18px;
  50. background-position: top left;
  51. background-repeat: no-repeat;
  52. }
  53. .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {
  54. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=");
  55. }
  56. .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {
  57. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=");
  58. }
  59. .CodeMirror-lint-marker-multiple {
  60. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");
  61. background-repeat: no-repeat;
  62. background-position: right bottom;
  63. width: 100%; height: 100%;
  64. }