forked from anseki/leader-line
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
$app_id: leader-line; | ||
$app-id: leader-line; | ||
|
||
.#{$app_id} { | ||
.#{$app-id} { | ||
position: absolute; | ||
overflow: visible !important; // Commonly used style `svg:not(:root)` is high scored. | ||
pointer-events: none !important; | ||
font-size: 16px; // for label | ||
} | ||
|
||
##{$app_id}-defs { | ||
##{$app-id}-defs { | ||
width: 0; | ||
height: 0; | ||
position: absolute; | ||
left: 0; // coordinates for avoiding making margin at the bottom of body in Trident. | ||
top: 0; | ||
} | ||
|
||
.#{$app_id}-line-path { | ||
.#{$app-id}-line-path { | ||
fill: none; | ||
} | ||
|
||
.#{$app_id}-mask-bg-rect { | ||
.#{$app-id}-mask-bg-rect { | ||
fill: white; | ||
} | ||
|
||
.#{$app_id}-caps-mask-anchor, | ||
.#{$app_id}-caps-mask-marker-shape { | ||
.#{$app-id}-caps-mask-anchor, | ||
.#{$app-id}-caps-mask-marker-shape { | ||
fill: black; | ||
} | ||
|
||
.#{$app_id}-caps-mask-anchor { | ||
.#{$app-id}-caps-mask-anchor { | ||
// for attachment | ||
stroke: black; | ||
} | ||
|
||
.#{$app_id}-caps-mask-line, | ||
.#{$app_id}-plugs-face { | ||
.#{$app-id}-caps-mask-line, | ||
.#{$app-id}-plugs-face { | ||
// Show only markers. | ||
stroke: rgba(0, 0, 0, 0); /* `transparent` might not be supported */ | ||
} | ||
|
||
.#{$app_id}-line-mask-shape { | ||
.#{$app-id}-line-mask-shape { | ||
stroke: white; | ||
} | ||
|
||
.#{$app_id}-line-outline-mask-shape { | ||
.#{$app-id}-line-outline-mask-shape { | ||
stroke: black; | ||
} | ||
|
||
.#{$app_id}-plug-mask-shape { | ||
.#{$app-id}-plug-mask-shape { | ||
fill: white; | ||
stroke: black; | ||
} | ||
|
||
.#{$app_id}-plug-outline-mask-shape { | ||
.#{$app-id}-plug-outline-mask-shape { | ||
fill: black; | ||
stroke: white; | ||
} | ||
|
||
.#{$app_id}-areaAnchor { | ||
.#{$app-id}-areaAnchor { | ||
position: absolute; | ||
overflow: visible !important; | ||
} |