diff options
| author | Henry Jameson <me@hjkos.com> | 2018-04-01 05:28:20 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-04-07 16:36:35 +0300 |
| commit | acdb5e5c7a2dac1908a5daafd94c31bc116a1799 (patch) | |
| tree | 60713d0f6436fbcc0a17a4b4de647ebb884204ce /src/components/registration | |
| parent | aa0564406a95824cc45c815571292716b65806a1 (diff) | |
cleanup. added fallback mechanism for IE11 and unsupported browsers.
Diffstat (limited to 'src/components/registration')
| -rw-r--r-- | src/components/registration/registration.vue | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index 786a59e3..0966645d 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -55,6 +55,7 @@ <script src="./registration.js"></script> <style lang="scss"> +@import '../../_variables.scss'; .registration-form { display: flex; @@ -87,18 +88,13 @@ } form textarea { - border: solid; - border-width: 1px; - border-color: silver; border-radius: 5px; line-height:16px; - padding: 5px; resize: vertical; } input { border-radius: 5px; - padding: 0.1em 0.2em 0.2em 0.2em; } .captcha { @@ -111,21 +107,21 @@ //width: 10em; margin-top: 0.6em; height: 28px; - } + } - .error { - border-radius: 5px; - text-align: center; - margin: 0.5em 0.6em 0; - background-color: rgba(255, 48, 16, 0.65); - background-color: var(--cRed); - min-height: 28px; - line-height: 28px; - } + .error { + border-radius: 5px; + text-align: center; + margin: 0.5em 0.6em 0; + background-color: $fallback--cRed; + background-color: var(--cRed, $fallback--cRed); + min-height: 28px; + line-height: 28px; + } } @media all and (max-width: 959px) { - .registration-form .container { + .registration-form .container { flex-direction: column-reverse; } } |
