sibu 0.8.4 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/tarteaucitron/advertising.js +1 -0
  3. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.cs.js +75 -0
  4. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.de.js +75 -0
  5. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.el.js +75 -0
  6. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.en.js +75 -0
  7. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.es.js +75 -0
  8. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.fr.js +75 -0
  9. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.it.js +75 -0
  10. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.nl.js +75 -0
  11. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.pl.js +76 -0
  12. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.pt.js +73 -0
  13. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.ru.js +75 -0
  14. data/app/assets/javascripts/tarteaucitron/tarteaucitron.js.erb +1480 -0
  15. data/app/assets/javascripts/tarteaucitron/tarteaucitron.services.js +2627 -0
  16. data/app/assets/stylesheets/sibu/defaults.scss +65 -0
  17. data/app/assets/stylesheets/tarteaucitron/tarteaucitron.css +749 -0
  18. data/app/controllers/sibu/sites_controller.rb +3 -0
  19. data/app/helpers/sibu/pages_helper.rb +23 -8
  20. data/app/models/sibu/page.rb +3 -2
  21. data/app/models/sibu/site.rb +8 -1
  22. data/app/models/sibu/site_template.rb +3 -0
  23. data/app/views/layouts/sibu/edit_content.html.erb +2 -2
  24. data/app/views/layouts/sibu/site.html.erb +42 -6
  25. data/config/initializers/assets.rb +1 -0
  26. data/config/routes.rb +3 -0
  27. data/lib/sibu/version.rb +1 -1
  28. metadata +22 -6
@@ -41,6 +41,10 @@ $sibu-color3 : #333 !default;
41
41
  font-weight: bold;
42
42
  }
43
43
  }
44
+
45
+ img {
46
+ max-height: 45vh;
47
+ }
44
48
  }
45
49
 
46
50
  .sibu_image {
@@ -234,6 +238,25 @@ $sibu-color3 : #333 !default;
234
238
  }
235
239
 
236
240
  #sections_panel {
241
+ position: relative;
242
+
243
+ &:before {
244
+ box-shadow: 0 -15px 15px -15px inset;
245
+ content: " ";
246
+ width: 100%;
247
+ left: 0;
248
+ top: -15px;
249
+ position: absolute;
250
+ z-index: 0;
251
+ height: 15px;
252
+ opacity: 0.4;
253
+ color: $sibu-color3;
254
+ }
255
+
256
+ .sibu_sections_tabs, .tabs {
257
+ height: 100%;
258
+ }
259
+
237
260
  .sibu_sections {
238
261
  padding: 2rem;
239
262
  max-height: 60vh;
@@ -314,5 +337,47 @@ $sibu-color3 : #333 !default;
314
337
 
315
338
  .sibu_actions {
316
339
  text-align: center;
340
+ margin: 1rem 0;
341
+ }
342
+
343
+ form {
344
+ .sibu_panel.sibu_view {
345
+ border-top: 2px solid $sibu-color3;
346
+ }
347
+ }
348
+ }
349
+
350
+ #edit_panel {
351
+ background-color: white;
352
+ border-top: 1px solid $sibu-color3;
353
+ max-height: 100%;
354
+ overflow: auto;
355
+
356
+ #element_actions {
357
+ display: block;
358
+ position: absolute;
359
+ right: 2rem;
360
+ top: 2rem;
361
+ }
362
+ }
363
+
364
+ #edit_mode_overlay {
365
+ .overlay_top, .overlay_bottom, .overlay_left, .overlay_right {
366
+ background-color: transparentize($sibu-color2, 0.2);
367
+ }
368
+
369
+ .edit_mode_actions {
370
+ display: flex;
371
+ color: white;
372
+ min-width: 300px;
373
+ align-items: flex-start;
374
+ padding: 1rem 0;
375
+
376
+ p {
377
+ font-weight: bold;
378
+ font-size: 2rem;
379
+ flex: 1 1 0%;
380
+ margin: 0;
381
+ }
317
382
  }
318
383
  }
