Commit 812cc09e authored by LianaHus's avatar LianaHus

terminal bg and landing page restyling

parent 96e92ed7
...@@ -20,7 +20,6 @@ var css = csjs` ...@@ -20,7 +20,6 @@ var css = csjs`
display : flex; display : flex;
align-items : center; align-items : center;
width : 100%; width : 100%;
border-bottom-style : ridge;
max-height : 35px; max-height : 35px;
} }
.clear { .clear {
...@@ -148,7 +147,6 @@ var css = csjs` ...@@ -148,7 +147,6 @@ var css = csjs`
left : 0; left : 0;
cursor : ns-resize; cursor : ns-resize;
z-index : 999; z-index : 999;
border-top : 2px solid var(--primary);
} }
.ghostbar { .ghostbar {
position : absolute; position : absolute;
......
...@@ -156,6 +156,14 @@ class Terminal { ...@@ -156,6 +156,14 @@ class Terminal {
` `
self._view.term = yo` self._view.term = yo`
<div class="${css.terminal_container}" onscroll=${throttle(reattach, 10)} onclick=${focusinput}> <div class="${css.terminal_container}" onscroll=${throttle(reattach, 10)} onclick=${focusinput}>
<div style="
background-color: grey;
position: absolute;
height: 100%;
width: 100%;
opacity: 0.1;
z-index: -1;
"></div>
<div class=${css.terminal}> <div class=${css.terminal}>
${self._view.journal} ${self._view.journal}
${self._view.cli} ${self._view.cli}
...@@ -163,7 +171,7 @@ class Terminal { ...@@ -163,7 +171,7 @@ class Terminal {
</div> </div>
` `
self._view.el = yo` self._view.el = yo`
<div class="border ${css.panel}" style="height: 180px;"> <div class="${css.panel}" style="height: 180px;">
${self._view.bar} ${self._view.bar}
${self._view.term} ${self._view.term}
</div> </div>
......
This diff is collapsed.
...@@ -31,8 +31,8 @@ class Section { ...@@ -31,8 +31,8 @@ class Section {
render () { render () {
let sectionLook = yo` let sectionLook = yo`
<div class="card border-0 bg-light bd-light text-dark p-1" style="min-width: 300px; min-height: 210px;"> <div class="card border-0 bg-light text-dark p-1" style="min-width: 300px; min-height: 180px;">
<div class="card-header font-weight-bold" style="user-select: none;">${this.title}</div> <div class="card-header h5 font-weight-bold" style="user-select: none;">${this.title}</div>
<p></p> <p></p>
</div> </div>
` `
...@@ -40,7 +40,7 @@ class Section { ...@@ -40,7 +40,7 @@ class Section {
if (this.actions[i].type === `callback`) { if (this.actions[i].type === `callback`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div> <div>
<span class="${css.text} text-dark" onclick=${this.actions[i].payload} > <span class="${css.text} p-3 h6 text-dark" onclick=${this.actions[i].payload} >
${this.actions[i].label} ${this.actions[i].label}
</span> </span>
</div> </div>
...@@ -48,7 +48,7 @@ class Section { ...@@ -48,7 +48,7 @@ class Section {
} else if (this.actions[i].type === `link`) { } else if (this.actions[i].type === `link`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div > <div >
<a class="${css.link} text-dark text-decoration-none" href=${this.actions[i].payload} target="_blank" > <a class="${css.link} text-dark p-3 h6 text-decoration-none" href=${this.actions[i].payload} target="_blank" >
${this.actions[i].label} ${this.actions[i].label}
</a> </a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment