diff --git a/app/assets/stylesheets/devise/_login.scss b/app/assets/stylesheets/devise/_login.scss index 702f4ce..0bb8aaf 100644 --- a/app/assets/stylesheets/devise/_login.scss +++ b/app/assets/stylesheets/devise/_login.scss @@ -18,13 +18,13 @@ url('https://unsplash.com/photos/jay5BqVyf5A'); - .login-content { position: relative; - top: -10vh; + // top: -10vh; padding: 50px; background-color: white; width: 25vw; + min-width: 300px; border-radius: 3px; box-shadow: 1px 1px 10px rgba(0,0,0, 0.21); diff --git a/app/assets/stylesheets/pages/_settings.scss b/app/assets/stylesheets/pages/_settings.scss index b7b0f6c..565180a 100644 --- a/app/assets/stylesheets/pages/_settings.scss +++ b/app/assets/stylesheets/pages/_settings.scss @@ -72,6 +72,15 @@ input:checked + .slider:before { color: black; } +.slider.rounded { + border-radius: 3px; +} + +.slider.rounded:before { + border-radius: 3px; +} + + .settings { color: white; } @@ -102,6 +111,10 @@ input:checked + .slider:before { align-items: center; } +.space-between { + justify-content: space-between; +} + .center-screen { display: flex; flex-direction: column; diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 799901f..d584042 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -11,11 +11,19 @@ <%= f.input :password, required: false, input_html: { autocomplete: "current-password" } %> - <%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %> +