зеркало из https://github.com/mozilla/brackets.git
Fix font issues related to code folding
This commit is contained in:
Родитель
219db84480
Коммит
03ba82f43e
|
@ -150,3 +150,7 @@ div.CodeMirror-selected {
|
||||||
color: #555;
|
color: #555;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
}
|
}
|
||||||
|
.inline-widget .CodeMirror-gutter.CodeMirror-linenumbers,
|
||||||
|
.inline-widget .CodeMirror-gutter.CodeMirror-foldgutter {
|
||||||
|
background-color: #1b1b1b !important;
|
||||||
|
}
|
|
@ -67,6 +67,11 @@ span.cm-variable {
|
||||||
.CodeMirror-linenumber {
|
.CodeMirror-linenumber {
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-widget .CodeMirror-gutter.CodeMirror-foldgutter {
|
||||||
|
background-color: #e6e9e9 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.CodeMirror-gutter:after {
|
.CodeMirror-gutter:after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
/* Bramble Font - https://www.google.com/fonts/specimen/Inconsolata */
|
||||||
|
@import url(https://fonts.googleapis.com/css?family=Inconsolata);
|
||||||
|
|
||||||
/* Brackets Fonts */
|
/* Brackets Fonts */
|
||||||
|
|
||||||
|
|
|
@ -19,3 +19,9 @@ li.jstree-leaf > a {
|
||||||
.CodeMirror-sizer {
|
.CodeMirror-sizer {
|
||||||
margin-left: 75px !important;
|
margin-left: 75px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Reduce the size of the code-folding gutter markers with our larger font size */
|
||||||
|
.CodeMirror-foldgutter-open:after,
|
||||||
|
.CodeMirror-foldgutter-folded:after {
|
||||||
|
font-size: .7em !important;
|
||||||
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче