-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #294 from Mingun/show-errors
Website: show errors in editors
- Loading branch information
Showing
5 changed files
with
468 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* The lint marker gutter */ | ||
.CodeMirror-lint-markers { | ||
width: 16px; | ||
} | ||
|
||
.CodeMirror-lint-tooltip { | ||
background-color: #ffd; | ||
border: 1px solid black; | ||
border-radius: 4px 4px 4px 4px; | ||
color: black; | ||
font-family: monospace; | ||
font-size: 10pt; | ||
overflow: hidden; | ||
padding: 2px 5px; | ||
position: fixed; | ||
white-space: pre; | ||
white-space: pre-wrap; | ||
z-index: 100; | ||
max-width: 600px; | ||
opacity: 0; | ||
transition: opacity .4s; | ||
-moz-transition: opacity .4s; | ||
-webkit-transition: opacity .4s; | ||
-o-transition: opacity .4s; | ||
-ms-transition: opacity .4s; | ||
} | ||
|
||
.CodeMirror-lint-mark { | ||
background-position: left bottom; | ||
background-repeat: repeat-x; | ||
} | ||
|
||
.CodeMirror-lint-mark-warning { | ||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="); | ||
} | ||
|
||
.CodeMirror-lint-mark-error { | ||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg=="); | ||
} | ||
|
||
.CodeMirror-lint-marker { | ||
background-position: center center; | ||
background-repeat: no-repeat; | ||
cursor: pointer; | ||
display: inline-block; | ||
height: 16px; | ||
width: 16px; | ||
vertical-align: middle; | ||
position: relative; | ||
} | ||
|
||
.CodeMirror-lint-message { | ||
padding-left: 18px; | ||
background-position: top left; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning { | ||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="); | ||
} | ||
|
||
.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error { | ||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="); | ||
} | ||
|
||
.CodeMirror-lint-marker-multiple { | ||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC"); | ||
background-repeat: no-repeat; | ||
background-position: right bottom; | ||
width: 100%; height: 100%; | ||
} | ||
|
||
.CodeMirror-lint-line-error { | ||
background-color: rgba(183, 76, 81, 0.08); | ||
} | ||
|
||
.CodeMirror-lint-line-warning { | ||
background-color: rgba(255, 211, 0, 0.1); | ||
} |
Oops, something went wrong.