diff --git a/docs/src/docs/03-configuration.adoc b/docs/src/docs/03-configuration.adoc index e8f489aa..e539b2d2 100644 --- a/docs/src/docs/03-configuration.adoc +++ b/docs/src/docs/03-configuration.adoc @@ -60,7 +60,7 @@ This is a full list of configurable options. | Config Parameter | Description | Default Setting | locale | The locale version that should be used. The locale defines the standard labels for all legal texts and buttons. <> | deDE_01 | publicPath | The server path from which all chunks and ressources will be loaded. You should upload all released files there and configure it. | //oil.axelspringer.com/release/{version}/` -| theme | The theme for the layer. By default there are two themes, 'dark' and 'light', with 'light' beeing the default. The theme currently works only as an additional css class. If you want to change the style or theme, please look into the styling guide in the development section. | 'light' +| theme | The theme for the layer. By default there are two themes and size modifier theme, 'dark', 'light' and 'small dark', 'small light' , with 'light' beeing the default. The theme currently works only as an additional css class. If you want to change the style or theme, please look into the styling guide in the development section. | 'light' | poi_activate_poi | Activates or disactivates Power Opt-In. Rememeber that you also have to setup the hub.js part if you do so, or you will endup with a non-working button. | false | poi_hub_origin | The origin of the hub.js installation, if any. | //oil.axelspringer.com | poi_hub_path | The path to the hub.html installation on the origin, if any. | /hub.html diff --git a/package.json b/package.json index 07a81893..84b64cf5 100755 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ }, "dependencies": { "compression": "1.7.2", - "consent-string": "1.2.1", + "consent-string": "1.2.4", "express": "4.16.2", "fresh": "0.5.2", "js-cookie": "2.1.4", diff --git a/src/demos/small-design.html b/src/demos/small-design.html index 7967fbd2..d4345519 100644 --- a/src/demos/small-design.html +++ b/src/demos/small-design.html @@ -10,20 +10,11 @@ { "advanced_settings": false, "poi_group_name": "axelSpringerSe_01", - "locale": { - "localeId": "deDE_02", - "version": 1, - "texts": { - "label_intro": "Auf dieser Webseite werden Cookies gesetzt. Diese helfen uns bei der Analyse der Webseite, Optimierung redaktioneller Services, Durchführung personalisierter Vermarktung und ermöglichen das Teilen von Artikeln über soziale Netzwerke. Weiterführende Infos und Widerspruchsmöglichkeiten finden Sie in unserer Datenschutzerklärung.", - "label_button_yes": "OK" - } - }, - "theme": "small dark", - "timeout": 600 + "label_intro": "Auf dieser Webseite werden Cookies gesetzt. Diese helfen uns bei der Analyse der Webseite, Optimierung redaktioneller Services, Durchführung personalisierter Vermarktung und ermöglichen das Teilen von Artikeln über soziale Netzwerke. Weiterführende Infos und Widerspruchsmöglichkeiten finden Sie in unserer Datenschutzerklärung.", + "label_button_yes": "OK", + "theme": "small light", + "timeout": -1 } - - -