blob: 722430086f24494f71e0e88f34097531b6b48b9a [file] [log] [blame]
Matteo Scandolo6bc31bf2016-08-29 10:17:31 -07001@import '../../../../style/sass/lib/_variables.scss';
2
3#xosMcord-slicing,
4#xosMcord-slicing > [ui-view],
5slicing-topo {
6 width: 100%;
7 height: 100%;
8}
9
10slicing-topo {
11 display: block;
12}
13
14#xosMcord-slicing {
15 .node {
16 stroke: $brand-primary;
17 fill: white;
18 }
19
20 .node,
21 .node + text {
22 cursor: pointer;
23 }
24
25 text {
26 pointer-events: none;
27 -webkit-user-select: none; /* Chrome all / Safari all */
28 -moz-user-select: none; /* Firefox all */
29 -ms-user-select: none; /* IE 10+ */
30 user-select: none;
31 }
32
33 .node.control {
34 stroke-dasharray: 5;
35 stroke: $brand-danger;
36 }
37
38 .node.button {
39 //stroke-dasharray: 5;
40 stroke: $brand-info;
41 fill: lighten($brand-info, 30)
42 }
43
44 .node.selected{
45 stroke-width: 5px;
46 stroke-dasharray: 5;
47 }
48
49 .link {
50 stroke: darken($brand-primary, 10);
51 stroke-width: 2px;
52 cursor: pointer;
53 }
54
55 .link.control {
56 stroke-dasharray: 5;
57 stroke: $brand-danger;
58 }
59
60 .link.selected {
61 stroke-width: 5px;
62 stroke-dasharray: 5;
63 }
64
65 // drag line
66 .dragline {
67 stroke-dasharray: 5;
68 stroke: darken($brand-primary, 10);
69 stroke-width: 2px;
70 }
71
72 .dragline.hidden {
73 stroke-width: 0;
74 }
75
76 // form styling
77 div.element-form {
78 position: absolute;
79 border: 1px solid $brand-info;
80 padding: 10px;
81 background: #fff;
82 }
83
84 .form-line {
85 stroke: darken($brand-info, 10);
86 stroke-width: 1px;
87 }
88}