diff --git a/js/src/ui/Container/container.css b/js/src/ui/Container/container.css
index ca37dfb76d8..3684a32ed06 100644
--- a/js/src/ui/Container/container.css
+++ b/js/src/ui/Container/container.css
@@ -19,5 +19,6 @@
}
.padded {
- padding: 1em;
+ padding: 1.5em;
+ background: rgba(0, 0, 0, 0.7) !important;
}
diff --git a/js/src/ui/Modal/modal.css b/js/src/ui/Modal/modal.css
index f76585ba156..3edfdd48267 100644
--- a/js/src/ui/Modal/modal.css
+++ b/js/src/ui/Modal/modal.css
@@ -14,9 +14,23 @@
/* You should have received a copy of the GNU General Public License
/* along with Parity. If not, see .
*/
+.actions, .body {
+ background: rgba(255, 255, 255, 0.1) !important;
+}
+
+.dialog {
+}
+
+.content {
+ transform: translate(0px, 0px) !important;
+}
+
+.content>div {
+ background: rgba(0, 0, 0, 0.7) !important;
+}
+
.title {
padding: 1em;
- background: rgba(0, 0, 0, 0.175);
}
.title h3 {
diff --git a/js/src/ui/Modal/modal.js b/js/src/ui/Modal/modal.js
index 207ce5de22b..24d8e1e3232 100644
--- a/js/src/ui/Modal/modal.js
+++ b/js/src/ui/Modal/modal.js
@@ -23,11 +23,14 @@ import Title from './Title';
const ACTIONS_STYLE = { borderStyle: 'none' };
const TITLE_STYLE = { borderStyle: 'none' };
const DIALOG_STYLE = { paddingTop: '1px' };
-const CONTENT_STYLE = { transform: 'translate(0px, 0px)' };
import styles from './modal.css';
export default class Modal extends Component {
+ static contextTypes = {
+ muiTheme: PropTypes.object.isRequired
+ }
+
static propTypes = {
actions: PropTypes.node,
children: PropTypes.node,
@@ -43,6 +46,7 @@ export default class Modal extends Component {
}
render () {
+ const { muiTheme } = this.context;
const { actions, className, current, children, scroll, steps, waiting, title, visible } = this.props;
const header = (
);
+ const classes = `${styles.dialog} ${className}`;
return (
.
*/
.layout {
- padding: 0em 3em;
+ padding: 0 3em;
}
diff --git a/js/src/ui/ParityBackground/index.js b/js/src/ui/ParityBackground/index.js
new file mode 100644
index 00000000000..4c766ac3c1f
--- /dev/null
+++ b/js/src/ui/ParityBackground/index.js
@@ -0,0 +1,17 @@
+// Copyright 2015, 2016 Ethcore (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 .
+
+export default from './parityBackground';
diff --git a/js/src/ui/ParityBackground/parityBackground.js b/js/src/ui/ParityBackground/parityBackground.js
new file mode 100644
index 00000000000..801b72d461d
--- /dev/null
+++ b/js/src/ui/ParityBackground/parityBackground.js
@@ -0,0 +1,39 @@
+// Copyright 2015, 2016 Ethcore (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 .
+
+import React, { Component, PropTypes } from 'react';
+
+export default class ParityBackground extends Component {
+ static contextTypes = {
+ muiTheme: PropTypes.object.isRequired
+ }
+
+ static propTypes = {
+ children: PropTypes.node,
+ className: PropTypes.string
+ }
+
+ render () {
+ const { children, className } = this.props;
+ const { muiTheme } = this.context;
+
+ return (
+