Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

issue 2868 fix #248

Merged
6 changes: 5 additions & 1 deletion app/styles/tc-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@
font-family: inherit;
font-weight: inherit;
}

.tc-btn.show-password-btn:focus {
outline: 2px solid $tc-dark-blue-70;
}

.tc-btn.loading:enabled, .tc-btn:focus:not(:disabled) {
background: $tc-white;
Expand Down Expand Up @@ -356,4 +360,4 @@
font-size: 15px;
line-height: 20px;
}
}
}
5 changes: 4 additions & 1 deletion app/styles/tc/register.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'topcoder/tc-includes';
@import "../tc-ui-variables";
@import '../tc-ui-variables.scss';

.register-container {
a {
Expand All @@ -14,6 +14,9 @@
button {
margin-top: 0;
background-color: $tc-dark-blue-90;
&:focus {
outline: 3px solid $tc-dark-blue-70;
}
&.disabled {
background-color: $tc-gray-60 !important;
color: $tc-white-cream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
class="input input-btn {{ vm.hasPasswordError() ? 'error' : ''}}"
required)

<button type="button" id="toggleInputTypeBtn" class="tc-btn tc-btn-sm" ng-click="vm.toggleInputType()">{{ vm.toggleShowLabel }}</button>
<button type="button" id="toggleInputTypeBtn" tabIndex="0" class="tc-btn tc-btn-sm show-password-btn" ng-click="vm.toggleInputType()">{{ vm.toggleShowLabel }}</button>
4 changes: 2 additions & 2 deletions app/views/tc/register.jade
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
section.terms
p By clicking "Join" you agree to Topcoder's #[a(href="http://www.topcoder.com/community/how-it-works/terms/", target="_blank") Terms] and #[a(href="http://www.topcoder.com/community/how-it-works/privacy-policy/", target="_blank") Privacy Policy]

button.tc-btn.tc-btn-large(type="submit", tc-busy-button, tc-busy-when="vm.registering", ng-disabled="vm.registerForm.$invalid", ng-show="vm.isValidCountry") Join
button.tc-btn.tc-btn-large.disabled(type="submit", ng-show="!vm.isValidCountry", disabled="disabled") Join
button.tc-btn.tc-btn-large(type="submit", tc-busy-button, tc-busy-when="vm.registering", ng-disabled="vm.registerForm.$invalid", ng-show="vm.isValidCountry", tabIndex="0") Join
button.tc-btn.tc-btn-large.disabled(type="submit", ng-show="!vm.isValidCountry", disabled="disabled", tabIndex="0") Join

div(role="region" aria-label="Register With")
section.login-options(ng-if="!vm.ssoUser")
Expand Down