0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-14 21:32:41 +00:00

Merge pull request #1586 from Gazook89/CodeMirror-Page-Break-Style-Tweak

Update editor.less for .pageLine
This commit is contained in:
Trevor Buckner
2021-09-29 21:00:00 -04:00
committed by GitHub

View File

@@ -4,41 +4,49 @@
width : 100%; width : 100%;
.codeEditor{ .codeEditor{
height : 100%; height : 100%;
counter-reset : page;
counter-increment : page;
.pageLine{ .pageLine{
background-color : fade(#333, 15%); background : #33333328;
border-bottom : #333 solid 1px; border-top : #339 solid 1px;
&:after{
content : counter(page);
counter-increment : page;
float : right;
color : gray;
}
} }
.columnSplit{ .columnSplit{
font-style : italic; font-style : italic;
color : grey; color : grey;
background-color : fade(#299, 15%); background-color : fade(#299, 15%);
border-bottom : #299 solid 1px; border-bottom : #299 solid 1px;
} }
.block{ .block{
color : purple; color : purple;
font-weight : bold; font-weight : bold;
//font-style: italic; //font-style: italic;
} }
.inline-block{ .inline-block{
color : red; color : red;
font-weight : bold; font-weight : bold;
//font-style: italic; //font-style: italic;
} }
} }
.brewJump{ .brewJump{
position: absolute; position : absolute;
background-color: @teal; background-color : @teal;
cursor: pointer; cursor : pointer;
width : 30px; width : 30px;
height : 30px; height : 30px;
display : flex; display : flex;
align-items : center; align-items : center;
bottom : 20px; bottom : 20px;
right : 20px; right : 20px;
z-index: 1000000; z-index : 1000000;
justify-content:center; justify-content : center;
.tooltipLeft("Jump to brew page"); .tooltipLeft("Jump to brew page");
} }