/
githubmirror
/
algorithm-visualizer
Обзор
Документация
Войти
/
githubmirror
/
algorithm-visualizer
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/core/renderers/GraphRenderer/GraphRenderer.module.scss
98 строк
1 KB
Jason Park
Rename jsx and scss files
09 июн 2019, 17:39
09 июн 2019, 17:39
60fcab5
Код
Авторство
О чём код?
@import "~common/stylesheet/index"; .graph { flex: 1; align-self: stretch; .node { .circle { fill: $theme-light; stroke: $color-font; stroke-width: 1; } .id { fill: $color-font; alignment-baseline: central; text-anchor: middle; } .weight { fill: white; font-weight: bold; alignment-baseline: central; text-anchor: left; } &.selected { .circle { fill: $color-selected; stroke: $color-selected; } } &.visited { .circle { fill: $color-patched; stroke: $color-patched; } } } .edge { .line { stroke: $color-font; stroke-width: 2; &.directed { marker-end: url(#markerArrow); } } .weight { fill: $color-font; alignment-baseline: baseline; text-anchor: middle; } &.selected { .line { stroke: $color-selected; &.directed { marker-end: url(#markerArrowSelected); } } .weight { fill: $color-selected; } } &.visited { .line { stroke: $color-patched; &.directed { marker-end: url(#markerArrowVisited); } } .weight { fill: $color-patched; } } } .arrow { fill: $color-font; &.selected { fill: $color-selected; } &.visited { fill: $color-patched; } } }