0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 05:02:42 +00:00

Stylelint the editor.less file.

This commit is contained in:
Gazook89
2023-09-27 22:56:20 -05:00
parent 2c130d1943
commit c6ef051232

View File

@@ -7,73 +7,67 @@
height : 100%; height : 100%;
.pageLine { .pageLine {
background : #33333328; background : #33333328;
border-top : #339 solid 1px; border-top : #333399 solid 1px;
} }
.editor-page-count { .editor-page-count {
color : grey;
float : right; float : right;
color : grey;
} }
.columnSplit { .columnSplit {
font-style : italic; font-style : italic;
color : grey; color : grey;
background-color : fade(#299, 15%); background-color : fade(#229999, 15%);
border-bottom : #299 solid 1px; border-bottom : #229999 solid 1px;
} }
.define { .define {
&:not(.term):not(.definition) { &:not(.term):not(.definition) {
color: #949494;
font-weight : bold; font-weight : bold;
background: #e5e5e5; color : #949494;
background : #E5E5E5;
border-radius : 3px; border-radius : 3px;
} }
&.term { &.term { color : rgb(96, 117, 143); }
color: rgb(96, 117, 143); &.definition { color : rgb(97, 57, 178); }
}
&.definition {
color: rgb(97, 57, 178);
}
} }
.block:not(.cm-comment) { .block:not(.cm-comment) {
color : purple;
font-weight : bold; font-weight : bold;
color : purple;
//font-style: italic; //font-style: italic;
} }
.inline-block:not(.cm-comment) { .inline-block:not(.cm-comment) {
color : red;
font-weight : bold; font-weight : bold;
color : red;
//font-style: italic; //font-style: italic;
} }
.injection:not(.cm-comment) { .injection:not(.cm-comment) {
color : green;
font-weight : bold; font-weight : bold;
color : green;
} }
} }
.brewJump { .brewJump {
position : absolute; position : absolute;
background-color : @teal; right : 20px;
cursor : pointer; bottom : 20px;
width : 30px; z-index : 1000000;
height : 30px;
display : flex; display : flex;
align-items : center; align-items : center;
bottom : 20px;
right : 20px;
z-index : 1000000;
justify-content : center; justify-content : center;
.tooltipLeft("Jump to brew page"); width : 30px;
height : 30px;
cursor : pointer;
background-color : @teal;
.tooltipLeft('Jump to brew page');
} }
.editorToolbar { .editorToolbar {
position : absolute; position : absolute;
top : 5px; top : 5px;
left : 50%; left : 50%;
color: black;
font-size: 13px;
z-index : 9; z-index : 9;
span { font-size : 13px;
padding: 2px 5px; color : black;
} span { padding : 2px 5px; }
} }
} }