1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-24 15:31:29 +00:00

Polishing the sidebar so more

This commit is contained in:
Scott Tolksdorf
2015-11-16 14:22:00 -05:00
parent e6e87457da
commit 5918267c86
10 changed files with 152 additions and 154 deletions

View File

@@ -2,34 +2,52 @@
@import (less) "./jsoneditor.css";
.jsonFileEditor{
position : relative;
width : 100%;
padding : 10px;
&.showEditor{
.jsonEditor{
display : initial;
}
}
.jsonEditor{
position : absolute;
display : none;
top : 100%;
left : 0px;
z-index : 1000;
min-width : 400px;
background-color : white;
}
.name{
display : inline-block;
font-size : 0.8em;
font-weight : 800;
min-width: 100px;
}
.controls{
position : absolute;
top : 0px;
right : 0px;
display: inline-block;
float: right;
//position : absolute;
//top : 0px;
//right : 0px;
button{
outline: none;
border : none;
cursor: pointer;
background-color: transparent;
.animate(color);
&:hover{
&.showEditor{ color : @green; }
&.downloadJSON{ color : @blue; }
&.uploadJSON{ color : @orange; }
}
}
}
input[type="file"]{
display: none;
display : none;
}
}