Commit f7511bd3 authored by ninabreznik's avatar ninabreznik Committed by yann300

First draft - themeable Remix

parent b7f8f151
...@@ -14,24 +14,24 @@ var css = csjs` ...@@ -14,24 +14,24 @@ var css = csjs`
.stepButtons { .stepButtons {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center justify-content: center;
} }
.stepButton { .stepButton {
${styles.button} ${styles.rightPanel.debuggerTab.button_Debugger}
} }
.jumpButtons { .jumpButtons {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: center justify-content: center;
} }
.jumpButton { .jumpButton {
${styles.button} ${styles.rightPanel.debuggerTab.button_Debugger}
} }
.navigator { .navigator {
color: ${styles.colors.black} color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_Color};
} }
.navigator:hover { .navigator:hover {
color: ${styles.colors.orange} color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_HoverColor};
} }
` `
......
...@@ -4,7 +4,18 @@ var yo = require('yo-yo') ...@@ -4,7 +4,18 @@ var yo = require('yo-yo')
var ui = require('../helpers/ui') var ui = require('../helpers/ui')
var DropdownPanel = require('./DropdownPanel') var DropdownPanel = require('./DropdownPanel')
var EventManager = require('../lib/eventManager') 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) { function CodeListView (_parent, _codeManager) {
this.event = new EventManager() this.event = new EventManager()
this.parent = _parent this.parent = _parent
...@@ -69,7 +80,7 @@ CodeListView.prototype.renderAssemblyItems = function () { ...@@ -69,7 +80,7 @@ CodeListView.prototype.renderAssemblyItems = function () {
var codeView = this.code.map(function (item, i) { var codeView = this.code.map(function (item, i) {
return yo`<div key=${i} value=${i}><span>${item}</span></div>` 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} ${codeView}
</div>` </div>`
} }
......
...@@ -13,25 +13,25 @@ var styles = styleGuide() ...@@ -13,25 +13,25 @@ var styles = styleGuide()
var css = csjs` var css = csjs`
.title { .title {
margin-top: 10px; margin-top: 10px;
${styles.dropdown} ${styles.rightPanel.debuggerTab.dropdown_Debugger}
display: flex; display: flex;
align-items: center; align-items: center;
} }
.name { .name {
color: ${styles.colors.black};
font-weight: bold; font-weight: bold;
} }
.icon { .icon {
color: ${styles.colors.black}; color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_Color};
margin-right: 5%; margin-right: 5%;
} }
.eyeButton { .eyeButton {
${styles.button} ${styles.rightPanel.debuggerTab.button_Debugger}
color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_Color};
margin: 3px; margin: 3px;
float: right; float: right;
} }
.eyeButton:hover { .eyeButton:hover {
color: ${styles.colors.orange}; color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_HoverColor};
} }
` `
......
...@@ -25,7 +25,7 @@ var css = csjs` ...@@ -25,7 +25,7 @@ var css = csjs`
justify-content: center; justify-content: center;
} }
.txinput { .txinput {
${styles.inputField} ${styles.rightPanel.debuggerTab.input_Debugger}
min-width: 30px; min-width: 30px;
margin: 3px; margin: 3px;
} }
...@@ -35,11 +35,11 @@ var css = csjs` ...@@ -35,11 +35,11 @@ var css = csjs`
justify-content: center; justify-content: center;
} }
.txbutton { .txbutton {
${styles.button} ${styles.rightPanel.debuggerTab.button_Debugger}
color: ${styles.colors.black}; color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_Color};
} }
.txbutton:hover { .txbutton:hover {
color: ${styles.colors.orange}; color: ${styles.rightPanel.debuggerTab.button_Debugger_icon_HoverColor};
} }
.txinfo { .txinfo {
margin-top: 5px; margin-top: 5px;
......
This diff is collapsed.
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