@@ -0,0 +1,749 @@
1
+ .modal-open{
2
+ overflow: hidden;
3
+ height: 100%;
4
+ }
5
+
6
+ #contentWrapper {display:unset;}
7
+
8
+ /***
9
+ * Reset CSS
10
+ */
11
+ #tarteaucitronRoot div, #tarteaucitronRoot span, #tarteaucitronRoot applet, #tarteaucitronRoot object, #tarteaucitronRoot iframe, #tarteaucitronRoot h1, #tarteaucitronRoot h2, #tarteaucitronRoot h3, #tarteaucitronRoot h4, #tarteaucitronRoot h5, #tarteaucitronRoot h6, #tarteaucitronRoot p, #tarteaucitronRoot blockquote, #tarteaucitronRoot pre, #tarteaucitronRoot a, #tarteaucitronRoot abbr, #tarteaucitronRoot acronym, #tarteaucitronRoot address, #tarteaucitronRoot big, #tarteaucitronRoot cite, #tarteaucitronRoot code, #tarteaucitronRoot del, #tarteaucitronRoot dfn, #tarteaucitronRoot em, #tarteaucitronRoot img, #tarteaucitronRoot ins, #tarteaucitronRoot kbd, #tarteaucitronRoot q, #tarteaucitronRoot s, #tarteaucitronRoot samp, #tarteaucitronRoot small, #tarteaucitronRoot strike, #tarteaucitronRoot strong, #tarteaucitronRoot sub, #tarteaucitronRoot sup, #tarteaucitronRoot tt, #tarteaucitronRoot var, #tarteaucitronRoot b, #tarteaucitronRoot u, #tarteaucitronRoot i, #tarteaucitronRoot center, #tarteaucitronRoot dl, #tarteaucitronRoot dt, #tarteaucitronRoot dd, #tarteaucitronRoot ol, #tarteaucitronRoot ul, #tarteaucitronRoot li, #tarteaucitronRoot fieldset, #tarteaucitronRoot form, #tarteaucitronRoot label, #tarteaucitronRoot legend, #tarteaucitronRoot table, #tarteaucitronRoot caption, #tarteaucitronRoot tbody, #tarteaucitronRoot tfoot, #tarteaucitronRoot thead, #tarteaucitronRoot tr, #tarteaucitronRoot th, #tarteaucitronRoot td, #tarteaucitronRoot article, #tarteaucitronRoot aside, #tarteaucitronRoot canvas, #tarteaucitronRoot details, #tarteaucitronRoot embed, #tarteaucitronRoot figure, #tarteaucitronRoot figcaption, #tarteaucitronRoot footer, #tarteaucitronRoot header, #tarteaucitronRoot hgroup, #tarteaucitronRoot menu, #tarteaucitronRoot nav, #tarteaucitronRoot output, #tarteaucitronRoot ruby, #tarteaucitronRoot section, #tarteaucitronRoot summary, #tarteaucitronRoot time, #tarteaucitronRoot mark, #tarteaucitronRoot audio, #tarteaucitronRoot video {
12
+ margin: 0;
13
+ padding: 0;
14
+ border: 0;
15
+ font-size: 100%;
16
+ font: inherit;
17
+ vertical-align: baseline;
18
+ /*background: initial;*/
19
+ text-align: initial;
20
+ text-shadow: initial;
21
+ }
22
+ /* HTML5 display-role reset for older browsers */
23
+ #tarteaucitronRoot article, #tarteaucitronRoot aside, #tarteaucitronRoot details, #tarteaucitronRoot figcaption, #tarteaucitronRoot figure, #tarteaucitronRoot footer, #tarteaucitronRoot header, #tarteaucitronRoot hgroup, #tarteaucitronRoot menu, #tarteaucitronRoot nav, #tarteaucitronRoot section {
24
+ display: block;
25
+ }
26
+ #tarteaucitronRoot ol, #tarteaucitronRoot ul {
27
+ list-style: none;
28
+ }
29
+ #tarteaucitronRoot blockquote, #tarteaucitronRoot q {
30
+ quotes: none;
31
+ }
32
+ #tarteaucitronRoot blockquote:before, #tarteaucitronRoot blockquote:after, #tarteaucitronRoot q:before, #tarteaucitronRoot q:after {
33
+ content: '';
34
+ content: none;
35
+ }
36
+ #tarteaucitronRoot table {
37
+ border-collapse: collapse;
38
+ border-spacing: 0;
39
+ }
40
+
41
+ #tarteaucitronRoot a:focus, #tarteaucitronRoot button:focus {
42
+ /*outline: 2px solid #cb3333;*/
43
+ }
44
+
45
+ /***
46
+ * Better scroll management
47
+ */
48
+ div#tarteaucitronMainLineOffset {
49
+ margin-top: 0!important;
50
+ }
51
+
52
+ div#tarteaucitronServices {
53
+ margin-top: 21px!important;
54
+ }
55
+
56
+ #tarteaucitronServices::-webkit-scrollbar {
57
+ width: 5px;
58
+ }
59
+
60
+ #tarteaucitronServices::-webkit-scrollbar-track {
61
+ -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0);
62
+ }
63
+
64
+ #tarteaucitronServices::-webkit-scrollbar-thumb {
65
+ background-color: #ddd;
66
+ outline: 0px solid slategrey;
67
+ }
68
+
69
+ div#tarteaucitronServices {
70
+ box-shadow: 0 0 35px #575757;
71
+ }
72
+
73
+ /***
74
+ * Responsive layout for the control panel
75
+ */
76
+ @media screen and (max-width:479px) {
77
+ #tarteaucitron .tarteaucitronLine .tarteaucitronName {
78
+ width: 90% !important;
79
+ }
80
+
81
+ #tarteaucitron .tarteaucitronLine .tarteaucitronAsk {
82
+ float: left !important;
83
+ margin: 10px 15px 5px;
84
+ }
85
+ }
86
+
87
+ @media screen and (max-width:767px) {
88
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer, #tarteaucitron {
89
+ background: #fff;
90
+ border: 0 !important;
91
+ bottom: 0 !important;
92
+ height: 100% !important;
93
+ left: 0 !important;
94
+ margin: 0 !important;
95
+ max-height: 100% !important;
96
+ max-width: 100% !important;
97
+ top: 0 !important;
98
+ width: 100% !important;
99
+ }
100
+
101
+ #tarteaucitron .tarteaucitronBorder {
102
+ border: 0 !important;
103
+ }
104
+
105
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList {
106
+ border: 0 !important;
107
+ }
108
+
109
+ #tarteaucitron #tarteaucitronServices .tarteaucitronTitle {
110
+ text-align: left !important;
111
+ }
112
+
113
+ .tarteaucitronName .tarteaucitronH2 {
114
+ max-width: 80%;
115
+ }
116
+
117
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
118
+ text-align: center !important;
119
+ }
120
+
121
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk button {
122
+ margin-bottom: 5px;
123
+ }
124
+ }
125
+
126
+ @media screen and (min-width:768px) and (max-width:991px) {
127
+ #tarteaucitron {
128
+ border: 0 !important;
129
+ left: 0 !important;
130
+ margin: 0 5% !important;
131
+ max-height: 80% !important;
132
+ width: 90% !important;
133
+ }
134
+ }
135
+
136
+ /***
137
+ * Common value
138
+ */
139
+ #tarteaucitron * {
140
+ zoom: 1;
141
+ }
142
+
143
+ #tarteaucitronRoot div#tarteaucitron {
144
+ left: 0;
145
+ right: 0;
146
+ margin: auto;
147
+ }
148
+
149
+ #tarteaucitronRoot button#tarteaucitronBack {
150
+ background: #eee;
151
+ }
152
+
153
+ #tarteaucitron .clear {
154
+ clear: both;
155
+ }
156
+
157
+ #tarteaucitron a {
158
+ color: rgb(66, 66, 66);
159
+ font-size: 11px;
160
+ font-weight: 700;
161
+ text-decoration: none;
162
+ }
163
+
164
+ #tarteaucitronRoot button {
165
+ background: transparent;
166
+ border: 0;
167
+ }
168
+
169
+ #tarteaucitronAlertBig strong, #tarteaucitronAlertSmall strong,
170
+ #tarteaucitronAlertBig a, #tarteaucitronAlertSmall a {
171
+ color: #fff;
172
+ }
173
+
174
+ #tarteaucitron strong {
175
+ font-size: 22px;
176
+ font-weight: 500;
177
+ }
178
+
179
+ #tarteaucitron ul {
180
+ padding: 0;
181
+ }
182
+
183
+ #tarteaucitron .tarteaucitronH1, #tarteaucitron .tarteaucitronH2, #tarteaucitron .tarteaucitronH3, #tarteaucitron .tarteaucitronH4, #tarteaucitron .tarteaucitronH5, #tarteaucitron .tarteaucitronH6 {
184
+ display: block;
185
+ }
186
+
187
+ .cookie-list {
188
+ list-style: none;
189
+ padding: 0;
190
+ margin: 0;
191
+ }
192
+ /***
193
+ * Root div added just before </body>
194
+ */
195
+ #tarteaucitronRoot {
196
+ left: 0;
197
+ position: absolute;
198
+ right: 0;
199
+ top: 0;
200
+ width: 100%;
201
+ }
202
+
203
+ #tarteaucitronRoot * {
204
+ box-sizing: initial;
205
+ color: #333;
206
+ font-family: sans-serif !important;
207
+ font-size: 14px;
208
+ line-height: normal;
209
+ vertical-align: initial;
210
+ }
211
+
212
+ #tarteaucitronRoot .tarteaucitronH1 {
213
+ font-size: 1.5em;
214
+ text-align: center;
215
+ color: #fff;
216
+ margin: 15px 0 28px;
217
+ }
218
+
219
+ #tarteaucitronRoot .tarteaucitronH2 {
220
+ display: inline-block;
221
+ margin: 12px 0 0 10px;
222
+ color: #fff;
223
+ }
224
+
225
+ #tarteaucitronCookiesNumberBis.tarteaucitronH2 {
226
+ margin-left: 0;
227
+ }
228
+
229
+ /***
230
+ * Control panel
231
+ */
232
+ #tarteaucitronBack {
233
+ background: #fff;
234
+ display: none;
235
+ height: 100%;
236
+ left: 0;
237
+ opacity: 0.7;
238
+ position: fixed;
239
+ top: 0;
240
+ width: 100%;
241
+ z-index: 2147483646;
242
+ }
243
+
244
+ #tarteaucitron {
245
+ display: none;
246
+ max-height: 80%;
247
+ left: 50%;
248
+ margin: 0 auto 0 -430px;
249
+ padding: 0;
250
+ position: fixed;
251
+ top: 6%;
252
+ width: 860px;
253
+ z-index: 2147483647;
254
+ }
255
+
256
+ #tarteaucitron .tarteaucitronBorder {
257
+ background: #fff;
258
+ border: 2px solid #333;
259
+ border-top: 0;
260
+ height: auto;
261
+ overflow: auto;
262
+ }
263
+
264
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie,
265
+ #tarteaucitron #tarteaucitronClosePanel {
266
+ background: #333333;
267
+ color: #fff;
268
+ cursor: pointer;
269
+ font-size: 12px;
270
+ font-weight: 700;
271
+ text-decoration: none;
272
+ padding: 4px 0;
273
+ position: absolute;
274
+ right: 0;
275
+ text-align: center;
276
+ width: 70px;
277
+ }
278
+
279
+ #tarteaucitron #tarteaucitronDisclaimer {
280
+ color: #555;
281
+ font-size: 12px;
282
+ margin: 15px auto 0;
283
+ width: 80%;
284
+ }
285
+
286
+ .tarteaucitronSelfLink, #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
287
+ #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
288
+ background: rgba(51, 51, 51, 0.07);
289
+ }a.tarteaucitronSelfLink {
290
+ text-align: center!important;
291
+ display: block;
292
+ padding: 7px!important;
293
+ }
294
+
295
+ #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
296
+ display: none;
297
+ position: relative;
298
+ }
299
+
300
+ #tarteaucitronCookiesList .tarteaucitronH3.tarteaucitronTitle {
301
+ width: 100%;
302
+ box-sizing: border-box;
303
+ }
304
+
305
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle,
306
+ #tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,
307
+ #tarteaucitron #tarteaucitronInfo,
308
+ #tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
309
+ color: #fff;
310
+ display: inline-block;
311
+ font-size: 14px;
312
+ font-weight: 700;
313
+ margin: 20px 0px 0px;
314
+ padding: 5px 20px;
315
+ text-align: left;
316
+ width: auto;
317
+ background: #333;
318
+ }
319
+
320
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a,
321
+ #tarteaucitron #tarteaucitronServices .tarteaucitronTitle a {
322
+ color: #fff;
323
+ font-weight: 500;
324
+ }
325
+
326
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a:hover,
327
+ #tarteaucitron #tarteaucitronServices .tarteaucitronTitle a:hover {
328
+ text-decoration: none !important;
329
+ }
330
+
331
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName a {
332
+ font-size: 22px;
333
+ }
334
+
335
+ #tarteaucitron #tarteaucitronServices .tarteaucitronTitle a {
336
+ font-size: 14px;
337
+ }
338
+
339
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle {
340
+ padding: 5px 10px;
341
+ margin: 0;
342
+ }
343
+
344
+ #tarteaucitron #tarteaucitronInfo,
345
+ #tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
346
+ color: #fff;
347
+ display: none;
348
+ font-size: 12px;
349
+ font-weight: 500;
350
+ margin-top: 0;
351
+ max-width: 270px;
352
+ padding: 20px;
353
+ position: absolute;
354
+ z-index: 2147483647;
355
+ }
356
+
357
+ #tarteaucitron #tarteaucitronInfo a {
358
+ color: #fff;
359
+ text-decoration: underline;
360
+ }
361
+
362
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover {
363
+ background: rgba(51, 51, 51, 0.2);
364
+ }
365
+
366
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
367
+ background: rgba(51, 51, 51, 0.1);
368
+ border-left: 5px solid transparent;
369
+ margin: 0;
370
+ overflow: hidden;
371
+ padding: 15px 5px;
372
+ }
373
+
374
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine {
375
+ background: #333;
376
+ border: 3px solid #333;
377
+ border-left: 9px solid #333;
378
+ border-top: 5px solid #333;
379
+ margin-bottom: 0;
380
+ margin-top: 21px;
381
+ position: relative;
382
+ }
383
+
384
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine:hover {
385
+ background: #333;
386
+ }
387
+
388
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName {
389
+ margin-left: 15px;
390
+ margin-top: 2px;
391
+ }
392
+
393
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronName button {
394
+ color: #fff;
395
+ }
396
+
397
+ #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine .tarteaucitronAsk {
398
+ margin-top: 0px !important;
399
+ }
400
+
401
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName {
402
+ display: inline-block;
403
+ float: left;
404
+ margin-left: 10px;
405
+ text-align: left;
406
+ width: 50%;
407
+ }
408
+
409
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName a:hover {
410
+ text-decoration: underline;
411
+ }
412
+
413
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk {
414
+ display: inline-block;
415
+ float: right;
416
+ margin: 7px 15px 0;
417
+ text-align: right;
418
+ }
419
+
420
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
421
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
422
+ .tac_activate .tarteaucitronAllow {
423
+ background: gray;
424
+ border-radius: 4px;
425
+ color: #fff;
426
+ cursor: pointer;
427
+ display: inline-block;
428
+ padding: 6px 10px;
429
+ text-align: center;
430
+ text-decoration: none;
431
+ width: auto;
432
+ border: 0;
433
+ }
434
+
435
+ #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronName .tarteaucitronListCookies {
436
+ color: #333;
437
+ font-size: 12px;
438
+ }
439
+
440
+ #tarteaucitron .tarteaucitronH3 {
441
+ font-size: 18px;
442
+ }
443
+
444
+ #tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName {
445
+ width: auto!important;
446
+ margin-left: 0!important;
447
+ font-size: 14px;
448
+ }
449
+
450
+ /***
451
+ * Big alert
452
+ */
453
+ .tarteaucitronAlertBigTop {
454
+ top: 0;
455
+ }
456
+
457
+ .tarteaucitronAlertBigBottom {
458
+ bottom: 0;
459
+ }
460
+
461
+ #tarteaucitronRoot #tarteaucitronAlertBig {
462
+ background: #333;
463
+ color: #fff;
464
+ display: none;
465
+ font-size: 15px !important;
466
+ left: 0;
467
+ padding: 5px 5%;
468
+ position: fixed;
469
+ text-align: center;
470
+ box-sizing: content-box;
471
+ z-index: 2147483645;
472
+ text-align: center;
473
+ padding: 10px;
474
+ margin: auto;
475
+ width: 100%;
476
+ }
477
+
478
+ #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
479
+ #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
480
+ font: 15px verdana;
481
+ color: #fff;
482
+ }
483
+
484
+ #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
485
+ font-weight: 700;
486
+ }
487
+
488
+ #tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
489
+ cursor: pointer;
490
+ }
491
+
492
+ #tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl {
493
+ background: #008300;
494
+ color: #fff;
495
+ cursor: pointer;
496
+ display: inline-block;
497
+ font-size: 16px;
498
+ padding: 5px 10px;
499
+ text-decoration: none;
500
+ margin-left: 7px;
501
+ }
502
+
503
+ #tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl {
504
+ background: #fff;
505
+ color: #333;
506
+ font-size: 13px;
507
+ margin-bottom: 3px;
508
+ margin-left: 7px;
509
+ padding: 4px 10px;
510
+ }
511
+
512
+ #tarteaucitronPercentage {
513
+ background: #0A0!important;
514
+ box-shadow: 0 0 2px #fff, 0 1px 2px #555;
515
+ height: 5px;
516
+ left: 0;
517
+ position: fixed;
518
+ width: 0;
519
+ z-index: 2147483644;
520
+ }
521
+
522
+ /***
523
+ * Small alert
524
+ */
525
+
526
+ .tarteaucitronAlertSmallTop,.tarteaucitronAlertSmallBottom {
527
+ bottom: 0;
528
+ }
529
+
530
+ #tarteaucitronAlertSmall {
531
+ background: #333;
532
+ display: none;
533
+ padding: 0;
534
+ position: fixed;
535
+ right: 0;
536
+ text-align: center;
537
+ width: auto;
538
+ z-index: 2147483646;
539
+ }
540
+
541
+ #tarteaucitronAlertSmall #tarteaucitronManager {
542
+ color: #fff;
543
+ cursor: pointer;
544
+ display: inline-block;
545
+ font-size: 11px !important;
546
+ padding: 8px 10px 8px;
547
+ }
548
+
549
+ #tarteaucitronAlertSmall #tarteaucitronManager:hover {
550
+ background: rgba(255, 255, 255, 0.05);
551
+ }
552
+
553
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot {
554
+ background-color: gray;
555
+ border-radius: 5px;
556
+ display: block;
557
+ height: 8px;
558
+ margin-bottom: 1px;
559
+ margin-top: 5px;
560
+ overflow: hidden;
561
+ width: 100%;
562
+ }
563
+
564
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen,
565
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow,
566
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed {
567
+ display: block;
568
+ float: left;
569
+ height: 100%;
570
+ width: 0%;
571
+ }
572
+
573
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen {
574
+ background-color: #1B870B;
575
+ }
576
+
577
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotYellow {
578
+ background-color: #FBDA26;
579
+ }
580
+
581
+ #tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotRed {
582
+ background-color: #9C1A1A;
583
+ }
584
+
585
+ #tarteaucitronAlertSmall #tarteaucitronCookiesNumber {
586
+ background: rgba(255, 255, 255, 0.2);
587
+ color: #fff;
588
+ cursor: pointer;
589
+ display: inline-block;
590
+ font-size: 30px;
591
+ padding: 0px 10px;
592
+ vertical-align: top;
593
+ }
594
+
595
+ #tarteaucitronAlertSmall #tarteaucitronCookiesNumber:hover {
596
+ background: rgba(255, 255, 255, 0.3);
597
+ }
598
+
599
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer {
600
+ display: none;
601
+ max-height: 70%;
602
+ max-width: 500px;
603
+ position: fixed;
604
+ right: 0;
605
+ width: 100%;
606
+ }
607
+
608
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList {
609
+ background: #fff;
610
+ border: 2px solid #333;
611
+ color: #333;
612
+ font-size: 11px;
613
+ height: auto;
614
+ overflow: auto;
615
+ text-align: left;
616
+ }
617
+
618
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList strong {
619
+ color: #333;
620
+ }
621
+
622
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle {
623
+ background: #333;
624
+ margin-top: 21px;
625
+ padding: 13px 0 9px 13px;
626
+ text-align: left;
627
+ }
628
+
629
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle strong {
630
+ color: #fff;
631
+ font-size: 16px;
632
+ }
633
+
634
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain {
635
+ background: rgba(51, 51, 51, 0.1);
636
+ padding: 7px 5px 10px;
637
+ word-wrap: break-word;
638
+ }
639
+
640
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain:hover {
641
+ background: rgba(51, 51, 51, 0.2);
642
+ }
643
+
644
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain a {
645
+ color: #333;
646
+ text-decoration: none;
647
+ }
648
+
649
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft {
650
+ display: inline-block;
651
+ width: 50%;
652
+ }
653
+
654
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListLeft a strong {
655
+ color: darkred;
656
+ }
657
+
658
+ #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain .tarteaucitronCookiesListRight {
659
+ color: #333;
660
+ display: inline-block;
661
+ font-size: 11px;
662
+ margin-left: 10%;
663
+ vertical-align: top;
664
+ width: 30%;
665
+ }
666
+
667
+ /***
668
+ * Fallback activate link
669
+ */
670
+ .tac_activate {
671
+ background: #333;
672
+ color: #fff;
673
+ display: table;
674
+ font-size: 12px;
675
+ height: 100%;
676
+ line-height: initial;
677
+ margin: auto;
678
+ text-align: center;
679
+ width: 100%;
680
+ }
681
+
682
+ .tac_float {
683
+ display: table-cell;
684
+ text-align: center;
685
+ vertical-align: middle;
686
+ }
687
+
688
+ .tac_activate .tac_float strong {
689
+ color: #fff;
690
+ }
691
+
692
+ .tac_activate .tac_float .tarteaucitronAllow {
693
+ background-color: #1B870B;
694
+ display: inline-block;
695
+ }
696
+
697
+ /***
698
+ * CSS for services
699
+ */
700
+ ins.ferank-publicite, ins.adsbygoogle {
701
+ text-decoration: none;
702
+ }
703
+
704
+ div.amazon_product {
705
+ height:240px;
706
+ width:120px;
707
+ }
708
+ .tarteaucitronIsAllowed .tarteaucitronDeny {
709
+ opacity: 0.4!important;
710
+ }.tarteaucitronIsDenied .tarteaucitronAllow {
711
+ opacity: 0.4!important;
712
+ }.tarteaucitronIsAllowed .tarteaucitronAllow {
713
+ opacity: 1!important;
714
+ }.tarteaucitronIsDenied .tarteaucitronDeny {
715
+ opacity: 1!important;
716
+ }
717
+ .tarteaucitronLine .tarteaucitronAllow, .tarteaucitronLine .tarteaucitronAllow {
718
+ opacity: 0.4;
719
+ }
720
+
721
+ div#tarteaucitronInfo {
722
+ display: block!important;
723
+ position: initial!important;
724
+ text-align: center!important;
725
+ max-width: 80%!important;
726
+ padding: 15px 0!important;
727
+ margin: -10px auto 40px!important;
728
+ font-size: 1em!important;
729
+ border-bottom: 1px solid;
730
+ border-top: 1px solid;
731
+ border-color: #555;
732
+ }
733
+
734
+ a.tarteaucitronSelfLink {
735
+ position: absolute;
736
+ left: 0;
737
+ right: 0;
738
+ padding-top: 13px!important;
739
+ display: block;
740
+ text-shadow: 0 0 14px white;
741
+ text-transform: uppercase;
742
+ }.tarteaucitronMainLine .tarteaucitronH2 {
743
+ font-size: 1.2em!important;
744
+ margin-top: 4px!important;
745
+ }
746
+
747
+ span.tarteaucitronTitle.tarteaucitronH3 {
748
+ margin-top: 12px!important;
749
+ }