sibu 0.9.0 → 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.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/sibu/sibu.js.erb +17 -3
  3. data/app/assets/javascripts/tabs/van11y-accessible-tab-panel-aria.js +122 -124
  4. data/app/assets/javascripts/tarteaucitron/advertising.js +1 -0
  5. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.cs.js +75 -0
  6. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.de.js +75 -0
  7. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.el.js +75 -0
  8. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.en.js +75 -0
  9. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.es.js +75 -0
  10. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.fr.js +75 -0
  11. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.it.js +75 -0
  12. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.nl.js +75 -0
  13. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.pl.js +76 -0
  14. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.pt.js +73 -0
  15. data/app/assets/javascripts/tarteaucitron/lang/tarteaucitron.ru.js +75 -0
  16. data/app/assets/javascripts/tarteaucitron/tarteaucitron.js.erb +1480 -0
  17. data/app/assets/javascripts/tarteaucitron/tarteaucitron.services.js +2627 -0
  18. data/app/assets/stylesheets/sibu/defaults.scss +118 -61
  19. data/app/assets/stylesheets/sibu/sibu.css +8 -0
  20. data/app/assets/stylesheets/tarteaucitron/tarteaucitron.css +749 -0
  21. data/app/controllers/sibu/application_controller.rb +8 -0
  22. data/app/controllers/sibu/pages_controller.rb +4 -3
  23. data/app/controllers/sibu/sites_controller.rb +4 -0
  24. data/app/helpers/sibu/pages_helper.rb +89 -25
  25. data/app/models/sibu/page.rb +3 -3
  26. data/app/models/sibu/site.rb +15 -1
  27. data/app/models/sibu/site_template.rb +4 -1
  28. data/app/views/layouts/sibu/edit_content.html.erb +176 -119
  29. data/app/views/layouts/sibu/site.html.erb +42 -6
  30. data/app/views/sibu/images/edit.js.erb +5 -3
  31. data/app/views/sibu/pages/_code_edit_panel.html.erb +2 -2
  32. data/app/views/sibu/pages/_link_edit_panel.html.erb +6 -6
  33. data/app/views/sibu/pages/_map_edit_panel.html.erb +2 -2
  34. data/app/views/sibu/pages/_media_edit_panel.html.erb +6 -6
  35. data/app/views/sibu/pages/_new_section_panel.html.erb +1 -1
  36. data/app/views/sibu/pages/_paragraph_edit_panel.html.erb +2 -2
  37. data/app/views/sibu/pages/_text_edit_panel.html.erb +2 -2
  38. data/app/views/sibu/pages/child_element.js.erb +2 -2
  39. data/app/views/sibu/pages/clone_element.js.erb +2 -2
  40. data/app/views/sibu/pages/create_section.js.erb +1 -1
  41. data/app/views/sibu/pages/delete_element.js.erb +1 -1
  42. data/app/views/sibu/pages/delete_section.js.erb +1 -1
  43. data/app/views/sibu/pages/edit_element.js.erb +68 -66
  44. data/app/views/sibu/pages/edit_section.js.erb +6 -5
  45. data/app/views/sibu/pages/index.html.erb +1 -1
  46. data/app/views/sibu/pages/new_section.js.erb +22 -13
  47. data/app/views/sibu/pages/update_element.js.erb +2 -2
  48. data/app/views/sibu/pages/update_section.js.erb +3 -3
  49. data/config/initializers/assets.rb +1 -0
  50. data/config/initializers/constants.rb +5 -3
  51. data/config/routes.rb +3 -0
  52. data/db/migrate/20200401130601_add_ref_to_site_templates.rb +5 -0
  53. data/lib/sibu/engine.rb +0 -2
  54. data/lib/sibu/version.rb +1 -1
  55. metadata +19 -18
  56. data/app/views/sibu/pages/destroy.html.erb +0 -2
  57. data/app/views/sibu/pages/update.html.erb +0 -2
@@ -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,85 +238,138 @@ $sibu-color3 : #333 !default;
234
238
  }
235
239
 
236
240
  #sections_panel {
