@swisspost/design-system-components 1.5.0 → 1.5.1
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.
- package/dist/cjs/package-112e1698.js +7 -0
- package/dist/cjs/package-112e1698.js.map +1 -0
- package/dist/cjs/post-alert.cjs.entry.js +3 -4
- package/dist/cjs/post-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/post-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/post-collapsible.cjs.entry.js.map +1 -1
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/post-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-header.cjs.entry.js.map +1 -1
- package/dist/cjs/post-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/post-tabs.cjs.entry.js +27 -8
- package/dist/cjs/post-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js.map +1 -1
- package/dist/collection/components/post-alert/post-alert.css +6 -534
- package/dist/collection/components/post-alert/post-alert.js +1 -2
- package/dist/collection/components/post-alert/post-alert.js.map +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.css +2 -234
- package/dist/collection/components/post-icon/post-icon.css +1 -102
- package/dist/collection/components/post-tab-header/post-tab-header.css +3 -337
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js.map +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.css +1 -3
- package/dist/collection/components/post-tabs/post-tabs.css +1 -148
- package/dist/collection/components/post-tabs/post-tabs.js +26 -7
- package/dist/collection/components/post-tabs/post-tabs.js.map +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.css +1 -194
- package/dist/components/package.js +1 -1
- package/dist/components/post-alert.js +2 -3
- package/dist/components/post-alert.js.map +1 -1
- package/dist/components/post-collapsible.js +1 -1
- package/dist/components/post-collapsible.js.map +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-icon2.js.map +1 -1
- package/dist/components/post-tab-header.js +2 -2
- package/dist/components/post-tab-header.js.map +1 -1
- package/dist/components/post-tabs.js +26 -7
- package/dist/components/post-tabs.js.map +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/post-tooltip.js.map +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/package-331628f1.js +5 -0
- package/dist/esm/package-331628f1.js.map +1 -0
- package/dist/esm/post-alert.entry.js +3 -4
- package/dist/esm/post-alert.entry.js.map +1 -1
- package/dist/esm/post-collapsible.entry.js +2 -2
- package/dist/esm/post-collapsible.entry.js.map +1 -1
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/post-icon.entry.js.map +1 -1
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/post-tab-header.entry.js.map +1 -1
- package/dist/esm/post-tab-panel.entry.js +1 -1
- package/dist/esm/post-tabs.entry.js +27 -8
- package/dist/esm/post-tabs.entry.js.map +1 -1
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/esm/post-tooltip.entry.js.map +1 -1
- package/dist/post-components/p-0d37fe44.entry.js +2 -0
- package/dist/post-components/p-0d37fe44.entry.js.map +1 -0
- package/dist/post-components/p-123bb6fb.entry.js +2 -0
- package/dist/post-components/p-123bb6fb.entry.js.map +1 -0
- package/dist/post-components/{p-29535fea.entry.js → p-65a9d1c2.entry.js} +2 -2
- package/dist/post-components/p-7240ae7b.entry.js +2 -0
- package/dist/post-components/{p-cc6e4eb8.entry.js.map → p-7240ae7b.entry.js.map} +1 -1
- package/dist/post-components/{p-2b6ab354.entry.js → p-8c386036.entry.js} +3 -3
- package/dist/post-components/{p-2b6ab354.entry.js.map → p-8c386036.entry.js.map} +1 -1
- package/dist/post-components/p-97a064da.entry.js +2 -0
- package/dist/post-components/{p-12046db8.entry.js.map → p-97a064da.entry.js.map} +1 -1
- package/dist/post-components/p-ccae1c68.entry.js +2 -0
- package/dist/post-components/{p-a14ec7bb.entry.js.map → p-ccae1c68.entry.js.map} +1 -1
- package/dist/post-components/p-eb3ff4dc.js +2 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/package-67091813.js +0 -7
- package/dist/cjs/package-67091813.js.map +0 -1
- package/dist/esm/package-f5cb3167.js +0 -5
- package/dist/esm/package-f5cb3167.js.map +0 -1
- package/dist/post-components/p-12046db8.entry.js +0 -2
- package/dist/post-components/p-24b07f64.js +0 -2
- package/dist/post-components/p-296af738.entry.js +0 -2
- package/dist/post-components/p-296af738.entry.js.map +0 -1
- package/dist/post-components/p-a14ec7bb.entry.js +0 -2
- package/dist/post-components/p-c7497ecb.entry.js +0 -2
- package/dist/post-components/p-c7497ecb.entry.js.map +0 -1
- package/dist/post-components/p-cc6e4eb8.entry.js +0 -2
- /package/dist/post-components/{p-29535fea.entry.js.map → p-65a9d1c2.entry.js.map} +0 -0
- /package/dist/post-components/{p-24b07f64.js.map → p-eb3ff4dc.js.map} +0 -0
|
@@ -1,193 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Colors used by the post style guide
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Maps. Allow maps to have custom colors from the project
|
|
6
|
-
* by always merging into a default empty map
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Colors used by the post style guide
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* Maps. Allow maps to have custom colors from the project
|
|
13
|
-
* by always merging into a default empty map
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Override the necessary bootstrap
|
|
17
|
-
* colors and maps using colors from
|
|
18
|
-
* the post style guide only.
|
|
19
|
-
*
|
|
20
|
-
* Other bootstrap colors
|
|
21
|
-
* will be available as sass-variables
|
|
22
|
-
* but should not be used.
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* Colors used by the post style guide
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Maps. Allow maps to have custom colors from the project
|
|
29
|
-
* by always merging into a default empty map
|
|
30
|
-
*/
|
|
31
|
-
.accordion-item {
|
|
32
|
-
border-block-start: 2px solid hsl(0, 0%, 90%);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.accordion-header {
|
|
36
|
-
font-size: 1.0625rem;
|
|
37
|
-
font-weight: 700;
|
|
38
|
-
line-height: 1.5;
|
|
39
|
-
margin: 0;
|
|
40
|
-
}
|
|
41
|
-
@media (min-width: 1024px) {
|
|
42
|
-
.accordion-header {
|
|
43
|
-
font-size: 1.25rem;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.accordion-button {
|
|
48
|
-
padding: 0;
|
|
49
|
-
overflow: visible;
|
|
50
|
-
border: 0;
|
|
51
|
-
background: none;
|
|
52
|
-
color: inherit;
|
|
53
|
-
font: inherit;
|
|
54
|
-
user-select: none;
|
|
55
|
-
appearance: button;
|
|
56
|
-
width: 100%;
|
|
57
|
-
position: relative;
|
|
58
|
-
padding-block: 1rem;
|
|
59
|
-
padding-inline-start: 1rem;
|
|
60
|
-
padding-inline-end: 2.5rem;
|
|
61
|
-
text-align: start;
|
|
62
|
-
}
|
|
63
|
-
.accordion-button:not(:disabled) {
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
}
|
|
66
|
-
.accordion-button:disabled {
|
|
67
|
-
opacity: 0.4;
|
|
68
|
-
}
|
|
69
|
-
.accordion-button:focus {
|
|
70
|
-
outline: none;
|
|
71
|
-
box-shadow: 0 0 0 0.125rem rgba(51, 51, 51, 0.25);
|
|
72
|
-
}
|
|
73
|
-
.accordion-button::after {
|
|
74
|
-
/* stylelint-disable-next-line property-no-vendor-prefix */
|
|
75
|
-
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xml:space='preserve' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6 7.6 7.6z'/%3E%3C/g%3E%3C/svg%3E");
|
|
76
|
-
mask-image: url("data:image/svg+xml,%3Csvg xml:space='preserve' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6 7.6 7.6z'/%3E%3C/g%3E%3C/svg%3E");
|
|
77
|
-
background-color: currentColor;
|
|
78
|
-
content: "";
|
|
79
|
-
display: block;
|
|
80
|
-
height: 1.5rem;
|
|
81
|
-
width: 1.5rem;
|
|
82
|
-
position: absolute;
|
|
83
|
-
inset-inline-end: 1rem;
|
|
84
|
-
inset-block-start: 50%;
|
|
85
|
-
transform: translateY(-50%);
|
|
86
|
-
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
87
|
-
border: 1px solid rgb(var(--post-bg-rgb, 255, 255, 255));
|
|
88
|
-
}
|
|
89
|
-
.accordion-button.collapsed::after {
|
|
90
|
-
transform: translateY(-50%) rotate(-180deg);
|
|
91
|
-
}
|
|
92
|
-
.accordion-button > .text-truncate {
|
|
93
|
-
display: block;
|
|
94
|
-
}
|
|
95
|
-
@media (forced-colors: active), (-ms-high-contrast: active), (-ms-high-contrast: white-on-black) {
|
|
96
|
-
.accordion-button:hover:not(:disabled), .accordion-button:focus-visible:not(:disabled) {
|
|
97
|
-
outline: 2px solid Highlight;
|
|
98
|
-
}
|
|
99
|
-
.accordion-button:disabled {
|
|
100
|
-
opacity: 1 !important;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.accordion-body {
|
|
105
|
-
padding: 0.75rem 1rem 2.5rem;
|
|
106
|
-
border-block-start: 2px solid hsl(0, 0%, 90%);
|
|
107
|
-
}
|
|
108
|
-
.accordion-body h1,
|
|
109
|
-
.accordion-body .h1 {
|
|
110
|
-
font-size: 1.0625rem;
|
|
111
|
-
margin: 2.5rem 0 0;
|
|
112
|
-
font-weight: 700;
|
|
113
|
-
}
|
|
114
|
-
@media (min-width: 1024px) {
|
|
115
|
-
.accordion-body h1,
|
|
116
|
-
.accordion-body .h1 {
|
|
117
|
-
font-size: 1.25rem;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
.accordion-body h2,
|
|
121
|
-
.accordion-body .h2 {
|
|
122
|
-
font-size: 1.0625rem;
|
|
123
|
-
margin: 2.5rem 0 0;
|
|
124
|
-
font-weight: 700;
|
|
125
|
-
}
|
|
126
|
-
@media (min-width: 1024px) {
|
|
127
|
-
.accordion-body h2,
|
|
128
|
-
.accordion-body .h2 {
|
|
129
|
-
font-size: 1.25rem;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
.accordion-body h3,
|
|
133
|
-
.accordion-body .h3 {
|
|
134
|
-
font-size: 1.0625rem;
|
|
135
|
-
margin: 2.5rem 0 0;
|
|
136
|
-
font-weight: 700;
|
|
137
|
-
}
|
|
138
|
-
@media (min-width: 1024px) {
|
|
139
|
-
.accordion-body h3,
|
|
140
|
-
.accordion-body .h3 {
|
|
141
|
-
font-size: 1.25rem;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
.accordion-body h4,
|
|
145
|
-
.accordion-body .h4 {
|
|
146
|
-
font-size: 1.0625rem;
|
|
147
|
-
margin: 2.5rem 0 0;
|
|
148
|
-
font-weight: 700;
|
|
149
|
-
}
|
|
150
|
-
@media (min-width: 1024px) {
|
|
151
|
-
.accordion-body h4,
|
|
152
|
-
.accordion-body .h4 {
|
|
153
|
-
font-size: 1.25rem;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
.accordion-body h5,
|
|
157
|
-
.accordion-body .h5 {
|
|
158
|
-
font-size: 1.0625rem;
|
|
159
|
-
margin: 2.5rem 0 0;
|
|
160
|
-
font-weight: 700;
|
|
161
|
-
}
|
|
162
|
-
@media (min-width: 1024px) {
|
|
163
|
-
.accordion-body h5,
|
|
164
|
-
.accordion-body .h5 {
|
|
165
|
-
font-size: 1.25rem;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
.accordion-body h6,
|
|
169
|
-
.accordion-body .h6 {
|
|
170
|
-
font-size: 1.0625rem;
|
|
171
|
-
margin: 2.5rem 0 0;
|
|
172
|
-
font-weight: 700;
|
|
173
|
-
}
|
|
174
|
-
@media (min-width: 1024px) {
|
|
175
|
-
.accordion-body h6,
|
|
176
|
-
.accordion-body .h6 {
|
|
177
|
-
font-size: 1.25rem;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.accordion-button > :first-child,
|
|
182
|
-
.accordion-body > :first-child {
|
|
183
|
-
margin-block-start: 0 !important;
|
|
184
|
-
}
|
|
185
|
-
.accordion-button > :last-child,
|
|
186
|
-
.accordion-body > :last-child {
|
|
187
|
-
margin-block-end: 0 !important;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/*!
|
|
1
|
+
.accordion-item{border-block-start:2px solid #e6e6e6}.accordion-header{font-size:1.0625rem;font-weight:700;line-height:1.5;margin:0}@media(min-width: 1024px){.accordion-header{font-size:1.25rem}}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;user-select:none;appearance:button;width:100%;position:relative;padding-block:1rem;padding-inline-start:1rem;padding-inline-end:2.5rem;text-align:start}.accordion-button:not(:disabled){cursor:pointer}.accordion-button:disabled{opacity:.4}.accordion-button:focus{outline:none;box-shadow:0 0 0 .125rem rgba(51,51,51,.25)}.accordion-button::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xml:space='preserve' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6 7.6 7.6z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xml:space='preserve' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='icon'%3E%3Cpath d='m23.6 18.3-.9.9-6.7-6.6-6.6 6.6-.9-.9 7.5-7.6 7.6 7.6z'/%3E%3C/g%3E%3C/svg%3E");background-color:currentColor;content:"";display:block;height:1.5rem;width:1.5rem;position:absolute;inset-inline-end:1rem;inset-block-start:50%;transform:translateY(-50%);transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);border:1px solid rgb(var(--post-bg-rgb, 255, 255, 255))}.accordion-button.collapsed::after{transform:translateY(-50%) rotate(-180deg)}.accordion-button>.text-truncate{display:block}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover:not(:disabled),.accordion-button:focus-visible:not(:disabled){outline:2px solid Highlight}.accordion-button:disabled{opacity:1 !important}}.accordion-body{padding:.75rem 1rem 2.5rem;border-block-start:2px solid #e6e6e6}.accordion-body h1,.accordion-body .h1{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h1,.accordion-body .h1{font-size:1.25rem}}.accordion-body h2,.accordion-body .h2{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h2,.accordion-body .h2{font-size:1.25rem}}.accordion-body h3,.accordion-body .h3{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h3,.accordion-body .h3{font-size:1.25rem}}.accordion-body h4,.accordion-body .h4{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h4,.accordion-body .h4{font-size:1.25rem}}.accordion-body h5,.accordion-body .h5{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h5,.accordion-body .h5{font-size:1.25rem}}.accordion-body h6,.accordion-body .h6{font-size:1.0625rem;margin:2.5rem 0 0;font-weight:700}@media(min-width: 1024px){.accordion-body h6,.accordion-body .h6{font-size:1.25rem}}.accordion-button>:first-child,.accordion-body>:first-child{margin-block-start:0 !important}.accordion-button>:last-child,.accordion-body>:last-child{margin-block-end:0 !important}/*!
|
|
191
2
|
* Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)
|
|
192
3
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
193
4
|
* Copyright 2011-2021 Twitter, Inc.
|
|
@@ -215,47 +26,4 @@
|
|
|
215
26
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
216
27
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
217
28
|
* THE SOFTWARE.
|
|
218
|
-
|
|
219
|
-
.fade {
|
|
220
|
-
transition: opacity 200ms linear;
|
|
221
|
-
}
|
|
222
|
-
@media (prefers-reduced-motion: reduce) {
|
|
223
|
-
.fade {
|
|
224
|
-
transition: none;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
.fade:not(.show) {
|
|
228
|
-
opacity: 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.collapse:not(.show) {
|
|
232
|
-
display: none;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.collapsing {
|
|
236
|
-
height: 0;
|
|
237
|
-
overflow: hidden;
|
|
238
|
-
transition: height 250ms cubic-bezier(0.4, 0, 0.2, 1), padding 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
239
|
-
}
|
|
240
|
-
@media (prefers-reduced-motion: reduce) {
|
|
241
|
-
.collapsing {
|
|
242
|
-
transition: none;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
.collapsing.collapse-horizontal {
|
|
246
|
-
width: 0;
|
|
247
|
-
height: auto;
|
|
248
|
-
transition: width 0.35s ease;
|
|
249
|
-
}
|
|
250
|
-
@media (prefers-reduced-motion: reduce) {
|
|
251
|
-
.collapsing.collapse-horizontal {
|
|
252
|
-
transition: none;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
:host {
|
|
257
|
-
display: block;
|
|
258
|
-
}
|
|
259
|
-
:host .accordion-button > ::slotted(.text-truncate) {
|
|
260
|
-
display: block;
|
|
261
|
-
}
|
|
29
|
+
*/.fade{transition:opacity 200ms linear}@media(prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height 250ms cubic-bezier(0.4, 0, 0.2, 1),padding 250ms cubic-bezier(0.4, 0, 0.2, 1)}@media(prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media(prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}:host{display:block}:host .accordion-button>::slotted(.text-truncate){display:block}
|
|
@@ -1,102 +1 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
width: 1em;
|
|
4
|
-
vertical-align: -0.15em;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
svg {
|
|
8
|
-
display: block;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
fill: currentColor;
|
|
12
|
-
background-color: currentColor;
|
|
13
|
-
-webkit-mask-position: center center;
|
|
14
|
-
mask-position: center center;
|
|
15
|
-
-webkit-mask-repeat: no-repeat;
|
|
16
|
-
mask-repeat: no-repeat;
|
|
17
|
-
-webkit-mask-size: 100%;
|
|
18
|
-
mask-size: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
:host([flip-h]:not([flip-h=false])) {
|
|
22
|
-
scale: -1 1;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
:host([flip-v]:not([flip-v=false])) {
|
|
26
|
-
scale: 1 -1;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:host([flip-h][flip-v]:not([flip-h=false], [flip-v=false])) {
|
|
30
|
-
scale: -1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
:host([animation]) {
|
|
34
|
-
transform-origin: center;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
:host([animation=cylon]) {
|
|
38
|
-
animation: icon-animation-cylon 0.75s ease-in-out infinite alternate;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:host([animation=cylon-vertical]) {
|
|
42
|
-
animation: icon-animation-cylon-vertical 0.75s ease-in-out infinite alternate;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
:host([animation=spin]) {
|
|
46
|
-
animation: icon-animation-spin 2s linear infinite normal;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
:host([animation=spin-reverse]) {
|
|
50
|
-
animation: icon-animation-spin 2s linear infinite reverse;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
:host([animation=fade]) {
|
|
54
|
-
animation: icon-animation-fade 0.75s ease-in-out infinite alternate;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
:host([animation=throb]) {
|
|
58
|
-
animation: icon-animation-throb 0.75s ease-in-out infinite alternate;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@keyframes icon-animation-cylon {
|
|
62
|
-
from {
|
|
63
|
-
transform: translateX(-25%);
|
|
64
|
-
}
|
|
65
|
-
to {
|
|
66
|
-
transform: translateX(25%);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
@keyframes icon-animation-cylon-vertical {
|
|
70
|
-
from {
|
|
71
|
-
transform: translateY(25%);
|
|
72
|
-
}
|
|
73
|
-
to {
|
|
74
|
-
transform: translateY(-25%);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
@keyframes icon-animation-fade {
|
|
78
|
-
from {
|
|
79
|
-
opacity: 0.1;
|
|
80
|
-
}
|
|
81
|
-
to {
|
|
82
|
-
opacity: 1;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
@keyframes icon-animation-spin {
|
|
86
|
-
from {
|
|
87
|
-
transform: rotate(0deg);
|
|
88
|
-
}
|
|
89
|
-
to {
|
|
90
|
-
transform: rotate(359deg);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
@keyframes icon-animation-throb {
|
|
94
|
-
from {
|
|
95
|
-
opacity: 0.5;
|
|
96
|
-
transform: scale(0.5);
|
|
97
|
-
}
|
|
98
|
-
to {
|
|
99
|
-
opacity: 1;
|
|
100
|
-
transform: scale(1);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
:host{display:inline-block;width:1em;vertical-align:-0.15em}svg{display:block;width:100%;height:100%;fill:currentColor;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}
|
|
@@ -1,337 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Maps. Allow maps to have custom colors from the project
|
|
6
|
-
* by always merging into a default empty map
|
|
7
|
-
*/
|
|
8
|
-
.tab-title {
|
|
9
|
-
display: inline-block;
|
|
10
|
-
position: relative;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
padding: 1rem;
|
|
13
|
-
transition: background-color 100ms;
|
|
14
|
-
border-right: 1px solid transparent;
|
|
15
|
-
border-left: 1px solid transparent;
|
|
16
|
-
outline-color: currentColor;
|
|
17
|
-
opacity: 0.7;
|
|
18
|
-
color: var(--post-contrast-color);
|
|
19
|
-
text-decoration: none;
|
|
20
|
-
}
|
|
21
|
-
.tab-title:focus {
|
|
22
|
-
background-color: unset;
|
|
23
|
-
color: var(--post-contrast-color);
|
|
24
|
-
}
|
|
25
|
-
.tab-title:hover {
|
|
26
|
-
opacity: 1;
|
|
27
|
-
background-color: #fff;
|
|
28
|
-
color: var(--post-contrast-color);
|
|
29
|
-
}
|
|
30
|
-
.tab-title:focus-visible {
|
|
31
|
-
outline: transparent;
|
|
32
|
-
opacity: 1;
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
color: var(--post-contrast-color);
|
|
35
|
-
box-shadow: none;
|
|
36
|
-
}
|
|
37
|
-
.tab-title:focus-visible::after {
|
|
38
|
-
content: "";
|
|
39
|
-
display: block;
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 2px;
|
|
42
|
-
right: 1px;
|
|
43
|
-
bottom: 0;
|
|
44
|
-
left: 1px;
|
|
45
|
-
box-shadow: 0 0 0 1px #fff, 0 0 0 2px hsl(0, 0%, 20%);
|
|
46
|
-
}
|
|
47
|
-
.tab-title.active {
|
|
48
|
-
z-index: 1;
|
|
49
|
-
border-right-color: hsl(0, 0%, 80%);
|
|
50
|
-
border-left-color: hsl(0, 0%, 80%);
|
|
51
|
-
opacity: 1;
|
|
52
|
-
background-color: #fff;
|
|
53
|
-
color: var(--post-contrast-color);
|
|
54
|
-
font-weight: 700;
|
|
55
|
-
}
|
|
56
|
-
.tab-title.active::before {
|
|
57
|
-
content: "";
|
|
58
|
-
display: block;
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
right: -1px;
|
|
62
|
-
left: -1px;
|
|
63
|
-
height: 0.25rem;
|
|
64
|
-
background-color: #fc0;
|
|
65
|
-
}
|
|
66
|
-
:is(.bg-dark, .bg-primary, .bg-black, .bg-danger, .bg-nightblue, .bg-nightblue-bright, .bg-petrol, .bg-coral, .bg-olive, .bg-purple, .bg-purple-bright, .bg-aubergine, .bg-aubergine-bright) .tab-title:hover {
|
|
67
|
-
background-color: rgba(255, 255, 255, 0.2);
|
|
68
|
-
}
|
|
69
|
-
:is(.bg-dark, .bg-primary, .bg-black, .bg-danger, .bg-nightblue, .bg-nightblue-bright, .bg-petrol, .bg-coral, .bg-olive, .bg-purple, .bg-purple-bright, .bg-aubergine, .bg-aubergine-bright) .tab-title:focus-visible {
|
|
70
|
-
background-color: rgba(255, 255, 255, 0.2);
|
|
71
|
-
}
|
|
72
|
-
@media (forced-colors: active), (-ms-high-contrast: active), (-ms-high-contrast: white-on-black) {
|
|
73
|
-
.tab-title {
|
|
74
|
-
opacity: 1;
|
|
75
|
-
border-left-color: Canvas;
|
|
76
|
-
border-right-color: Canvas;
|
|
77
|
-
color: LinkText;
|
|
78
|
-
}
|
|
79
|
-
.tab-title:hover, .tab-title:focus, .tab-title:focus-within, .tab-title:focus-visible {
|
|
80
|
-
outline: 2px solid Highlight;
|
|
81
|
-
outline-offset: -0.25rem;
|
|
82
|
-
}
|
|
83
|
-
.tab-title.active {
|
|
84
|
-
border-left-color: ButtonText;
|
|
85
|
-
border-right-color: ButtonText;
|
|
86
|
-
color: Highlight;
|
|
87
|
-
}
|
|
88
|
-
.tab-title.active::before {
|
|
89
|
-
background-color: Highlight;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.bg-yellow .tab-title {
|
|
94
|
-
background-color: #fc0;
|
|
95
|
-
}
|
|
96
|
-
.bg-yellow .tab-title.active {
|
|
97
|
-
background-color: #fc0;
|
|
98
|
-
}
|
|
99
|
-
.bg-yellow .nav-item {
|
|
100
|
-
background-color: #fc0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.bg-light .tab-title {
|
|
104
|
-
background-color: #faf9f8;
|
|
105
|
-
}
|
|
106
|
-
.bg-light .tab-title.active {
|
|
107
|
-
background-color: #faf9f8;
|
|
108
|
-
}
|
|
109
|
-
.bg-light .nav-item {
|
|
110
|
-
background-color: #faf9f8;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.bg-gray .tab-title {
|
|
114
|
-
background-color: #f4f3f1;
|
|
115
|
-
}
|
|
116
|
-
.bg-gray .tab-title.active {
|
|
117
|
-
background-color: #f4f3f1;
|
|
118
|
-
}
|
|
119
|
-
.bg-gray .nav-item {
|
|
120
|
-
background-color: #f4f3f1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.bg-dark .tab-title {
|
|
124
|
-
background-color: hsl(0, 0%, 20%);
|
|
125
|
-
}
|
|
126
|
-
.bg-dark .tab-title.active {
|
|
127
|
-
background-color: hsl(0, 0%, 20%);
|
|
128
|
-
}
|
|
129
|
-
.bg-dark .nav-item {
|
|
130
|
-
background-color: hsl(0, 0%, 20%);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.bg-primary .tab-title {
|
|
134
|
-
background-color: hsl(0, 0%, 20%);
|
|
135
|
-
}
|
|
136
|
-
.bg-primary .tab-title.active {
|
|
137
|
-
background-color: hsl(0, 0%, 20%);
|
|
138
|
-
}
|
|
139
|
-
.bg-primary .nav-item {
|
|
140
|
-
background-color: hsl(0, 0%, 20%);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.bg-white .tab-title {
|
|
144
|
-
background-color: #fff;
|
|
145
|
-
}
|
|
146
|
-
.bg-white .tab-title.active {
|
|
147
|
-
background-color: #fff;
|
|
148
|
-
}
|
|
149
|
-
.bg-white .nav-item {
|
|
150
|
-
background-color: #fff;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.bg-black .tab-title {
|
|
154
|
-
background-color: #000;
|
|
155
|
-
}
|
|
156
|
-
.bg-black .tab-title.active {
|
|
157
|
-
background-color: #000;
|
|
158
|
-
}
|
|
159
|
-
.bg-black .nav-item {
|
|
160
|
-
background-color: #000;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.bg-success .tab-title {
|
|
164
|
-
background-color: #2c911c;
|
|
165
|
-
}
|
|
166
|
-
.bg-success .tab-title.active {
|
|
167
|
-
background-color: #2c911c;
|
|
168
|
-
}
|
|
169
|
-
.bg-success .nav-item {
|
|
170
|
-
background-color: #2c911c;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.bg-info .tab-title {
|
|
174
|
-
background-color: #cce4ee;
|
|
175
|
-
}
|
|
176
|
-
.bg-info .tab-title.active {
|
|
177
|
-
background-color: #cce4ee;
|
|
178
|
-
}
|
|
179
|
-
.bg-info .nav-item {
|
|
180
|
-
background-color: #cce4ee;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.bg-warning .tab-title {
|
|
184
|
-
background-color: #f49e00;
|
|
185
|
-
}
|
|
186
|
-
.bg-warning .tab-title.active {
|
|
187
|
-
background-color: #f49e00;
|
|
188
|
-
}
|
|
189
|
-
.bg-warning .nav-item {
|
|
190
|
-
background-color: #f49e00;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.bg-danger .tab-title {
|
|
194
|
-
background-color: #a51728;
|
|
195
|
-
}
|
|
196
|
-
.bg-danger .tab-title.active {
|
|
197
|
-
background-color: #a51728;
|
|
198
|
-
}
|
|
199
|
-
.bg-danger .nav-item {
|
|
200
|
-
background-color: #a51728;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.bg-nightblue .tab-title {
|
|
204
|
-
background-color: #004976;
|
|
205
|
-
}
|
|
206
|
-
.bg-nightblue .tab-title.active {
|
|
207
|
-
background-color: #004976;
|
|
208
|
-
}
|
|
209
|
-
.bg-nightblue .nav-item {
|
|
210
|
-
background-color: #004976;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.bg-nightblue-bright .tab-title {
|
|
214
|
-
background-color: #0076a8;
|
|
215
|
-
}
|
|
216
|
-
.bg-nightblue-bright .tab-title.active {
|
|
217
|
-
background-color: #0076a8;
|
|
218
|
-
}
|
|
219
|
-
.bg-nightblue-bright .nav-item {
|
|
220
|
-
background-color: #0076a8;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.bg-petrol .tab-title {
|
|
224
|
-
background-color: #006d68;
|
|
225
|
-
}
|
|
226
|
-
.bg-petrol .tab-title.active {
|
|
227
|
-
background-color: #006d68;
|
|
228
|
-
}
|
|
229
|
-
.bg-petrol .nav-item {
|
|
230
|
-
background-color: #006d68;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.bg-petrol-bright .tab-title {
|
|
234
|
-
background-color: #00968f;
|
|
235
|
-
}
|
|
236
|
-
.bg-petrol-bright .tab-title.active {
|
|
237
|
-
background-color: #00968f;
|
|
238
|
-
}
|
|
239
|
-
.bg-petrol-bright .nav-item {
|
|
240
|
-
background-color: #00968f;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.bg-coral .tab-title {
|
|
244
|
-
background-color: #9e2a2f;
|
|
245
|
-
}
|
|
246
|
-
.bg-coral .tab-title.active {
|
|
247
|
-
background-color: #9e2a2f;
|
|
248
|
-
}
|
|
249
|
-
.bg-coral .nav-item {
|
|
250
|
-
background-color: #9e2a2f;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.bg-coral-bright .tab-title {
|
|
254
|
-
background-color: #e03c31;
|
|
255
|
-
}
|
|
256
|
-
.bg-coral-bright .tab-title.active {
|
|
257
|
-
background-color: #e03c31;
|
|
258
|
-
}
|
|
259
|
-
.bg-coral-bright .nav-item {
|
|
260
|
-
background-color: #e03c31;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.bg-olive .tab-title {
|
|
264
|
-
background-color: #716135;
|
|
265
|
-
}
|
|
266
|
-
.bg-olive .tab-title.active {
|
|
267
|
-
background-color: #716135;
|
|
268
|
-
}
|
|
269
|
-
.bg-olive .nav-item {
|
|
270
|
-
background-color: #716135;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.bg-olive-bright .tab-title {
|
|
274
|
-
background-color: #aa9d2e;
|
|
275
|
-
}
|
|
276
|
-
.bg-olive-bright .tab-title.active {
|
|
277
|
-
background-color: #aa9d2e;
|
|
278
|
-
}
|
|
279
|
-
.bg-olive-bright .nav-item {
|
|
280
|
-
background-color: #aa9d2e;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.bg-purple .tab-title {
|
|
284
|
-
background-color: #80276c;
|
|
285
|
-
}
|
|
286
|
-
.bg-purple .tab-title.active {
|
|
287
|
-
background-color: #80276c;
|
|
288
|
-
}
|
|
289
|
-
.bg-purple .nav-item {
|
|
290
|
-
background-color: #80276c;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.bg-purple-bright .tab-title {
|
|
294
|
-
background-color: #c5299b;
|
|
295
|
-
}
|
|
296
|
-
.bg-purple-bright .tab-title.active {
|
|
297
|
-
background-color: #c5299b;
|
|
298
|
-
}
|
|
299
|
-
.bg-purple-bright .nav-item {
|
|
300
|
-
background-color: #c5299b;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.bg-aubergine .tab-title {
|
|
304
|
-
background-color: #523178;
|
|
305
|
-
}
|
|
306
|
-
.bg-aubergine .tab-title.active {
|
|
307
|
-
background-color: #523178;
|
|
308
|
-
}
|
|
309
|
-
.bg-aubergine .nav-item {
|
|
310
|
-
background-color: #523178;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.bg-aubergine-bright .tab-title {
|
|
314
|
-
background-color: #7566a0;
|
|
315
|
-
}
|
|
316
|
-
.bg-aubergine-bright .tab-title.active {
|
|
317
|
-
background-color: #7566a0;
|
|
318
|
-
}
|
|
319
|
-
.bg-aubergine-bright .nav-item {
|
|
320
|
-
background-color: #7566a0;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
[class*=bg-] .tab-title.active:focus::after {
|
|
324
|
-
background-color: rgba(255, 255, 255, 0.2);
|
|
325
|
-
}
|
|
326
|
-
@supports selector(*:focus-visible) {
|
|
327
|
-
[class*=bg-] .tab-title.active:focus::after {
|
|
328
|
-
background-color: unset;
|
|
329
|
-
}
|
|
330
|
-
[class*=bg-] .tab-title.active:focus-visible::after {
|
|
331
|
-
background-color: rgba(255, 255, 255, 0.2);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
:host {
|
|
336
|
-
display: block;
|
|
337
|
-
}
|
|
1
|
+
.tab-title[role=tab]{display:inline-block;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:#fff;color:var(--post-contrast-color)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:#fff;color:var(--post-contrast-color);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-primary,.bg-black,.bg-danger,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-success .tab-title{background-color:#2c911c}.bg-success .tab-title.active{background-color:#2c911c}.bg-success .nav-item{background-color:#2c911c}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-danger .tab-title{background-color:#a51728}.bg-danger .tab-title.active{background-color:#a51728}.bg-danger .nav-item{background-color:#a51728}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!
|
|
2
|
+
* Copyright 2021 by Swiss Post, Information Technology
|
|
3
|
+
*/:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;user-select:none;appearance:button}
|
|
@@ -13,7 +13,7 @@ export class PostTabHeader {
|
|
|
13
13
|
this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { "data-version": version }, h("
|
|
16
|
+
return (h(Host, { "data-version": version }, h("button", { "aria-selected": "false", class: "tab-title", id: this.tabId, role: "tab", tabindex: "-1", type: "button" }, h("slot", null))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "post-tab-header"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|