blob: 347433f26e59375682460cd7f2e232546ccd9b80 [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 {
Matteo Scandolo4d121c22016-10-31 13:20:31 +010039 stroke-dasharray: 5;
Matteo Scandolo6bc31bf2016-08-29 10:17:31 -070040 stroke: $brand-info;
41 fill: lighten($brand-info, 30)
42 }
43
44 .node.selected{
45 stroke-width: 5px;
46 stroke-dasharray: 5;
47 }
48
Matteo Scandolo4d121c22016-10-31 13:20:31 +010049 /* Icons */
50 .node ~ .icon {
51 stroke: $brand-primary;
52 fill: $brand-primary;
53 }
54
55 .node.control ~ .icon {
56 stroke: $brand-danger;
57 fill: $brand-danger;
58 }
59
Matteo Scandolo6bc31bf2016-08-29 10:17:31 -070060 .link {
61 stroke: darken($brand-primary, 10);
62 stroke-width: 2px;
63 cursor: pointer;
64 }
65
66 .link.control {
67 stroke-dasharray: 5;
68 stroke: $brand-danger;
69 }
70
71 .link.selected {
72 stroke-width: 5px;
73 stroke-dasharray: 5;
74 }
75
Matteo Scandolo4d121c22016-10-31 13:20:31 +010076 /*drag line*/
Matteo Scandolo6bc31bf2016-08-29 10:17:31 -070077 .dragline {
78 stroke-dasharray: 5;
79 stroke: darken($brand-primary, 10);
80 stroke-width: 2px;
81 }
82
83 .dragline.hidden {
84 stroke-width: 0;
85 }
86
Matteo Scandolo4d121c22016-10-31 13:20:31 +010087 /*form styling*/
Matteo Scandolo6bc31bf2016-08-29 10:17:31 -070088 div.element-form {
89 position: absolute;
90 border: 1px solid $brand-info;
91 padding: 10px;
92 background: #fff;
93 }
94
95 .form-line {
96 stroke: darken($brand-info, 10);
97 stroke-width: 1px;
98 }
99}