File tree Expand file tree Collapse file tree
assets/stylesheets/alchemy-devise Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ body .user_sessions ,
2+ body .passwords {
3+ background-color : $main-menu-bg-color ;
4+ color : $white ;
5+
6+ a {
7+ color : $white ;
8+ }
9+
10+ #errors ,
11+ .message.info {
12+ border-color : transparent ;
13+ }
14+
15+ #errors {
16+ margin-left : 157px ;
17+ }
18+ }
19+
120#logo {
2- width : 240 px ;
3- height : 70 px ;
4- margin : 0 0 1em 187 px ;
21+ width : 275 px ;
22+ height : auto ;
23+ margin : 0 0 1em 164 px ;
524}
625
726.login_signup_box {
827 position : absolute ;
928 width : 450px ;
1029 top : 50% ;
1130 left : 50% ;
12- transform : translate (-50 % , -50% );
31+ transform : translate (-60 % , -50% );
1332
1433 .no-js & {
1534 display : none ;
1837 .message {
1938 margin-left : 157px ;
2039 }
40+
41+ .link {
42+ text-align : right ;
43+ }
44+
45+ button .secondary {
46+ color : $white ;
47+ border-color : $white ;
48+ }
2149}
Original file line number Diff line number Diff line change 1414 <%= f . hidden_field :reset_password_token %>
1515 <%= f . input :password , autofocus : true , label : Alchemy . t ( "New password" ) %>
1616 <%= f . input :password_confirmation , label : Alchemy . t ( "Confirm new password" ) %>
17+ < div class ="input link ">
18+ < small >
19+ <%= link_to Alchemy . t ( :back ) , alchemy . login_path %>
20+ </ small >
21+ </ div >
1722 <%= f . submit Alchemy . t ( "Change password" ) %>
1823 <% end %>
1924</ div >
Original file line number Diff line number Diff line change 1414 <%= f . input :email ,
1515 autofocus : true ,
1616 input_html : { value : params [ :email ] } %>
17- <%= f . submit Alchemy . t ( "Send reset instructions" ) %>
17+ < div class ="input link ">
18+ < small >
19+ <%= link_to Alchemy . t ( :back ) , alchemy . login_path %>
20+ </ small >
21+ </ div >
22+ <%= f . submit Alchemy . t ( "Send reset instructions" ) , input_html : { class : 'secondary' } %>
1823 <% end %>
1924</ div >
Original file line number Diff line number Diff line change 33 <%= alchemy_form_for :user , url : { action : 'create' } , id : 'login' do |f | %>
44 <%= f . input Devise . authentication_keys . first , autofocus : true %>
55 <%= f . input :password %>
6- < div class ="input ">
7- < small class =" hint " >
6+ < div class ="input link ">
7+ < small >
88 <%= link_to Alchemy . t ( 'Forgot your password?' ) , new_password_path %>
99 </ small >
1010 </ div >
1111 < div class ="submit ">
1212 <%= hidden_field_tag 'user_screensize' %>
13- < button > <%= Alchemy . t ( :login ) %> </ button >
13+ < button class =" secondary " > <%= Alchemy . t ( :login ) %> </ button >
1414 </ div >
1515 <% end %>
1616</ div >
You can’t perform that action at this time.
0 commit comments