Skip to content
Snippets Groups Projects
Commit b38b3039 authored by Christoph Dornieden's avatar Christoph Dornieden
Browse files

style update

parent 5957cf4c
No related branches found
No related tags found
No related merge requests found
...@@ -61,8 +61,12 @@ $node > node { /* compounds. "Nodes" in meta model. $ selects the parent node th ...@@ -61,8 +61,12 @@ $node > node { /* compounds. "Nodes" in meta model. $ selects the parent node th
[type="communicationInstance"] { [type="communicationInstance"] {
color: ${theme.arrowColor}; color: ${theme.arrowColor};
line-color: ${theme.arrowLineColor}; line-color: ${theme.arrowColor};
target-arrow-color: ${theme.arrowColor}; target-arrow-color: ${theme.arrowColor};
text-background-color: ${theme.arrowLineColor};
text-background-opacity: 1;
text-background-shape: roundrectangle;
font-size: 12pt;
} }
[type="nodeGroup"] { [type="nodeGroup"] {
...@@ -80,7 +84,8 @@ edge { ...@@ -80,7 +84,8 @@ edge {
font-weight: bold; font-weight: bold;
target-arrow-shape: triangle-backcurve; target-arrow-shape: triangle-backcurve;
curve-style: bezier; /* supports arrows */ curve-style: bezier; /* supports arrows */
width: 2px; width: data(workload);
} }
:selected { :selected {
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
serviceBorderColor : '#ED8910', serviceBorderColor : '#ED8910',
arrowLineColor : '#002A4A', arrowLineColor : '#002A4A',
arrowColor : '#002A4A', arrowColor : '#002A4A',
arrowLabelColor: 'black' arrowLabelColor: '#FFFEED'
}, },
'forrest' :{ 'forrest' :{
nodeGroupTextColor : '#36231B', nodeGroupTextColor : '#36231B',
...@@ -53,9 +53,10 @@ export default { ...@@ -53,9 +53,10 @@ export default {
serviceBorderColor : '#93A608', serviceBorderColor : '#93A608',
arrowLineColor : '#36231B', arrowLineColor : '#36231B',
arrowColor : '#36231B', arrowColor : '#36231B',
arrowLabelColor: '#93A608' arrowLabelColor: '#F0E3CA'
}, },
'maritim' :{ 'maritim' :{
// https://color.adobe.com/RportalNew-color-theme-199478/
nodeGroupTextColor : '#1D3757', nodeGroupTextColor : '#1D3757',
nodeGroupColor : 'white', nodeGroupColor : 'white',
nodeGroupBorderColor : '#1D3757', nodeGroupBorderColor : '#1D3757',
...@@ -67,9 +68,10 @@ export default { ...@@ -67,9 +68,10 @@ export default {
serviceBorderColor : '#F29F01', serviceBorderColor : '#F29F01',
arrowLineColor : '#1D3757', arrowLineColor : '#1D3757',
arrowColor : '#1D3757', arrowColor : '#1D3757',
arrowLabelColor: '#1D3757' arrowLabelColor: '#D9E8F5'
}, },
'green' :{ 'green' :{
// https://color.adobe.com/green-color-theme-1205538/
nodeGroupTextColor : '#403E21', nodeGroupTextColor : '#403E21',
nodeGroupColor : 'white', nodeGroupColor : 'white',
nodeGroupBorderColor : '#403E21', nodeGroupBorderColor : '#403E21',
......
import BaseEntity from './baseentity'; import BaseEntity from './baseentity';
import attr from 'ember-data/attr'; import attr from 'ember-data/attr';
export default BaseEntity.extend({ export default BaseEntity.extend({
technology: attr('string'), technology: attr('string'),
sourceId: attr('string'), sourceId: attr('string'),
targetId: attr('string') targetId: attr('string'),
workload: attr('number')
}); });
...@@ -4,5 +4,6 @@ import attr from 'ember-data/attr'; ...@@ -4,5 +4,6 @@ import attr from 'ember-data/attr';
export default BaseEntity.extend({ export default BaseEntity.extend({
sourceId: attr('string'), sourceId: attr('string'),
targetId: attr('string'), targetId: attr('string'),
communicationId: attr('string') communicationId: attr('string'),
workload: attr('number')
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment