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
88c6954a
Commit
88c6954a
authored
Feb 09, 2018
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move contextView styles to its own file
parent
134245e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
49 deletions
+54
-49
contextView.js
src/app/editor/contextView.js
+1
-49
contextView-styles.js
src/app/editor/styles/contextView-styles.js
+53
-0
No files found.
src/app/editor/contextView.js
View file @
88c6954a
'use strict'
var
yo
=
require
(
'yo-yo'
)
var
csjs
=
require
(
'csjs-inject'
)
var
remixLib
=
require
(
'remix-lib'
)
var
styleGuide
=
remixLib
.
ui
.
themeChooser
var
styles
=
styleGuide
.
chooser
()
var
SourceMappingDecoder
=
remixLib
.
SourceMappingDecoder
var
css
=
csjs
`
.contextview {
opacity : 0.8;
}
.container {
padding : 1px 15px;
}
.line {
display : flex;
justify-content : flex-end;
align-items : center;
text-overflow : ellipsis;
overflow : hidden;
white-space : nowrap;
color :
${
styles
.
editor
.
text_Primary
}
;
font-size : 11px;
}
.type {
font-style : italic;
margin-right : 5px;
}
.name {
font-weight : bold;
}
.jump {
cursor : pointer;
margin : 0 5px;
color :
${
styles
.
editor
.
icon_Color_Editor
}
;
}
.jump:hover {
color :
${
styles
.
editor
.
icon_HoverColor_Editor
}
;
}
.referencesnb {
float : right;
margin-left : 15px;
}
.gasEstimation {
margin-left: 15px;
display: flex;
align-items: center;
}
.gasStationIcon {
height: 13px;
margin-right: 5px;
}
`
var
css
=
require
(
'./styles/contextView-styles'
)
/*
Display information about the current focused code:
...
...
src/app/editor/styles/contextView-styles.js
0 → 100644
View file @
88c6954a
var
csjs
=
require
(
'csjs-inject'
)
var
remixLib
=
require
(
'remix-lib'
)
var
styleGuide
=
remixLib
.
ui
.
themeChooser
var
styles
=
styleGuide
.
chooser
()
var
css
=
csjs
`
.contextview {
opacity : 0.8;
}
.container {
padding : 1px 15px;
}
.line {
display : flex;
justify-content : flex-end;
align-items : center;
text-overflow : ellipsis;
overflow : hidden;
white-space : nowrap;
color :
${
styles
.
editor
.
text_Primary
}
;
font-size : 11px;
}
.type {
font-style : italic;
margin-right : 5px;
}
.name {
font-weight : bold;
}
.jump {
cursor : pointer;
margin : 0 5px;
color :
${
styles
.
editor
.
icon_Color_Editor
}
;
}
.jump:hover {
color :
${
styles
.
editor
.
icon_HoverColor_Editor
}
;
}
.referencesnb {
float : right;
margin-left : 15px;
}
.gasEstimation {
margin-left: 15px;
display: flex;
align-items: center;
}
.gasStationIcon {
height: 13px;
margin-right: 5px;
}
`
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