Skip to content

Commit

Permalink
updated rh
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbarnes9 committed Feb 24, 2020
1 parent 6a5ebab commit 67e37e2
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@
display: flex;
}

.uac__help {
cursor: pointer;
}

.uac__help summary {
display: inline-block;
color: #4263c2;
text-decoration: underline;
}

.icon--lock:before {
background-image: url(/img/icons/lock.svg);
}

@media only screen and (min-width: 375px) {
.uac__input {
font-size: 22px;
Expand Down
18 changes: 11 additions & 7 deletions _prototypes/individual-response--your-household-v15/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,20 @@
data-qa="question-title">
Start census
</h1>
<p class="field uac__field panel panel--info panel--simple">
<div class="field uac__field panel panel--info panel--simple">
<label class="label" for="uac">Enter your 16 character access code
<br>
<span class="label__description">Keep this code safe and only share it with others in your household</span>
</label>
<input type="text" id="uac" class="input input--text input-type__input uac__input js-uac u-mb-xs" name="uac" maxlength="19" data-group-size="4" autocomplete="off" />
<span class="u-fs-s"><a href="#">Where to find your access code</a></span>
</p>
<details class="uac__help u-fs-r">
<summary>Need help with your access code?</summary>
<ul class="u-mt-xs u-mb-no">
<li><a href="#">Where to find your access code</a></li>
<li><a href="#">Request a new household access code</a> if you've lost, forgotten or not received an access code.</li>
</ul>
</details>
</div>
<div class="uac__security u-mt-m">
<div class="uac__icon"><span class="icon icon--lock"></span></div>
<p class="uac__message">Your personal information is protected by law and will be kept confidential.</p>
Expand All @@ -58,10 +64,8 @@
</div>
</div>
<div>
<br>
<strong>If you don't have a household code</strong>
<p>You can request a new code if you have lost, forgotten or not received an
access code. <a href="#" class="footer2__link">Request a new code to start a new survey</a></p>
<h2 class="u-fs-m u-mt-xl">Need to answer separately from your household?</h2>
<p>If you prefer to answer separately from the people you live with, you can <a href="#" class="f">request an individual access code</a> to start a separate census.</p>
</div>
</main>
</div>
Expand Down
9 changes: 5 additions & 4 deletions _prototypes/individual-response--your-household-v15/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ h4 {
}

a {
color: #334f9e;
color: #4263c2;
}

a:hover {
text-decoration: underline;
color: #4263c2;
color: #033e58;
}

a:focus:not(.btn--link):not(.btn--ghost):not(.js-clear-btn):not(.download__thumbnail--link):not(.header__logo-link):not(.header__title-link):not(.tab--row) {
Expand All @@ -165,7 +165,8 @@ p.js-declaration {
text-decoration: underline!important;
}

.collapsible--simple .collapsible__title:focus {
.collapsible--simple .collapsible__title:focus,
details summary:focus {
outline: 3px solid transparent;
color: #222;
background-color: #fd0;
Expand Down Expand Up @@ -628,7 +629,7 @@ hr {
.btn--ghost-blue:focus, .btn--ghost-blue:hover {
color: #4263c2;
background-color: transparent;
border-color: #4263c2
border-color: #4263c2;
}

.btn--ghost-blue:focus {
Expand Down
2 changes: 1 addition & 1 deletion img/icons/lock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 67e37e2

Please sign in to comment.