mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 14:45:45 +01:00
957ad84b81
Also, fixes some indentation where spaces were used instead of tabs. Props nielslange, mukesh27. Fixes #45937. Built from https://develop.svn.wordpress.org/trunk@44791 git-svn-id: http://core.svn.wordpress.org/trunk@44623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
77 lines
1.5 KiB
CSS
77 lines
1.5 KiB
CSS
.wrap [class*="CodeMirror-lint-marker"],
|
|
.wp-core-ui [class*="CodeMirror-lint-message"],
|
|
.wrap .CodeMirror-lint-marker-multiple {
|
|
background-image: none;
|
|
}
|
|
|
|
.wp-core-ui .CodeMirror-lint-marker-error,
|
|
.wp-core-ui .CodeMirror-lint-marker-warning {
|
|
cursor: help;
|
|
}
|
|
|
|
.wrap .CodeMirror-lint-marker-multiple {
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.wrap [class*="CodeMirror-lint-marker"]:before {
|
|
font: normal 18px/1 dashicons;
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
|
|
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
|
|
font: normal 16px/1 dashicons;
|
|
left: 16px;
|
|
position: absolute;
|
|
}
|
|
|
|
.wp-core-ui .CodeMirror-lint-message-error,
|
|
.wp-core-ui .CodeMirror-lint-message-warning {
|
|
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
|
margin: 5px 0 2px;
|
|
padding: 3px 12px 3px 28px;
|
|
}
|
|
|
|
.wp-core-ui .CodeMirror-lint-message-warning {
|
|
background-color: #fff8e5;
|
|
border-left: 4px solid #ffb900;
|
|
}
|
|
|
|
.wrap .CodeMirror-lint-marker-warning:before,
|
|
.wp-core-ui .CodeMirror-lint-message-warning:before {
|
|
content: "\f534";
|
|
color: #f6a306;
|
|
}
|
|
|
|
.wp-core-ui .CodeMirror-lint-message-error {
|
|
background-color: #fbeaea;
|
|
border-left: 4px solid #dc3232;
|
|
}
|
|
|
|
.wrap .CodeMirror-lint-marker-error:before,
|
|
.wp-core-ui .CodeMirror-lint-message-error:before {
|
|
content: "\f153";
|
|
color: #dc3232;
|
|
}
|
|
|
|
.wp-core-ui .CodeMirror-lint-tooltip {
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
direction: ltr;
|
|
}
|
|
|
|
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
|
background: rgba(255, 150, 0, 0.3);
|
|
color: inherit;
|
|
}
|
|
|
|
.CodeMirror {
|
|
text-align: left;
|
|
}
|
|
|
|
.wrap .CodeMirror .CodeMirror-linenumber {
|
|
color: #666;
|
|
}
|