middleman-gdpr 0.2.2 → 1.0.0

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: 7dda66277ed401981da830fa96476271899ac8d47c480be525012ed0b41f7fc7
4
- data.tar.gz: e80901c692f298f72a353bc039e115617e036fc5b3f4e178ec603d08e6a648a0
3
+ metadata.gz: bb8ca8f78cacf44036b695250e68e7ec64afaf84912712ca64c88abbd9542641
4
+ data.tar.gz: '0195dbf996fe7417905b18d913ff6b2d6cb3f5388eb4bf30a68839095f41e746'
5
5
  SHA512:
6
- metadata.gz: daad74e5c63af10470564ce876be10b8aa45d1608fdff4352d8ec73bf614a0ba0a0872679ae846d3d7328d9e06a9c82ec0ef35de4cf65008430053c16bac2edc
7
- data.tar.gz: f546beaa617aba68ebc4099b166e407b94cb99a99650f9e7a1a3cb375ef6ec88f29e33944b2096ce97edda3f381e0b7281102f20228c699d42dbe1d50dc5156e
6
+ metadata.gz: 2d43e10606cf0eaa068ba88d9cc79cf7b5010b9da6c4de68ecbfd4930d7c614f868068568bfdfeb6e95304be189d8a53fc4737da95201da6ced899557cc17fa3
7
+ data.tar.gz: b6f5a9943b2d848e3f88d4c49bee44cedddd6032040fab8c473d3af5fb925a4c248795bc47a21dc1422f2164206508f96ad0fb408c1a31dedf489a76bea77ade
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Gdpr
3
- VERSION = '0.2.2'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  end
@@ -4,6 +4,6 @@
4
4
  <%= t 'gdpr.cookie_consent.learn_more_html', link: t('gdpr.privacy_policy') %>
5
5
  </div>
6
6
  <div class="gdpr__cookie_consent__buttons">
7
- <button class="gdpr__cookie_consent__buttons__ok js-gdpr__cookie_consent__buttons__ok"> <%= t 'gdpr.cookie_consent.button' %></button>
7
+ <button class="gdpr__cookie_consent__buttons__ok js-gdpr__cookie_consent__buttons__ok btn btn-primary btn-sm btn-xs"> <%= t 'gdpr.cookie_consent.button' %></button>
8
8
  </div>
9
9
  </div>
@@ -1,33 +1,14 @@
1
1
  .gdpr__cookie_consent
2
2
  position: fixed
3
3
  z-index: 999
4
- right: 0
5
- bottom: 0
6
- left: 0
7
- padding: 0 20px
8
- text-align: center
9
- border-top: 1px solid #ccc
4
+ max-width: 500px
5
+ right: 15px
6
+ bottom: 15px
7
+ left: 15px
8
+ padding: 15px
9
+ border: 1px solid #eee
10
10
  background: #fff
11
-
12
- @media only screen and (max-width : 480px)
13
- font-size: 12px
14
- position: initial
11
+ font-size: 14px
15
12
 
16
13
  &__text
17
- display: inline-block
18
- padding: 20px 160px
19
-
20
- @media only screen and (max-width : 480px)
21
- padding: 20px 0
22
-
23
- &__buttons
24
- position: absolute
25
- right: 10px
26
- top: 12px
27
-
28
- @media only screen and (max-width : 480px)
29
- position: initial
30
- margin-bottom: 10px
31
-
32
- &__ok
33
- padding: 15px 21px 15px !important
14
+ margin-bottom: 15px
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-gdpr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Levy
@@ -10,10 +10,10 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-07-03 00:00:00.000000000 Z
13
+ date: 2019-06-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: middleman-core
16
+ name: middleman
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - ">="
@@ -40,20 +40,6 @@ dependencies:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
- - !ruby/object:Gem::Dependency
44
- name: rake
45
- requirement: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: '0'
50
- type: :runtime
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: '0'
57
43
  description: Adds a GDPR cookie consent and provides a simple checklist
58
44
  email:
59
45
  - alevy@lespoupees.paris