237
- .sibu_sections {
241
+ .sibu_site_content {
238
242
  padding: 2rem;
239
243
  max-height: 60vh;
240
244
  overflow-y: scroll;
241
245
 
242
- .tabs__list {
243
- margin: 0;
244
- padding: 0;
245
- display: table;
246
- width: 100%;
247
- }
248
- .tabs__item {
249
- display: table-cell;
250
- > a {
251
- text-decoration: none;
252
- }
253
- }
246
+ & > .sibu_sections_tabs {
247
+ height: 100%;
254
248
 
255
- .tabs__link {
256
- display: inline-block;
257
- cursor: pointer;
258
- margin-bottom: -2px;
259
- padding: 1rem 2.5rem;
260
- border-bottom: 4px solid transparent;
261
- color: $sibu-color1;
262
- text-decoration: none;
263
- border-radius: 0 0 0 0;
264
- transition: .25s;
265
- transition-property: color, border, background-color;
266
- font-size: 2rem;
267
- &:focus {
268
- border-bottom-color: $sibu-color2;
269
- color: $sibu-color2;
270
- outline: 0;
271
- }
272
- }
249
+ & > .tabs {
250
+ height: 100%;
273
251
 
274
- [aria-selected="true"].tabs__link {
275
- border-bottom-color: $sibu-color2;
276
- color: $sibu-color2;
277
- outline: 0;
278
- }
252
+ & > .tabs__list {
253
+ margin: 0;
254
+ padding: 0;
255
+ display: table;
256
+ width: 100%;
279
257
 
280
- .tabs__content {
281
- padding: 2rem 0;
282
- background-color: white;
283
- max-height: calc(100% - 40px);
284
- overflow-y: scroll;
258
+ .tabs__item {
259
+ display: table-cell;
285
260
 
286
- > * {
287
- padding: 4px 0;
288
- margin: 0 1rem 2rem 1rem;
289
- min-height: auto;
290
- box-shadow: 0 0 5px #cdcdcd;
261
+ > a {
262
+ text-decoration: none;
263
+ }
264
+ }
291
265
 
292
- &:hover {
293
- cursor: pointer;
294
- outline: dashed $sibu-color2 4px;
295
- outline-offset: -5px;
296
- }
266
+ .tabs__link {
267
+ display: inline-block;
268
+ cursor: pointer;
269
+ margin-bottom: -2px;
270
+ padding: 1rem 2.5rem;
271
+ border-bottom: 4px solid transparent;
272
+ color: $sibu-color1;
273
+ text-decoration: none;
274
+ border-radius: 0 0 0 0;
275
+ transition: .25s;
276
+ transition-property: color, border, background-color;
277
+ font-size: 2rem;
278
+
279
+ &:focus {
280
+ border-bottom-color: $sibu-color2;
281
+ color: $sibu-color2;
282
+ outline: 0;
283
+ }
284
+ }
297
285
 
298
- &.selected {
299
- outline: solid $sibu-color1 5px;
300
- outline-offset: -5px;
286
+ [aria-selected="true"].tabs__link {
287
+ border-bottom-color: $sibu-color2;
288
+ color: $sibu-color2;
289
+ outline: 0;
290
+ }
301
291
  }
302
292
 
303
- > * {
304
- margin-top: 0 !important;
305
- margin-bottom: 0 !important;
293
+ & > .tabs__content {
294
+ padding: 2rem 0;
295
+ background-color: white;
296
+ max-height: calc(100% - 40px);
297
+ overflow-y: scroll;
298
+
299
+ > * {
300
+ padding: 4px 0;
301
+ margin: 0 1rem 2rem 1rem;
302
+ min-height: auto;
303
+ box-shadow: 0 0 5px #cdcdcd;
304
+
305
+ &:hover {
306
+ cursor: pointer;
307
+ outline: dashed $sibu-color2 4px;
308
+ outline-offset: -5px;
309
+ }
310
+
311
+ &.selected {
312
+ outline: solid $sibu-color1 5px;
313
+ outline-offset: -5px;
314
+ }
315
+
316
+ > * {
317
+ margin-top: 0 !important;
318
+ margin-bottom: 0 !important;
319
+ }
320
+ }
321
+
322
+ &[aria-hidden="true"] {
323
+ display: none;
324
+ }
306
325
  }
307
326
  }
308
327
  }
309
-
310
- [aria-hidden="true"].tabs__content {
311
- display: none;
312
- }
313
328
  }
314
329
 
315
330
  .sibu_actions {
316
331
  text-align: center;
332
+ margin: 1rem 0;
333
+ }
334
+
335
+ form {
336
+ .sibu_panel.sibu_view {
337
+ border-top: 2px solid $sibu-color3;
338
+ }
339
+ }
340
+ }
341
+
342
+ #edit_panel {
343
+ background-color: white;
344
+ border-top: 1px solid $sibu-color3;
345
+ max-height: 100%;
346
+ overflow: auto;
347
+
348
+ #element_actions {
349
+ display: block;
350
+ position: absolute;
351
+ right: 2rem;
352
+ top: 2rem;
353
+ }
354
+ }
355
+
356
+ #edit_mode_overlay {
357
+ .overlay_top, .overlay_bottom, .overlay_left, .overlay_right {
358
+ background-color: transparentize($sibu-color2, 0.2);
359
+ }
360
+
361
+ .edit_mode_actions {
362
+ display: flex;
363
+ color: white;
364
+ min-width: 300px;
365
+ align-items: flex-start;
366
+ padding: 1rem 0;
367
+
368
+ p {
369
+ font-weight: bold;
370
+ font-size: 2rem;
371
+ flex: 1 1 0%;
372
+ margin: 0;
373
+ }
317
374
  }
318
375
  }
@@ -63,6 +63,10 @@
63
63
  background-color: white;
64
64
  }
65
65
 
66
+ #edit_panel.active, #sections_panel.active {
67
+ display: block;
68
+ }
69
+
66
70
  #element_actions button {
67
71
  display: none;
68
72
  }
@@ -78,6 +82,10 @@
78
82
  cursor: pointer;
79
83
  }
80
84
 
85
+ #edit_overlays > *:hover {
86
+ opacity: 1;
87
+ }
88
+
81
89
  .sb-editing [data-type] {
82
90
  min-width: 1em;
83
91
  min-height: 0.5em;
@@ -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
+ }