@oiz/stzh-components 2.1.0-alpha → 2.1.0-beta

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 (140) hide show
  1. package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-07890ee7.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  4. package/dist/cjs/stzh-components.cjs.js +2 -2
  5. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
  12. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-share.cjs.entry.js +113 -0
  14. package/dist/cjs/stzh-upload.cjs.entry.js +53 -35
  15. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +11 -3
  16. package/dist/collection/assets/i18n/de.json +10 -0
  17. package/dist/collection/assets/i18n/en.json +10 -0
  18. package/dist/collection/collection-manifest.json +2 -0
  19. package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
  20. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +0 -3
  21. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +0 -11
  22. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  23. package/dist/collection/components/stzh-footer/stzh-footer.js +2 -2
  24. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  25. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +5 -1
  26. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
  27. package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
  28. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +150 -0
  29. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
  30. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
  31. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
  32. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +0 -1
  33. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
  34. package/dist/collection/components/stzh-share/stzh-share.css +146 -0
  35. package/dist/collection/components/stzh-share/stzh-share.js +184 -0
  36. package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
  37. package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
  38. package/dist/collection/components/stzh-upload/stzh-upload.css +23 -7
  39. package/dist/collection/components/stzh-upload/stzh-upload.js +71 -35
  40. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
  41. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  42. package/dist/components/index.d.ts +2 -0
  43. package/dist/components/index.js +3 -1
  44. package/dist/components/stzh-checkbox.js +2 -2
  45. package/dist/components/stzh-datamessagelist-item.js +14 -8
  46. package/dist/components/stzh-footer.js +1 -1
  47. package/dist/components/stzh-header.js +1 -1
  48. package/dist/components/stzh-icon-sprite.js +1 -1
  49. package/dist/components/stzh-list-item.js +1 -1
  50. package/dist/components/stzh-olmap.js +1 -1
  51. package/dist/components/stzh-pagebottom.d.ts +11 -0
  52. package/dist/components/stzh-pagebottom.js +70 -0
  53. package/dist/components/stzh-portal-mitwirken.js +1 -1
  54. package/dist/components/stzh-share.d.ts +11 -0
  55. package/dist/components/stzh-share.js +6 -0
  56. package/dist/components/stzh-share2.js +139 -0
  57. package/dist/components/stzh-upload.js +54 -35
  58. package/dist/components/stzh-vbz-linechip2.js +11 -3
  59. package/dist/esm/{app-globals-453acbdb.js → app-globals-acc57d0e.js} +1 -1
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/stzh-checkbox.entry.js +2 -2
  62. package/dist/esm/stzh-components.js +2 -2
  63. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  64. package/dist/esm/stzh-footer.entry.js +1 -1
  65. package/dist/esm/stzh-header.entry.js +1 -1
  66. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  67. package/dist/esm/stzh-list-item.entry.js +1 -1
  68. package/dist/esm/stzh-olmap.entry.js +1 -1
  69. package/dist/esm/stzh-pagebottom.entry.js +28 -0
  70. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  71. package/dist/esm/stzh-share.entry.js +109 -0
  72. package/dist/esm/stzh-upload.entry.js +53 -35
  73. package/dist/esm/stzh-vbz-linechip.entry.js +11 -3
  74. package/dist/esm-es5/app-globals-acc57d0e.js +1 -0
  75. package/dist/esm-es5/loader.js +1 -1
  76. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  77. package/dist/esm-es5/stzh-components.js +1 -1
  78. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  79. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  80. package/dist/esm-es5/stzh-header.entry.js +1 -1
  81. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  82. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  83. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  84. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
  85. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  86. package/dist/esm-es5/stzh-share.entry.js +1 -0
  87. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  88. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  89. package/dist/stzh-components/assets/i18n/de.json +10 -0
  90. package/dist/stzh-components/assets/i18n/en.json +10 -0
  91. package/dist/stzh-components/p-07fc857b.system.entry.js +1 -0
  92. package/dist/stzh-components/p-10c36281.entry.js +1 -0
  93. package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
  94. package/dist/stzh-components/p-1663fc49.system.entry.js +1 -0
  95. package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-23e9b6c7.system.entry.js} +1 -1
  96. package/dist/stzh-components/{p-1399b2d7.entry.js → p-241f060e.entry.js} +1 -1
  97. package/dist/stzh-components/{p-eb3425a1.system.entry.js → p-2c8d491a.system.entry.js} +1 -1
  98. package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
  99. package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
  100. package/dist/stzh-components/{p-648e03bc.entry.js → p-4c93ffbe.entry.js} +1 -1
  101. package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
  102. package/dist/stzh-components/p-5623c1a3.entry.js +1 -0
  103. package/dist/stzh-components/{p-020379d7.system.entry.js → p-6c3d7756.system.entry.js} +1 -1
  104. package/dist/stzh-components/p-7909f56b.entry.js +1 -0
  105. package/dist/stzh-components/p-79f27d21.entry.js +1 -0
  106. package/dist/stzh-components/p-8e5f4ef6.system.entry.js +1 -0
  107. package/dist/stzh-components/p-9084f0c1.entry.js +1 -0
  108. package/dist/stzh-components/p-948acea1.js +1 -0
  109. package/dist/stzh-components/p-9af41730.system.js +1 -0
  110. package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
  111. package/dist/stzh-components/{p-bb8f71a4.entry.js → p-b367d4e3.entry.js} +1 -1
  112. package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
  113. package/dist/stzh-components/p-b71a1607.system.js +1 -0
  114. package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
  115. package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-d2c97cbc.entry.js} +1 -1
  116. package/dist/stzh-components/{p-e56d7b16.system.entry.js → p-fa6427bf.system.entry.js} +1 -1
  117. package/dist/stzh-components/{p-641126a8.system.entry.js → p-fb150554.system.entry.js} +1 -1
  118. package/dist/stzh-components/stzh-components.css +1 -1
  119. package/dist/stzh-components/stzh-components.esm.js +1 -1
  120. package/dist/stzh-components/stzh-components.js +1 -1
  121. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
  122. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
  123. package/dist/types/components.d.ts +110 -3
  124. package/dist/types/index.d.ts +2 -1
  125. package/dist/vscode-data.json +63 -3
  126. package/package.json +1 -1
  127. package/dist/esm-es5/app-globals-453acbdb.js +0 -1
  128. package/dist/stzh-components/p-08714718.system.entry.js +0 -1
  129. package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
  130. package/dist/stzh-components/p-2bf021f2.js +0 -1
  131. package/dist/stzh-components/p-2c891eee.entry.js +0 -1
  132. package/dist/stzh-components/p-3623b3a5.system.js +0 -1
  133. package/dist/stzh-components/p-554fb3ac.system.js +0 -1
  134. package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
  135. package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
  136. package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
  137. package/dist/stzh-components/p-90941379.system.entry.js +0 -1
  138. package/dist/stzh-components/p-9d58c713.entry.js +0 -1
  139. package/dist/stzh-components/p-a4a4370d.entry.js +0 -1
  140. package/dist/stzh-components/p-c7c3735a.entry.js +0 -1
