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
0fd31344
Commit
0fd31344
authored
Feb 06, 2018
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move css styles of settings-tab to its own file
parent
23545fb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
74 deletions
+79
-74
settings-tab.js
src/app/tabs/settings-tab.js
+3
-74
settings-tab-styles.js
src/app/tabs/styles/settings-tab-styles.js
+76
-0
No files found.
src/app/tabs/settings-tab.js
View file @
0fd31344
...
...
@@ -5,83 +5,10 @@ var QueryParams = require('../../lib/query-params')
var
remixLib
=
require
(
'remix-lib'
)
var
Storage
=
remixLib
.
Storage
var
styleGuide
=
remixLib
.
ui
.
themeChooser
// -------------- styling ----------------------
var
csjs
=
require
(
'csjs-inject'
)
var
styles
=
styleGuide
.
chooser
()
var
helper
=
require
(
'../../lib/helper'
)
var
modal
=
require
(
'../ui/modal-dialog-custom'
)
var
css
=
csjs
`
.settingsTabView {
padding: 2%;
display: flex;
}
.info {
${
styles
.
rightPanel
.
settingsTab
.
box_SolidityVersionInfo
}
margin-bottom: 1em;
word-break: break-word;
}
.title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 1em;
}
.crow {
display: flex;
overflow: auto;
clear: both;
padding: .2em;
}
.checkboxText {
font-weight: normal;
}
.crow label {
cursor:pointer;
}
.crowNoFlex {
overflow: auto;
clear: both;
}
.attention {
margin-bottom: 1em;
padding: .5em;
font-weight: bold;
}
.select {
font-weight: bold;
margin-top: 1em;
${
styles
.
rightPanel
.
settingsTab
.
dropdown_SelectCompiler
}
}
.heading {
margin-bottom: 0;
}
.explaination {
margin-top: 3px;
margin-bottom: 3px;
}
input {
margin-right: 5px;
cursor: pointer;
}
input[type=radio] {
margin-top: 2px;
}
.pluginTextArea {
font-family: unset;
}
.pluginLoad {
vertical-align: top;
}
i.warnIt {
color:
${
styles
.
appProperties
.
warningText_Color
}
;
}
.icon {
margin-right: .5em;
}
}
`
module
.
exports
=
SettingsTab
var
css
=
require
(
'./styles/settings-tab-styles'
)
function
SettingsTab
(
container
,
appAPI
,
appEvents
,
opts
)
{
if
(
typeof
container
===
'string'
)
container
=
document
.
querySelector
(
container
)
...
...
@@ -305,3 +232,5 @@ function loadVersion (version, queryParams, appAPI, el) {
setVersionText
(
'(loading)'
,
el
)
}
}
module
.
exports
=
SettingsTab
src/app/tabs/styles/settings-tab-styles.js
0 → 100644
View file @
0fd31344
var
csjs
=
require
(
'csjs-inject'
)
var
remixLib
=
require
(
'remix-lib'
)
var
styleGuide
=
remixLib
.
ui
.
themeChooser
var
styles
=
styleGuide
.
chooser
()
var
css
=
csjs
`
.settingsTabView {
padding: 2%;
display: flex;
}
.info {
${
styles
.
rightPanel
.
settingsTab
.
box_SolidityVersionInfo
}
margin-bottom: 1em;
word-break: break-word;
}
.title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 1em;
}
.crow {
display: flex;
overflow: auto;
clear: both;
padding: .2em;
}
.checkboxText {
font-weight: normal;
}
.crow label {
cursor:pointer;
}
.crowNoFlex {
overflow: auto;
clear: both;
}
.attention {
margin-bottom: 1em;
padding: .5em;
font-weight: bold;
}
.select {
font-weight: bold;
margin-top: 1em;
${
styles
.
rightPanel
.
settingsTab
.
dropdown_SelectCompiler
}
}
.heading {
margin-bottom: 0;
}
.explaination {
margin-top: 3px;
margin-bottom: 3px;
}
input {
margin-right: 5px;
cursor: pointer;
}
input[type=radio] {
margin-top: 2px;
}
.pluginTextArea {
font-family: unset;
}
.pluginLoad {
vertical-align: top;
}
i.warnIt {
color:
${
styles
.
appProperties
.
warningText_Color
}
;
}
.icon {
margin-right: .5em;
}
}
`
module
.
exports
=
css
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