Skip to content

Commit b918101

Browse files
committed
refactored indentation.
1 parent 3cb1c52 commit b918101

File tree

2 files changed

+30
-29
lines changed

2 files changed

+30
-29
lines changed

less/default.less

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
@graphyte-edge-margin-right: 5px;
2020
@graphyte-edge-opacity: 0.6;
2121
@graphyte-edge-width: 0.5px;
22+

less/graphyte.less

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
#graphyte-arrow-def {
2-
fill: @graphyte-edge-color;
3-
fill-opacity: @graphyte-edge-opacity;
2+
fill: @graphyte-edge-color;
3+
fill-opacity: @graphyte-edge-opacity;
44
}
55

66
.vertex {
7-
cursor: pointer;
7+
cursor: pointer;
88

9-
circle {
10-
fill: @graphyte-vertex-color;
11-
stroke: @graphyte-link-color;
12-
stroke-width: .5pt;
9+
circle {
10+
fill: @graphyte-vertex-color;
11+
stroke: @graphyte-link-color;
12+
stroke-width: .5pt;
13+
}
14+
15+
g.label {
16+
text, .matte {
17+
fill: @graphyte-text-color;
18+
font-size: @graphyte-text-fontsize;
19+
text-rendering: geometricPrecision; // prevent labels from causing jitter on resize
1320
}
1421

15-
g.label {
16-
text, .matte {
17-
fill: @graphyte-text-color;
18-
font-size: @graphyte-text-fontsize;
19-
text-rendering: geometricPrecision; // prevent labels from causing jitter on resize
20-
}
21-
22-
.matte {
23-
stroke: @graphyte-text-matte;
24-
stroke-width: @graphyte-text-matte-stroke-width;
25-
opacity: @graphyte-text-matte-opacity;
26-
}
22+
.matte {
23+
stroke: @graphyte-text-matte;
24+
stroke-width: @graphyte-text-matte-stroke-width;
25+
opacity: @graphyte-text-matte-opacity;
2726
}
27+
}
2828
}
2929

3030
.vertex.root circle {
31-
fill: @graphyte-highlight-fill;
32-
stroke: @graphyte-root-color;
33-
stroke-width: @graphyte-root-width;
31+
fill: @graphyte-highlight-fill;
32+
stroke: @graphyte-root-color;
33+
stroke-width: @graphyte-root-width;
3434
}
3535

3636
.vertex:hover circle, .vertex circle:hover {
37-
stroke: @graphyte-highlight-stroke;
38-
stroke-width: @graphyte-highlight-width;
37+
stroke: @graphyte-highlight-stroke;
38+
stroke-width: @graphyte-highlight-width;
3939
}
4040

4141
.vertex:hover .label, .vertex .label:hover {
42-
fill: @graphyte-highlight-stroke;
42+
fill: @graphyte-highlight-stroke;
4343
}
4444

4545
.satellite {
46-
fill: @graphyte-vertex-color;
46+
fill: @graphyte-vertex-color;
4747
}
4848

4949
.edge {
50-
stroke: @graphyte-edge-color;
51-
stroke-width: @graphyte-edge-width;
52-
stroke-opacity: @graphyte-edge-opacity;
50+
stroke: @graphyte-edge-color;
51+
stroke-width: @graphyte-edge-width;
52+
stroke-opacity: @graphyte-edge-opacity;
5353
}

0 commit comments

Comments
 (0)