Skip to content

Commit

Permalink
feat: add animated dot styles + todo comment to enable
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri authored and glassdimly committed Sep 24, 2019
1 parent 7c68d1f commit 4bdbed4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions packages/micro-journeys/src/nav-shared.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$header-text-size: 1rem;
$header-text-line-height: 1.65;
// @todo: switch to 20px when enabling consolidated / animated dot styles
$nav-circle-size: 12px;
$nav-circle-size--active: 14px;
$nav-circle-border-size: 2px;
Expand Down Expand Up @@ -46,6 +47,45 @@ $nav-circle-border-size: 2px;
border-radius: 50%;
background-color: bolt-theme(primary);
}

// @todo: enable animated dot + more consolidated styles
// @if $active {
// transform: translateX(-50%) scale(0.85);
// border: $nav-circle-border-size solid;
// border-color: bolt-theme(
// (
// xdark: secondary,
// dark: secondary,
// light: primary,
// xlight: primary,
// )
// );
// background-color: bolt-theme(
// (
// xdark: primary,
// dark: primary,
// light: secondary,
// xlight: secondary,
// )
// );
// }

// @else {
// content: '';
// display: inline-block;
// box-sizing: content-box;
// transform: translateX(-50%) scale(0.5);
// z-index: 1;
// width: $nav-circle-size;
// height: $nav-circle-size;
// margin-right: bolt-spacing(small);
// border-radius: 50%;
// border-width: 2px;
// border-style: solid;
// border-color: transparent;
// background-color: bolt-theme(primary);
// transition: all 0.2s ease;
// }
}

@mixin bolt-micro-journeys-nav-line() {
Expand Down

0 comments on commit 4bdbed4

Please sign in to comment.