mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Registrar style fixes after style refactor
This commit is contained in:
parent
eeefe294b1
commit
a395a73fa0
4 changed files with 43 additions and 82 deletions
|
@ -1,41 +0,0 @@
|
|||
.error-tab > a
|
||||
color: #a94442 !important
|
||||
|
||||
.edit-highlight
|
||||
background-color: #E7E7E7
|
||||
|
||||
.navbar-brand
|
||||
line-height: 12px
|
||||
padding-top: 20px
|
||||
padding-bottom: 5px
|
||||
|
||||
.navbar-brand small
|
||||
display: block
|
||||
font-size: 10px
|
||||
|
||||
.footer
|
||||
color: #777
|
||||
padding-top: 15px
|
||||
font-size: 10px
|
||||
|
||||
.nowrap
|
||||
white-space: nowrap
|
||||
|
||||
.form-signin
|
||||
max-width: 330px
|
||||
padding: 15px
|
||||
margin: 0 auto
|
||||
input
|
||||
margin-bottom: 10px
|
||||
|
||||
.form-signin .form-control
|
||||
position: relative
|
||||
height: auto
|
||||
-webkit-box-sizing: border-box
|
||||
-moz-box-sizing: border-box
|
||||
box-sizing: border-box
|
||||
padding: 10px
|
||||
font-size: 16px
|
||||
|
||||
.no-border
|
||||
border: 0 !important
|
|
@ -12,6 +12,10 @@ $navbar-default-link-active-color: #333
|
|||
@import "bootstrap-sprockets"
|
||||
@import "bootstrap"
|
||||
|
||||
// http://stackoverflow.com/questions/18153234/center-a-column-using-twitter-bootstrap-3
|
||||
.center-block
|
||||
float: none !important
|
||||
|
||||
.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg
|
||||
text-align: left
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
.form-signin.text-center
|
||||
%h2.form-signin-heading.text-center= t('log_in')
|
||||
.row
|
||||
.form-signin.col-md-6.center-block.text-center
|
||||
%h2.form-signin-heading.text-center= t(:log_in)
|
||||
%hr
|
||||
= link_to '/registrar/login/mid' do
|
||||
= image_tag 'mid.gif'
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
.form-signin.text-center
|
||||
%h2.form-signin-heading.text-center= t('log_in_with_mid')
|
||||
.row
|
||||
.form-signin.col-md-4.center-block.text-center
|
||||
%h2.form-signin-heading.text-center= t(:log_in_with_mid)
|
||||
%hr
|
||||
= link_to '/registrar/login/mid' do
|
||||
= image_tag 'mid.gif'
|
||||
= link_to '/registrar/login/id' do
|
||||
= image_tag 'id_card.gif'
|
||||
= form_for @user, url: registrar_mid_path, html: {class: 'form-signin'} do |f|
|
||||
= f.text_field :phone, class: 'form-control', placeholder: t('phone_no'), autocomplete: 'off'
|
||||
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t('log_in')
|
||||
= f.text_field :phone, class: 'form-control', placeholder: t(:phone_no), autocomplete: 'off'
|
||||
%button.btn.btn-lg.btn-primary.btn-block.js-login{:type => 'submit'}= t(:log_in)
|
||||
|
||||
- if ['development', 'alpha'].include?(Rails.env)
|
||||
%div.text-center
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue