@import 'thecore_ui_commons/variables'; body { background: none; background-color:$primary; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } form.new_user { display: flex; flex-direction: column; } label { &[for=user_email], &[for=user_password], &+br { display: none; } } .contained { flex-direction: row; height: 55vh; width: 85vw; border: 2px solid lightgrey; border-radius: 2em; padding: 0px; background-color: white !important; max-width: 1136px; .field, .actions { width: 70%; input { box-sizing: border-box; &:focus { border-color: $primary!important; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba($primary, 0.6)!important; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba($primary, 0.6)!important; } } #user_email, #user_password, input[type=submit] { width: 100%; } } input[type=submit] { border-radius: 2em; } .logos, .new_user { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-basis: 50%; flex-grow: 0; } } .supplier { display: flex; align-items: center; justify-content: center; flex-direction: row; background-color: #fff; border-top-left-radius: 15px; border-top-right-radius: 15px; border-top: 1px solid lightgray; position: absolute; bottom: 0px; left: 0px; right: 0px; height: 3em; color: gray; .supplier-image { height: 98%; margin-right: 1em; } } // Copy rails_Admin style for alerts .alert { padding: 1rem 1rem; margin-bottom: 1rem; border: 1px solid transparent; } .alert-dismissible { padding-right: 3rem; } .alert-dismissible .btn-close { position: absolute; top: 0; right: 0; z-index: 2; padding: 1.25rem 1rem; } button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) { cursor: pointer; } $x_icon: "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e"; .btn-close { box-sizing: content-box; width: 1em; height: 1em; padding: 0.25em 0.25em; color: #000; background: transparent url($x_icon) center/1em auto no-repeat; border: 0; border-radius: 0.25rem; opacity: 0.5; } #main-menu-app-logo { width: 20vw; max-width: 300px; } @media screen and (max-width: 992px) { .contained { flex-direction: column; } #main-menu-app-logo { height: 100%; width: auto; } .contained .logos, .contained .new_user { flex-basis: auto; flex-grow: auto; } form.new_user { width: 70%; } } @import 'devise/custom/thecore/sessions'