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
f7511bd3
Commit
f7511bd3
authored
Oct 03, 2017
by
ninabreznik
Committed by
yann300
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First draft - themeable Remix
parent
b7f8f151
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
16 deletions
+27
-16
ButtonNavigator.js
src/ui/ButtonNavigator.js
+6
-6
CodeListView.js
src/ui/CodeListView.js
+12
-1
DropdownPanel.js
src/ui/DropdownPanel.js
+5
-5
TxBrowser.js
src/ui/TxBrowser.js
+4
-4
style-guide.js
src/ui/styles/style-guide.js
+0
-0
No files found.
src/ui/ButtonNavigator.js
View file @
f7511bd3
...
...
@@ -14,24 +14,24 @@ var css = csjs`
.stepButtons {
width: 100%;
display: flex;
justify-content: center
justify-content: center
;
}
.stepButton {
${
styles
.
button
}
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger
}
}
.jumpButtons {
width: 100%;
display: flex;
justify-content: center
justify-content: center
;
}
.jumpButton {
${
styles
.
button
}
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger
}
}
.navigator {
color:
${
styles
.
colors
.
black
}
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_Color
}
;
}
.navigator:hover {
color:
${
styles
.
colors
.
orange
}
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_HoverColor
}
;
}
`
...
...
src/ui/CodeListView.js
View file @
f7511bd3
...
...
@@ -4,7 +4,18 @@ var yo = require('yo-yo')
var
ui
=
require
(
'../helpers/ui'
)
var
DropdownPanel
=
require
(
'./DropdownPanel'
)
var
EventManager
=
require
(
'../lib/eventManager'
)
var
csjs
=
require
(
'csjs-inject'
)
var
styleGuide
=
require
(
'./styles/style-guide'
)
var
styles
=
styleGuide
()
var
css
=
csjs
`
.instructions {
${
styles
.
rightPanel
.
debuggerTab
.
box_Debugger
}
width: 75%;
overflow-y: scroll;
max-height: 250px;
}
`
function
CodeListView
(
_parent
,
_codeManager
)
{
this
.
event
=
new
EventManager
()
this
.
parent
=
_parent
...
...
@@ -69,7 +80,7 @@ CodeListView.prototype.renderAssemblyItems = function () {
var
codeView
=
this
.
code
.
map
(
function
(
item
,
i
)
{
return
yo
`<div key=
${
i
}
value=
${
i
}
><span>
${
item
}
</span></div>`
})
return
yo
`<div
id='asmitems' ref='itemsList' style=
${
ui
.
formatCss
(
style
.
instructionsList
)}
>
return
yo
`<div
class=
${
css
.
instructions
}
id='asmitems' ref='itemsList'
>
${
codeView
}
</div>`
}
...
...
src/ui/DropdownPanel.js
View file @
f7511bd3
...
...
@@ -13,25 +13,25 @@ var styles = styleGuide()
var
css
=
csjs
`
.title {
margin-top: 10px;
${
styles
.
dropdown
}
${
styles
.
rightPanel
.
debuggerTab
.
dropdown_Debugger
}
display: flex;
align-items: center;
}
.name {
color:
${
styles
.
colors
.
black
}
;
font-weight: bold;
}
.icon {
color:
${
styles
.
colors
.
black
}
;
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_Color
}
;
margin-right: 5%;
}
.eyeButton {
${
styles
.
button
}
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger
}
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_Color
}
;
margin: 3px;
float: right;
}
.eyeButton:hover {
color:
${
styles
.
colors
.
orange
}
;
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_HoverColor
}
;
}
`
...
...
src/ui/TxBrowser.js
View file @
f7511bd3
...
...
@@ -25,7 +25,7 @@ var css = csjs`
justify-content: center;
}
.txinput {
${
styles
.
inputField
}
${
styles
.
rightPanel
.
debuggerTab
.
input_Debugger
}
min-width: 30px;
margin: 3px;
}
...
...
@@ -35,11 +35,11 @@ var css = csjs`
justify-content: center;
}
.txbutton {
${
styles
.
button
}
color:
${
styles
.
colors
.
black
}
;
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger
}
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_Color
}
;
}
.txbutton:hover {
color:
${
styles
.
colors
.
orange
}
;
color:
${
styles
.
rightPanel
.
debuggerTab
.
button_Debugger_icon_HoverColor
}
;
}
.txinfo {
margin-top: 5px;
...
...
src/ui/styles/style-guide.js
View file @
f7511bd3
This diff is collapsed.
Click to expand it.
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