jekyll-theme-blp 1.1 → 1.3

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: 697078c53273ea9e89f9ebfa28f0653ed594e935bec822b999cc45836098436a
4
- data.tar.gz: 93ee82757dad4ffb182bfaad88e8ab1f2783ba973c0a3825fe1c356c387c12eb
3
+ metadata.gz: fd1037113e994263f932811bacf3b3dd1344c1eeb58e21befe420008d4e799ed
4
+ data.tar.gz: ee50e2d770a93139740125dab88307f8d01f00bc4a299bda76631640b7e93821
5
5
  SHA512:
6
- metadata.gz: 742a5cfc3020172f0828e992240b8ee17d057d7da9933a49c5c2335bbd72b48743cfa598bde561e433d4b28c593ff64406262ec503db62a9fecd0cc84e8b6f30
7
- data.tar.gz: 954a47fd97944303ee34ff56d080a9179ca923c3b43c5d076161806905d0278be0072ace6a9a399c55a8c95a6b4fbbf6a07e248483f67d65172b7192411817aa
6
+ metadata.gz: 327480778c34091a13a413336f7c0a24c2c8fca3141de927648db4a0543a1bb3792e2d0a861b35872df44b6a0f225bed52275a8998d684004af84a9be712c2ec
7
+ data.tar.gz: 5d906d5850c7aedc60e2711e9537d189a80aed9501d8751e3d41fecb4a41fc07ebb6afe545e9d241b88134777dd9c894f5c7fa70d05a907076969dbff21fabb7
@@ -14,7 +14,7 @@
14
14
  {%- assign message_error = "Ocorreu um erro ao enviar sua mensagem. Tente novamente." -%}
15
15
  {%- endif -%}
16
16
 
17
- <form class="contact-form" action="{{- site.form_token | prepend: '//getsimpleform.com/messages?form_api_token' -}}" method="post" data-contact-form>
17
+ <form class="contact-form" action="{{- site.form_token | prepend: '//getsimpleform.com/messages?form_api_token=' -}}" method="post" data-contact-form>
18
18
  <p>
19
19
  <label for="contact-name">{{- field_name -}}</label><br />
20
20
  <input id="contact-name" type="text" name="name" required />
@@ -28,11 +28,9 @@
28
28
  <textarea id="contact-message" name="mensagem" required></textarea>
29
29
  </p>
30
30
  <p class="submit-button">
31
+ {%- if page.redirect_to -%}
32
+ <input type="hidden" name="redirect_to" value="{{- page.redirect_to | absolute_url -}}" />
33
+ {%- endif -%}
31
34
  <button type="submit">{{- submit_button -}}</button>
32
35
  </p>
33
-
34
- <div class="feedback-messages">
35
- <p class="message error">{{- message_error -}}</p>
36
- <p class="message success">{{- message_success -}}</p>
37
- </div>
38
36
  </form>
@@ -16,6 +16,6 @@ $spacing-unit: 20px !default;
16
16
  $on-palm: 600px !default;
17
17
  $on-laptop: 800px !default;
18
18
 
19
- @import "mixins",
20
- "base",
21
- "layout";
19
+ @import "jekyll-theme-blp/mixins",
20
+ "jekyll-theme-blp/base",
21
+ "jekyll-theme-blp/layout";
@@ -76,6 +76,41 @@ ol {
76
76
  }
77
77
  }
78
78
 
79
+ // Headings
80
+ h2 {
81
+ text-align: center;
82
+ }
83
+
84
+ // Tables
85
+
86
+ table {
87
+ width: 100%;
88
+ @include relative-font-size(0.875);
89
+ overflow-x: auto;
90
+
91
+ @include media-query($on-palm) {
92
+ display: block;
93
+ }
94
+
95
+ th,
96
+ td {
97
+ text-align: right;
98
+ padding: $spacing-unit / 4;
99
+
100
+ &:first-child {
101
+ text-align: left;
102
+
103
+ @include media-query($on-palm) {
104
+ min-width: 180px;
105
+ }
106
+ }
107
+ }
108
+
109
+ th {
110
+ border-bottom: 1px solid $color-details;
111
+ }
112
+ }
113
+
79
114
  // Links
80
115
  a {
81
116
  color: $color-accent;
@@ -135,4 +170,33 @@ textarea {
135
170
  label {
136
171
  font-weight: 700;
137
172
  @include relative-font-size(0.875);
173
+ }
174
+
175
+ button[type="submit"] {
176
+ -webkit-appearance: none;
177
+ appearance: none;
178
+ padding: $spacing-unit / 4 $spacing-unit / 2;
179
+ background-color: $color-background;
180
+ color: $color-text;
181
+ border: 2px solid $color-details;
182
+ border-radius: 6px;
183
+ font: inherit;
184
+ font-weight: 700;
185
+ transition-property: background-color, border-color, color;
186
+ transition-timing-function: ease;
187
+ transition-duration: 250ms;
188
+ cursor: pointer;
189
+
190
+ @include media-query($on-palm) {
191
+ display: block;
192
+ margin-left: auto;
193
+ margin-right: auto;
194
+ }
195
+
196
+ &:hover,
197
+ &:focus {
198
+ background-color: $color-accent;
199
+ border-color: $color-accent;
200
+ color: $color-background;
201
+ }
138
202
  }
@@ -225,6 +225,45 @@
225
225
  }
226
226
  }
227
227
 
228
+ .partners-list {
229
+ list-style: none;
230
+ margin-left: 0;
231
+ display: flex;
232
+ flex-flow: row wrap;
233
+ justify-content: center;
234
+ align-items: center;
235
+
236
+ li {
237
+ padding: $spacing-unit / 2;
238
+
239
+ img {
240
+ max-width: 150px;
241
+ }
242
+ }
243
+ }
244
+
245
+ .info-links {
246
+ list-style: none;
247
+ display: flex;
248
+ flex-flow: row wrap;
249
+ justify-content: space-evenly;
250
+ align-items: center;
251
+ margin-left: 0;
252
+ font-weight: 700;
253
+
254
+ li {
255
+ padding: $spacing-unit / 4;
256
+
257
+ a {
258
+ display: inline-block;
259
+ padding: $spacing-unit / 4 $spacing-unit / 2;
260
+ border-radius: 6px;
261
+ background: $color-details;
262
+ border: 2px solid $color-details;
263
+ }
264
+ }
265
+ }
266
+
228
267
  /*
229
268
  Site Footer
230
269
  */
@@ -2,4 +2,4 @@
2
2
  # Hello, Jekyll!
3
3
  ---
4
4
 
5
- @import "blp";
5
+ @import "{{ site.theme }}";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-blp
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Freitas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-08 00:00:00.000000000 Z
11
+ date: 2020-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '2.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '2.0'
83
83
  description:
84
84
  email:
85
85
  - email@arthr.me
@@ -96,10 +96,10 @@ files:
96
96
  - _layouts/contact.html
97
97
  - _layouts/default.html
98
98
  - _layouts/page.html
99
- - _sass/_base.scss
100
- - _sass/_layout.scss
101
- - _sass/_mixins.scss
102
- - _sass/blp.scss
99
+ - _sass/jekyll-theme-blp.scss
100
+ - _sass/jekyll-theme-blp/_base.scss
101
+ - _sass/jekyll-theme-blp/_layout.scss
102
+ - _sass/jekyll-theme-blp/_mixins.scss
103
103
  - assets/images/bg.png
104
104
  - assets/images/selo-anbima.png
105
105
  - assets/images/selo-anbima2.png
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.0.6
129
+ rubygems_version: 3.1.2
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: O tema comum dos sites da BLP.