Skip to content

Commit

Permalink
Merge pull request #8353 from cfpb/ans_retirement_bem
Browse files Browse the repository at this point in the history
Retirement: BEM fixes
  • Loading branch information
anselmbradford committed Apr 30, 2024
2 parents 7674344 + 3471036 commit 9aef5fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
11 changes: 3 additions & 8 deletions cfgov/unprocessed/apps/retirement/css/claiming.less
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@
}
}

#age-selector-response,
#age-selector-response .thank-you {
#age-selector-response {
display: none;
}

Expand Down Expand Up @@ -303,7 +302,7 @@
display: none;
}

.step-two .lifestyle-btn__active {
.step-two .lifestyle-btn--active {
background-color: var(--navy);
}

Expand Down Expand Up @@ -362,16 +361,12 @@
}
}

.step-three .helpful-btn {
width: 4em;
}

/* cf-notification */
.m-notification {
margin-bottom: 20px;
}

.step-one .notification-input__warning {
.step-one .notification-input-warning {
border-color: var(--gold);
}

Expand Down
4 changes: 2 additions & 2 deletions cfgov/unprocessed/apps/retirement/js/views/graph-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ function initIndicator() {
function highlightAgeFields(bool) {
const $ageFields = $('#bd-day, #bd-month, #bd-year');
if (bool) {
$ageFields.addClass('notification-input__warning');
$ageFields.addClass('notification-input-warning');
} else {
$ageFields.removeClass('notification-input__warning');
$ageFields.removeClass('notification-input-warning');
}
}

Expand Down
4 changes: 2 additions & 2 deletions cfgov/unprocessed/apps/retirement/js/views/questions-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ function init() {
const $container = $(this).closest('.question');
const respTo = $(this).val();

$container.find('.lifestyle-btn').removeClass('lifestyle-btn__active');
$(this).addClass('lifestyle-btn__active');
$container.find('.lifestyle-btn').removeClass('lifestyle-btn--active');
$(this).addClass('lifestyle-btn--active');

$container.find('.lifestyle-img').slideUp();
$container
Expand Down

0 comments on commit 9aef5fe

Please sign in to comment.