Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
245a7fb2
Commit
245a7fb2
authored
Apr 03, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed style of terminal menu bar and dropdown menu
parent
07219ced
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
24 deletions
+26
-24
terminal-styles.js
src/app/panels/styles/terminal-styles.js
+23
-21
terminal.js
src/app/panels/terminal.js
+2
-2
dropdown.js
src/app/ui/dropdown.js
+1
-1
No files found.
src/app/panels/styles/terminal-styles.js
View file @
245a7fb2
...
@@ -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;
...
...
src/app/panels/terminal.js
View file @
245a7fb2
...
@@ -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>
...
...
src/app/ui/dropdown.js
View file @
245a7fb2
...
@@ -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>
`
`
})}
})}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment