+
{typeof this.props.configs !== "undefined" && this.props.configs.map(config => (
-
+
))}
diff --git a/src/styles/app.css b/src/styles/app.css
index cc09d33..7640536 100644
--- a/src/styles/app.css
+++ b/src/styles/app.css
@@ -369,6 +369,18 @@ body {
height: auto !important;
padding: 5px;
float: right;
+ border-color: #ffffff;
+ background-color: #ffffff;
+}
+
+.section-buttons-group-right .btn{
+ border-color: #ffffff;
+ background-color: #ffffff;
+}
+
+.section-buttons-group-right .btn:hover{
+ border-color: #e3e3e3;
+ background-color: #e3e3e3;
}
.section-buttons-group-left {
@@ -377,10 +389,60 @@ body {
float: left;
}
+.section-buttons-group-left .btn{
+ background-color: #527984;
+ border-color: #527984;
+}
+
+.section-buttons-group-left .btn:hover{
+ background-color: #31484f;
+ border-color: #31484f;
+}
+
+.drag-and-drop .btn{
+ color: #527984;
+ border-color: #527984;
+}
+
+.drag-and-drop .btn:hover{
+ color: #527984;
+ border-color: #527984;
+}
+
+
.section-buttons-group-right .rc-slider {
margin-left: 12px;
}
+.solid-button .btn{
+ background-color: #527984;
+ border-color: #527984;
+}
+
+.solid-button .btn:hover{
+ background-color: #31484f;
+ border-color: #31484f;
+}
+
+.solid-button .btn:disabled{
+ background-color: #527984;
+ border-color: #527984;
+}
+
+.icon-button .btn{
+ border-color: #ffffff;
+ background-color: #ffffff;
+}
+
+.icon-button .btn:hover{
+ border-color: #e3e3e3;
+ background-color: #e3e3e3;
+}
+
+.icon-color {
+ color: #527984;
+}
+
.form-horizontal .form-group {
margin-left: 0 !important;
margin-right: 0 !important;
@@ -389,7 +451,3 @@ body {
.badge-outdated {
opacity: 0.4;
}
-
-a:link, a:active, a:visited , a:hover {
- color: #047cab ;
-}
diff --git a/src/user/login-form.js b/src/user/login-form.js
index e828de3..08c09df 100644
--- a/src/user/login-form.js
+++ b/src/user/login-form.js
@@ -91,8 +91,10 @@ class LoginForm extends Component {
-
-
+
+
+
+
diff --git a/src/user/user.js b/src/user/user.js
index fc82d49..007602c 100644
--- a/src/user/user.js
+++ b/src/user/user.js
@@ -112,15 +112,6 @@ class User extends Component {
render() {
- const iconStyle = {
- color: '#527984',
- }
-
- const buttonStyle = {
- margin: '10px',
- borderColor: '#ffffff',
- backgroundColor: '#ffffff'
- }
return (
@@ -140,7 +131,9 @@ class User extends Component {
{this.state.currentUser.username}
{this.state.currentUser.mail}
{this.state.currentUser.role}
-
+
+
+
diff --git a/src/user/users.js b/src/user/users.js
index 807bed4..a9b84dc 100644
--- a/src/user/users.js
+++ b/src/user/users.js
@@ -132,12 +132,9 @@ class Users extends Component {
const buttonStyle = {
marginLeft: '10px',
- backgroundColor: '#ffffff',
- borderColor: '#ffffff'
}
const iconStyle = {
- color: '#527984',
height: '30px',
width: '30px'
}
@@ -145,7 +142,9 @@ class Users extends Component {
return (
Users
-
+
+
+
diff --git a/src/widget/edit-widget/edit-widget-color-zones-control.js b/src/widget/edit-widget/edit-widget-color-zones-control.js
index 93653fb..6ef3fcd 100644
--- a/src/widget/edit-widget/edit-widget-color-zones-control.js
+++ b/src/widget/edit-widget/edit-widget-color-zones-control.js
@@ -178,12 +178,9 @@ class EditWidgetColorZonesControl extends React.Component {
const buttonStyle = {
marginBottom: '10px',
marginLeft: '120px',
- borderColor: '#ffffff',
- backgroundColor: '#ffffff'
};
const iconStyle = {
- color: '#527984',
height: '25px',
width : '25px'
}
@@ -204,8 +201,9 @@ class EditWidgetColorZonesControl extends React.Component {
return
Color zones
-
-
+
+
+
{
this.state.widget.customProperties.zones.map((zone, idx) => {
@@ -255,7 +253,9 @@ class EditWidgetColorZonesControl extends React.Component {
-
+
+
+
this.closeEditModal(data)} widget={this.state.widget} zoneIndex={this.state.selectedIndex} controlId={'strokeStyle'} />
diff --git a/src/widget/toolbox-item.js b/src/widget/toolbox-item.js
index e2aa402..4c268c5 100644
--- a/src/widget/toolbox-item.js
+++ b/src/widget/toolbox-item.js
@@ -51,7 +51,7 @@ class ToolboxItem extends React.Component {
if (this.props.disabled === false) {
return this.props.connectDragSource(
-
+
{this.props.icon && }
{this.props.name}
diff --git a/src/widget/widget-toolbox.js b/src/widget/widget-toolbox.js
index 4483f1b..ee48d37 100644
--- a/src/widget/widget-toolbox.js
+++ b/src/widget/widget-toolbox.js
@@ -96,7 +96,6 @@ class WidgetToolbox extends React.Component {
const disableDecrease = this.disableDecrease();
// Only one topology widget at the time is supported
const iconStyle = {
- color: '#527984',
height: '25px',
width : '25px'
}
@@ -104,15 +103,6 @@ class WidgetToolbox extends React.Component {
const buttonStyle = {
marginRight: '3px',
height: '40px',
- borderColor: '#527984',
- backgroundColor: '#527984'
- }
-
- const altButtonStyle = {
- marginRight: '3px',
- height: '40px',
- borderColor: '#ffffff',
- backgroundColor: '#ffffff'
}
const thereIsTopologyWidget = this.props.widgets != null && Object.values(this.props.widgets).filter(w => w.type === 'Topology').length > 0;
@@ -124,15 +114,15 @@ class WidgetToolbox extends React.Component {
Show/ hide available Cosmetic Widgets } >
-
Show/ hide available Displaying Widgets } >
- this.showWidgets('displaying')} >
+ this.showWidgets('displaying')} >
Displaying Widgets
Show/ hide available Manipulation Widgets } >
- this.showWidgets('manipulation')} >
+ this.showWidgets('manipulation')} >
Manipulation Widgets
@@ -142,13 +132,13 @@ class WidgetToolbox extends React.Component {
Grid: { this.props.grid > 1 ? this.props.grid : 'Disabled' }
Increase dashboard height } >
- this.props.onDashboardSizeChange(1)} >
-
+ this.props.onDashboardSizeChange(1)} >
+
Decrease dashboard height } >
- this.props.onDashboardSizeChange(-1)} >
-
+ this.props.onDashboardSizeChange(-1)} >
+
@@ -157,7 +147,7 @@ class WidgetToolbox extends React.Component {
-