Skip to content

Commit

Permalink
fix(privacy): fix privacy link colors
Browse files Browse the repository at this point in the history
Fix privacy link colors.
  • Loading branch information
Bill Stavroulakis committed May 2, 2018
1 parent cc5d8b8 commit 587be24
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/js/components/modals/UserFormModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class UserFormModal extends mixin(StoreMixin) {
By adding a user you understand we will process personal information in accordance with our
{" "}
<a
className="small inverse unset-display"
className="reset-color"
href="https://mesosphere.com/privacy/"
target="_blank"
>
Expand Down
4 changes: 4 additions & 0 deletions src/styles/components/modal/login/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
transform: translateX(-50%);
width: 100%;
}

.login-modal-product-name a {
color: inherit;
}
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/styles/components/modal/login/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
* Login Modal Product Name
*/

@login-modal-product-name-vertical-offset: -(16px + (3 * @base-spacing-unit));
@login-modal-product-name-vertical-offset-screen-small: -(16px + (3 * @base-spacing-unit-screen-small));
@login-modal-product-name-vertical-offset-screen-medium: -(16px + (3 * @base-spacing-unit-screen-medium));
@login-modal-product-name-vertical-offset-screen-large: -(16px + (3 * @base-spacing-unit-screen-large));
@login-modal-product-name-vertical-offset-screen-jumbo: -(16px + (3 * 0.75 * @base-spacing-unit-screen-jumbo));
@login-modal-product-name-vertical-offset: -((4 * @base-spacing-unit));
@login-modal-product-name-vertical-offset-screen-small: -((4 * @base-spacing-unit-screen-small));
@login-modal-product-name-vertical-offset-screen-medium: -((4 * @base-spacing-unit-screen-medium));
@login-modal-product-name-vertical-offset-screen-large: -((4 * @base-spacing-unit-screen-large));
@login-modal-product-name-vertical-offset-screen-jumbo: -((4 * 0.75 * @base-spacing-unit-screen-jumbo));
4 changes: 0 additions & 4 deletions src/styles/layout/alignment-utilities/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@
flex-direction: column;
width: 100%;
}

.unset-display {
display: unset;
}
4 changes: 4 additions & 0 deletions src/styles/layout/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ body,
outline: none;
}

.reset-color {
color: inherit;
}

/* Scrollable Container */

.container-scrollable {
Expand Down

0 comments on commit 587be24

Please sign in to comment.