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
c48f803b
Commit
c48f803b
authored
Aug 14, 2017
by
ninabreznik
Committed by
yann300
Aug 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify dropdown menues = apply strickly from style-guide
parent
66260aac
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
48 deletions
+4
-48
browser-solidity.css
assets/css/browser-solidity.css
+0
-10
dropdown.js
src/app/dropdown.js
+0
-18
compile-tab.js
src/app/tabs/compile-tab.js
+0
-4
run-tab.js
src/app/tabs/run-tab.js
+1
-13
settings-tab.js
src/app/tabs/settings-tab.js
+0
-2
style-guide.js
src/style-guide.js
+3
-1
No files found.
assets/css/browser-solidity.css
View file @
c48f803b
...
...
@@ -200,16 +200,6 @@
font-weight
:
bold
;
}
#righthand-panel
#versionSelector
{
text-decoration
:
none
;
background-color
:
#C6CFF7
;
cursor
:
pointer
;
font-size
:
12px
;
color
:
black
;
border-radius
:
3px
;
border
:
0
none
;
}
.contract.hidesub
{
padding-bottom
:
0
;
margin
:
0
;
...
...
src/app/dropdown.js
deleted
100644 → 0
View file @
66260aac
var
yo
=
require
(
'yo-yo'
)
var
csjs
=
require
(
'csjs-inject'
)
// -------------- styling ----------------------
var
csjs
=
require
(
'csjs-inject'
)
var
styleGuide
=
require
(
'./style-guide'
)
var
styles
=
styleGuide
()
module
.
exports
=
dropdown
// options = []
function
dropdown
(
options
=
[])
{
var
el
=
yo
`
<select>
${
options
.
map
(
opt
=>
yo
`<option>
${
opt
}
</option>`
)}
</select>
`
}
src/app/tabs/compile-tab.js
View file @
c48f803b
...
...
@@ -73,11 +73,7 @@ var css = csjs`
align-items: center;
}
.contractNames extends
${
styles
.
dropdown
}
{
width: 250px;
margin-right: 5%;
height: 32px;
font-size: 12px;
font-weight: bold;
}
.contractButtons {
display: flex;
...
...
src/app/tabs/run-tab.js
View file @
c48f803b
...
...
@@ -44,8 +44,6 @@ var css = csjs`
float: left;
}
.select extends
${
styles
.
dropdown
}
{
width: 75%;
float: left;
text-align: center;
}
.copyaddress {
...
...
@@ -58,11 +56,6 @@ var css = csjs`
.copyaddress:hover {
opacity: 1;
}
.selectAddress extends
${
styles
.
dropdown
}
{
width: 70%;
float: left;
text-align: center;
}
.instanceContainer extends
${
styles
.
displayBox
}
{
display: flex;
flex-direction: column;
...
...
@@ -73,11 +66,6 @@ var css = csjs`
margin-top: 2%;
}
.contractNames extends
${
styles
.
dropdown
}
{
height: 32px;
font-size: 12px;
width: 100%;
font-weight: bold;
background-color:
${
styles
.
colors
.
lightGrey
}
}
.buttons {
display: flex;
...
...
@@ -371,7 +359,7 @@ function settings (appAPI, appEvents) {
</div>
<div class="
${
css
.
crow
}
">
<div class="
${
css
.
col1_1
}
">Account</div>
<select name="txorigin" class="
${
css
.
select
Address
}
" id="txorigin"></select>
<select name="txorigin" class="
${
css
.
select
}
" id="txorigin"></select>
<i title="Copy Address" class="copytxorigin fa fa-clipboard
${
css
.
copyaddress
}
" onclick=
${
copyAddress
}
aria-hidden="true"></i>
</div>
<div class="
${
css
.
crow
}
">
...
...
src/app/tabs/settings-tab.js
View file @
c48f803b
...
...
@@ -19,8 +19,6 @@ var css = csjs`
display: flex;
}
.select extends
${
styles
.
dropdown
}
{
float: left;
max-width: 90%;
}
}
`
...
...
src/style-guide.js
View file @
c48f803b
...
...
@@ -151,7 +151,8 @@ function styleGuide () {
}
.dropdown {
font-size : 10px;
font-size : 12px;
font-weight : bold;
padding : 0 8px;
text-decoration : none;
background-color :
${
colors
.
white
}
;
...
...
@@ -159,6 +160,7 @@ function styleGuide () {
border : 1px solid
${
colors
.
lightGrey
}
;
border-radius : 3px;
height : 30px;
width : 250px;
text-align : center;
overflow : hidden;
word-break : normal;
...
...
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