jekyll-theme-blp 1.1.1 → 1.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d19bbf5554cc73f961c3c82a2b32afcd69ddbdb89bf81b9e6af12f20188f4a8d
4
- data.tar.gz: d6dfe5b56c9cb2a256c83840644f928fd948bad4bcb4b60dcce7278b3c8c24b6
3
+ metadata.gz: 5644f4b73f449e41b95e427e813595fe5fc260adfdc35b108495624eb000d728
4
+ data.tar.gz: a1f3bd04d67bcccf160a56866d8193ff6c949a6013d57f6e9474daeb56df9b2b
5
5
  SHA512:
6
- metadata.gz: 2f5603f170e8e152f26bfb26bb13531ce60960e9402d65a008cada28a8c2c85f29abfcc481160e9ac5914bd48a2b987fc686b552710d825f080b297f8b070347
7
- data.tar.gz: 7152fd7c0ec2078a4ac7352bc6c3ef830c28cc16f1e214e958361fc086eea4486d6f637572c22405d2be642dc625ef0c8782da04b1d38d1f1149b299f38044f4
6
+ metadata.gz: b6e908776b734a9f6ba041c7843df6fead8906d839b9eaf9f9dd284f89ebd9ef7f2bed87bf34c06a00a8167c6988e1110e9658eb0fe5d9b4165857dc2c44513f
7
+ data.tar.gz: 61313f3eec0614f761bb3edf8b9ae87869571d4c5d5ced4ed83aa24fd91dd160f58cb2b20680ad84967b7cea51478a9546fa0e44a13bf3c2ffdecc4ce50a431f
@@ -29,7 +29,7 @@
29
29
  </p>
30
30
  <p class="submit-button">
31
31
  {%- if page.redirect_to -%}
32
- <input type="hidden" name="redirect_to" value="{{- page.redirect_to -}}" />
32
+ <input type="hidden" name="redirect_to" value="{{- page.redirect_to | absolute_url -}}" />
33
33
  {%- endif -%}
34
34
  <button type="submit">{{- submit_button -}}</button>
35
35
  </p>
data/_sass/_base.scss CHANGED
@@ -135,4 +135,33 @@ textarea {
135
135
  label {
136
136
  font-weight: 700;
137
137
  @include relative-font-size(0.875);
138
+ }
139
+
140
+ button[type="submit"] {
141
+ -webkit-appearance: none;
142
+ appearance: none;
143
+ padding: $spacing-unit / 4 $spacing-unit / 2;
144
+ background-color: $color-background;
145
+ color: $color-text;
146
+ border: 2px solid $color-details;
147
+ border-radius: 6px;
148
+ font: inherit;
149
+ font-weight: 700;
150
+ transition-property: background-color, border-color, color;
151
+ transition-timing-function: ease;
152
+ transition-duration: 250ms;
153
+ cursor: pointer;
154
+
155
+ @include media-query($on-palm) {
156
+ display: block;
157
+ margin-left: auto;
158
+ margin-right: auto;
159
+ }
160
+
161
+ &:hover,
162
+ &:focus {
163
+ background-color: $color-accent;
164
+ border-color: $color-accent;
165
+ color: $color-background;
166
+ }
138
167
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-blp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Freitas