Skip to content

Commit

Permalink
CSS typos
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix128 committed Feb 7, 2018
1 parent 4438c9d commit f2d8507
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
16 changes: 10 additions & 6 deletions view/adminhtml/web/css/auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
margin-bottom: 1em;
}

.msp-tfa-change-provider_trigger {
.msp-tfa-change-provider-trigger {
margin-bottom: 1em;
display: block;
}
Expand Down Expand Up @@ -75,32 +75,36 @@
float: left;
}

.msp-tfa-change-provider_trigger:hover {
.msp-tfa-change-provider-trigger:hover {
background: #f0f0f0;
}

.msp-tfa-change-provider_trigger {
#msp-twofactorauth-change-provider-container {
margin-top: 1em;
}

.msp-tfa-change-provider-trigger {
color: #333333;
background: #e0e0e0;
text-align: center;
padding: 8px;
height: 40px;
}

.msp-tfa-change-provider_trigger img {
.msp-tfa-change-provider-trigger img {
margin-right: 10px;
width: 24px;
display: block;
float: left;
}

.msp-tfa-change-provider_trigger span {
.msp-tfa-change-provider-trigger span {
float: left;
display: block;
line-height: 24px;
}

.msp-tfa-change-provider_trigger::after {
.msp-tfa-change-provider-trigger::after {
clear: both;
}

Expand Down
4 changes: 2 additions & 2 deletions view/adminhtml/web/css/tfa.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
font-size: 85%;
}

.msp-tfa-forced_providers ul {
.msp-tfa-forced-providers ul {
margin-left: 3em;
}

.msp-tfa-reset_providers button {
.msp-tfa-reset-providers button {
width: 250px;
margin-bottom: .4em;
display: block;
Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/web/template/change_provider.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
-->
<div visible="getProviders().length > 0">
<a visible='!showChangeMethod()' href="#" class="msp-tfa-change-provider_trigger" click="displayChangeMethod">
<a visible='!showChangeMethod()' href="#" class="msp-tfa-change-provider-trigger" click="displayChangeMethod">
<img attr='src: getSwitchIconUrl()' />
<span data-bind='i18n: "Select a different 2FA provider"'></span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/web/template/form/element/providers.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
-->
<!-- ko if: getForcedProviders().length -->
<div class="msp-tfa-forced_providers">
<div class="msp-tfa-forced-providers">
<strong><!-- ko i18n: "Providers defined by admin:" --><!-- /ko --></strong><br />
<br />
<ul data-bind="foreach: getForcedProviders()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
-->
<!-- ko if: getResetProviders().length -->
<div class="msp-tfa-reset_providers">
<div class="msp-tfa-reset-providers">
<div data-bind="foreach: getResetProviders()">
<button type="button" class="primary action-remove" data-bind="
text: $data.label,
Expand Down

0 comments on commit f2d8507

Please sign in to comment.