hedera-web/js/hedera/gui.css

373 lines
5.2 KiB
CSS
Raw Normal View History

2017-03-30 11:44:53 +00:00
@media screen {
.vn-gui
{
height: inherit;
}
/* Font */
.vn-gui .user-info,
.vn-gui .menu-title,
.vn-gui .main-menu
{
font-size: 1.1em;
}
/* Navigation bar */
.vn-gui .navbar
{
position: fixed;
background-color: #009688;
left: 15em;
top: 0;
right: 0;
z-index: 1;
overflow: hidden;
2016-10-20 10:44:32 +00:00
box-shadow: 0 0 .2em rgba(1, 1, 1, .3);
height: 3.9em;
color: white;
transition-property: left, background-color, transform;
transition-duration: 200ms;
transition-timing-function: ease-in-out;
}
2017-03-30 11:44:53 +00:00
.vn-gui .navbar .menu-button
{
position: absolute;
left: 0;
display: none;
border: none;
padding: 0 .4em;
margin: 0;
height: 100%;
}
2017-03-30 11:44:53 +00:00
.vn-gui .navbar .menu-button img
{
2015-09-16 16:11:15 +00:00
vertical-align: middle;
height: 1.8em;
}
2017-03-30 11:44:53 +00:00
.vn-gui .navbar .title
{
float: left;
}
2017-03-30 11:44:53 +00:00
.vn-gui .navbar .title > h1
{
font-weight: normal;
font-size: 1.4em;
padding: .8em .6em;
padding-right: .3em;
margin: 0;
2017-04-07 11:00:33 +00:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.vn-gui .navbar > .htk-spinner
{
2015-11-19 13:57:23 +00:00
float: left;
margin: 1.05em .8em;
}
2015-09-16 16:11:15 +00:00
/* Action bar */
2017-03-30 11:44:53 +00:00
.action-bar
2015-09-16 16:11:15 +00:00
{
float: right;
padding: 0;
margin: 0;
height: 100%;
}
2017-03-30 11:44:53 +00:00
.action-bar > div
2015-09-16 16:11:15 +00:00
{
padding: 0;
margin: 0;
height: 100%;
}
2017-03-30 11:44:53 +00:00
.action-bar > div > *
2015-09-16 16:11:15 +00:00
{
float: right;
2015-09-16 16:11:15 +00:00
}
2017-03-30 11:44:53 +00:00
.action-bar button
2015-09-16 16:11:15 +00:00
{
margin: 0;
padding: 1.25em .5em;
2015-09-16 16:11:15 +00:00
}
2017-03-30 11:44:53 +00:00
.action-bar button > img
2015-09-16 16:11:15 +00:00
{
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;
2016-10-20 10:44:32 +00:00
background-color: rgba(1, 1, 1, .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;
2016-10-20 10:44:32 +00:00
box-shadow: 0 .2em .2em rgba(1, 1, 1, .4);
width: 15em;
}
.vn-gui .menu-overflow
{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 4em;
overflow: auto;
}
.vn-gui .menu-header
{
background-color: #333;
color: white;
padding: 1em;
}
.vn-gui .logo
{
display: block;
width: 12em;
2016-01-15 13:14:07 +00:00
margin-bottom: .8em;
}
.vn-gui .user-info
{
width: 100%;
overflow: hidden;
}
.vn-gui .user-info > p
{
2016-01-15 13:14:07 +00:00
margin: 0;
margin-top: .2em;
overflow: hidden;
2015-12-02 17:26:58 +00:00
text-overflow: ellipsis;
white-space: nowrap;
}
.vn-gui button.logout
{
float: right;
margin: 0;
padding: .2em;
display: block;
}
.vn-gui button.logout > img
{
height: 1.2em;
display: block;
}
.vn-gui .supplant
{
margin-top: .2em;
display: none;
}
/* 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;
2016-10-20 10:44:32 +00:00
border-radius: .1em;
text-align: center;
}
.vn-gui .test-link:hover
{
background-color: #4f61c5;
}
/* Menu */
.vn-gui .main-menu,
.vn-gui ul.submenu
{
list-style-type: none;
padding: 0;
margin: 0;
}
.vn-gui .main-menu > li
{
display: block;
padding: 0;
margin: 0;
width: 100%;
}
.vn-gui .main-menu a
{
width: 70%;
padding: 0 15%;
display: block;
line-height: 2.8em;
}
.vn-gui .main-menu a.selected
{
2016-10-20 10:44:32 +00:00
background-color: rgba(1, 1, 1, .1);
}
.vn-gui ul.submenu
{
display: none;
}
.vn-gui ul.submenu.popup
{
display: inline;
position: fixed;
border: none;
border-radius: 1px;
background-color: white;
2016-10-20 10:44:32 +00:00
box-shadow: 0 0 .3em rgba(1, 1, 1, .3);
z-index: 50;
2016-10-18 22:08:50 +00:00
width: 13em;
max-height: 30em;
}
/* Social */
.vn-gui .social
{
position: absolute;
bottom: 0;
right: 0;
2016-10-20 10:44:32 +00:00
padding: .8em;
}
/* Body */
2017-03-30 11:44:53 +00:00
.vn-gui > .body
{
margin-left: 15em;
padding-top: 3.9em;
height: inherit;
box-sizing: border-box;
height: inherit;
transition-property: margin-left, margin-right;
transition-duration: 200ms;
}
.vn-gui .form-holder
2017-03-17 12:42:10 +00:00
{
height: inherit;
}
.vn-gui .form-holder > *
{
position: relative;
height: inherit;
2017-03-22 16:57:21 +00:00
border: 1px solid transparent;
box-sizing: border-box;
2016-10-30 22:48:18 +00:00
opacity: 0;
transform: translateZ(0) translateX(-2em);
-webkit-transform: translateZ(0) translateX(-2em);
2016-10-30 22:48:18 +00:00
transition-property: opacity, transform;
transition-timing-function: ease-out;
2017-03-17 12:42:10 +00:00
transition-duration: 200ms;
}
2017-03-17 12:42:10 +00:00
.vn-gui .form-holder > .slide
{
opacity: 1;
transform: translateZ(0) translateX(0em);
-webkit-transform: translateZ(0) translateX(0em);
}
2017-03-30 11:44:53 +00:00
} /*+++++++++ Screen end */
/* Mobile */
2017-03-30 11:44:53 +00:00
@media screen and (max-width: 960px)
{
2016-11-07 18:35:43 +00:00
.vn-gui .action-bar span.label,
.vn-gui .htk-button > span
2015-09-16 16:11:15 +00:00
{
display: none;
}
.vn-gui > .navbar
{
padding-left: 2.8em;
left: 0;
}
.vn-gui > .body
{
margin-left: 0;
}
2017-04-05 14:06:07 +00:00
.vn-gui .navbar .menu-button
{
display: block;
}
.vn-gui .left-panel
{
top: 0;
left: -15em;
2016-10-20 10:44:32 +00:00
box-shadow: 0 0 .2em rgba(1, 1, 1, .3);
transition: transform 200ms ease-out;
-webkit-transition: transform 200ms ease-out;
}
2015-09-16 16:11:15 +00:00
.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;
2016-10-18 22:08:50 +00:00
background-color: #888;
2016-10-20 10:44:32 +00:00
color: white;
box-shadow: inset 0 0 .2em rgba(1, 1, 1, .2);
overflow: hidden;
max-height: 0;
transition: max-height 300ms ease-out;
2017-03-17 12:42:10 +00:00
-webkit-transition: max-height 300ms ease-out;
}
.vn-gui .main-menu li:hover > ul.submenu
{
max-height: 20em;
}
}
2017-03-30 11:44:53 +00:00
/* Print */
@media print
{
.vn-gui .navbar,
.vn-gui .left-panel
{
display: none;
}
}