Commit f506cb93 authored by yann300's avatar yann300

add displayName && basic restyling

parent 96c8d644
...@@ -83,7 +83,6 @@ var css = csjs` ...@@ -83,7 +83,6 @@ var css = csjs`
overflow : hidden; overflow : hidden;
} }
.iconpanel { .iconpanel {
background-color : #fafafa;
display : flex; display : flex;
flex-direction : column; flex-direction : column;
position : absolute; position : absolute;
...@@ -92,6 +91,7 @@ var css = csjs` ...@@ -92,6 +91,7 @@ var css = csjs`
left : 0; left : 0;
overflow : hidden; overflow : hidden;
width : 50px; width : 50px;
border-right : 1px solid var(--primary);
} }
.swappanel { .swappanel {
display : flex; display : flex;
...@@ -185,7 +185,7 @@ class App { ...@@ -185,7 +185,7 @@ class App {
if (self._view.el) return self._view.el if (self._view.el) return self._view.el
// not resizable // not resizable
self._view.iconpanel = yo` self._view.iconpanel = yo`
<div id="icon-panel" class=${css.iconpanel}> <div id="icon-panel" class="${css.iconpanel} bg-primary">
${''} ${''}
</div> </div>
` `
......
...@@ -37,14 +37,14 @@ document.head.appendChild(yo` ...@@ -37,14 +37,14 @@ document.head.appendChild(yo`
.highlightreference { .highlightreference {
position:absolute; position:absolute;
z-index:20; z-index:20;
background-color: var(--secondary); background-color: var(--primary);
opacity: 0.6 opacity: 0.6
} }
.highlightreferenceline { .highlightreferenceline {
position:absolute; position:absolute;
z-index:20; z-index:20;
background-color: var(--secondary); background-color: var(--primary);
opacity: 0.6 opacity: 0.6
} }
......
...@@ -25,9 +25,12 @@ var css = csjs` ...@@ -25,9 +25,12 @@ var css = csjs`
width : 100%; width : 100%;
} }
.contextviewcontainer{ .contextviewcontainer{
width : 100%; position : absolute;
height : 20px; top : 39px;
background-color : var(--main-bg-color); z-index : 50;
left : 350px;
border-radius : 1px;
border : 2px solid var(--secondary);
} }
` `
...@@ -182,7 +185,7 @@ class EditorPanel { ...@@ -182,7 +185,7 @@ class EditorPanel {
self._view.content = yo` self._view.content = yo`
<div class=${css.content}> <div class=${css.content}>
${self.tabProxy.renderTabsbar()} ${self.tabProxy.renderTabsbar()}
<div class=${css.contextviewcontainer}> <div class="${css.contextviewcontainer} bg-secondary border-top-0">
${self._components.contextView.render()} ${self._components.contextView.render()}
</div> </div>
${self._view.editor} ${self._view.editor}
......
...@@ -9,14 +9,12 @@ var css = csjs` ...@@ -9,14 +9,12 @@ var css = csjs`
display : flex; display : flex;
flex-direction : column; flex-direction : column;
flex-wrap : wrap; flex-wrap : wrap;
justify-content : space-between;
align-items : center; align-items : center;
align-content : space-around; align-content : space-around;
border : 2px solid black; border : 2px solid black;
width : 400px; width : 400px;
padding : 50px; padding : 50px;
background-color: #bfbfbf;
font-family : "Lucida Console", Monaco, monospace font-family : "Lucida Console", Monaco, monospace
} }
` `
...@@ -28,11 +26,8 @@ class LandingPage { ...@@ -28,11 +26,8 @@ class LandingPage {
render () { render () {
var totalLook = yo` var totalLook = yo`
<div class=${css.container}> <div class="${css.container} bg-secondary">
<h1> Remix </h1> <h1> Remix </h1>
<br>
<br>
<br>
</div> </div>
` `
for (var i = 0; i < this.sections.length; i++) { for (var i = 0; i < this.sections.length; i++) {
......
...@@ -8,7 +8,6 @@ var css = csjs` ...@@ -8,7 +8,6 @@ var css = csjs`
align-items : center; align-items : center;
width : 400px; width : 400px;
padding : 50px; padding : 50px;
background-color: #bfbfbf;
font-family : "Lucida Console", Monaco, monospace font-family : "Lucida Console", Monaco, monospace
} }
a:link { a:link {
...@@ -26,24 +25,21 @@ class Section { ...@@ -26,24 +25,21 @@ class Section {
render () { render () {
var sectionLook = yo` var sectionLook = yo`
<div class=${css.item}> <div class="${css.item}">
<h2> ${this.title} </h2> <h2> ${this.title} </h2>
<br>
<br>
<br>
</div> </div>
` `
for (var i = 0; i < this.actions.length; i++) { for (var i = 0; i < this.actions.length; i++) {
if (this.actions[i].type === `callback`) { if (this.actions[i].type === `callback`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div> <div>
<span onclick= ${this.actions[i].payload} > ${this.actions[i].label} </span> <span class='text-warning h6' style="cursor:pointer;" onclick= ${this.actions[i].payload} > ${this.actions[i].label} </span>
</div> </div>
`) `)
} else if (this.actions[i].type === `link`) { } else if (this.actions[i].type === `link`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div> <div>
<a href= ${this.actions[i].payload} target="_blank" > ${this.actions[i].label} </a> <a class='text-warning h6' href= ${this.actions[i].payload} target="_blank" > ${this.actions[i].label} </a>
</div> </div>
`) `)
} }
......
...@@ -10,7 +10,7 @@ const css = csjs` ...@@ -10,7 +10,7 @@ const css = csjs`
bottom : 0; bottom : 0;
cursor : col-resize; cursor : col-resize;
z-index : 999; z-index : 999;
border-right : var(--primary); border-right : 2px solid var(--primary);
} }
.ghostbar { .ghostbar {
width : 3px; width : 3px;
......
...@@ -60,6 +60,7 @@ export class RemixAppManager extends AppManagerApi { ...@@ -60,6 +60,7 @@ export class RemixAppManager extends AppManagerApi {
plugins () { plugins () {
let vyper = { let vyper = {
displayName: 'vyper',
name: 'vyper', name: 'vyper',
events: ['compilationFinished'], events: ['compilationFinished'],
methods: [], methods: [],
...@@ -69,7 +70,8 @@ export class RemixAppManager extends AppManagerApi { ...@@ -69,7 +70,8 @@ export class RemixAppManager extends AppManagerApi {
icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMjYyIDEwNzVxLTM3IDEyMS0xMzggMTk1dC0yMjggNzQtMjI4LTc0LTEzOC0xOTVxLTgtMjUgNC00OC41dDM4LTMxLjVxMjUtOCA0OC41IDR0MzEuNSAzOHEyNSA4MCA5Mi41IDEyOS41dDE1MS41IDQ5LjUgMTUxLjUtNDkuNSA5Mi41LTEyOS41cTgtMjYgMzItMzh0NDktNCAzNyAzMS41IDQgNDguNX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TgtMjYgMzItMzh0NDktNCAzNyAzMS41IDQgNDguNXptLTQ5NC00MzVxMCA1My0zNy41IDkwLjV0LTkwLjUgMzcuNS05MC41LTM3LjUtMzcuNS05MC41IDM3LjUtOTAuNSA5MC41LTM3LjUgOTAuNSAzNy41IDM3LjUgOTAuNXptNTEyIDBxMCA1My0zNy41IDkwLjV0LTkwLjUgMzcuNS05MC41LTM3LjUtMzcuNS05MC41IDM3LjUtOTAuNSA5MC41LTM3LjUgOTAuNSAzNy41IDM3LjUgOTAuNXptMjU2IDI1NnEwLTEzMC01MS0yNDguNXQtMTM2LjUtMjA0LTIwNC0xMzYuNS0yNDguNS01MS0yNDguNSA1MS0yMDQgMTM2LjUtMTM2LjUgMjA0LTUxIDI0OC41IDUxIDI0OC41IDEzNi41IDIwNCAyMDQgMTM2LjUgMjQ4LjUgNTEgMjQ4LjUtNTEgMjA0LTEzNi41IDEzNi41LTIwNCA1MS0yNDguNXptMTI4IDBxMCAyMDktMTAzIDM4NS41dC0yNzkuNSAyNzkuNS0zODUuNSAxMDMtMzg1LjUtMTAzLTI3OS41LTI3OS41LTEwMy0zODUuNSAxMDMtMzg1LjUgMjc5LjUtMjc5LjUgMzg1LjUtMTAzIDM4NS41IDEwMyAyNzkuNSAyNzkuNSAxMDMgMzg1LjV6Ii8+PC9zdmc+'
} }
let ethDoc = { let ethDoc = {
name: 'eth doc', displayName: 'eth doc',
name: 'ethDoc',
events: ['newDoc'], events: ['newDoc'],
methods: ['getdoc'], methods: ['getdoc'],
notifications: { notifications: {
...@@ -79,6 +81,7 @@ export class RemixAppManager extends AppManagerApi { ...@@ -79,6 +81,7 @@ export class RemixAppManager extends AppManagerApi {
description: 'generate solidity documentation' description: 'generate solidity documentation'
} }
var pipeline = { var pipeline = {
displayName: 'pipeline',
name: 'pipeline', name: 'pipeline',
events: [], events: [],
methods: [], methods: [],
......
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