leather 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
 
4
4
  @import 'bootstrap';
5
5
 
6
- $white: #fff;
6
+ $white: #FFFFFF;
7
7
  $devise-bg-gradient-start: #355069;
8
8
  $devise-bg-gradient-end: #5E7A9B;
9
9
  $devise-box-border-color: #6ED5E4;
@@ -12,46 +12,41 @@ html, body {
12
12
  height: 100%;
13
13
  }
14
14
 
15
+ .text-white { color: $white; }
16
+
15
17
  .devise_sessions, .devise_registrations, .devise_passwords {
16
18
  &.new, &.create {
17
- @extend .devise-gradient-bg;
18
- @extend .devise-box;
19
+ @extend .devise;
19
20
  }
20
21
  }
22
+
21
23
  .devise_passwords.edit {
22
- @extend .devise-gradient-bg;
23
- @extend .devise-box;
24
+ @extend .devise;
24
25
  }
25
26
 
26
- .text-white { color: $white; }
27
-
28
- .devise-gradient-bg {
27
+ .devise {
29
28
  @include gradient-vertical($devise-bg-gradient-start, $devise-bg-gradient-end);
30
29
  background-attachment: fixed !important;
31
- }
32
-
33
- .devise-welcome {
34
- @extend .text-center;
35
- @extend .text-white;
36
- text-shadow: 1px 1px 3px $gray-dark;
37
- padding: 50px 0 20px 0;
38
- h2 {
39
- margin-bottom: 50px;
40
- a {
41
- color: $white;
42
- text-decoration: none;
43
- @include transition(color 0.25s linear);
44
- &:hover {
45
- color: darken($white, 20%);
30
+ .devise-welcome {
31
+ @extend .text-center;
32
+ @extend .text-white;
33
+ text-shadow: 1px 1px 3px $gray-dark;
34
+ padding: 50px 0 20px 0;
35
+ h2 {
36
+ margin-bottom: 50px;
37
+ a {
38
+ @extend .text-white;
39
+ text-decoration: none;
40
+ @include transition(color 0.25s linear);
41
+ &:hover {
42
+ color: darken($white, 20%);
43
+ }
46
44
  }
47
45
  }
46
+ h2, h3 {
47
+ font-weight: lighter;
48
+ }
48
49
  }
49
- h2, h3 {
50
- font-weight: lighter;
51
- }
52
- }
53
-
54
- .devise-box {
55
50
  form {
56
51
  @include border-top-radius($border-radius-base);
57
52
  @include border-bottom-radius($border-radius-base);
@@ -73,15 +68,15 @@ html, body {
73
68
  padding-top: 30px;
74
69
  }
75
70
  }
71
+ .devise-links {
72
+ @extend .text-center;
73
+ @extend .text-white;
74
+ margin-top: 20px;
75
+ margin-bottom: 70px;
76
+ a {
77
+ text-decoration: underline;
78
+ @extend .text-white;
79
+ }
80
+ }
76
81
  }
77
82
 
78
- .devise-links {
79
- @extend .text-center;
80
- @extend .text-white;
81
- margin-top: 20px;
82
- margin-bottom: 70px;
83
- a {
84
- text-decoration: underline;
85
- color: $white;
86
- }
87
- }
@@ -1,7 +1,8 @@
1
1
  <div class="container">
2
- <%= render "devise/shared/welcome", subtitle: "Change your password." %>
3
2
  <div class="row">
4
3
  <div class="col-md-6 col-md-offset-3">
4
+ <%= render "devise/shared/welcome", subtitle: "Change your password." %>
5
+
5
6
  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
6
7
  <%= devise_error_messages! %>
7
8
  <%= f.hidden_field :reset_password_token %>
@@ -20,6 +21,7 @@
20
21
  <%= f.submit "Send instructions", class: "btn btn-default" %>
21
22
  </div>
22
23
  <% end %>
24
+
23
25
  <%= render "devise/shared/links" %>
24
26
  </div>
25
27
  </div>
@@ -1,7 +1,8 @@
1
1
  <div class="container">
2
- <%= render "devise/shared/welcome", subtitle: "Reset your password." %>
3
2
  <div class="row">
4
3
  <div class="col-md-6 col-md-offset-3">
4
+ <%= render "devise/shared/welcome", subtitle: "Reset your password." %>
5
+
5
6
  <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
6
7
  <%= devise_error_messages! %>
7
8
 
@@ -14,6 +15,7 @@
14
15
  <%= f.submit "Send instructions", class: "btn btn-default" %>
15
16
  </div>
16
17
  <% end %>
18
+
17
19
  <%= render "devise/shared/links" %>
18
20
  </div>
19
21
  </div>
@@ -1,7 +1,8 @@
1
1
  <div class="container">
2
- <%= render "devise/shared/welcome", subtitle: "Set up your new account today." %>
3
2
  <div class="row">
4
3
  <div class="col-md-6 col-md-offset-3">
4
+ <%= render "devise/shared/welcome", subtitle: "Set up your new account today." %>
5
+
5
6
  <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
6
7
  <%= devise_error_messages! %>
7
8
 
@@ -24,6 +25,7 @@
24
25
  <%= f.submit "Create my account", class: "btn btn-default" %>
25
26
  </div>
26
27
  <% end %>
28
+
27
29
  <%= render "devise/shared/links" %>
28
30
  </div>
29
31
  </div>
@@ -1,7 +1,8 @@
1
1
  <div class="container">
2
- <%= render "devise/shared/welcome", subtitle: "Sign in to your account." %>
3
2
  <div class="row">
4
3
  <div class="col-md-6 col-md-offset-3">
4
+ <%= render "devise/shared/welcome", subtitle: "Sign in to your account." %>
5
+
5
6
  <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
6
7
  <div class="form-group">
7
8
  <%= f.label :email, "Email address" %>
@@ -16,7 +17,7 @@
16
17
  <% if devise_mapping.rememberable? -%>
17
18
  <div>
18
19
  <%= 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>
20
+ <%= link_to "Forgot your password?", new_password_path(resource_name), class: "pull-right" %>
20
21
  </div>
21
22
  <% end -%>
22
23
 
@@ -24,6 +25,7 @@
24
25
  <%= f.submit "Sign in", class: "btn btn-default" %>
25
26
  </div>
26
27
  <% end %>
28
+
27
29
  <%= render "devise/shared/links" %>
28
30
  </div>
29
31
  </div>
@@ -1,3 +1,3 @@
1
1
  module Leather
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
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: 3863637794358644529
177
+ hash: 156711933537756873
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: 3863637794358644529
186
+ hash: 156711933537756873
187
187
  requirements: []
188
188
  rubyforge_project:
189
189
  rubygems_version: 1.8.24