2022-05-26 06:08:31 +00:00
|
|
|
|
|
|
|
@import "../htk/style/classes";
|
|
|
|
|
2022-05-26 08:00:19 +00:00
|
|
|
|
2022-05-21 21:31:56 +00:00
|
|
|
.vn-gui {
|
|
|
|
height: inherit;
|
|
|
|
|
|
|
|
/* Font */
|
|
|
|
|
|
|
|
.user-name,
|
|
|
|
.menu-title {
|
2022-11-11 15:17:20 +00:00
|
|
|
font-size: 1.1rem;
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Navigation bar */
|
|
|
|
|
|
|
|
.navbar {
|
|
|
|
position: fixed;
|
|
|
|
background-color: #1A1A1A;
|
2022-05-26 08:00:19 +00:00
|
|
|
left: $side-panel-width;
|
2022-05-21 21:31:56 +00:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1;
|
|
|
|
overflow: hidden;
|
2022-05-26 08:00:19 +00:00
|
|
|
height: $navbar-height;
|
2022-05-21 21:31:56 +00:00
|
|
|
color: white;
|
2022-05-26 06:08:31 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-05-21 21:31:56 +00:00
|
|
|
|
|
|
|
transition-property: left, background-color, transform;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
& > .menu-button {
|
|
|
|
flex: none;
|
|
|
|
display: none;
|
|
|
|
border: none;
|
2022-05-24 10:18:44 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, .1);
|
|
|
|
}
|
|
|
|
& > .htk-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > .title-wraper {
|
2022-05-24 10:18:44 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-06-07 08:19:29 +00:00
|
|
|
gap: 12px;
|
2022-05-26 06:08:31 +00:00
|
|
|
overflow: hidden;
|
2022-06-07 08:19:29 +00:00
|
|
|
padding-left: 12px;
|
2022-11-18 03:06:22 +00:00
|
|
|
flex-shrink: 3;
|
2022-05-24 10:18:44 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
& > .title {
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: normal;
|
2022-11-11 15:17:20 +00:00
|
|
|
font-size: 1.4rem;
|
2022-05-26 06:08:31 +00:00
|
|
|
margin: 0;
|
2022-05-26 08:00:19 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2022-05-26 06:08:31 +00:00
|
|
|
}
|
2022-05-24 10:18:44 +00:00
|
|
|
}
|
|
|
|
}
|
2022-05-26 06:08:31 +00:00
|
|
|
& > .action-bar {
|
2022-11-15 21:26:48 +00:00
|
|
|
flex: auto;
|
2022-05-26 06:08:31 +00:00
|
|
|
height: 100%;
|
2022-05-24 10:18:44 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
& > div {
|
|
|
|
display: flex;
|
2022-11-15 21:26:48 +00:00
|
|
|
justify-content: flex-end;
|
|
|
|
height: 100%;
|
2022-05-26 06:08:31 +00:00
|
|
|
align-items: center;
|
2022-06-07 08:19:29 +00:00
|
|
|
padding-right: 12px;
|
|
|
|
padding-left: 4px;
|
|
|
|
gap: 2px;
|
2022-05-26 06:08:31 +00:00
|
|
|
}
|
|
|
|
button {
|
|
|
|
margin: 0;
|
2022-06-07 08:19:29 +00:00
|
|
|
padding: 8px 13px;
|
2022-05-26 06:08:31 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(2550, 255, 255, .2);
|
|
|
|
}
|
2022-05-24 10:18:44 +00:00
|
|
|
}
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Background */
|
|
|
|
|
|
|
|
& > .background {
|
|
|
|
z-index: 10;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
background-color: rgba(1, 1, 1, .7);
|
|
|
|
opacity: 0;
|
2022-05-25 18:04:16 +00:00
|
|
|
|
|
|
|
&.show {
|
|
|
|
visibility: visible;
|
|
|
|
transition: opacity 200ms ease-out;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Left panel */
|
|
|
|
|
|
|
|
.menu-overflow {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 4em;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.menu-header {
|
|
|
|
background-color: #1A1A1A;
|
|
|
|
color: white;
|
2022-05-26 08:00:19 +00:00
|
|
|
height: $navbar-height;
|
2022-05-21 21:31:56 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.logo {
|
|
|
|
display: block;
|
|
|
|
width: 160px;
|
|
|
|
margin-left: 37px;
|
|
|
|
}
|
2022-05-26 06:08:31 +00:00
|
|
|
.user-info {
|
2022-05-21 21:31:56 +00:00
|
|
|
margin: 25px;
|
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2022-05-21 21:31:56 +00:00
|
|
|
overflow: hidden;
|
2022-05-26 06:08:31 +00:00
|
|
|
font-weight: bold;
|
|
|
|
border: 1px solid #eaeaea;
|
2022-05-21 21:31:56 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
& > span {
|
|
|
|
padding: 10px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
2022-05-26 06:08:31 +00:00
|
|
|
.logout {
|
2022-05-25 18:04:16 +00:00
|
|
|
display: block;
|
2022-05-26 06:08:31 +00:00
|
|
|
margin: 0;
|
|
|
|
text-align: left;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #1a1a1a;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
& > .htk-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-05-25 18:04:16 +00:00
|
|
|
}
|
2022-05-26 06:08:31 +00:00
|
|
|
&.supplant {
|
|
|
|
display: none;
|
|
|
|
border-top: none;
|
2022-05-25 18:04:16 +00:00
|
|
|
|
2022-05-26 06:08:31 +00:00
|
|
|
&.show {
|
|
|
|
display: flex;
|
|
|
|
}
|
2022-05-25 18:04:16 +00:00
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Test link */
|
|
|
|
|
|
|
|
.test-link {
|
|
|
|
display: none;
|
|
|
|
margin: .5em;
|
|
|
|
background-color: #3f51b5;
|
|
|
|
color: white;
|
|
|
|
padding: 0 1em;
|
|
|
|
line-height: 2em;
|
|
|
|
border-radius: .1em;
|
|
|
|
text-align: center;
|
2022-05-25 18:04:16 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #4f61c5;
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
.dev-info {
|
|
|
|
display: none;
|
|
|
|
padding: .3em .5em;
|
|
|
|
color: white;
|
|
|
|
background-color: #3f51b5;
|
|
|
|
font-size: .9em;
|
|
|
|
margin: .5em;
|
|
|
|
border-radius: .1em;
|
2022-05-25 18:04:16 +00:00
|
|
|
|
|
|
|
& > p {
|
|
|
|
margin: .2em 0;
|
|
|
|
}
|
|
|
|
& > .mode {
|
|
|
|
color: #BBF;
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Menu */
|
|
|
|
|
|
|
|
.main-menu,
|
|
|
|
ul.submenu {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.main-menu > li {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.main-menu a {
|
|
|
|
width: 70%;
|
|
|
|
padding: 0 15%;
|
|
|
|
display: block;
|
|
|
|
line-height: 2.8em;
|
|
|
|
}
|
|
|
|
.main-menu a:hover,
|
|
|
|
.main-menu a.selected {
|
|
|
|
background-color: rgba(1, 1, 1, .1);
|
|
|
|
}
|
|
|
|
ul.submenu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
ul.submenu.popup {
|
|
|
|
display: inline;
|
|
|
|
position: fixed;
|
|
|
|
border: none;
|
|
|
|
border-radius: 1px;
|
|
|
|
background-color: white;
|
|
|
|
box-shadow: 0 0 .3em rgba(1, 1, 1, .3);
|
|
|
|
z-index: 50;
|
|
|
|
width: 13em;
|
|
|
|
max-height: 30em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Social */
|
|
|
|
|
|
|
|
.menu-footer {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Body */
|
|
|
|
|
|
|
|
& > .body {
|
2022-05-26 08:00:19 +00:00
|
|
|
margin-left: $side-panel-width;
|
|
|
|
padding-top: $navbar-height;
|
2022-05-21 21:31:56 +00:00
|
|
|
height: inherit;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: inherit;
|
|
|
|
|
|
|
|
transition-property: margin-left, margin-right;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
.form-holder {
|
|
|
|
position: relative;
|
|
|
|
height: inherit;
|
|
|
|
|
2022-11-15 21:26:48 +00:00
|
|
|
&.move-start {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(-2em, 0, 0);
|
|
|
|
-webkit-transform: translate3d(-2em, 0, 0);
|
|
|
|
}
|
|
|
|
&.move-end {
|
2022-05-26 06:08:31 +00:00
|
|
|
opacity: 1;
|
2022-11-15 21:26:48 +00:00
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
|
|
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: ease-out;
|
2022-05-26 06:08:31 +00:00
|
|
|
}
|
|
|
|
& > * {
|
|
|
|
padding: $spacing-md;
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
|
2022-11-18 20:10:41 +00:00
|
|
|
@include mobile {
|
2022-05-21 21:31:56 +00:00
|
|
|
& > .navbar {
|
2022-06-07 08:19:29 +00:00
|
|
|
padding-left: 12px;
|
2022-05-21 21:31:56 +00:00
|
|
|
left: 0;
|
2022-05-26 06:08:31 +00:00
|
|
|
|
|
|
|
& > .menu-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
& > .action-bar {
|
|
|
|
button {
|
2022-06-07 08:19:29 +00:00
|
|
|
padding: 8px;
|
2022-05-26 06:08:31 +00:00
|
|
|
}
|
|
|
|
span.label,
|
|
|
|
button > .text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2022-05-21 21:31:56 +00:00
|
|
|
}
|
|
|
|
& > .body {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.form-holder {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
ul.submenu {
|
|
|
|
display: block;
|
|
|
|
background-color: #888;
|
|
|
|
color: white;
|
|
|
|
box-shadow: inset 0 0 .2em rgba(1, 1, 1, .2);
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
max-height: 0;
|
|
|
|
transition: max-height 300ms ease-out;
|
|
|
|
webkit-transition: max-height 300ms ease-out;
|
|
|
|
}
|
|
|
|
.main-menu li:hover > ul.submenu {
|
|
|
|
max-height: 20em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-19 00:28:24 +00:00
|
|
|
|
2022-11-23 16:48:56 +00:00
|
|
|
/* Side panel */
|
2022-11-19 00:28:24 +00:00
|
|
|
|
|
|
|
.side-panel {
|
|
|
|
z-index: 20;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: white;
|
|
|
|
width: $side-panel-width;
|
|
|
|
|
|
|
|
&.left-panel {
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
@include mobile {
|
|
|
|
left: -$side-panel-width;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
transform: translateZ(0) translateX($side-panel-width);
|
|
|
|
-webkit-transform: translateZ(0) translateX($side-panel-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.right-panel {
|
|
|
|
right: 0;
|
|
|
|
top: $navbar-height;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
@include mobile {
|
2022-11-23 16:48:56 +00:00
|
|
|
top: 0;
|
2022-11-19 00:28:24 +00:00
|
|
|
right: -$side-panel-width;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
transform: translateZ(0) translateX(-$side-panel-width);
|
|
|
|
-webkit-transform: translateZ(0) translateX(-$side-panel-width);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include mobile {
|
|
|
|
transition: transform 200ms ease-out;
|
|
|
|
-webkit-transition: transform 200ms ease-out;
|
|
|
|
box-shadow: 0 0 .2em rgba(1, 1, 1, .3);
|
|
|
|
}
|
|
|
|
}
|