cookies_eu 1.4.0 → 1.5.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
  SHA1:
3
- metadata.gz: c9eb8ea61a5d83ff08e56a2fd8cfc45d8dcdec26
4
- data.tar.gz: 4299639bda4160c9019629868b795b9da09ac80c
3
+ metadata.gz: a8fc85250784205ef651345748b6c0ef06b40fc5
4
+ data.tar.gz: 6ce16809c296edffbec4e07796bcbfa1c1c7fb50
5
5
  SHA512:
6
- metadata.gz: ad92ea03ae2119b46f340ca780e9fc0d284d45ad897519d602ee42cbc1f154c08980b38701f7f165127df0d2dacfdf6abac4d3be111604f8b1205889a8654037
7
- data.tar.gz: 26655fea0d70c2422223c0b36fc14a57b2a3adf596bb078b45b2167b83de5652b7afd885cc26179f3bd9d753ca0c58eb09b0c023b1a8de455eb0f2345e6b7a82
6
+ metadata.gz: de73d0b23fb0a924e4b16ccb0e573efbe62c6c592294c674ddfc4c844db5f23b2b47d13b901f0979e1a6a82615453f4f099befcd1fed5c931b9c6289cade1433
7
+ data.tar.gz: e9d1eb4366a836939810a226c2d910a7763b4dceebf095ef6681205ef06175b779f7d3c158e4a4b7d005ebf3c1ef8ff862d292531eff5e270dcc8dd82ef4ef41
data/.scss-lint.yml ADDED
@@ -0,0 +1,354 @@
1
+ # Default application configuration that all configurations inherit from.
2
+
3
+ linters:
4
+ BangFormat:
5
+ enabled: true
6
+ space_before_bang: true
7
+ space_after_bang: false
8
+
9
+ BorderZero:
10
+ enabled: true
11
+
12
+ ColorKeyword:
13
+ enabled: true
14
+
15
+ ColorVariable:
16
+ enabled: true
17
+
18
+ Comment:
19
+ enabled: true
20
+
21
+ DebugStatement:
22
+ enabled: true
23
+
24
+ DeclarationOrder:
25
+ enabled: true
26
+
27
+ DuplicateProperty:
28
+ enabled: true
29
+
30
+ ElsePlacement:
31
+ enabled: true
32
+ style: same_line # or 'new_line'
33
+
34
+ EmptyLineBetweenBlocks:
35
+ enabled: true
36
+ ignore_single_line_blocks: true
37
+
38
+ EmptyRule:
39
+ enabled: true
40
+
41
+ FinalNewline:
42
+ enabled: true
43
+ present: true
44
+
45
+ HexLength:
46
+ enabled: true
47
+ style: long # 'short' or 'long'
48
+
49
+ HexNotation:
50
+ enabled: true
51
+ style: uppercase # 'lowercase' or 'uppercase'
52
+
53
+ HexValidation:
54
+ enabled: true
55
+
56
+ IdSelector:
57
+ enabled: true
58
+
59
+ ImportantRule:
60
+ enabled: true
61
+
62
+ ImportPath:
63
+ enabled: true
64
+ leading_underscore: false
65
+ filename_extension: false
66
+
67
+ Indentation:
68
+ enabled: true
69
+ character: space # or 'tab'
70
+ width: 2
71
+
72
+ LeadingZero:
73
+ enabled: true
74
+ style: include_zero # exclude_zero or 'include_zero'
75
+
76
+ MergeableSelector:
77
+ enabled: true
78
+ force_nesting: true
79
+
80
+ # NameFormat:
81
+ # enabled: false
82
+ # convention: BEM # hyphenated_lowercase or 'BEM', or a regex pattern
83
+
84
+ NestingDepth:
85
+ enabled: true
86
+ max_depth: 4
87
+
88
+ PlaceholderInExtend:
89
+ enabled: true
90
+
91
+ PropertySortOrder:
92
+ enabled: true
93
+ order:
94
+ - font
95
+ - font-family
96
+ - font-size
97
+ - font-weight
98
+ - font-style
99
+ - font-variant
100
+ - font-size-adjust
101
+ - font-stretch
102
+ - font-effect
103
+ - font-emphasize
104
+ - font-emphasize-position
105
+ - font-emphasize-style
106
+ - font-smooth
107
+ - line-height
108
+ - # This empty element signals a visual separation
109
+ - position
110
+ - z-index
111
+ - top
112
+ - right
113
+ - bottom
114
+ - left
115
+ -
116
+ - display
117
+ - visibility
118
+ - float
119
+ - clear
120
+ - overflow
121
+ - overflow-x
122
+ - overflow-y
123
+ - clip
124
+ - zoom
125
+ - flex-direction
126
+ - flex-order
127
+ - flex-pack
128
+ - flex-align
129
+ -
130
+ - box-sizing
131
+ - width
132
+ - min-width
133
+ - max-width
134
+ - height
135
+ - min-height
136
+ - max-height
137
+ - margin
138
+ - margin-top
139
+ - margin-right
140
+ - margin-bottom
141
+ - margin-left
142
+ - padding
143
+ - padding-top
144
+ - padding-right
145
+ - padding-bottom
146
+ - padding-left
147
+ -
148
+ - table-layout
149
+ - empty-cells
150
+ - caption-side
151
+ - border-spacing
152
+ - border-collapse
153
+ - list-style
154
+ - list-style-position
155
+ - list-style-type
156
+ - list-style-image
157
+ -
158
+ - content
159
+ - quotes
160
+ - counter-reset
161
+ - counter-increment
162
+ - resize
163
+ - cursor
164
+ - user-select
165
+ - nav-index
166
+ - nav-up
167
+ - nav-right
168
+ - nav-down
169
+ - nav-left
170
+ - transition
171
+ - transition-delay
172
+ - transition-timing-function
173
+ - transition-duration
174
+ - transition-property
175
+ - transform
176
+ - transform-origin
177
+ - animation
178
+ - animation-name
179
+ - animation-duration
180
+ - animation-play-state
181
+ - animation-timing-function
182
+ - animation-delay
183
+ - animation-iteration-count
184
+ - animation-direction
185
+ - text-align
186
+ - text-align-last
187
+ - vertical-align
188
+ - white-space
189
+ - text-decoration
190
+ - text-emphasis
191
+ - text-emphasis-color
192
+ - text-emphasis-style
193
+ - text-emphasis-position
194
+ - text-indent
195
+ - text-justify
196
+ - letter-spacing
197
+ - word-spacing
198
+ - text-outline
199
+ - text-transform
200
+ - text-wrap
201
+ - text-overflow
202
+ - text-overflow-ellipsis
203
+ - text-overflow-mode
204
+ - word-wrap
205
+ - word-break
206
+ - tab-size
207
+ - hyphens
208
+ - pointer-events
209
+ -
210
+ - opacity
211
+ - filter
212
+ - color
213
+ - border
214
+ - border-width
215
+ - border-style
216
+ - border-color
217
+ - border-top
218
+ - border-top-width
219
+ - border-top-style
220
+ - border-top-color
221
+ - border-right
222
+ - border-right-width
223
+ - border-right-style
224
+ - border-right-color
225
+ - border-bottom
226
+ - border-bottom-width
227
+ - border-bottom-style
228
+ - border-bottom-color
229
+ - border-left
230
+ - border-left-width
231
+ - border-left-style
232
+ - border-left-color
233
+ - border-radius
234
+ - border-top-left-radius
235
+ - border-top-right-radius
236
+ - border-bottom-right-radius
237
+ - border-bottom-left-radius
238
+ - border-image
239
+ - border-image-source
240
+ - border-image-slice
241
+ - border-image-width
242
+ - border-image-outset
243
+ - border-image-repeat
244
+ - outline
245
+ - outline-width
246
+ - outline-style
247
+ - outline-color
248
+ - outline-offset
249
+ - background
250
+ - background-color
251
+ - background-image
252
+ - background-repeat
253
+ - background-attachment
254
+ - background-position
255
+ - background-position-x
256
+ - background-position-y
257
+ - background-clip
258
+ - background-origin
259
+ - background-size
260
+ - box-decoration-break
261
+ - box-shadow
262
+ - text-shadow
263
+ separate_groups: true
264
+
265
+ PropertySpelling:
266
+ enabled: true
267
+ extra_properties: []
268
+
269
+ QualifyingElement:
270
+ enabled: true
271
+ allow_element_with_attribute: true
272
+ allow_element_with_class: false
273
+ allow_element_with_id: false
274
+
275
+ SelectorDepth:
276
+ enabled: true
277
+ max_depth: 3
278
+
279
+ SelectorFormat:
280
+ enabled: true
281
+ convention: ^([\.\%]?[a-z]*[-]?[a-z0-9\-]*)(\.[a-z0-9\-]*)?(__[a-z0-9]*[-]?[a-z0-9\-]*)?(_[a-z0-9]*[-]?[a-z0-9\-]*)?(\:[a-z]*)*$ # or 'hyphenated_lowercase', or 'snake_case', or 'camel_case', or a regex pattern
282
+
283
+ Shorthand:
284
+ enabled: true
285
+ allowed_shorthands: [1, 2]
286
+
287
+ SingleLinePerProperty:
288
+ enabled: true
289
+ allow_single_line_rule_sets: true
290
+
291
+ SingleLinePerSelector:
292
+ enabled: true
293
+
294
+ SpaceAfterComma:
295
+ enabled: true
296
+
297
+ SpaceAfterPropertyColon:
298
+ enabled: true
299
+ style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
300
+
301
+ SpaceAfterPropertyName:
302
+ enabled: true
303
+
304
+ SpaceAfterVariableName:
305
+ enabled: true
306
+
307
+ SpaceAroundOperator:
308
+ enabled: true
309
+
310
+ SpaceBeforeBrace:
311
+ enabled: true
312
+ allow_single_line_padding: false
313
+
314
+ SpaceBetweenParens:
315
+ enabled: true
316
+ spaces: 0
317
+
318
+ StringQuotes:
319
+ enabled: true
320
+ style: single_quotes # or double_quotes
321
+
322
+ TrailingSemicolon:
323
+ enabled: true
324
+
325
+ TrailingZero:
326
+ enabled: true
327
+
328
+ TransitionAll:
329
+ enabled: true
330
+
331
+ UnnecessaryMantissa:
332
+ enabled: true
333
+
334
+ UnnecessaryParentReference:
335
+ enabled: true
336
+
337
+ UrlFormat:
338
+ enabled: true
339
+
340
+ UrlQuotes:
341
+ enabled: true
342
+
343
+ VariableForProperty:
344
+ enabled: true
345
+ properties: [color, font, background-color]
346
+
347
+ VendorPrefix:
348
+ enabled: true
349
+
350
+ ZeroUnit:
351
+ enabled: true
352
+
353
+ Compass::*:
354
+ enabled: false
@@ -1,57 +1,59 @@
1
+ $cookies-eu-background-color: #F2F2F2;
2
+ $cookies-eu-border-color: #E4E4E4;
3
+ $cookies-eu-button-background-color: #4D90FE;
4
+ $cookies-eu-button-color: #FFFFFF;
5
+ $cookies-eu-mobile: 'max-width: 767px';
6
+
1
7
  .cookies-eu {
8
+ line-height: 40px;
9
+
2
10
  position: fixed;
11
+ z-index: 999;
12
+ right: 0;
3
13
  bottom: 0;
4
14
  left: 0;
5
- line-height: 40px;
6
- background: #f2f2f2;
7
- border-top: 1px solid #e4e4e4;
8
- width: 100%;
9
- z-index: 999;
15
+
16
+ padding: 0 20px;
17
+
10
18
  text-align: center;
11
19
 
12
- .cookies-eu-content-holder {
20
+ border-top: 1px solid $cookies-eu-border-color;
21
+ background: $cookies-eu-background-color;
22
+
23
+ @media ($cookies-eu-mobile) {
24
+ font-size: 12px;
25
+ line-height: 30px;
26
+
27
+ position: initial;
28
+ }
29
+
30
+ & &-content-holder {
13
31
  display: inline-block;
32
+
14
33
  padding: 0 20px;
15
- line-height: 26px;
16
34
  }
17
- .cookies-eu-button-holder {
35
+
36
+ & &-button-holder {
18
37
  display: inline-block;
19
- padding-right: 20px;
20
38
 
21
39
  .cookies-eu-ok {
22
- background-color: #4d90fe;
23
- background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
24
- border: 1px solid #3079ed;
25
- border-radius: 2px;
26
- color: #fff;
27
- cursor: default;
28
- display: inline-block;
29
40
  font-size: 11px;
30
41
  font-weight: bold;
31
- height: 24px;
42
+
32
43
  line-height: 20px;
33
- margin-right: 0px;
44
+
34
45
  min-width: 26px;
35
- outline: 0;
36
- padding: 0 11px;
46
+ margin-right: 5px;
47
+ padding: 2px 11px;
48
+
49
+ cursor: pointer;
37
50
  text-align: center;
38
51
  white-space: nowrap;
39
- margin: 0 5px;
40
- }
41
- }
42
- }
43
52
 
44
- @media (max-width: 767px){
45
- .cookies-eu{
46
- position: static;
47
- font-size: 12px;
48
- line-height: 20px;
49
- .cookies-eu-content-holder{
50
- line-height: 16px;
51
- padding: 5px 20px;
52
- }
53
- .cookies-eu-button-holder{
54
- padding-bottom: 5px;
53
+ color: $cookies-eu-button-color;
54
+ border: 0;
55
+ outline: none;
56
+ background-color: $cookies-eu-button-background-color;
55
57
  }
56
58
  }
57
59
  }
@@ -1,3 +1,3 @@
1
1
  module CookiesEu
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookies_eu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - ".gitignore"
63
+ - ".scss-lint.yml"
63
64
  - Gemfile
64
65
  - LICENSE.txt
65
66
  - README.md