diff options
author | 2020-11-28 00:49:09 +0100 | |
---|---|---|
committer | 2020-11-28 00:49:09 +0100 | |
commit | 88c2fa63eb8c3ade93914f77d427219b3233ca02 (patch) | |
tree | 7f9cf80e9146ac92af8b3344b416f21da04acece /client/src/login/scss | |
parent | 5bc2917e78c133cd8966a65aa200588eb6d7c0d6 (diff) | |
download | website_creator-88c2fa63eb8c3ade93914f77d427219b3233ca02.tar.gz website_creator-88c2fa63eb8c3ade93914f77d427219b3233ca02.tar.bz2 website_creator-88c2fa63eb8c3ade93914f77d427219b3233ca02.zip |
adding missing styles
Diffstat (limited to 'client/src/login/scss')
-rw-r--r-- | client/src/login/scss/_loginPanel.scss | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/client/src/login/scss/_loginPanel.scss b/client/src/login/scss/_loginPanel.scss index 8afb066..b105784 100644 --- a/client/src/login/scss/_loginPanel.scss +++ b/client/src/login/scss/_loginPanel.scss @@ -1,14 +1,37 @@ .login-panel { text-align: center; + padding: 1.5em; &__form { display: inline-block; + width: 100%; + max-width: 400px; + } + + @keyframes shine { + 0% {background-size: 220% 100%;} + 7% {background-position: 0 100%;} + 100% {background-position: 0 100%;} } &__header { - color: white; - font-size: 2em; + color: $text; + font-size: 1.75em; + line-height: 1.5; margin-bottom: 4em; + position: relative; + display: inline-block; + color: $text; + overflow: hidden; + background: linear-gradient(to right, $text 50%, $text-selected 55%, $text 60%); + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-position: 110%; + animation: shine 15s ease-out; + background-size: 220% 100%; + animation-iteration-count: infinite; + animation-delay: 8s; } &__button { @@ -21,14 +44,9 @@ padding: .5em 1.5em; margin: 0 auto; transition: .3s color, .3s background; - cursor: pointer; - - &:hover { - background: $text-inactive; - color: $background; - } &.active { + cursor: pointer; background: $background; color: $text-selected; border: 2px solid $text-selected; |