Commit 245a7fb2 authored by LianaHus's avatar LianaHus

fixed style of terminal menu bar and dropdown menu

parent 07219ced
...@@ -56,10 +56,10 @@ var css = csjs` ...@@ -56,10 +56,10 @@ var css = csjs`
background-size : auto calc(75% - 1.7em); background-size : auto calc(75% - 1.7em);
} }
.terminal { .terminal {
position: relative; position : relative;
display: flex; display : flex;
flex-direction: column; flex-direction : column;
height: 100%; height : 100%;
} }
.journal { .journal {
margin-top : auto; margin-top : auto;
...@@ -91,10 +91,11 @@ var css = csjs` ...@@ -91,10 +91,11 @@ var css = csjs`
font-family : monospace; font-family : monospace;
} }
.search { .search {
display: flex; display : flex;
align-items: center; align-items : center;
width: 200px; width : 200px;
padding-left: 20px; padding-left : 20px;
height : 100%;
} }
.filter { .filter {
width : 200px; width : 200px;
...@@ -102,6 +103,7 @@ var css = csjs` ...@@ -102,6 +103,7 @@ var css = csjs`
margin-right : 0px; margin-right : 0px;
border-top-left-radius : 0px; border-top-left-radius : 0px;
border-bottom-left-radius : 0px; border-bottom-left-radius : 0px;
height : 100%;
} }
.searchIcon { .searchIcon {
height : 100%; height : 100%;
...@@ -114,11 +116,11 @@ var css = csjs` ...@@ -114,11 +116,11 @@ var css = csjs`
margin-right : 5px; margin-right : 5px;
} }
.listen { .listen {
margin-right: 30px; margin-right : 30px;
min-width: 40px; min-width : 40px;
height: 13px; height : 13px;
display: flex; display : flex;
align-items: center; align-items : center;
} }
.listenLabel { .listenLabel {
min-width: 50px; min-width: 50px;
...@@ -129,14 +131,14 @@ var css = csjs` ...@@ -129,14 +131,14 @@ var css = csjs`
} }
.pendingTx { .pendingTx {
border : 1px solid var(--secondary); border : 1px solid var(--secondary);
border-radius: 50%; border-radius : 50%;
margin-right: 30px; margin-right : 30px;
min-width: 13px; min-width : 13px;
height: 13px; height : 13px;
display: flex; display : flex;
justify-content: center; justify-content : center;
align-items: center; align-items : center;
font-size: 10px; font-size : 10px;
} }
.dragbarHorizontal { .dragbarHorizontal {
position : absolute; position : absolute;
......
...@@ -144,7 +144,7 @@ class Terminal { ...@@ -144,7 +144,7 @@ class Terminal {
${self._view.dropdown} ${self._view.dropdown}
<div class=${css.search}> <div class=${css.search}>
<i class="fa fa-search ${css.searchIcon} bg-light btn-light" aria-hidden="true"></i> <i class="fa fa-search ${css.searchIcon} bg-light btn-light" aria-hidden="true"></i>
<input spellcheck="false" type="text" class=${css.filter} onkeydown=${filter} placeholder="Search transactions"> <input spellcheck="false" type="text" class="${css.filter} form-control" onkeydown=${filter} placeholder="Search transactions">
</div> </div>
</div> </div>
</div> </div>
...@@ -158,7 +158,7 @@ class Terminal { ...@@ -158,7 +158,7 @@ class Terminal {
</div> </div>
` `
self._view.el = yo` self._view.el = yo`
<div class="${css.panel}"> <div class="${css.panel}" style="height: 180px;">
${self._view.bar} ${self._view.bar}
${self._view.term} ${self._view.term}
</div> </div>
......
...@@ -66,7 +66,7 @@ class Dropdown { ...@@ -66,7 +66,7 @@ class Dropdown {
return yo` return yo`
<div class=${css.option}> <div class=${css.option}>
${input} ${input}
<label for="${label}">${label}</label> <label class="text-dark" for="${label}">${label}</label>
</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