Update with recent @parity/ui
This commit is contained in:
parent
dc85c66052
commit
6e2e122288
654
js/package-lock.json
generated
654
js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -151,6 +151,7 @@
|
|||||||
"@parity/dapp-contracts": "paritytech/dapp-contracts",
|
"@parity/dapp-contracts": "paritytech/dapp-contracts",
|
||||||
"@parity/dapp-dapp-accounts": "paritytech/dapp-dapp-accounts",
|
"@parity/dapp-dapp-accounts": "paritytech/dapp-dapp-accounts",
|
||||||
"@parity/dapp-dapp-methods": "paritytech/dapp-dapp-methods",
|
"@parity/dapp-dapp-methods": "paritytech/dapp-dapp-methods",
|
||||||
|
"@parity/dapp-dapp-visible": "paritytech/dapp-dapp-visible",
|
||||||
"@parity/dapp-dappreg": "paritytech/dapp-dappreg",
|
"@parity/dapp-dappreg": "paritytech/dapp-dappreg",
|
||||||
"@parity/dapp-develop": "paritytech/dapp-develop",
|
"@parity/dapp-develop": "paritytech/dapp-develop",
|
||||||
"@parity/dapp-githubhint": "paritytech/dapp-githubhint",
|
"@parity/dapp-githubhint": "paritytech/dapp-githubhint",
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
/* along with Parity. If not; see <http://www.gnu.org/licenses/>.
|
/* along with Parity. If not; see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import '../ParityBar/_colors.css';
|
||||||
|
|
||||||
.overlay {
|
.overlay {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -35,13 +37,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
|
background: $backgroundColor;
|
||||||
|
background: $backgroundGradient;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.25) 0 14px 45px, rgba(0, 0, 0, 0.22) 0 10px 18px;
|
||||||
|
color: rgb(208, 208, 208);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
max-width: 40em;
|
||||||
padding: 2em 4em;
|
padding: 2em 4em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 40em;
|
|
||||||
background: rgba(25, 25, 25, 0.75);
|
|
||||||
color: rgb(208, 208, 208);
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.25) 0 14px 45px, rgba(0, 0, 0, 0.22) 0 10px 18px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
21
js/src/ParityBar/_colors.css
Normal file
21
js/src/ParityBar/_colors.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/* Copyright 2015-2017 Parity Technologies (UK) Ltd.
|
||||||
|
/* This file is part of Parity.
|
||||||
|
/*
|
||||||
|
/* Parity is free software: you can redistribute it and/or modify
|
||||||
|
/* it under the terms of the GNU General Public License as published by
|
||||||
|
/* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
/* (at your option) any later version.
|
||||||
|
/*
|
||||||
|
/* Parity is distributed in the hope that it will be useful,
|
||||||
|
/* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
/* GNU General Public License for more details.
|
||||||
|
/*
|
||||||
|
/* You should have received a copy of the GNU General Public License
|
||||||
|
/* along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
$backgroundFrom: #405161;
|
||||||
|
$backgroundTo: #2c3742;
|
||||||
|
$backgroundGradient: linear-gradient(to bottom, $backgroundFrom 0%, $backgroundTo 100%);
|
||||||
|
$backgroundColor: $backgroundFrom;
|
@ -15,6 +15,8 @@
|
|||||||
/* along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
/* along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import './_colors.css';
|
||||||
|
|
||||||
$overlayZ: 10000;
|
$overlayZ: 10000;
|
||||||
$modalZ: 10001;
|
$modalZ: 10001;
|
||||||
|
|
||||||
@ -110,11 +112,11 @@ $modalZ: 10001;
|
|||||||
width: 960px;
|
width: 960px;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
flex: 1;
|
|
||||||
overflow: auto;
|
|
||||||
display: flex;
|
|
||||||
background: rgba(255, 255, 255, 0.95);
|
background: rgba(255, 255, 255, 0.95);
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
max-width: calc(100vw - 2em);
|
max-width: calc(100vw - 2em);
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,10 +125,11 @@ $modalZ: 10001;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cornercolor {
|
.cornercolor {
|
||||||
background: rgba(0, 0, 0, 0.75);
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
background: $backgroundColor;
|
||||||
|
background: $backgroundGradient;
|
||||||
|
display: flex;
|
||||||
|
padding: 0.5em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
@ -192,7 +195,8 @@ $modalZ: 10001;
|
|||||||
.header {
|
.header {
|
||||||
/* height: 2em; */
|
/* height: 2em; */
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
background: #444;
|
background: $backgroundColor;
|
||||||
|
background: $backgroundGradient;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
@ -204,13 +208,7 @@ $modalZ: 10001;
|
|||||||
.corner {
|
.corner {
|
||||||
button {
|
button {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
margin: 0 !important;
|
padding: 0.5em 1.5em !important;
|
||||||
padding: 0 0.5em !important;
|
|
||||||
|
|
||||||
i {
|
|
||||||
font-size: 24px !important;
|
|
||||||
height: 24px !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,11 +219,16 @@ $modalZ: 10001;
|
|||||||
.title {
|
.title {
|
||||||
color: white;
|
color: white;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
background: transparent !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: -2px;
|
|
||||||
|
|
||||||
div {
|
div {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
@ -15,17 +15,19 @@
|
|||||||
/* along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
/* along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$backgroundColor: rgba(0, 0, 0, 0.8);
|
@import '../ParityBar/_colors.css';
|
||||||
|
|
||||||
$textColor: #ccc;
|
$textColor: #ccc;
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: $backgroundColor;
|
background: $backgroundColor;
|
||||||
|
background: $backgroundGradient;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
color: $textColor;
|
color: $textColor;
|
||||||
display: flex;
|
display: flex;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 0.4em 0.5em;
|
padding: 0.5em 0.75em;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user