Skip to content

Commit

Permalink
Authenticator style overrides (aws-amplify#6531)
Browse files Browse the repository at this point in the history
* Additional box styling options - box-shadow, border-radius, padding & margin-bottom

* moved authenticator overrides to amplify-authenticator.scss
  • Loading branch information
dozyio authored Aug 7, 2020
1 parent e32d7bb commit ed3446a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
--min-width: 20rem;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.15);
--border-radius: 6px;
--padding: 35px 40px;
--margin-bottom: 20px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

.section {
position: relative;
margin-bottom: 20px;
margin-bottom: var(--margin-bottom);
background-color: var(--background-color);
padding: 35px 40px;
padding: var(--padding);
text-align: left;
display: inline-block;
border-radius: 6px;
box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.15);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
box-sizing: border-box;
font-family: var(--font-family);

Expand Down

0 comments on commit ed3446a

Please sign in to comment.