move staticAnalysisView styles to its own file

pull/1/head
Iuri Matias 7 years ago
parent 8d999d9f32
commit 965737a0d8
  1. 33
      src/app/staticanalysis/staticAnalysisView.js
  2. 37
      src/app/staticanalysis/styles/staticAnalysisView-styles.js

@ -4,42 +4,13 @@ var yo = require('yo-yo')
var $ = require('jquery')
var remixLib = require('remix-lib')
var utils = remixLib.util
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.themeChooser
var styles = styleGuide.chooser()
var EventManager = remixLib.EventManager
var css = require('./styles/staticAnalysisView-styles')
var css = csjs`
.analysis {
display: flex;
flex-direction: column;
}
.result {
margin-top: 1%;
}
.buttons {
${styles.rightPanel.analysisTab.box_AnalysisContainer}
display: flex;
align-items: center;
}
.buttonRun {
${styles.rightPanel.analysisTab.button_Run_AnalysisTab}
margin-right: 1%;
}
.analysisModulesContainer {
${styles.rightPanel.analysisTab.box_AnalysisContainer}
margin-bottom: 1%;
line-height: 2em;
display: flex;
flex-direction: column;
}
.label {
display: flex;
align-items: center;
}
`
var EventManager = remixLib.EventManager
function staticAnalysisView (appAPI, compilerEvent) {
this.event = new EventManager()

@ -0,0 +1,37 @@
var remixLib = require('remix-lib')
var csjs = require('csjs-inject')
var styleGuide = remixLib.ui.themeChooser
var styles = styleGuide.chooser()
var css = csjs`
.analysis {
display: flex;
flex-direction: column;
}
.result {
margin-top: 1%;
}
.buttons {
${styles.rightPanel.analysisTab.box_AnalysisContainer}
display: flex;
align-items: center;
}
.buttonRun {
${styles.rightPanel.analysisTab.button_Run_AnalysisTab}
margin-right: 1%;
}
.analysisModulesContainer {
${styles.rightPanel.analysisTab.box_AnalysisContainer}
margin-bottom: 1%;
line-height: 2em;
display: flex;
flex-direction: column;
}
.label {
display: flex;
align-items: center;
}
`
module.exports = css
Loading…
Cancel
Save