ds4/scss/components/shared/_ruler.scss
Alexander Minges e021fedcdf
style: fix code formatting inconsistencies
- Remove excessive blank lines (triple+ newlines reduced to double)
- Fix EditorConfig indent_size from 4 to 2 spaces to match Prettier
- Ensure consistent whitespace formatting across JavaScript/TypeScript files
- Clean up formatting in templates (HBS files)

Files affected:
- src/apps/actor/base-sheet.js: Remove 6 instances of triple+ blank lines
- src/apps/item-sheet.js: Remove 4 instances of triple+ blank lines
- src/apps/ruler/token-ruler.js: Remove 1 instance of triple+ blank lines
- src/hooks/hooks.ts: Remove 1 instance of triple+ blank lines
- templates/sheets/actor/*.hbs: Remove excessive blank lines
- .editorconfig: Fix indent_size to match Prettier tabWidth (2 spaces)
2025-07-28 22:18:44 +02:00

63 lines
1 KiB
SCSS

/*
* SPDX-FileCopyrightText: 2025 Alexander Minges
*
* SPDX-License-Identifier: MIT
*/
/* Token Ruler Waypoint Styling with Color-Coded Movement Ranges */
.system-ds4 .waypoint-label {
font-size: 1.5em;
// Main icon styling for movement types
&.move-range > i.fa-person-walking {
color: var(--color-level-success);
}
&.dash-range > i.fa-person-running {
color: var(--color-level-warning);
}
&.out-of-range > i.fa-person-rays {
color: var(--color-level-error);
animation: pulse 2s infinite;
}
.distance {
&.move-range {
color: var(--color-level-success);
}
&.dash-range {
color: var(--color-level-warning);
font-weight: bold;
}
&.out-of-range {
color: var(--color-level-error);
font-weight: bold;
animation: pulse 2s infinite;
}
}
.delta {
opacity: 0.8;
font-size: 0.9em;
}
.elevation {
font-style: italic;
opacity: 0.9;
}
}
/* Icon animations */
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}