Skip to content

Commit

Permalink
Merge pull request #713 from indiana-university/release/2.5.1
Browse files Browse the repository at this point in the history
Release 2.5.1
  • Loading branch information
levimcg authored Jul 25, 2023
2 parents ffa465f + 57467ee commit 2687312
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "rivet-core",
"description": "Indiana University design system",
"homepage": "https://rivet.iu.edu",
"version": "2.5.0",
"version": "2.5.1",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/sass/dropdown/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
}

&.#{$prefix}-is-selected,
&[aria-current],
&[aria-current]:not([aria-current='false']),
&[aria-checked='true'] {
box-shadow: inset $spacing-xxs 0 0 $color-crimson-500;
background-color: $color-orange-000;
Expand Down
2 changes: 0 additions & 2 deletions src/sass/hero-area/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
font-weight: $font-weight-medium;
font-size: $ts-14;
display: block;
text-transform: uppercase;
letter-spacing: $spacing-xxs * .125;
}

&__title {
Expand Down
4 changes: 2 additions & 2 deletions src/sass/pagination/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
}

a:focus,
a[aria-current]:focus {
a[aria-current='page']:focus {
border-radius: inherit;
outline: solid math.div($spacing-xxs, 2) $color-blue-400;
outline-offset: math.div($spacing-xxs, 2);
z-index: map.get($z-index, '1000');
}

a[aria-current] {
a[aria-current='page'] {
background-color: $color-orange-000;
box-shadow: 0 $spacing-xxs 0 $color-crimson-500;
}
Expand Down
1 change: 0 additions & 1 deletion src/sass/quote/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
&__text {
font-family: $font-serif;
font-size: $ts-26;
font-style: italic;
margin: 0;
color: $color-black-400;
}
Expand Down
12 changes: 6 additions & 6 deletions src/sass/sidenav/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
position: relative;
text-decoration: none;

&[aria-current] {
&[aria-current='page'] {
background-color: $color-orange-000;
}

&[aria-current]::before {
&[aria-current='page']::before {
content: '';
display: block;
width: .25rem;
Expand All @@ -89,20 +89,20 @@
padding-bottom: $spacing-xxs * 1.2;
}

&__item > &__list &__link[aria-current]::before {
&__item > &__list &__link[aria-current='page']::before {
margin-left: -$spacing-xxs;
}

&__link[aria-current] + &__toggle {
&__link[aria-current='page'] + &__toggle {
background-color: $color-orange-000;

> svg {
color: $color-crimson-500;
}
}

&__link[aria-current] + &__toggle:hover,
&__link[aria-current] + &__toggle:focus {
&__link[aria-current='page'] + &__toggle:hover,
&__link[aria-current='page'] + &__toggle:focus {
color: $color-blue-500;
background-color: $color-blue-000;

Expand Down
4 changes: 2 additions & 2 deletions src/sass/step-indicator/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
flex-direction: column;
}

&__item-content[aria-current] &__indicator {
&__item-content[aria-current='step'] &__indicator {
font-weight: 700;
}

Expand Down Expand Up @@ -163,7 +163,7 @@ a.#{$prefix}-steps__item-content:focus .#{$prefix}-steps__label {

a.#{$prefix}-steps__item-content:hover .#{$prefix}-steps__indicator,
a.#{$prefix}-steps__item-content:focus .#{$prefix}-steps__indicator,
a.#{$prefix}-steps__item-content[aria-current] .#{$prefix}-steps__indicator {
a.#{$prefix}-steps__item-content[aria-current='step'] .#{$prefix}-steps__indicator {
background-color: $color-crimson-500;
color: $color-white-base;
border-color: $color-crimson-500;
Expand Down
6 changes: 3 additions & 3 deletions src/sass/subnav/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
}

&__item a[aria-current] {
&__item a[aria-current='page'] {
background-color: $color-orange-000;
color: $color-crimson-500;

Expand All @@ -48,7 +48,7 @@
}
}

&__item a[aria-current]::after,
&__item a[aria-current='page']::after,
&__item a:hover::after {
content: '';
display: block;
Expand All @@ -60,7 +60,7 @@
position: absolute;
}

&__item a:hover:not([aria-current]),
&__item a:hover:not([aria-current='page']),
&__item button:hover {
background-color: $color-blue-000;
color: $color-blue-500;
Expand Down

0 comments on commit 2687312

Please sign in to comment.