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
d5f51844
Unverified
Commit
d5f51844
authored
Apr 03, 2019
by
yann300
Committed by
GitHub
Apr 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1788 from ethereum/bootstrap_icon_plus
Bootstrap icon plus
parents
671ac6c9
c2771dae
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
10 deletions
+18
-10
app.js
src/app.js
+2
-2
swap-panel-component.js
src/app/components/swap-panel-component.js
+11
-3
theme-chooser.js
src/app/ui/styles-guide/theme-chooser.js
+4
-4
panels-resize.js
src/lib/panels-resize.js
+1
-1
No files found.
src/app.js
View file @
d5f51844
...
@@ -91,7 +91,7 @@ var css = csjs`
...
@@ -91,7 +91,7 @@ var css = csjs`
left : 0;
left : 0;
overflow : hidden;
overflow : hidden;
width : 50px;
width : 50px;
border-right : 1px solid var(--primary);
/* border-right : 1px solid var(--primary); */
}
}
.swappanel {
.swappanel {
display : flex;
display : flex;
...
@@ -187,7 +187,7 @@ class App extends ApiFactory {
...
@@ -187,7 +187,7 @@ class App extends ApiFactory {
if
(
self
.
_view
.
el
)
return
self
.
_view
.
el
if
(
self
.
_view
.
el
)
return
self
.
_view
.
el
// not resizable
// not resizable
self
.
_view
.
iconpanel
=
yo
`
self
.
_view
.
iconpanel
=
yo
`
<div id="icon-panel" class="
${
css
.
iconpanel
}
bg-
primary
">
<div id="icon-panel" class="
${
css
.
iconpanel
}
bg-
light
">
${
''
}
${
''
}
</div>
</div>
`
`
...
...
src/app/components/swap-panel-component.js
View file @
d5f51844
...
@@ -36,7 +36,7 @@ class SwapPanelComponent {
...
@@ -36,7 +36,7 @@ class SwapPanelComponent {
this
.
contents
[
moduleName
].
style
.
display
=
'block'
this
.
contents
[
moduleName
].
style
.
display
=
'block'
this
.
currentNode
=
moduleName
this
.
currentNode
=
moduleName
var
api
=
this
.
store
.
getOne
(
moduleName
)
var
api
=
this
.
store
.
getOne
(
moduleName
)
this
.
header
.
innerHTML
=
api
.
profile
?
api
.
profile
.
displayName
:
' - '
this
.
header
.
querySelector
(
'h6'
).
innerHTML
=
api
.
profile
?
api
.
profile
.
displayName
:
' - '
return
return
}
}
}
}
...
@@ -59,7 +59,7 @@ class SwapPanelComponent {
...
@@ -59,7 +59,7 @@ class SwapPanelComponent {
<div id='plugins' class=
${
css
.
plugins
}
>
<div id='plugins' class=
${
css
.
plugins
}
>
</div>
</div>
`
`
this
.
header
=
yo
`<header class="
navbar navbar-dark bg-dark text-warning"><h2 class="navbar-brand"></h2>
</header>`
this
.
header
=
yo
`<header class="
${
css
.
swapitHeader
}
"><h6 class="
${
css
.
swapitTitle
}
"></h6>
</header>`
if
(
!
this
.
opt
.
displayHeader
)
this
.
header
.
style
.
display
=
'none'
if
(
!
this
.
opt
.
displayHeader
)
this
.
header
.
style
.
display
=
'none'
return
yo
`<div class=
${
css
.
pluginsContainer
}
>
return
yo
`<div class=
${
css
.
pluginsContainer
}
>
...
@@ -77,7 +77,7 @@ const css = csjs`
...
@@ -77,7 +77,7 @@ const css = csjs`
}
}
.plugItIn {
.plugItIn {
display : none;
display : none;
height
: 100%
;
height
: calc(100% - 50px)
;
}
}
.plugItIn > div {
.plugItIn > div {
overflow-y : auto;
overflow-y : auto;
...
@@ -91,4 +91,12 @@ const css = csjs`
...
@@ -91,4 +91,12 @@ const css = csjs`
height: 100%;
height: 100%;
overflow-y: hidden;
overflow-y: hidden;
}
}
.swapitTitle {
text-transform: uppercase;
}
.swapitHeader {
height: 50px;
padding-top: 16px;
padding-left: 27px;
}
`
`
src/app/ui/styles-guide/theme-chooser.js
View file @
d5f51844
...
@@ -3,21 +3,21 @@ var EventEmitter = require('events')
...
@@ -3,21 +3,21 @@ var EventEmitter = require('events')
// TODO : Put it somewhere else
// TODO : Put it somewhere else
const
themes
=
[
const
themes
=
[
{
name
:
'Cerulean'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/cerulean/bootstrap.min.css'
},
{
name
:
'Flatly'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/flatly/bootstrap.min.css'
},
{
name
:
'Flatly'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/flatly/bootstrap.min.css'
},
{
name
:
'Journal'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/journal/bootstrap.min.css'
},
{
name
:
'Lumen'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/lumen/bootstrap.min.css'
},
{
name
:
'Lumen'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/lumen/bootstrap.min.css'
},
{
name
:
'Minty'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/minty/bootstrap.min.css'
},
{
name
:
'Minty'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/minty/bootstrap.min.css'
},
{
name
:
'Pulse'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/pulse/bootstrap.min.css'
},
{
name
:
'Sandstone'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/sandstone/bootstrap.min.css'
},
{
name
:
'Sandstone'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/sandstone/bootstrap.min.css'
},
{
name
:
'Spacelab'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/spacelab/bootstrap.min.css'
},
{
name
:
'Spacelab'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/spacelab/bootstrap.min.css'
},
{
name
:
'United'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/united/bootstrap.min.css'
},
{
name
:
'Yeti'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/yeti/bootstrap.min.css'
},
{
name
:
'Yeti'
,
quality
:
'light'
,
url
:
'https://bootswatch.com/4/yeti/bootstrap.min.css'
},
{
name
:
'Cyborg'
,
quality
:
'dark'
,
url
:
'https://bootswatch.com/4/cyborg/bootstrap.min.css'
},
{
name
:
'Cyborg'
,
quality
:
'dark'
,
url
:
'https://bootswatch.com/4/cyborg/bootstrap.min.css'
},
{
name
:
'Darkly'
,
quality
:
'dark'
,
url
:
'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/darkly/bootstrap.min.css'
},
{
name
:
'Darkly'
,
quality
:
'dark'
,
url
:
'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/darkly/bootstrap.min.css'
},
{
name
:
'Slate'
,
quality
:
'dark'
,
url
:
'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'
},
{
name
:
'Slate'
,
quality
:
'dark'
,
url
:
'https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/slate/bootstrap.min.css'
},
{
name
:
'Superhero'
,
quality
:
'dark'
,
url
:
'https://
bootswatch.com/4
/superhero/bootstrap.min.css'
}
{
name
:
'Superhero'
,
quality
:
'dark'
,
url
:
'https://
stackpath.bootstrapcdn.com/bootswatch/4.3.1
/superhero/bootstrap.min.css'
}
]
]
const
defaultTheme
=
'
Superhero
'
const
defaultTheme
=
'
Cerulean
'
module
.
exports
=
{
module
.
exports
=
{
event
:
new
EventEmitter
(),
event
:
new
EventEmitter
(),
...
...
src/lib/panels-resize.js
View file @
d5f51844
...
@@ -10,7 +10,7 @@ const css = csjs`
...
@@ -10,7 +10,7 @@ const css = csjs`
bottom : 0;
bottom : 0;
cursor : col-resize;
cursor : col-resize;
z-index : 999;
z-index : 999;
border-right : 2px solid var(--primary);
/* border-right : 2px solid var(--primary); */
}
}
.ghostbar {
.ghostbar {
width : 3px;
width : 3px;
...
...
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