Add next button for instructions and finally the terminal is responsive

This commit is contained in:
Gabor PEK
2018-03-14 16:43:44 +01:00
parent bcd030e3d9
commit f0ecdd31f2
7 changed files with 44 additions and 38 deletions

View File

@ -62,19 +62,14 @@
}
.tfw-terminal {
// overflow-y: hidden;
overflow-y: hidden;
border: 1px solid $tao-plum-100;
border-left: 0;
border-bottom: 0;
background-color: black;
}
.tfw-terminal-footer {
background-color: $tao-gray-800;
border: 1px solid $tao-plum-100;
border-left: 0;
border-top: 0;
border-bottom: 0;
@if ($layout-template != 'vraw') {
border-left: 0;
}
}
}

View File

@ -1,5 +1,8 @@
<div class="tfw-messages-main">
<h5>Instructions</h5>
<div class="tfw-grid-messages-header">
<div class="tao-grid-top-left"><span>Instructions</span></div>
<div class="tao-grid-center-right"><button class="tao-btn-rainbow">Next</button></div>
</div>
<div class="tfw-grid-message" *ngFor="let message of messages.slice().reverse()">
<div class="tfw-grid-message-header">
<img class="tao-grid-center-left" src="images/avataobot.svg"/>

View File

@ -1,17 +1,21 @@
@import "../../assets/scss/variables.scss";
.tfw-grid-header-messages {
display: grid;
grid-template-rows: $tao-navbar-height auto;
}
.tfw-messages-main {
h5 {
.tfw-grid-messages-header {
display: grid;
grid-template-columns: 1fr 1fr;
margin-bottom: $small;
color: $tao-blue-500;
font-weight: 500;
span {
color: $tao-blue-500;
font-weight: 500;
font-size: $font-size-h3;
}
}
}
.tfw-grid-message {

View File

@ -1,3 +1 @@
<div class="tfw-xterm-container">
<div #xterm class="tfw-xterm"></div>
</div>
<div #xterm class="tfw-xterm" (window:resize)="fit()"></div>

View File

@ -1,6 +1,14 @@
@import "../../assets/scss/mixins/layout.scss";
@import "../../app/dashboard/dashboard.component.scss";
.tfw-xterm-container {
@include set-component-size('terminal');
.tfw-xterm {
max-height: 100%;
height: 100%;
min-height: 100%;
}