Commit 2ccdebb6 authored by Rob Stupay's avatar Rob Stupay Committed by yann300

slight update to teminal

parent 92e29e4f
...@@ -63,7 +63,7 @@ var css = csjs` ...@@ -63,7 +63,7 @@ var css = csjs`
.toggleTerminal:hover { .toggleTerminal:hover {
color : ${styles.terminal.icon_HoverColor_TogglePanel}; color : ${styles.terminal.icon_HoverColor_TogglePanel};
} }
.terminal { .terminal_container {
background-color : ${styles.terminal.backgroundColor_Terminal}; background-color : ${styles.terminal.backgroundColor_Terminal};
display : flex; display : flex;
flex-direction : column; flex-direction : column;
...@@ -74,7 +74,7 @@ var css = csjs` ...@@ -74,7 +74,7 @@ var css = csjs`
overflow-y : auto; overflow-y : auto;
font-family : monospace; font-family : monospace;
} }
.inner_terminal { .terminal_bg {
display : flex; display : flex;
flex-direction : column; flex-direction : column;
height : 100%; height : 100%;
...@@ -94,14 +94,14 @@ var css = csjs` ...@@ -94,14 +94,14 @@ var css = csjs`
background-repeat : no-repeat; background-repeat : no-repeat;
background-size : 45%; background-size : 45%;
} }
.terminal_content { .terminal {
position: relative; position: relative;
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
} }
.inner_terminal::after { // .inner_terminal::after {
// content : ""; // content : "";
// background-image : url(assets/img/remix_logo_white_512x512.svg); // background-image : url(assets/img/remix_logo_white_512x512.svg);
// opacity : 0.1; // opacity : 0.1;
...@@ -113,7 +113,7 @@ var css = csjs` ...@@ -113,7 +113,7 @@ var css = csjs`
// // z-index : -1; // // z-index : -1;
// background-repeat : no-repeat; // background-repeat : no-repeat;
// background-size : 45%; // background-size : 45%;
} // }
.journal { .journal {
margin-top : auto; margin-top : auto;
font-family : monospace; font-family : monospace;
...@@ -304,10 +304,10 @@ class Terminal { ...@@ -304,10 +304,10 @@ class Terminal {
} }
self._view.term = yo` self._view.term = yo`
<div class=${css.terminal} onscroll=${throttle(reattach, 10)} onclick=${focusinput}> <div class=${css.terminal_container} onscroll=${throttle(reattach, 10)} onclick=${focusinput}>
<div class=${css.inner_terminal}> <div class=${css.terminal_bg}>
</div> </div>
<div class=${css.terminal_content}> <div class=${css.terminal}>
${self._view.journal} ${self._view.journal}
${self._view.cli} ${self._view.cli}
</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