@@ -0,0 +1,150 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /*
5
+ * Base
6
+ */
7
+ /**
8
+ * Link
9
+ */
10
+ /**
11
+ * Text
12
+ */
13
+ /**
14
+ * Richtext
15
+ */
16
+ /**
17
+ * Section
18
+ */
19
+ /**
20
+ * Header
21
+ */
22
+ /**
23
+ * Appnav
24
+ */
25
+ /**
26
+ * Progressbar
27
+ */
28
+ /**
29
+ * Loader
30
+ */
31
+ /**
32
+ * Table
33
+ */
34
+ /**
35
+ * Heading
36
+ */
37
+ /**
38
+ * Menu (Item)
39
+ */
40
+ /**
41
+ * Form Elements (Input / Checkbox / Radio / Select / Datepicker)
42
+ */
43
+ /**
44
+ * Popover
45
+ */
46
+ /**
47
+ * Tooltips
48
+ */
49
+ /**
50
+ * Accordions
51
+ */
52
+ /**
53
+ * Buttons
54
+ */
55
+ /**
56
+ * Box Shadows
57
+ */
58
+ /**
59
+ * Z-Indexes
60
+ * Inspired by https://www.duetds.com/tokens/#z-index
61
+ */
62
+ /**
63
+ * Icon sizes
64
+ */
65
+ /**
66
+ * Grid
67
+ */
68
+ /**
69
+ * Breakpoints
70
+ */
71
+ /**
72
+ * Container
73
+ */
74
+ /**
75
+ * Spaces
76
+ */
77
+ /**
78
+ * Fonts
79
+ */
80
+ :host {
81
+ font-family: var(--stzh-font-family-regular);
82
+ font-weight: var(--stzh-font-weight-regular);
83
+ font-style: normal;
84
+ color: var(--stzh-base-color);
85
+ box-sizing: border-box;
86
+ display: block;
87
+ }
88
+ :host[hidden] {
89
+ display: none;
90
+ }
91
+ :host *,
92
+ :host *::before,
93
+ :host *::after {
94
+ box-sizing: border-box;
95
+ }
96
+
97
+ :host ::slotted([slot=logo]) {
98
+ height: 2.375rem;
99
+ }
100
+
101
+ .stzh-pagebottom {
102
+ display: flex;
103
+ flex-direction: column;
104
+ /* With border */
105
+ }
106
+ @media screen and (min-width: 600px) {
107
+ .stzh-pagebottom {
108
+ flex-direction: row;
109
+ }
110
+ }
111
+ .stzh-pagebottom__share-title {
112
+ font-size: var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));
113
+ line-height: var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));
114
+ margin-bottom: var(--stzh-space-small);
115
+ }
116
+ @media screen and (min-width: 1024px) {
117
+ .stzh-pagebottom__share-title {
118
+ font-size: var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));
119
+ line-height: var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height));
120
+ }
121
+ }
122
+ @media screen and (min-width: 600px) {
123
+ .stzh-pagebottom__logo {
124
+ margin-left: auto;
125
+ }
126
+ }
127
+ .stzh-pagebottom__logo-link:not(:empty) {
128
+ display: block;
129
+ margin-top: var(--stzh-space-xlarge);
130
+ }
131
+ @media screen and (min-width: 600px) {
132
+ .stzh-pagebottom__logo-link:not(:empty) {
133
+ margin-top: 0;
134
+ margin-left: var(--stzh-space-xlarge);
135
+ }
136
+ }
137
+ .stzh-pagebottom--with-border {
138
+ padding-top: var(--stzh-space-xlarge);
139
+ border-top: 0.0625rem solid var(--stzh-base-border-color);
140
+ }
141
+ @media screen and (min-width: 1024px) {
142
+ .stzh-pagebottom--with-border {
143
+ padding-top: var(--stzh-space-xxlarge);
144
+ }
145
+ }
146
+ @media screen and (min-width: 1260px) {
147
+ .stzh-pagebottom--with-border {
148
+ padding-top: var(--stzh-space-xxxlarge);
149
+ }
150
+ }
@@ -0,0 +1,151 @@
1
+ import { Host, h, } from "@stencil/core";
2
+ /**
3
+ * @slot logo - Slot for a logo image
4
+ */
5
+ export class StzhPagebottom {
6
+ constructor() {
7
+ this.shareTitle = "";
8
+ this.shareUrl = undefined;
9
+ this.shareServices = undefined;
10
+ this.shareDisabled = false;
11
+ this.logoHref = "https://www.stadt-zuerich.ch";
12
+ this.withBorder = false;
13
+ }
14
+ render() {
15
+ const classes = {
16
+ "stzh-pagebottom": true,
17
+ "stzh-pagebottom--with-border": this.withBorder
18
+ };
19
+ return (h(Host, null, h("div", { class: classes }, !this.shareDisabled &&
20
+ h("div", { class: "stzh-pagebottom__share-wrapper" }, this.shareTitle &&
21
+ h("div", { class: "stzh-pagebottom__share-title" }, this.shareTitle), h("stzh-share", { url: this.shareUrl, services: this.shareServices })), h("div", { class: "stzh-pagebottom__logo" }, h("a", { href: this.logoHref, class: "stzh-pagebottom__logo-link" }, h("slot", { name: "logo" }))))));
22
+ }
23
+ static get is() { return "stzh-pagebottom"; }
24
+ static get encapsulation() { return "scoped"; }
25
+ static get originalStyleUrls() {
26
+ return {
27
+ "$": ["stzh-pagebottom.scss"]
28
+ };
29
+ }
30
+ static get styleUrls() {
31
+ return {
32
+ "$": ["stzh-pagebottom.css"]
33
+ };
34
+ }
35
+ static get properties() {
36
+ return {
37
+ "shareTitle": {
38
+ "type": "string",
39
+ "mutable": false,
40
+ "complexType": {
41
+ "original": "string",
42
+ "resolved": "string",
43
+ "references": {}
44
+ },
45
+ "required": false,
46
+ "optional": false,
47
+ "docs": {
48
+ "tags": [],
49
+ "text": "Share Title"
50
+ },
51
+ "attribute": "share-title",
52
+ "reflect": false,
53
+ "defaultValue": "\"\""
54
+ },
55
+ "shareUrl": {
56
+ "type": "string",
57
+ "mutable": false,
58
+ "complexType": {
59
+ "original": "string",
60
+ "resolved": "string",
61
+ "references": {}
62
+ },
63
+ "required": false,
64
+ "optional": false,
65
+ "docs": {
66
+ "tags": [],
67
+ "text": "URL of current site (uses full URL by default)"
68
+ },
69
+ "attribute": "share-url",
70
+ "reflect": false
71
+ },
72
+ "shareServices": {
73
+ "type": "string",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "ShareService[] | string",
77
+ "resolved": "ShareService[] | string",
78
+ "references": {
79
+ "ShareService": {
80
+ "location": "import",
81
+ "path": "../../index"
82
+ }
83
+ }
84
+ },
85
+ "required": false,
86
+ "optional": false,
87
+ "docs": {
88
+ "tags": [],
89
+ "text": "Array of enabled share buttons.\nPossible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`"
90
+ },
91
+ "attribute": "share-services",
92
+ "reflect": false
93
+ },
94
+ "shareDisabled": {
95
+ "type": "boolean",
96
+ "mutable": false,
97
+ "complexType": {
98
+ "original": "boolean",
99
+ "resolved": "boolean",
100
+ "references": {}
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Whether to show share"
107
+ },
108
+ "attribute": "share-disabled",
109
+ "reflect": false,
110
+ "defaultValue": "false"
111
+ },
112
+ "logoHref": {
113
+ "type": "string",
114
+ "mutable": false,
115
+ "complexType": {
116
+ "original": "string",
117
+ "resolved": "string",
118
+ "references": {}
119
+ },
120
+ "required": false,
121
+ "optional": false,
122
+ "docs": {
123
+ "tags": [],
124
+ "text": "Logo href"
125
+ },
126
+ "attribute": "logo-href",
127
+ "reflect": false,
128
+ "defaultValue": "\"https://www.stadt-zuerich.ch\""
129
+ },
130
+ "withBorder": {
131
+ "type": "boolean",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "boolean",
135
+ "resolved": "boolean",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "Whether to display border"
143
+ },
144
+ "attribute": "with-border",
145
+ "reflect": false,
146
+ "defaultValue": "false"
147
+ }
148
+ };
149
+ }
150
+ static get elementRef() { return "element"; }
151
+ }
@@ -0,0 +1,44 @@
1
+ import { h } from '../../utils/h';
2
+ import readme from './readme.md';
3
+ import { withDesign } from 'storybook-addon-designs';
4
+ import { getFigmaLink } from '../../../figma';
5
+
6
+ export default {
7
+ title: 'Components/Pagebottom',
8
+ component: 'stzh-pagebottom',
9
+ parameters: {
10
+ layout: 'padded',
11
+ docs: {
12
+ description: {
13
+ component: readme
14
+ }
15
+ },
16
+ design: {
17
+ type: 'figma',
18
+ url: getFigmaLink('pagebottom'),
19
+ allowFullscreen: true
20
+ }
21
+ },
22
+ decorators: [
23
+ withDesign
24
+ ]
25
+ };
26
+
27
+ const Template = (args) => (
28
+ <stzh-pagebottom {...args}></stzh-pagebottom>
29
+ );
30
+
31
+ const TemplateWithLogo = (args) => (
32
+ <stzh-pagebottom {...args}>
33
+ <img slot="logo" src="media/logo/stzh-company.svg" loading="lazy" alt="A company of the city of Zurich" />
34
+ </stzh-pagebottom>
35
+ );
36
+
37
+ export const Default = Template.bind({});
38
+ Default.args = {
39
+ };
40
+
41
+ export const WithLogo = TemplateWithLogo.bind({});
42
+ WithLogo.args = {
43
+ 'with-border': true
44
+ };
@@ -45,7 +45,7 @@ const TemplateWithActions = (args) => (
45
45
  Read site
46
46
  </stzh-link>
47
47
  </stzh-readspeaker>
48
- <stzh-link slot="action-right" href="http://stadt-zuerich.ch">
48
+ <stzh-link slot="action-right" href="http://www.stadt-zuerich.ch">
49
49
  stadt-zuerich.ch
50
50
  </stzh-link>
51
51
  <stzh-text slot="lead">
@@ -59,7 +59,7 @@ const TemplateWithOneAction = (args) => (
59
59
  <stzh-heading slot="heading">
60
60
  Main title
61
61
  </stzh-heading>
62
- <stzh-link slot="action-right" href="http://stadt-zuerich.ch">
62
+ <stzh-link slot="action-right" href="http://www.stadt-zuerich.ch">
63
63
  stadt-zuerich.ch
64
64
  </stzh-link>
65
65
  <stzh-text slot="lead">
@@ -78,7 +78,7 @@ const TemplateWithImageAndActions = (args) => (
78
78
  Read page
79
79
  </stzh-link>
80
80
  </stzh-readspeaker>
81
- <stzh-link slot="action-right" href="http://stadt-zuerich.ch">
81
+ <stzh-link slot="action-right" href="http://www.stadt-zuerich.ch">
82
82
  stadt-zuerich.ch
83
83
  </stzh-link>
84
84
  <stzh-figure slot="image" caption="Laboris laborum aute id laboris culpa esse aliquip nisi anim velit.">
@@ -371,7 +371,6 @@ the .has-focus class is used by the focus target */
371
371
 
372
372
  --stzh-base-lead-color: var(--stzh-color-grey70);
373
373
  --stzh-base-border-color: var(--stzh-color-grey13);
374
- --stzh-base-vector-effect: non-scaling-stroke;
375
374
  --stzh-base-transition-animation-speed: 0.3s;
376
375
 
377
376
  /* Links */
@@ -230,7 +230,7 @@ export class StzhRadiogroup {
230
230
  "optional": false,
231
231
  "docs": {
232
232
  "tags": [],
233
- "text": "The name of the input radio elements"
233
+ "text": "The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name"
234
234
  },
235
235
  "attribute": "name",
236
236
  "reflect": true
@@ -0,0 +1,146 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /*
5
+ * Base
6
+ */
7
+ /**
8
+ * Link
9
+ */
10
+ /**
11
+ * Text
12
+ */
13
+ /**
14
+ * Richtext
15
+ */
16
+ /**
17
+ * Section
18
+ */
19
+ /**
20
+ * Header
21
+ */
22
+ /**
23
+ * Appnav
24
+ */
25
+ /**
26
+ * Progressbar
27
+ */
28
+ /**
29
+ * Loader
30
+ */
31
+ /**
32
+ * Table
33
+ */
34
+ /**
35
+ * Heading
36
+ */
37
+ /**
38
+ * Menu (Item)
39
+ */
40
+ /**
41
+ * Form Elements (Input / Checkbox / Radio / Select / Datepicker)
42
+ */
43
+ /**
44
+ * Popover
45
+ */
46
+ /**
47
+ * Tooltips
48
+ */
49
+ /**
50
+ * Accordions
51
+ */
52
+ /**
53
+ * Buttons
54
+ */
55
+ /**
56
+ * Box Shadows
57
+ */
58
+ /**
59
+ * Z-Indexes
60
+ * Inspired by https://www.duetds.com/tokens/#z-index
61
+ */
62
+ /**
63
+ * Icon sizes
64
+ */
65
+ /**
66
+ * Grid
67
+ */
68
+ /**
69
+ * Breakpoints
70
+ */
71
+ /**
72
+ * Container
73
+ */
74
+ /**
75
+ * Spaces
76
+ */
77
+ /**
78
+ * Fonts
79
+ */
80
+ :host {
81
+ font-family: var(--stzh-font-family-regular);
82
+ font-weight: var(--stzh-font-weight-regular);
83
+ font-style: normal;
84
+ color: var(--stzh-base-color);
85
+ box-sizing: border-box;
86
+ display: block;
87
+ }
88
+ :host[hidden] {
89
+ display: none;
90
+ }
91
+ :host *,
92
+ :host *::before,
93
+ :host *::after {
94
+ box-sizing: border-box;
95
+ }
96
+
97
+ .stzh-share__list {
98
+ list-style: none;
99
+ margin: 0;
100
+ padding: 0;
101
+ display: flex;
102
+ }
103
+ .stzh-share__item:not(:last-child) {
104
+ margin-right: var(--stzh-space-small);
105
+ }
106
+ .stzh-share__icon {
107
+ --size: var(--stzh-icon-size-xsmall);
108
+ }
109
+ .stzh-share__button {
110
+ color: var(--stzh-color-white);
111
+ border-radius: var(--stzh-button-border-radius);
112
+ display: grid;
113
+ place-items: center;
114
+ width: 2.875rem;
115
+ height: 1.625rem;
116
+ }
117
+ .stzh-share__button.is-facebook {
118
+ background-color: #3b5998;
119
+ }
120
+ .stzh-share__button.is-facebook:hover {
121
+ background-color: #23355B;
122
+ }
123
+ .stzh-share__button.is-twitter {
124
+ background-color: #1da1f2;
125
+ }
126
+ .stzh-share__button.is-twitter:hover {
127
+ background-color: #116091;
128
+ }
129
+ .stzh-share__button.is-linkedin {
130
+ background-color: #1485BD;
131
+ }
132
+ .stzh-share__button.is-linkedin:hover {
133
+ background-color: #0C4F71;
134
+ }
135
+ .stzh-share__button.is-xing {
136
+ background-color: #0E7574;
137
+ }
138
+ .stzh-share__button.is-xing:hover {
139
+ background-color: #084645;
140
+ }
141
+ .stzh-share__button.is-mail {
142
+ background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
143
+ }
144
+ .stzh-share__button.is-mail:hover {
145
+ background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
146
+ }