Add light theme

pull/1/head
alexcherman 5 years ago committed by Rob Stupay
parent 4e7c94ce84
commit f29335d85d
  1. 2
      src/app/udapp/run-tab.js
  2. 2
      src/app/ui/copy-to-clipboard.js
  3. 6
      src/universal-dapp-styles.js

@ -142,7 +142,7 @@ export class RunTab extends LibraryPlugin {
const expandedView = yo` const expandedView = yo`
<div class=${css.recorderExpandedView}> <div class=${css.recorderExpandedView}>
<div class=${css.recorderDescription}> <div class="${css.recorderDescription} mt-2">
All transactions (deployed contracts and function executions) in this environment can be saved and replayed in All transactions (deployed contracts and function executions) in this environment can be saved and replayed in
another environment. e.g Transactions created in Javascript VM can be replayed in the Injected Web3. another environment. e.g Transactions created in Javascript VM can be replayed in the Injected Web3.
</div> </div>

@ -12,7 +12,7 @@ var css = csjs`
} }
` `
module.exports = function copyToClipboard (getContent, tip = 'Copy value to clipboard', icon = 'fa-clipboard') { module.exports = function copyToClipboard (getContent, tip = 'Copy value to clipboard', icon = 'fa-copy') {
var copyIcon = yo`<i title="${tip}" class="${css.copyIcon} far ${icon}" aria-hidden="true"></i>` var copyIcon = yo`<i title="${tip}" class="${css.copyIcon} far ${icon}" aria-hidden="true"></i>`
copyIcon.onclick = (event) => { copyIcon.onclick = (event) => {
event.stopPropagation() event.stopPropagation()

@ -14,7 +14,6 @@ var css = csjs`
word-break: break-word; word-break: break-word;
line-height: initial; line-height: initial;
overflow: visible; overflow: visible;
margin-bottom: 8px;
padding: 8px 10px; padding: 8px 10px;
} }
.titleLine { .titleLine {
@ -49,7 +48,8 @@ var css = csjs`
.instance { .instance {
display: block; display: block;
flex-direction: column; flex-direction: column;
margin-bottom: 10px; margin-bottom: 12px;
padding: 0 4px;
} }
.instance.hidesub .title { .instance.hidesub .title {
display: flex; display: flex;
@ -75,7 +75,7 @@ var css = csjs`
border-bottom-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem;
border-top-rightt-radius: 0; border-top-rightt-radius: 0;
border-bottom-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem;
padding: 0 10px 7px; padding: 8px 10px 7px;
} }
.group:after { .group:after {
content: ""; content: "";

Loading…
Cancel
Save