forked from verdnatura/hedera-web
408 lines
5.3 KiB
CSS
Executable File
408 lines
5.3 KiB
CSS
Executable File
|
|
.vn-gui
|
|
{
|
|
height: inherit;
|
|
}
|
|
|
|
/* Font */
|
|
|
|
.vn-gui .welcome,
|
|
.vn-gui .supplant > span,
|
|
.vn-gui .menu-title,
|
|
.vn-gui .main-menu a
|
|
{
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
/* Navigation bar */
|
|
|
|
.vn-gui .navbar,
|
|
.vn-gui .exit
|
|
{
|
|
height: 3.9em;
|
|
}
|
|
.vn-gui .navbar
|
|
{
|
|
position: fixed;
|
|
background-color: #009688;
|
|
left: 15em;
|
|
top: 0;
|
|
right: 0;
|
|
z-index: 1;
|
|
overflow: hidden;
|
|
box-shadow: 0 0.1em 0.1em rgba(1, 1, 1, 0.3);
|
|
}
|
|
.vn-gui .navbar
|
|
{
|
|
color: white;
|
|
}
|
|
.vn-gui .menu-button
|
|
{
|
|
display: none;
|
|
float: left;
|
|
border: none;
|
|
background-color: transparent;
|
|
padding: 0 .4em;
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
.vn-gui .menu-button:hover
|
|
{
|
|
background-color: rgba(0, 0, 0, .2);
|
|
}
|
|
.vn-gui .menu-button img
|
|
{
|
|
vertical-align: middle;
|
|
height: 1.8em;
|
|
}
|
|
.vn-gui .title
|
|
{
|
|
float: left;
|
|
}
|
|
.vn-gui .title h1
|
|
{
|
|
font-weight: normal;
|
|
font-size: 1.4em;
|
|
padding: .7em .6em;
|
|
padding-right: 0;
|
|
margin: 0;
|
|
}
|
|
.vn-gui .navbar > .htk-spinner
|
|
{
|
|
float: left;
|
|
margin: 1.05em .8em;
|
|
}
|
|
.vn-gui .exit
|
|
{
|
|
float: right;
|
|
padding: 0 .4em;
|
|
display: block;
|
|
height: 100%;
|
|
}
|
|
.vn-gui .exit:hover
|
|
{
|
|
background-color: rgba(0, 0, 0, .2);
|
|
}
|
|
.vn-gui .exit > img
|
|
{
|
|
height: 1.8em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Action bar */
|
|
|
|
.vn-gui .action-bar
|
|
{
|
|
float: right;
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
.vn-gui .action-bar > div
|
|
{
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
.vn-gui .action-bar > div > *
|
|
{
|
|
float: left;
|
|
}
|
|
.vn-gui .action-bar button
|
|
{
|
|
margin: 0;
|
|
padding: 1.15em .5em;
|
|
}
|
|
.vn-gui .action-bar button:hover
|
|
{
|
|
background-color: rgba(1, 1, 1, 0.2);
|
|
}
|
|
.vn-gui .action-bar button > img
|
|
{
|
|
vertical-align: middle;
|
|
height: 1.4em;
|
|
}
|
|
|
|
/* Background */
|
|
|
|
.vn-gui > .background
|
|
{
|
|
z-index: 10;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
visibility: hidden;
|
|
background-color: rgba(1, 1, 1, 0.7);
|
|
opacity: 0;
|
|
}
|
|
.vn-gui > .background.show
|
|
{
|
|
visibility: visible;
|
|
transition: opacity 200ms ease-out;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Left panel */
|
|
|
|
.vn-gui .left-panel
|
|
{
|
|
z-index: 20;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
top: 0;
|
|
background-color: white;
|
|
z-index: 20;
|
|
box-shadow: 0 0.2em 0.2em rgba(1, 1, 1, 0.4);
|
|
}
|
|
.vn-gui .menu-header
|
|
{
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 1em;
|
|
}
|
|
.vn-gui .logo
|
|
{
|
|
display: block;
|
|
width: 12em;
|
|
margin-bottom: .6em;
|
|
}
|
|
.vn-gui .welcome
|
|
{
|
|
display: block;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
.vn-gui .supplant
|
|
{
|
|
margin-top: .2em;
|
|
display: none;
|
|
}
|
|
.vn-gui .supplant > span
|
|
{
|
|
max-width: 10em;
|
|
display: inline-block;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
.vn-gui .supplant > button
|
|
{
|
|
float: right;
|
|
padding: .2em;
|
|
}
|
|
.vn-gui .left-panel,
|
|
.vn-gui .main-menu > li,
|
|
.vn-gui ul.submenu
|
|
{
|
|
width: 15em;
|
|
}
|
|
.vn-gui .menu-overflow
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 4em;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* Test link */
|
|
|
|
.vn-gui .test-link
|
|
{
|
|
display: block;
|
|
margin: 1em auto;
|
|
max-width: 70%;
|
|
background-color: #3f51b5;
|
|
color: white;
|
|
padding: 0 1em;
|
|
line-height: 2em;
|
|
border-radius: 0.1em;
|
|
text-align: center;
|
|
}
|
|
.vn-gui .test-link:hover
|
|
{
|
|
background-color: #4f61c5;
|
|
}
|
|
|
|
/* Menu */
|
|
|
|
.vn-gui .main-menu
|
|
{
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.vn-gui .main-menu > li
|
|
{
|
|
display: block;
|
|
float: left;
|
|
clear: both;
|
|
padding: 0;
|
|
}
|
|
.vn-gui .main-menu > li > a
|
|
{
|
|
line-height: 2.8em;
|
|
width: 70%;
|
|
padding: 0 15%;
|
|
}
|
|
.vn-gui .main-menu a
|
|
{
|
|
float: left;
|
|
}
|
|
.vn-gui .main-menu a:hover
|
|
{
|
|
background-color: #DDD /* #AC6 */;
|
|
}
|
|
.vn-gui .main-menu a.selected
|
|
{
|
|
background-color: #EEE;
|
|
}
|
|
.vn-gui ul.submenu
|
|
{
|
|
display: none;
|
|
position: fixed;
|
|
border: none;
|
|
border-radius: 1px;
|
|
background-color: white;
|
|
box-shadow: 0 0.2em 0.2em #CCC;
|
|
z-index: 50;
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
}
|
|
.vn-gui ul.submenu a
|
|
{
|
|
width: 60%;
|
|
padding: 0.7em 20%;
|
|
}
|
|
|
|
/* Links */
|
|
|
|
.vn-gui .links
|
|
{
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
padding: 0.8em;
|
|
}
|
|
.vn-gui .links a
|
|
{
|
|
padding: 0.1em;
|
|
display: block;
|
|
float: left;
|
|
max-width: 2.2em;
|
|
}
|
|
.vn-gui .links img
|
|
{
|
|
height: 1.8em;
|
|
}
|
|
|
|
/* Body */
|
|
|
|
.vn-gui > .body
|
|
{
|
|
margin-left: 15em;
|
|
padding-top: 3.9em;
|
|
height: inherit;
|
|
box-sizing: border-box;
|
|
height: inherit;
|
|
}
|
|
.vn-gui .form-holder
|
|
{
|
|
position: relative;
|
|
height: inherit;
|
|
opacity: 0;
|
|
transform: translateZ(0) translateX(-2em);
|
|
}
|
|
.vn-gui .form-holder.show
|
|
{
|
|
transition: 250ms ease-out all;
|
|
opacity: 1;
|
|
transform: translateZ(0) translateX(0em);
|
|
}
|
|
|
|
/* Transitions */
|
|
|
|
.vn-gui > .body
|
|
{
|
|
transition-property: margin-left, margin-right;
|
|
transition-duration: 200ms;
|
|
}
|
|
.vn-gui >.navbar
|
|
{
|
|
transition-property: left, background-color;
|
|
transition-duration: 200ms;
|
|
}
|
|
|
|
/* Desktop */
|
|
|
|
@media (min-width: 951px)
|
|
{
|
|
.htk-toast
|
|
{
|
|
margin-left: -3em;
|
|
}
|
|
.vn-gui ul.submenu.show
|
|
{
|
|
display: inline;
|
|
}
|
|
}
|
|
|
|
/* Mobile */
|
|
|
|
@media (max-width: 950px)
|
|
{
|
|
.action-bar span.label,
|
|
.htk-button > span
|
|
{
|
|
display: none;
|
|
}
|
|
.vn-gui > .navbar
|
|
{
|
|
left: 0;
|
|
}
|
|
.vn-gui > .body
|
|
{
|
|
margin-left: 0;
|
|
}
|
|
.vn-gui .menu-button
|
|
{
|
|
display: block;
|
|
}
|
|
.vn-gui .left-panel
|
|
{
|
|
top: 0;
|
|
left: -15em;
|
|
box-shadow: 0 0.2em 0.2em #333;
|
|
transition: 200ms ease-out all;
|
|
-webkit-transition: 200ms ease-out all;
|
|
}
|
|
.vn-gui .left-panel.show
|
|
{
|
|
transform: translateZ(0) translateX(15em);
|
|
-webkit-transform: translateZ(0) translateX(15em);
|
|
}
|
|
.vn-gui .form-holder
|
|
{
|
|
left: 0;
|
|
}
|
|
.vn-gui ul.submenu
|
|
{
|
|
display: block;
|
|
position: relative;
|
|
border: none;
|
|
border-radius: 0;
|
|
background-color: white;
|
|
box-shadow: none;
|
|
}
|
|
.htk-toast
|
|
{
|
|
margin-left: -10.5em;
|
|
}
|
|
}
|
|
|