0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 12:23:21 +00:00
This commit is contained in:
Víctor Losada Hernández
2024-10-11 00:14:12 +02:00
parent 08eabf8102
commit 2b270ccdb7
2 changed files with 38 additions and 50 deletions

View File

@@ -21,9 +21,7 @@
line-height : @menuHeight;
text-align : center;
&:not(.editorTool, .divider) {
cursor: pointer;
}
&:not(.editorTool, .divider) { cursor : pointer; }
&:hover,&.selected { background-color : #999999; }
@@ -32,9 +30,7 @@
&.active {
cursor : pointer;
&:hover {
background-color: #999999;
}
&:hover { background-color : #999999; }
}
}
&.text {
@@ -70,17 +66,13 @@
}
&.history {
.tooltipLeft('History');
position : relative;
font-size : 0.75em;
color : grey;
position : relative;
&.active {
color : inherit;
}
&.active { color : inherit; }
& > .dropdown {
right : -1px;
&>.snippet{
padding-right : 10px;
}
& > .snippet { padding-right : 10px; }
}
}
&.editorTheme {
@@ -157,10 +149,10 @@
cursor : pointer;
.animate(background-color);
i {
min-width : 25px;
height : 1.2em;
margin-right : 8px;
font-size : 1.2em;
min-width: 25px;
text-align : center;
& ~ i {
margin-right : 0;

View File

@@ -2,49 +2,47 @@
.splitPane {
position : relative;
display : flex;
flex-direction : row;
height : 100%;
outline : none;
flex-direction : row;
.pane {
flex : 1;
overflow-x : hidden;
overflow-y : hidden;
flex : 1;
}
>.divider {
touch-action : none;
display : table;
height : 100%;
width : 15px;
cursor : ew-resize;
background-color : #bbb;
height : 100%;
text-align : center;
touch-action : none;
cursor : ew-resize;
background-color : #BBBBBB;
.dots {
display : table-cell;
vertical-align : middle;
text-align : center;
vertical-align : middle;
i {
display : block !important;
margin : 10px 0px;
font-size : 6px;
color : #666;
color : #666666;
}
}
&:hover{
background-color: #999;
}
&:hover { background-color : #999999; }
}
.arrow {
position : absolute;
z-index : 999;
width : 25px;
height : 25px;
border : 2px solid #bbb;
border-radius : 15px;
text-align : center;
font-size : 1.2em;
text-align : center;
cursor : pointer;
background-color : #ddd;
z-index : 999;
box-shadow : 0 4px 5px #0000007f;
background-color : #DDDDDD;
border : 2px solid #BBBBBB;
border-radius : 15px;
box-shadow : 0 4px 5px #0000007F;
&.left {
.tooltipLeft('Jump to location in Editor');
top : 30px;
@@ -56,14 +54,12 @@
&.lock {
.tooltipRight('De-sync Editor and Preview locations.');
top : 90px;
background: #666;
background : #666666;
}
&.unlock {
.tooltipRight('Sync Editor and Preview locations');
top : 90px;
}
&:hover{
background-color: #666;
}
&:hover { background-color : #666666; }
}
}