leather 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,22 +12,24 @@ html, body {
12
12
  height: 100%;
13
13
  }
14
14
 
15
- .devise-gradient-bg {
16
- @include gradient-vertical($devise-bg-gradient-start, $devise-bg-gradient-end);
17
- background-attachment: fixed !important;
18
- }
19
-
20
15
  .devise_sessions, .devise_registrations, .devise_passwords {
21
16
  &.new, &.create {
22
17
  @extend .devise-gradient-bg;
18
+ @extend .devise-box;
23
19
  }
24
20
  }
25
21
  .devise_passwords.edit {
26
22
  @extend .devise-gradient-bg;
23
+ @extend .devise-box;
27
24
  }
28
25
 
29
26
  .text-white { color: $white; }
30
27
 
28
+ .devise-gradient-bg {
29
+ @include gradient-vertical($devise-bg-gradient-start, $devise-bg-gradient-end);
30
+ background-attachment: fixed !important;
31
+ }
32
+
31
33
  .devise-welcome {
32
34
  @extend .text-center;
33
35
  @extend .text-white;
@@ -50,24 +52,26 @@ html, body {
50
52
  }
51
53
 
52
54
  .devise-box {
53
- @include border-top-radius($border-radius-base);
54
- @include border-bottom-radius($border-radius-base);
55
- border: 1px solid $white;
56
- background: $white;
57
- box-shadow: 1px 1px 3px $gray-dark;
58
- padding: 40px 40px 20px;
59
- border-top: 6px solid $devise-box-border-color;
60
- #error_explanation {
61
- @extend .alert;
62
- @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
63
- h2 {
64
- margin-top: 0;
65
- font-size: 15px;
55
+ form {
56
+ @include border-top-radius($border-radius-base);
57
+ @include border-bottom-radius($border-radius-base);
58
+ border: 1px solid $white;
59
+ background: $white;
60
+ box-shadow: 1px 1px 3px $gray-dark;
61
+ padding: 40px 40px 20px;
62
+ border-top: 6px solid $devise-box-border-color;
63
+ #error_explanation {
64
+ @extend .alert;
65
+ @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
66
+ h2 {
67
+ margin-top: 0;
68
+ font-size: 15px;
69
+ }
70
+ }
71
+ .actions {
72
+ @extend .text-center;
73
+ padding-top: 30px;
66
74
  }
67
- }
68
- .actions {
69
- @extend .text-center;
70
- padding-top: 30px;
71
75
  }
72
76
  }
73
77
 
@@ -2,26 +2,24 @@
2
2
  <%= render "devise/shared/welcome", subtitle: "Change your password." %>
3
3
  <div class="row">
4
4
  <div class="col-md-6 col-md-offset-3">
5
- <div class="devise-box">
6
- <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
7
- <%= devise_error_messages! %>
8
- <%= f.hidden_field :reset_password_token %>
5
+ <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
6
+ <%= devise_error_messages! %>
7
+ <%= f.hidden_field :reset_password_token %>
9
8
 
10
- <div class="form-group" >
11
- <%= f.label :password, "New password" %>
12
- <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %>
13
- </div>
9
+ <div class="form-group" >
10
+ <%= f.label :password, "New password" %>
11
+ <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %>
12
+ </div>
14
13
 
15
- <div class="form-group" >
16
- <%= f.label :password_confirmation, "Confirm new password" %>
17
- <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
18
- </div>
14
+ <div class="form-group" >
15
+ <%= f.label :password_confirmation, "Confirm new password" %>
16
+ <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
17
+ </div>
19
18
 
20
- <div class="actions">
21
- <%= f.submit "Send instructions", class: "btn btn-default" %>
22
- </div>
23
- <% end %>
24
- </div>
19
+ <div class="actions">
20
+ <%= f.submit "Send instructions", class: "btn btn-default" %>
21
+ </div>
22
+ <% end %>
25
23
  <%= render "devise/shared/links" %>
26
24
  </div>
27
25
  </div>
@@ -2,20 +2,18 @@
2
2
  <%= render "devise/shared/welcome", subtitle: "Reset your password." %>
3
3
  <div class="row">
4
4
  <div class="col-md-6 col-md-offset-3">
5
- <div class="devise-box">
6
- <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
7
- <%= devise_error_messages! %>
5
+ <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
6
+ <%= devise_error_messages! %>
8
7
 
9
- <div class="form-group" >
10
- <%= f.label :email, "Email address" %>
11
- <%= f.email_field :email, autofocus: true, class: "form-control" %>
12
- </div>
8
+ <div class="form-group" >
9
+ <%= f.label :email, "Email address" %>
10
+ <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
+ </div>
13
12
 
14
- <div class="actions">
15
- <%= f.submit "Send instructions", class: "btn btn-default" %>
16
- </div>
17
- <% end %>
18
- </div>
13
+ <div class="actions">
14
+ <%= f.submit "Send instructions", class: "btn btn-default" %>
15
+ </div>
16
+ <% end %>
19
17
  <%= render "devise/shared/links" %>
20
18
  </div>
21
19
  </div>
@@ -2,30 +2,28 @@
2
2
  <%= render "devise/shared/welcome", subtitle: "Set up your new account today." %>
3
3
  <div class="row">
4
4
  <div class="col-md-6 col-md-offset-3">
5
- <div class="devise-box">
6
- <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
7
- <%= devise_error_messages! %>
8
-
9
- <div class="form-group" >
10
- <%= f.label :email, "Email address" %>
11
- <%= f.email_field :email, autofocus: true, class: "form-control" %>
12
- </div>
5
+ <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
6
+ <%= devise_error_messages! %>
7
+
8
+ <div class="form-group" >
9
+ <%= f.label :email, "Email address" %>
10
+ <%= f.email_field :email, autofocus: true, class: "form-control" %>
11
+ </div>
13
12
 
14
- <div class="form-group">
15
- <%= f.label :password %>
16
- <%= f.password_field :password, autocomplete: "off", class: "form-control" %>
17
- </div>
13
+ <div class="form-group">
14
+ <%= f.label :password %>
15
+ <%= f.password_field :password, autocomplete: "off", class: "form-control" %>
16
+ </div>
18
17
 
19
- <div class="form-group">
20
- <%= f.label :password_confirmation, "Confirm your password" %>
21
- <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
22
- </div>
18
+ <div class="form-group">
19
+ <%= f.label :password_confirmation, "Confirm your password" %>
20
+ <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
21
+ </div>
23
22
 
24
- <div class="actions">
25
- <%= f.submit "Create my account", class: "btn btn-default" %>
26
- </div>
27
- <% end %>
28
- </div>
23
+ <div class="actions">
24
+ <%= f.submit "Create my account", class: "btn btn-default" %>
25
+ </div>
26
+ <% end %>
29
27
  <%= render "devise/shared/links" %>
30
28
  </div>
31
29
  </div>
@@ -2,30 +2,28 @@
2
2
  <%= render "devise/shared/welcome", subtitle: "Sign in to your account." %>
3
3
  <div class="row">
4
4
  <div class="col-md-6 col-md-offset-3">
5
- <div class="devise-box">
6
- <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
7
- <div class="form-group" >
8
- <%= f.label :email, "Email address" %>
9
- <%= f.email_field :email, autofocus: true, class: "form-control" %>
10
- </div>
11
-
12
- <div class="form-group">
13
- <%= f.label :password %>
14
- <%= f.password_field :password, autocomplete: "off", class: "form-control" %>
15
- </div>
5
+ <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
6
+ <div class="form-group">
7
+ <%= f.label :email, "Email address" %>
8
+ <%= f.email_field :email, autofocus: true, class: "form-control" %>
9
+ </div>
16
10
 
17
- <% if devise_mapping.rememberable? -%>
18
- <div>
19
- <%= f.check_box :remember_me %> <%= f.label :remember_me %>
20
- <span class="pull-right"><%= link_to "Forgot your password?", new_password_path(resource_name) %></span>
21
- </div>
22
- <% end -%>
11
+ <div class="form-group">
12
+ <%= f.label :password %>
13
+ <%= f.password_field :password, autocomplete: "off", class: "form-control" %>
14
+ </div>
23
15
 
24
- <div class="actions">
25
- <%= f.submit "Sign in", class: "btn btn-default" %>
16
+ <% if devise_mapping.rememberable? -%>
17
+ <div>
18
+ <%= f.check_box :remember_me %> <%= f.label :remember_me %>
19
+ <span class="pull-right"><%= link_to "Forgot your password?", new_password_path(resource_name) %></span>
26
20
  </div>
27
- <% end %>
28
- </div>
21
+ <% end -%>
22
+
23
+ <div class="actions">
24
+ <%= f.submit "Sign in", class: "btn btn-default" %>
25
+ </div>
26
+ <% end %>
29
27
  <%= render "devise/shared/links" %>
30
28
  </div>
31
29
  </div>
@@ -1,3 +1,3 @@
1
1
  module Leather
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -174,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
174
  version: '0'
175
175
  segments:
176
176
  - 0
177
- hash: -1691756790031044391
177
+ hash: 1505680980325842506
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  none: false
180
180
  requirements:
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  version: '0'
184
184
  segments:
185
185
  - 0
186
- hash: -1691756790031044391
186
+ hash: 1505680980325842506
187
187
  requirements: []
188
188
  rubyforge_project:
189
189
  rubygems_version: 1.8.24