/* Sweet UI for The File Tree */
/* HTML5 resets */
html, body {
margin: 0;
height: 100%;
z-index: -10;
overflow: auto !important;
}
* { box-sizing: content-box; }
body {
display: flex;
flex-flow: column;
}
#search[type="search"] {
margin: 0;
}
.hidden {
display: none !important;
}
/* Awesome toolbar */
#toolbar {
background-color: #f9f9f9;
font-size: 16px;
line-height: 16px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
z-index: 20;
min-height: 30px;
flex: 0 1 auto;
}
.folderapp #toolbar {
background: -moz-linear-gradient(left, white 0%, white 450px, #f9f9f9 750px); /* FF3.6+ */
background: -webkit-linear-gradient(left, white 0%, white 450px, #f9f9f9 750px); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, white 0%, white 450px, #f9f9f9 750px); /* Opera 11.10+ */
background: -ms-linear-gradient(left, white 0%, white 450px, #f9f9f9 750px); /* IE10+ */
background: linear-gradient(to right, white 0%, white 450px, #f9f9f9 750px); /* W3C */
}
#toolbar a, #toolbar input, #toolbar select {
display: inline-block;
line-height: 30px;
padding: 0 1px;
/* border: 0px; */
color: #444;
font-family: "Ubuntu Mono", monospace;
background-color: transparent;
cursor: pointer;
vertical-align: top;
text-decoration: none;
}
#toolbar .item {
float: left;
padding-right: 5px;
padding-left: 5px;
opacity: 0.6;
}
#toolbar .crumb {
padding: 0;
position: relative;
min-height: 30px;
background: transparent;
z-index: 0;
margin-right: 23px;
opacity: 1;
}
#toolbar .crumb:after {
content: "";
background-color: #f5f5f5;
display: inline-block;
width: 100%;
height: 100%;
position: absolute;
left: -10px;
z-index: -1;
-webkit-transform: skewX(-30deg);
transform: skewX(-30deg);
padding-left: 10px;
padding-right: 10px;
border-left: 1px solid rgba(255,255,255,0.7);
border-right: 2px solid rgba(0,0,0,0.08);
}
#toolbar .crumb:hover:after {
background-color: #fafafa;
}
#toolbar .item:hover, #toolbar .item:focus {
opacity: 1;
}
#toolbar .right {
float: right;
}
#toolbar:after {
content: "";
clear: both;
display: block;
}
/* Specific toolbar elements */
#toolbar .root-crumb {
padding-left: 6px;
min-width: 6px;
display: inline-block;
}
#toolbar .root-crumb:before {
content: "";
background: url(/lib/img/TheFileIcon.svg) no-repeat 0 center;
background-size: 20px 20px;
display: inline-block;
width: 20px;
height: 20px;
vertical-align: -4px;
position: relative;
left: 2px;
}
#search[type="search"] {
width: 190px;
padding: 0;
border: 0 none;
border-radius: 2px;
font-size: 16px;
background-color: white;
line-height: 16px;
margin-top: 5px;
display: block;
}
#search[type="search"]:focus, #search[type="search"]:hover {
outline: 0;
opacity: 1;
/* border-color: #9fbddf; */
}
#toolbar select {
margin-top: 4px;
height: 20px;
padding: 0;
font-size: 16px;
}
#toolbar img {
max-height: 13px;
max-width: 16px;
padding-left: 3px;
padding-right: 3px;
}
#toolbar #undo, #toolbar #redo, #toolbar #preview, #toolbar #validate, #toolbar #run, #toolbar #dictate {
display: none;
}
#toolbar>a.filemenu {
display: none;
}
/* Gateway file list */
#filelist {
overflow: auto;
}
#filelist.dropfile {
background: #eef;
}
#filelist li {
padding: 5px;
padding-left: 25px;
list-style-type: none;
background-repeat: no-repeat, no-repeat;
font-family: "Ubuntu Mono", monospace;
}
#filelist li.selected-file {
border-left: 4px solid #bbf;
}
#filelist li.file {
background: url("/lib/icons/file_lines.png") 7px 7px / 12px no-repeat scroll padding-box;
}
#filelist li.folder {
background: url("/lib/icons/folder_blue.png") 7px 8px / 15px no-repeat scroll padding-box;
}
#filelist li a {
color: #333;
text-decoration: none;
}
#filelist li a:hover {
text-decoration: underline;
}
#filelist li.focus::after {
content: ' ◆';
display: inline-block;
height: 0;
font-size: 0.7em;
color: #bbb;
}
button.incrusted {
box-shadow: 0px 0px 7px #ddd inset;
-webkit-transition: 0.3s ease-out box-shadow;
-moz-transition: 0.3s ease-out box-shadow;
-o-transition: 0.3s ease-out box-shadow;
transition: 0.3s ease-out box-shadow;
border-radius: 3px;
color: #777;
background: #f5f5ff;
border: 0;
}
button.incrusted:hover {
cursor: pointer;
box-shadow: 0px 0px 17px #bbc inset;
}
/* Pencil editor */
.CodeMirror {
flex: 1 0 0;
display: flex;
flex-flow: column;
}
.CodeMirror-scroll {
flex: 1 1 0;
}
div.CodeMirror span.CodeMirror-matchingbracket {
color: inherit;
background-color: rgba(255, 242, 142, 0.3);
}
.panel {
flex: 1 1 auto;
display: flex;
flex-flow: column;
}
.panel ul {
position: fixed;
top: 20px;
right: 10px;
list-style: none;
}
.panel ul li {
background: white; /*#900;*/
padding: 2px 4px 3px;
border-radius: 2px;
margin-bottom: 3px;
font-family: "Ubuntu Mono", monospace;
font-size: 9pt;
float: right;
clear: right;
line-height: 1em;
}
.other-client {
position: absolute
}
.other-client pre {
border-left: 2px solid;
position: absolute;
bottom: 100%
}
#background {
position: absolute;
overflow: hidden;
z-index: -26;
}
#background .CodeMirror-lines {
height: 100%;
width: 100%;
z-index: -28;
}
/* About pages */
main.about-page {
margin: 5px;
}
main.about-page input {
border: 0;
background-image: linear-gradient(to bottom, white 80%, #eee);
}
main.about-page label {
color: #777;
font-style: italic;
}
.about-page button {
box-shadow: 0px 0px 7px #ddd inset;
transition: 0.3s ease-out box-shadow;
border-radius: 3px;
color: #777;
background: #f5f5ff;
padding: 2px 10px;
border: 0;
}
.about-page button:hover {
cursor: pointer;
box-shadow: 0px 0px 17px #bbc inset;
}