mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 05:01:56 +00:00
Fixing terminal colors
This commit is contained in:
parent
a7dbd15370
commit
bcd030e3d9
@ -16,7 +16,7 @@
|
|||||||
.tfw-header,
|
.tfw-header,
|
||||||
.tfw-messages {
|
.tfw-messages {
|
||||||
@if ($layout-template == 'default') {
|
@if ($layout-template == 'default') {
|
||||||
border: 2px solid $tao-plum-100;
|
border: 2px solid $tao-gray-100;
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
@ -62,15 +62,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tfw-terminal {
|
.tfw-terminal {
|
||||||
border: 2px solid $tao-plum-100;
|
// overflow-y: hidden;
|
||||||
|
border: 1px solid $tao-plum-100;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-right: 0;
|
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tfw-terminal-footer {
|
.tfw-terminal-footer {
|
||||||
background-color: $tao-phtalo-900;
|
background-color: $tao-gray-800;
|
||||||
|
border: 1px solid $tao-plum-100;
|
||||||
|
border-left: 0;
|
||||||
|
border-top: 0;
|
||||||
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ export class TerminadoService {
|
|||||||
this.xterm = new Terminal({
|
this.xterm = new Terminal({
|
||||||
theme: {
|
theme: {
|
||||||
foreground: '#ffffff',
|
foreground: '#ffffff',
|
||||||
background: '#002426', // $tao-phtalo-900
|
background: '#0C0C0C', // $tao-gray-800
|
||||||
cursor: '#ffffff',
|
cursor: '#ffffff',
|
||||||
selection: 'rgba(255, 255, 255, 0.3)',
|
selection: 'rgba(255, 255, 255, 0.3)',
|
||||||
black: '#000000',
|
black: '#000000',
|
||||||
|
@ -1 +1,3 @@
|
|||||||
<div #xterm class="tfw-xterm" (window:resize)="fit()"></div>
|
<div class="tfw-xterm-container">
|
||||||
|
<div #xterm class="tfw-xterm"></div>
|
||||||
|
</div>
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
@import "../../assets/scss/mixins/layout.scss";
|
@import "../../assets/scss/mixins/layout.scss";
|
||||||
|
|
||||||
|
.tfw-xterm-container {
|
||||||
.tfw-xterm {
|
|
||||||
.xterm-viewport {
|
|
||||||
@include set-component-size('terminal');
|
@include set-component-size('terminal');
|
||||||
}
|
|
||||||
|
|
||||||
.xterm .composition-view {
|
|
||||||
background: blue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -161,4 +161,4 @@ $company-logo-width: 130px;
|
|||||||
|
|
||||||
|
|
||||||
// Change this to switch template. Options: 'default', 'vraw', 'hraw'
|
// Change this to switch template. Options: 'default', 'vraw', 'hraw'
|
||||||
$layout-template: 'hraw';
|
$layout-template: 'default';
|
||||||
|
@ -62,4 +62,10 @@ $layout: (
|
|||||||
|
|
||||||
min-width: #{$columns-count / $grid-columns-count * 100}vw;
|
min-width: #{$columns-count / $grid-columns-count * 100}vw;
|
||||||
min-height: #{$rows-count / $grid-rows-count * 100}vh;
|
min-height: #{$rows-count / $grid-rows-count * 100}vh;
|
||||||
|
|
||||||
|
width: #{$columns-count / $grid-columns-count * 100}vw;
|
||||||
|
height: #{$rows-count / $grid-rows-count * 100}vh;
|
||||||
|
|
||||||
|
max-width: #{$columns-count / $grid-columns-count * 100}vw;
|
||||||
|
max-height: #{$rows-count / $grid-rows-count * 100}vh;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user