Skip to content

Commit

Permalink
Replace _ in variable name with -.
Browse files Browse the repository at this point in the history
  • Loading branch information
anseki committed Jul 26, 2021
1 parent fc2bfda commit 7299a4c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/leader-line.scss
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;
}

0 comments on commit 7299a4c

Please sign in to comment.