Add tree controls

This commit is contained in:
Misode
2020-06-17 22:22:59 +02:00
parent 13b21d3b72
commit d4b0e77957
8 changed files with 112 additions and 43 deletions

View File

@@ -172,29 +172,43 @@ body {
.source textarea::selection {
background-color: var(--selection);
}
.tree,
.source {
position: relative;
}
.tree-controls,
.source-controls {
display: flex;
flex-direction: row-reverse;
position: absolute;
right: 17px;
top: 56px;
right: 0;
top: 0;
padding: 5px;
}
.tree-controls .btn:not(:first-child),
.source-controls .btn:not(:first-child) {
margin-right: 5px;
}
.tree-controls-menu,
.source-controls-menu {
display: flex;
visibility: hidden;
flex-direction: column;
position: absolute;
right: 17px;
top: 93px;
right: 0;
top: 37px;
padding: 5px;
}
.source-controls,
.source-controls-menu {
right: 17px
}
.gutter.gutter-horizontal {
border-left: 2px solid;
float: left;