diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss new file mode 100644 index 000000000..8e2065d00 --- /dev/null +++ b/app/assets/stylesheets/common/base/login.scss @@ -0,0 +1,13 @@ +.caps-lock-warning { + color: $danger; + font-size: 12px; + font-weight: bold; +} + +.discourse-no-touch #login-form { + margin: 0; +} + +.discourse-touch .caps-lock-warning { + display: none; +} \ No newline at end of file diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss index 60ec8aae7..05e2a2d83 100644 --- a/app/assets/stylesheets/desktop/login.scss +++ b/app/assets/stylesheets/desktop/login.scss @@ -16,19 +16,6 @@ } } -.caps-lock-warning { - color: $danger; - font-size: 12px; -} - -.discourse-no-touch #login-form { - margin: 0; -} - -.discourse-touch .caps-lock-warning { - display: none; -} - .login-modal { .fa-spinner { font-size: 18px; diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss index 944035238..f0f59ec11 100644 --- a/app/assets/stylesheets/mobile/login.scss +++ b/app/assets/stylesheets/mobile/login.scss @@ -24,19 +24,6 @@ td { padding: 4px; } } -.caps-lock-warning { - color: $danger; - font-size: 12px; -} - -.discourse-no-touch #login-form { - margin: 0; -} - -.discourse-touch .caps-lock-warning { - display: none; -} - a#new-account-link { white-space:nowrap; } // Create account