0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 01:02:47 +00:00

Annnd back

This commit is contained in:
Scott Tolksdorf
2016-05-06 14:30:00 -04:00
parent cf8bcd2bb4
commit 6a02e3d0cf
27 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
@import (less) "./jsoneditor.css";
.jsonFileEditor{
position : relative;
padding : 10px;
&.showEditor{
.jsonEditor{
display : initial;
}
button.showEditor{
color: @red;
}
}
.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{
display: inline-block;
float: right;
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;
}
}