@sebgroup/green-core 1.15.0 → 1.16.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.
- package/README.md +101 -7
- package/chunks/chunk.274BU2AI.js +244 -0
- package/chunks/chunk.2LQSDOD4.js +29 -0
- package/chunks/chunk.2ND5EWHE.js +65 -0
- package/chunks/chunk.2OOTOCUG.js +420 -0
- package/chunks/chunk.2WO4NHJ2.js +34 -0
- package/chunks/chunk.2Y3BHFKO.js +154 -0
- package/chunks/chunk.375BWME4.js +29 -0
- package/chunks/chunk.3SEVAGLE.js +96 -0
- package/chunks/chunk.522C22QY.js +460 -0
- package/chunks/chunk.5VURDMKE.js +75 -0
- package/chunks/chunk.6NM7ENKA.js +31 -0
- package/chunks/chunk.6UA66KQU.js +153 -0
- package/chunks/chunk.7P5N6NZL.js +560 -0
- package/chunks/chunk.7TCXY7BP.js +0 -0
- package/chunks/chunk.D7H7CUS4.js +55 -0
- package/chunks/chunk.DFYMYEGD.js +78 -0
- package/chunks/chunk.HS7ICQNA.js +0 -0
- package/chunks/chunk.IYCENQZG.js +28 -0
- package/chunks/chunk.J2A6J77W.js +81 -0
- package/chunks/chunk.KC32OWZE.js +274 -0
- package/chunks/chunk.KV4SDMFS.js +101 -0
- package/chunks/chunk.LUHCF4BJ.js +64 -0
- package/chunks/chunk.MAD5DQMN.js +161 -0
- package/chunks/chunk.MI4A2C2A.js +0 -0
- package/chunks/chunk.NOYHINYP.js +467 -0
- package/chunks/chunk.Q2T57HE7.js +0 -0
- package/chunks/chunk.QONSFT2N.js +4653 -0
- package/chunks/chunk.TMBQL2RO.js +0 -0
- package/chunks/chunk.TN6ZYAH3.js +74 -0
- package/chunks/chunk.TSDZQZBY.js +0 -0
- package/chunks/chunk.TX64TTBN.js +0 -0
- package/chunks/chunk.UF6IEONX.js +0 -0
- package/chunks/chunk.VOYMQ322.js +61 -0
- package/chunks/chunk.VYK7D6QO.js +64 -0
- package/chunks/chunk.WDZ2JTCP.js +360 -0
- package/chunks/chunk.WJDR7FTS.js +193 -0
- package/chunks/chunk.WM7HBMMV.js +54 -0
- package/chunks/chunk.XHTJVQUJ.js +140 -0
- package/chunks/chunk.XI4H54TV.js +39 -0
- package/chunks/chunk.XU4HZLJL.js +0 -0
- package/chunks/chunk.YIQIH4RW.js +139 -0
- package/chunks/chunk.YJHAKLGR.js +54 -0
- package/chunks/chunk.YO24ZYAD.js +0 -0
- package/chunks/chunk.ZTE73BY2.js +655 -0
- package/components/badge/badge.js +245 -0
- package/components/button/button.d.ts +5 -5
- package/components/button/button.js +18 -0
- package/components/button/button.trans.styles.d.ts +2 -0
- package/components/button/index.d.ts +1 -0
- package/components/button/index.js +18 -0
- package/components/checkbox/checkbox.js +219 -0
- package/components/context-menu/context-menu.d.ts +2 -1
- package/components/context-menu/context-menu.js +22 -0
- package/components/context-menu/index.d.ts +3 -0
- package/components/context-menu/index.js +29 -0
- package/components/datepicker/date-part-spinner.js +10 -0
- package/components/datepicker/datepicker.d.ts +3 -2
- package/components/datepicker/datepicker.js +29 -0
- package/components/datepicker/index.d.ts +1 -0
- package/components/datepicker/index.js +29 -0
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/dropdown.js +22 -0
- package/components/dropdown/index.d.ts +3 -0
- package/components/dropdown/index.js +30 -0
- package/components/form-control.js +12 -0
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/grid.js +11 -0
- package/components/grid/grid.style.css.js +7 -0
- package/components/grid/index.d.ts +1 -0
- package/components/grid/index.js +11 -0
- package/components/grouped-list/grouped-list.js +14 -0
- package/components/grouped-list/index.d.ts +2 -0
- package/components/grouped-list/index.js +17 -0
- package/components/grouped-list/list-item.js +10 -0
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +10 -0
- package/components/icon/index.d.ts +1 -0
- package/components/icon/index.js +10 -0
- package/components/index.d.ts +4 -3
- package/components/index.js +81 -0
- package/components/input/input.js +682 -0
- package/components/radio/radio-group.js +9 -0
- package/components/radio/radio.js +240 -0
- package/components/segmented-control/index.d.ts +1 -0
- package/components/segmented-control/index.js +15 -0
- package/components/segmented-control/segment/index.d.ts +1 -0
- package/components/segmented-control/segment/index.js +13 -0
- package/components/segmented-control/segment/segment.js +12 -0
- package/components/segmented-control/segmented-control.d.ts +1 -1
- package/components/segmented-control/segmented-control.js +15 -0
- package/components/switch/switch.js +164 -0
- package/components/theme/index.d.ts +1 -0
- package/components/theme/index.js +11 -0
- package/components/theme/theme.js +11 -0
- package/components/tooltip/tooltip.js +252 -0
- package/index.js +72 -4278
- package/localization.js +40 -44
- package/package.json +7 -16
- package/primitives/calendar/calendar.js +13 -0
- package/primitives/calendar/functions.js +7 -0
- package/primitives/calendar/index.d.ts +1 -0
- package/primitives/calendar/index.js +14 -0
- package/primitives/listbox/index.d.ts +0 -1
- package/primitives/listbox/index.js +17 -0
- package/primitives/listbox/listbox.d.ts +2 -1
- package/primitives/listbox/listbox.js +16 -0
- package/primitives/listbox/option.js +14 -0
- package/primitives/menu/index.d.ts +1 -0
- package/primitives/menu/index.js +15 -0
- package/primitives/menu/menu-heading.js +11 -0
- package/primitives/menu/menu-item.d.ts +1 -2
- package/primitives/menu/menu-item.js +12 -0
- package/primitives/menu/menu.d.ts +2 -1
- package/primitives/menu/menu.js +14 -0
- package/primitives/popover/index.js +14 -0
- package/primitives/popover/popover.js +13 -0
- package/primitives/ripple/index.d.ts +1 -0
- package/primitives/ripple/index.js +11 -0
- package/primitives/ripple/ripple.d.ts +1 -1
- package/primitives/ripple/ripple.js +10 -0
- package/scoping.d.ts +1 -0
- package/scoping.js +18 -0
- package/transitional-styles.js +6 -4275
|
@@ -0,0 +1,4653 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VER_SUFFIX
|
|
3
|
+
} from "./chunk.VOYMQ322.js";
|
|
4
|
+
import {
|
|
5
|
+
__spreadProps,
|
|
6
|
+
__spreadValues
|
|
7
|
+
} from "./chunk.5VURDMKE.js";
|
|
8
|
+
|
|
9
|
+
// libs/core/src/utils/transitional-styles/transitional-styles.ts
|
|
10
|
+
import { html } from "lit";
|
|
11
|
+
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
12
|
+
|
|
13
|
+
// libs/core/src/components/button/button.trans.styles.scss
|
|
14
|
+
var button_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
15
|
+
/* stylelint-enable max-nesting-depth */
|
|
16
|
+
/**
|
|
17
|
+
* Calculate the luminance for a color.
|
|
18
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Calculate the contrast ratio between two colors.
|
|
22
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
23
|
+
*/
|
|
24
|
+
/* stylelint-disable */
|
|
25
|
+
/* stylelint-enable */
|
|
26
|
+
/* stylelint-disable */
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated
|
|
29
|
+
* Use \`add-focus\` instead
|
|
30
|
+
*/
|
|
31
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
32
|
+
i.sg-icon {
|
|
33
|
+
font-size: 0;
|
|
34
|
+
width: 1rem;
|
|
35
|
+
height: 1rem;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
}
|
|
38
|
+
i.sg-icon::before {
|
|
39
|
+
content: "";
|
|
40
|
+
display: inline-block;
|
|
41
|
+
background: var(--color);
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 100%;
|
|
44
|
+
-webkit-mask-repeat: no-repeat;
|
|
45
|
+
mask-repeat: no-repeat;
|
|
46
|
+
}
|
|
47
|
+
i.sg-icon.sg-icon-calendar::before {
|
|
48
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
49
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
50
|
+
}
|
|
51
|
+
i.sg-icon.sg-icon-calendar-range::before {
|
|
52
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
53
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
54
|
+
}
|
|
55
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
56
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
57
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
58
|
+
}
|
|
59
|
+
i.sg-icon.sg-icon-grip-vertical::before {
|
|
60
|
+
-webkit-mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
61
|
+
mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
62
|
+
}
|
|
63
|
+
i.sg-icon.sg-icon-next::before {
|
|
64
|
+
background: none;
|
|
65
|
+
border-bottom: 2px solid;
|
|
66
|
+
border-left: 2px solid;
|
|
67
|
+
content: "";
|
|
68
|
+
display: block;
|
|
69
|
+
height: 12px;
|
|
70
|
+
margin-left: -10px;
|
|
71
|
+
margin-top: 2px;
|
|
72
|
+
transform: translate(75%) rotate(-135deg) scaleZ(-1);
|
|
73
|
+
transition: transform 0.3s ease-in;
|
|
74
|
+
width: 12px;
|
|
75
|
+
}
|
|
76
|
+
i.sg-icon.sg-icon-previous::before {
|
|
77
|
+
background: none;
|
|
78
|
+
border-bottom: 2px solid;
|
|
79
|
+
border-left: 2px solid;
|
|
80
|
+
content: "";
|
|
81
|
+
display: block;
|
|
82
|
+
height: 12px;
|
|
83
|
+
margin-left: -4px;
|
|
84
|
+
margin-top: 2px;
|
|
85
|
+
transform: translate(75%) rotate(45deg) scaleZ(-1);
|
|
86
|
+
transition: transform 0.3s ease-in;
|
|
87
|
+
width: 12px;
|
|
88
|
+
}
|
|
89
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
90
|
+
margin-right: -2px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@layer base, reset, transitional-styles;
|
|
94
|
+
@layer transitional-styles {
|
|
95
|
+
@layer _base, _ranks, _overrides;
|
|
96
|
+
:host {
|
|
97
|
+
display: inline-block;
|
|
98
|
+
}
|
|
99
|
+
@layer _base {
|
|
100
|
+
button {
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
border: 0;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
font-family: inherit;
|
|
105
|
+
padding: 0;
|
|
106
|
+
padding-left: 1rem;
|
|
107
|
+
padding-right: 1rem;
|
|
108
|
+
padding-bottom: 0.75rem;
|
|
109
|
+
padding-top: 0.75rem;
|
|
110
|
+
border-radius: var(--sg-border-radius);
|
|
111
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
112
|
+
font-weight: 500;
|
|
113
|
+
min-height: 2.75rem;
|
|
114
|
+
align-items: center;
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
118
|
+
background: rgb(0, 122, 199);
|
|
119
|
+
border-color: rgb(0, 122, 199);
|
|
120
|
+
color: #fff;
|
|
121
|
+
--color: #fff;
|
|
122
|
+
font-size: inherit;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
}
|
|
125
|
+
button:focus:not(:focus-visible) {
|
|
126
|
+
box-shadow: none;
|
|
127
|
+
outline: 0;
|
|
128
|
+
}
|
|
129
|
+
button:focus, button:focus-visible {
|
|
130
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
131
|
+
outline-style: solid;
|
|
132
|
+
outline-width: 0.125rem;
|
|
133
|
+
outline-offset: 0.125rem;
|
|
134
|
+
}
|
|
135
|
+
@media (max-width: 35.98em) {
|
|
136
|
+
button {
|
|
137
|
+
min-width: 100%;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
@media screen and (-ms-high-contrast: active) {
|
|
141
|
+
button {
|
|
142
|
+
border: 2px solid currentcolor;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
button.small {
|
|
146
|
+
min-height: 2rem;
|
|
147
|
+
padding: 0.4375rem 0.75rem;
|
|
148
|
+
line-height: 1rem;
|
|
149
|
+
}
|
|
150
|
+
button.large {
|
|
151
|
+
min-height: 4rem;
|
|
152
|
+
padding: 1rem 1.5rem;
|
|
153
|
+
font-size: 1.5rem;
|
|
154
|
+
line-height: 2rem;
|
|
155
|
+
}
|
|
156
|
+
button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
157
|
+
background-color: #199be3;
|
|
158
|
+
color: rgb(255, 255, 255);
|
|
159
|
+
--background: #199be3;
|
|
160
|
+
--color: rgb(255, 255, 255);
|
|
161
|
+
border-color: #199be3;
|
|
162
|
+
}
|
|
163
|
+
button[aria-selected], button:active, button.active, button.active:hover, button:active:hover {
|
|
164
|
+
background-color: rgb(0, 122, 199);
|
|
165
|
+
color: rgb(255, 255, 255);
|
|
166
|
+
--background: rgb(0, 122, 199);
|
|
167
|
+
--color: rgb(255, 255, 255);
|
|
168
|
+
border-color: rgb(0, 122, 199);
|
|
169
|
+
}
|
|
170
|
+
button:focus-visible {
|
|
171
|
+
background-color: #199be3;
|
|
172
|
+
color: rgb(255, 255, 255);
|
|
173
|
+
--background: #199be3;
|
|
174
|
+
--color: rgb(255, 255, 255);
|
|
175
|
+
border-color: #199be3 !important;
|
|
176
|
+
}
|
|
177
|
+
button:disabled, button.disabled, button[aria-disabled=true] {
|
|
178
|
+
background: var(--form-control-primary-bg-disabled) !important;
|
|
179
|
+
color: var(--text-primary-disabled-color) !important;
|
|
180
|
+
border-color: var(--border-primary-disabled-color) !important;
|
|
181
|
+
cursor: not-allowed;
|
|
182
|
+
}
|
|
183
|
+
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
184
|
+
color: var(--text-disabled-color);
|
|
185
|
+
}
|
|
186
|
+
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
187
|
+
color: var(--text-disabled-color);
|
|
188
|
+
}
|
|
189
|
+
button.icon {
|
|
190
|
+
padding: 0.75rem;
|
|
191
|
+
}
|
|
192
|
+
button.icon.small {
|
|
193
|
+
padding: 0.5rem;
|
|
194
|
+
}
|
|
195
|
+
button.icon.large {
|
|
196
|
+
padding: 1.25rem;
|
|
197
|
+
}
|
|
198
|
+
:host([rank*=secondary]) button {
|
|
199
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
200
|
+
background: transparent;
|
|
201
|
+
border-color: rgb(0, 122, 199);
|
|
202
|
+
color: rgb(0, 122, 199);
|
|
203
|
+
--color: rgb(0, 122, 199);
|
|
204
|
+
}
|
|
205
|
+
:host([rank*=secondary]) button:focus:not(:focus-visible) {
|
|
206
|
+
box-shadow: none;
|
|
207
|
+
outline: 0;
|
|
208
|
+
}
|
|
209
|
+
:host([rank*=secondary]) button:focus, :host([rank*=secondary]) button:focus-visible {
|
|
210
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
211
|
+
outline-style: solid;
|
|
212
|
+
outline-width: 0.125rem;
|
|
213
|
+
outline-offset: 0.125rem;
|
|
214
|
+
}
|
|
215
|
+
:host([rank*=secondary]) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
216
|
+
background-color: #199be3;
|
|
217
|
+
color: rgb(255, 255, 255);
|
|
218
|
+
--background: #199be3;
|
|
219
|
+
--color: rgb(255, 255, 255);
|
|
220
|
+
border-color: #199be3;
|
|
221
|
+
}
|
|
222
|
+
:host([rank*=secondary]) button[aria-selected], :host([rank*=secondary]) button:active, :host([rank*=secondary]) button.active, :host([rank*=secondary]) button.active:hover, :host([rank*=secondary]) button:active:hover {
|
|
223
|
+
background-color: rgb(0, 122, 199);
|
|
224
|
+
color: rgb(255, 255, 255);
|
|
225
|
+
--background: rgb(0, 122, 199);
|
|
226
|
+
--color: rgb(255, 255, 255);
|
|
227
|
+
border-color: rgb(0, 122, 199);
|
|
228
|
+
}
|
|
229
|
+
:host([rank*=secondary]) button:disabled, :host([rank*=secondary]) button.disabled, :host([rank*=secondary]) button[aria-disabled=true] {
|
|
230
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
231
|
+
color: var(--text-disabled-color) !important;
|
|
232
|
+
border-color: var(--border-disabled-color) !important;
|
|
233
|
+
cursor: not-allowed;
|
|
234
|
+
}
|
|
235
|
+
:host([rank*=secondary]) button:disabled::-moz-placeholder, :host([rank*=secondary]) button.disabled::-moz-placeholder, :host([rank*=secondary]) button[aria-disabled=true]::-moz-placeholder {
|
|
236
|
+
color: var(--text-disabled-color);
|
|
237
|
+
}
|
|
238
|
+
:host([rank*=secondary]) button:disabled::placeholder, :host([rank*=secondary]) button.disabled::placeholder, :host([rank*=secondary]) button[aria-disabled=true]::placeholder {
|
|
239
|
+
color: var(--text-disabled-color);
|
|
240
|
+
}
|
|
241
|
+
:host([rank*=tertiary]) button {
|
|
242
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
243
|
+
background: transparent;
|
|
244
|
+
border-color: transparent;
|
|
245
|
+
color: rgb(0, 122, 199);
|
|
246
|
+
--color: rgb(0, 122, 199);
|
|
247
|
+
}
|
|
248
|
+
:host([rank*=tertiary]) button:focus:not(:focus-visible) {
|
|
249
|
+
box-shadow: none;
|
|
250
|
+
outline: 0;
|
|
251
|
+
}
|
|
252
|
+
:host([rank*=tertiary]) button:focus, :host([rank*=tertiary]) button:focus-visible {
|
|
253
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
254
|
+
outline-style: solid;
|
|
255
|
+
outline-width: 0.125rem;
|
|
256
|
+
outline-offset: 0.125rem;
|
|
257
|
+
}
|
|
258
|
+
:host([rank*=tertiary]) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
259
|
+
background-color: #199be3;
|
|
260
|
+
color: rgb(255, 255, 255);
|
|
261
|
+
--background: #199be3;
|
|
262
|
+
--color: rgb(255, 255, 255);
|
|
263
|
+
border-color: #199be3;
|
|
264
|
+
}
|
|
265
|
+
:host([rank*=tertiary]) button[aria-selected], :host([rank*=tertiary]) button:active, :host([rank*=tertiary]) button.active, :host([rank*=tertiary]) button.active:hover, :host([rank*=tertiary]) button:active:hover {
|
|
266
|
+
background-color: rgb(0, 122, 199);
|
|
267
|
+
color: rgb(255, 255, 255);
|
|
268
|
+
--background: rgb(0, 122, 199);
|
|
269
|
+
--color: rgb(255, 255, 255);
|
|
270
|
+
border-color: rgb(0, 122, 199);
|
|
271
|
+
}
|
|
272
|
+
:host([rank*=tertiary]) button:disabled, :host([rank*=tertiary]) button.disabled, :host([rank*=tertiary]) button[aria-disabled=true] {
|
|
273
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
274
|
+
color: var(--text-disabled-color) !important;
|
|
275
|
+
border-color: var(--border-disabled-color) !important;
|
|
276
|
+
cursor: not-allowed;
|
|
277
|
+
}
|
|
278
|
+
:host([rank*=tertiary]) button:disabled::-moz-placeholder, :host([rank*=tertiary]) button.disabled::-moz-placeholder, :host([rank*=tertiary]) button[aria-disabled=true]::-moz-placeholder {
|
|
279
|
+
color: var(--text-disabled-color);
|
|
280
|
+
}
|
|
281
|
+
:host([rank*=tertiary]) button:disabled::placeholder, :host([rank*=tertiary]) button.disabled::placeholder, :host([rank*=tertiary]) button[aria-disabled=true]::placeholder {
|
|
282
|
+
color: var(--text-disabled-color);
|
|
283
|
+
}
|
|
284
|
+
/* stylelint-disable */
|
|
285
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button,
|
|
286
|
+
:host([variant=negative][rank=primary]) button {
|
|
287
|
+
background: rgb(187, 0, 12);
|
|
288
|
+
border-color: rgb(187, 0, 12);
|
|
289
|
+
color: #fff;
|
|
290
|
+
--color: #fff;
|
|
291
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
292
|
+
}
|
|
293
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
294
|
+
:host([variant=negative][rank=primary]) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
295
|
+
background-color: rgb(216, 26, 26);
|
|
296
|
+
color: rgb(255, 255, 255);
|
|
297
|
+
--background: rgb(216, 26, 26);
|
|
298
|
+
--color: rgb(255, 255, 255);
|
|
299
|
+
border-color: rgb(216, 26, 26);
|
|
300
|
+
}
|
|
301
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-selected], :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active:hover,
|
|
302
|
+
:host([variant=negative][rank=primary]) button[aria-selected],
|
|
303
|
+
:host([variant=negative][rank=primary]) button:active,
|
|
304
|
+
:host([variant=negative][rank=primary]) button.active,
|
|
305
|
+
:host([variant=negative][rank=primary]) button.active:hover,
|
|
306
|
+
:host([variant=negative][rank=primary]) button:active:hover {
|
|
307
|
+
background-color: rgb(187, 0, 12);
|
|
308
|
+
color: rgb(255, 255, 255);
|
|
309
|
+
--background: rgb(187, 0, 12);
|
|
310
|
+
--color: rgb(255, 255, 255);
|
|
311
|
+
border-color: rgb(187, 0, 12);
|
|
312
|
+
}
|
|
313
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-selected]:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.active:hover, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:active:hover,
|
|
314
|
+
:host([variant=negative][rank=primary]) button[aria-selected]:hover,
|
|
315
|
+
:host([variant=negative][rank=primary]) button.active:hover,
|
|
316
|
+
:host([variant=negative][rank=primary]) button:active:hover {
|
|
317
|
+
opacity: 0.9;
|
|
318
|
+
}
|
|
319
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:focus:not(:focus-visible),
|
|
320
|
+
:host([variant=negative][rank=primary]) button:focus:not(:focus-visible) {
|
|
321
|
+
box-shadow: none;
|
|
322
|
+
outline: 0;
|
|
323
|
+
}
|
|
324
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:focus, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:focus-visible,
|
|
325
|
+
:host([variant=negative][rank=primary]) button:focus,
|
|
326
|
+
:host([variant=negative][rank=primary]) button:focus-visible {
|
|
327
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
328
|
+
outline-style: solid;
|
|
329
|
+
outline-width: 0.125rem;
|
|
330
|
+
outline-offset: 0.125rem;
|
|
331
|
+
}
|
|
332
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.disabled, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-disabled=true],
|
|
333
|
+
:host([variant=negative][rank=primary]) button:disabled,
|
|
334
|
+
:host([variant=negative][rank=primary]) button.disabled,
|
|
335
|
+
:host([variant=negative][rank=primary]) button[aria-disabled=true] {
|
|
336
|
+
background: var(--form-control-primary-bg-disabled) !important;
|
|
337
|
+
color: var(--text-primary-disabled-color) !important;
|
|
338
|
+
border-color: var(--border-primary-disabled-color) !important;
|
|
339
|
+
cursor: not-allowed;
|
|
340
|
+
}
|
|
341
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.disabled::-moz-placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-disabled=true]::-moz-placeholder, :host([variant=negative][rank=primary]) button:disabled::-moz-placeholder, :host([variant=negative][rank=primary]) button.disabled::-moz-placeholder, :host([variant=negative][rank=primary]) button[aria-disabled=true]::-moz-placeholder {
|
|
342
|
+
color: var(--text-disabled-color);
|
|
343
|
+
}
|
|
344
|
+
:host([variant=negative]:not([rank=secondary], [rank=tertiary])) button:disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button.disabled::placeholder, :host([variant=negative]:not([rank=secondary], [rank=tertiary])) button[aria-disabled=true]::placeholder,
|
|
345
|
+
:host([variant=negative][rank=primary]) button:disabled::placeholder,
|
|
346
|
+
:host([variant=negative][rank=primary]) button.disabled::placeholder,
|
|
347
|
+
:host([variant=negative][rank=primary]) button[aria-disabled=true]::placeholder {
|
|
348
|
+
color: var(--text-disabled-color);
|
|
349
|
+
}
|
|
350
|
+
/* stylelint-enable */
|
|
351
|
+
:host([variant=negative][rank=secondary]) button,
|
|
352
|
+
:host([variant=negative][rank=tertiary]) button {
|
|
353
|
+
color: rgb(187, 0, 12);
|
|
354
|
+
--color: rgb(187, 0, 12);
|
|
355
|
+
border-color: transparent;
|
|
356
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
357
|
+
}
|
|
358
|
+
:host([variant=negative][rank=secondary]) button:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
359
|
+
:host([variant=negative][rank=tertiary]) button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
360
|
+
background-color: rgb(216, 26, 26);
|
|
361
|
+
color: rgb(255, 255, 255);
|
|
362
|
+
--background: rgb(216, 26, 26);
|
|
363
|
+
--color: rgb(255, 255, 255);
|
|
364
|
+
border-color: rgb(216, 26, 26);
|
|
365
|
+
}
|
|
366
|
+
:host([variant=negative][rank=secondary]) button[aria-selected], :host([variant=negative][rank=secondary]) button:active, :host([variant=negative][rank=secondary]) button.active, :host([variant=negative][rank=secondary]) button.active:hover, :host([variant=negative][rank=secondary]) button:active:hover,
|
|
367
|
+
:host([variant=negative][rank=tertiary]) button[aria-selected],
|
|
368
|
+
:host([variant=negative][rank=tertiary]) button:active,
|
|
369
|
+
:host([variant=negative][rank=tertiary]) button.active,
|
|
370
|
+
:host([variant=negative][rank=tertiary]) button.active:hover,
|
|
371
|
+
:host([variant=negative][rank=tertiary]) button:active:hover {
|
|
372
|
+
background-color: rgb(187, 0, 12);
|
|
373
|
+
color: rgb(255, 255, 255);
|
|
374
|
+
--background: rgb(187, 0, 12);
|
|
375
|
+
--color: rgb(255, 255, 255);
|
|
376
|
+
border-color: rgb(187, 0, 12);
|
|
377
|
+
}
|
|
378
|
+
:host([variant=negative][rank=secondary]) button[aria-selected]:hover, :host([variant=negative][rank=secondary]) button.active:hover, :host([variant=negative][rank=secondary]) button:active:hover,
|
|
379
|
+
:host([variant=negative][rank=tertiary]) button[aria-selected]:hover,
|
|
380
|
+
:host([variant=negative][rank=tertiary]) button.active:hover,
|
|
381
|
+
:host([variant=negative][rank=tertiary]) button:active:hover {
|
|
382
|
+
opacity: 0.9;
|
|
383
|
+
}
|
|
384
|
+
:host([variant=negative][rank=secondary]) button:focus:not(:focus-visible),
|
|
385
|
+
:host([variant=negative][rank=tertiary]) button:focus:not(:focus-visible) {
|
|
386
|
+
box-shadow: none;
|
|
387
|
+
outline: 0;
|
|
388
|
+
}
|
|
389
|
+
:host([variant=negative][rank=secondary]) button:focus, :host([variant=negative][rank=secondary]) button:focus-visible,
|
|
390
|
+
:host([variant=negative][rank=tertiary]) button:focus,
|
|
391
|
+
:host([variant=negative][rank=tertiary]) button:focus-visible {
|
|
392
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
393
|
+
outline-style: solid;
|
|
394
|
+
outline-width: 0.125rem;
|
|
395
|
+
outline-offset: 0.125rem;
|
|
396
|
+
}
|
|
397
|
+
:host([variant=negative][rank=secondary]) button {
|
|
398
|
+
border-color: rgb(187, 0, 12);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
@layer _overrides {}
|
|
402
|
+
}`;
|
|
403
|
+
|
|
404
|
+
// libs/core/src/components/button/button.trans.styles.ts
|
|
405
|
+
function register() {
|
|
406
|
+
TransitionalStyles.instance.register("gds-button", button_trans_styles_default.toString());
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// libs/core/src/primitives/calendar/calendar.trans.styles.scss
|
|
410
|
+
var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
411
|
+
/* stylelint-enable max-nesting-depth */
|
|
412
|
+
/**
|
|
413
|
+
* Calculate the luminance for a color.
|
|
414
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
415
|
+
*/
|
|
416
|
+
/**
|
|
417
|
+
* Calculate the contrast ratio between two colors.
|
|
418
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
419
|
+
*/
|
|
420
|
+
/* stylelint-disable */
|
|
421
|
+
/* stylelint-enable */
|
|
422
|
+
/* stylelint-disable */
|
|
423
|
+
/**
|
|
424
|
+
* @deprecated
|
|
425
|
+
* Use \`add-focus\` instead
|
|
426
|
+
*/
|
|
427
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
428
|
+
/* medium */
|
|
429
|
+
/* regular */
|
|
430
|
+
/* regular */
|
|
431
|
+
/* regular */
|
|
432
|
+
/* hover */
|
|
433
|
+
/* focus */
|
|
434
|
+
/* selected */
|
|
435
|
+
/* highlighted */
|
|
436
|
+
/* active */
|
|
437
|
+
/* disabled */
|
|
438
|
+
/* today */
|
|
439
|
+
/* weekend */
|
|
440
|
+
@layer base, reset, transitional-styles;
|
|
441
|
+
@layer transitional-styles {
|
|
442
|
+
@layer _base {
|
|
443
|
+
:host {
|
|
444
|
+
display: flex;
|
|
445
|
+
justify-content: center;
|
|
446
|
+
}
|
|
447
|
+
@media (max-width: 35.98em) {
|
|
448
|
+
:host {
|
|
449
|
+
flex-wrap: wrap;
|
|
450
|
+
overflow-y: auto;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
:host table {
|
|
454
|
+
border-spacing: 0;
|
|
455
|
+
}
|
|
456
|
+
:host table tr th,
|
|
457
|
+
:host table tr td {
|
|
458
|
+
box-sizing: border-box;
|
|
459
|
+
height: 2.75rem;
|
|
460
|
+
text-align: center;
|
|
461
|
+
width: 2.75rem;
|
|
462
|
+
}
|
|
463
|
+
:host table thead {
|
|
464
|
+
/* days */
|
|
465
|
+
}
|
|
466
|
+
:host table thead th {
|
|
467
|
+
background: var(--sg-bg-level-2);
|
|
468
|
+
border-bottom: solid 1px var(--sg-grey-300);
|
|
469
|
+
font-weight: 400;
|
|
470
|
+
top: 0;
|
|
471
|
+
}
|
|
472
|
+
@media (max-width: 35.98em) {
|
|
473
|
+
:host table thead th {
|
|
474
|
+
position: sticky;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
:host table tbody {
|
|
478
|
+
/* week numbers */
|
|
479
|
+
/* dates */
|
|
480
|
+
}
|
|
481
|
+
:host table tbody tr th {
|
|
482
|
+
font-weight: 400;
|
|
483
|
+
}
|
|
484
|
+
:host table tbody tr td {
|
|
485
|
+
border: solid 1px transparent;
|
|
486
|
+
font-weight: 500;
|
|
487
|
+
-webkit-user-select: none;
|
|
488
|
+
-moz-user-select: none;
|
|
489
|
+
user-select: none;
|
|
490
|
+
/* weekend */
|
|
491
|
+
/* today */
|
|
492
|
+
/* hover */
|
|
493
|
+
/* focus */
|
|
494
|
+
/* selected */
|
|
495
|
+
/* highlighted */
|
|
496
|
+
/* active (pressed) */
|
|
497
|
+
/* disabled */
|
|
498
|
+
}
|
|
499
|
+
:host table tbody tr td.sg-date-holiday:not(.disabled) {
|
|
500
|
+
background: var(--sg-bg-level-2);
|
|
501
|
+
color: hsl(var(--sg-hsl-red-2));
|
|
502
|
+
}
|
|
503
|
+
:host table tbody tr td.today {
|
|
504
|
+
background: transparent;
|
|
505
|
+
border-radius: 4px;
|
|
506
|
+
box-shadow: inset 0 0 0 2px var(--grey-1000);
|
|
507
|
+
color: var(--grey-1000);
|
|
508
|
+
}
|
|
509
|
+
:host table tbody tr td:hover:not(.disabled) {
|
|
510
|
+
background: var(--grey-500);
|
|
511
|
+
border: solid 1px var(--sg-bg-level-2);
|
|
512
|
+
border-radius: 4px;
|
|
513
|
+
color: var(--gds-sys-color-font);
|
|
514
|
+
cursor: pointer;
|
|
515
|
+
}
|
|
516
|
+
:host table tbody tr td:focus-visible:focus:not(:focus-visible) {
|
|
517
|
+
box-shadow: none;
|
|
518
|
+
outline: 0;
|
|
519
|
+
}
|
|
520
|
+
:host table tbody tr td:focus-visible:focus, :host table tbody tr td:focus-visible:focus-visible {
|
|
521
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
522
|
+
outline-style: solid;
|
|
523
|
+
outline-width: 0.125rem;
|
|
524
|
+
outline-offset: 0.125rem;
|
|
525
|
+
}
|
|
526
|
+
:host table tbody tr td:focus-visible:not(.disabled) {
|
|
527
|
+
border: solid 1px var(--sg-bg-level-2);
|
|
528
|
+
border-radius: 4px;
|
|
529
|
+
cursor: pointer;
|
|
530
|
+
position: relative;
|
|
531
|
+
z-index: 0;
|
|
532
|
+
}
|
|
533
|
+
:host table tbody tr td[aria-selected=true] {
|
|
534
|
+
background: var(--grey-1000);
|
|
535
|
+
border: solid 1px var(--sg-bg-level-2);
|
|
536
|
+
border-radius: 4px;
|
|
537
|
+
color: hsl(var(--sg-hsl-white));
|
|
538
|
+
}
|
|
539
|
+
:host table tbody tr td[tabindex="0"] {
|
|
540
|
+
border-radius: 4px;
|
|
541
|
+
}
|
|
542
|
+
:host table tbody tr td:hover:active:not(.disabled) {
|
|
543
|
+
background: var(--grey-1000);
|
|
544
|
+
border: solid 1px var(--sg-bg-level-2);
|
|
545
|
+
border-radius: 4px;
|
|
546
|
+
color: hsl(var(--sg-hsl-white));
|
|
547
|
+
}
|
|
548
|
+
:host table tbody tr td.disabled {
|
|
549
|
+
background: hsl(var(--sg-hsl-disabled-background));
|
|
550
|
+
border: solid 1px var(--sg-bg-level-2);
|
|
551
|
+
border-radius: 4px;
|
|
552
|
+
color: hsl(var(--sg-hsl-disabled-color));
|
|
553
|
+
cursor: not-allowed;
|
|
554
|
+
font-weight: 400;
|
|
555
|
+
}
|
|
556
|
+
:host table tbody tr td.disabled.sg-date-holiday {
|
|
557
|
+
color: hsla(var(--sg-hsl-red-2), 0.25);
|
|
558
|
+
}
|
|
559
|
+
table {
|
|
560
|
+
flex-grow: 1;
|
|
561
|
+
width: 100%;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
@layer _modifiers {
|
|
565
|
+
.week-number {
|
|
566
|
+
border-right: solid 1px var(--gds-ref-pallet-base300);
|
|
567
|
+
font-weight: 400;
|
|
568
|
+
pointer-events: none;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}`;
|
|
572
|
+
|
|
573
|
+
// libs/core/src/primitives/calendar/calendar.trans.styles.ts
|
|
574
|
+
function register2() {
|
|
575
|
+
TransitionalStyles.instance.register("gds-calendar", calendar_trans_styles_default.toString());
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
// libs/core/src/components/context-menu/context-menu.trans.styles.scss
|
|
579
|
+
var context_menu_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
580
|
+
/* stylelint-enable max-nesting-depth */
|
|
581
|
+
/**
|
|
582
|
+
* Calculate the luminance for a color.
|
|
583
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
584
|
+
*/
|
|
585
|
+
/**
|
|
586
|
+
* Calculate the contrast ratio between two colors.
|
|
587
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
588
|
+
*/
|
|
589
|
+
/* stylelint-disable */
|
|
590
|
+
/* stylelint-enable */
|
|
591
|
+
/* stylelint-disable */
|
|
592
|
+
/**
|
|
593
|
+
* @deprecated
|
|
594
|
+
* Use \`add-focus\` instead
|
|
595
|
+
*/
|
|
596
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
597
|
+
i.sg-icon {
|
|
598
|
+
font-size: 0;
|
|
599
|
+
width: 1rem;
|
|
600
|
+
height: 1rem;
|
|
601
|
+
display: inline-block;
|
|
602
|
+
}
|
|
603
|
+
i.sg-icon::before {
|
|
604
|
+
content: "";
|
|
605
|
+
display: inline-block;
|
|
606
|
+
background: var(--color);
|
|
607
|
+
width: 100%;
|
|
608
|
+
height: 100%;
|
|
609
|
+
-webkit-mask-repeat: no-repeat;
|
|
610
|
+
mask-repeat: no-repeat;
|
|
611
|
+
}
|
|
612
|
+
i.sg-icon.sg-icon-calendar::before {
|
|
613
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
614
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
615
|
+
}
|
|
616
|
+
i.sg-icon.sg-icon-calendar-range::before {
|
|
617
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
618
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
619
|
+
}
|
|
620
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
621
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
622
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
623
|
+
}
|
|
624
|
+
i.sg-icon.sg-icon-grip-vertical::before {
|
|
625
|
+
-webkit-mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
626
|
+
mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
627
|
+
}
|
|
628
|
+
i.sg-icon.sg-icon-next::before {
|
|
629
|
+
background: none;
|
|
630
|
+
border-bottom: 2px solid;
|
|
631
|
+
border-left: 2px solid;
|
|
632
|
+
content: "";
|
|
633
|
+
display: block;
|
|
634
|
+
height: 12px;
|
|
635
|
+
margin-left: -10px;
|
|
636
|
+
margin-top: 2px;
|
|
637
|
+
transform: translate(75%) rotate(-135deg) scaleZ(-1);
|
|
638
|
+
transition: transform 0.3s ease-in;
|
|
639
|
+
width: 12px;
|
|
640
|
+
}
|
|
641
|
+
i.sg-icon.sg-icon-previous::before {
|
|
642
|
+
background: none;
|
|
643
|
+
border-bottom: 2px solid;
|
|
644
|
+
border-left: 2px solid;
|
|
645
|
+
content: "";
|
|
646
|
+
display: block;
|
|
647
|
+
height: 12px;
|
|
648
|
+
margin-left: -4px;
|
|
649
|
+
margin-top: 2px;
|
|
650
|
+
transform: translate(75%) rotate(45deg) scaleZ(-1);
|
|
651
|
+
transition: transform 0.3s ease-in;
|
|
652
|
+
width: 12px;
|
|
653
|
+
}
|
|
654
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
655
|
+
margin-right: -2px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
@layer base, reset, transitional-styles;
|
|
659
|
+
@layer transitional-styles {
|
|
660
|
+
@layer _base, _overrides;
|
|
661
|
+
:host {
|
|
662
|
+
display: inline-block;
|
|
663
|
+
}
|
|
664
|
+
@layer _base {
|
|
665
|
+
button {
|
|
666
|
+
background-color: transparent;
|
|
667
|
+
border: 0;
|
|
668
|
+
cursor: pointer;
|
|
669
|
+
font-family: inherit;
|
|
670
|
+
padding: 0;
|
|
671
|
+
padding-left: 1rem;
|
|
672
|
+
padding-right: 1rem;
|
|
673
|
+
padding-bottom: 0.75rem;
|
|
674
|
+
padding-top: 0.75rem;
|
|
675
|
+
border-radius: var(--sg-border-radius);
|
|
676
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
677
|
+
font-weight: 500;
|
|
678
|
+
min-height: 2.75rem;
|
|
679
|
+
align-items: center;
|
|
680
|
+
display: inline-flex;
|
|
681
|
+
justify-content: center;
|
|
682
|
+
background-color: transparent;
|
|
683
|
+
border: 0.0625rem solid transparent;
|
|
684
|
+
padding: 0.625rem;
|
|
685
|
+
height: 2.75rem;
|
|
686
|
+
width: 2.75rem;
|
|
687
|
+
min-width: auto;
|
|
688
|
+
--color: var(--gds-ref-pallet-base800);
|
|
689
|
+
}
|
|
690
|
+
button:focus:not(:focus-visible) {
|
|
691
|
+
box-shadow: none;
|
|
692
|
+
outline: 0;
|
|
693
|
+
}
|
|
694
|
+
button:focus, button:focus-visible {
|
|
695
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
696
|
+
outline-style: solid;
|
|
697
|
+
outline-width: 0.125rem;
|
|
698
|
+
outline-offset: 0.125rem;
|
|
699
|
+
}
|
|
700
|
+
@media (max-width: 35.98em) {
|
|
701
|
+
button {
|
|
702
|
+
min-width: 100%;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
@media screen and (-ms-high-contrast: active) {
|
|
706
|
+
button {
|
|
707
|
+
border: 2px solid currentcolor;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
button.small {
|
|
711
|
+
min-height: 2rem;
|
|
712
|
+
padding: 0.4375rem 0.75rem;
|
|
713
|
+
line-height: 1rem;
|
|
714
|
+
}
|
|
715
|
+
button.large {
|
|
716
|
+
min-height: 4rem;
|
|
717
|
+
padding: 1rem 1.5rem;
|
|
718
|
+
font-size: 1.5rem;
|
|
719
|
+
line-height: 2rem;
|
|
720
|
+
}
|
|
721
|
+
.form-group button {
|
|
722
|
+
margin-top: -0.625rem;
|
|
723
|
+
}
|
|
724
|
+
button.small {
|
|
725
|
+
height: 2rem;
|
|
726
|
+
width: 2rem;
|
|
727
|
+
padding: 0.4375rem;
|
|
728
|
+
line-height: 1.125rem;
|
|
729
|
+
}
|
|
730
|
+
button svg {
|
|
731
|
+
height: 1rem;
|
|
732
|
+
width: 1rem;
|
|
733
|
+
}
|
|
734
|
+
button path,
|
|
735
|
+
button line,
|
|
736
|
+
button circle,
|
|
737
|
+
button rect,
|
|
738
|
+
button ellipse,
|
|
739
|
+
button polyline,
|
|
740
|
+
button text {
|
|
741
|
+
fill: var(--gds-ref-pallet-base800);
|
|
742
|
+
stroke: var(--gds-ref-pallet-base800);
|
|
743
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
|
744
|
+
}
|
|
745
|
+
button:hover, button.highlighted {
|
|
746
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
747
|
+
border-color: transparent;
|
|
748
|
+
}
|
|
749
|
+
button:active, button.highlighted:hover {
|
|
750
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
751
|
+
border-color: transparent;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
@layer _overrides {
|
|
755
|
+
button {
|
|
756
|
+
border-color: transparent;
|
|
757
|
+
color: var(--gds-ref-pallet-base800);
|
|
758
|
+
display: flex;
|
|
759
|
+
gap: 0.5rem;
|
|
760
|
+
line-height: 0.75;
|
|
761
|
+
padding-inline: 0.4375rem;
|
|
762
|
+
width: auto;
|
|
763
|
+
}
|
|
764
|
+
button.highlighted {
|
|
765
|
+
background-color: var(--gds-ref-pallet-base300);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}`;
|
|
769
|
+
|
|
770
|
+
// libs/core/src/components/context-menu/context-menu.trans.styles.ts
|
|
771
|
+
function register3() {
|
|
772
|
+
TransitionalStyles.instance.register("gds-context-menu", context_menu_trans_styles_default.toString());
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
// libs/core/src/components/datepicker/datepicker.trans.styles.scss
|
|
776
|
+
var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
777
|
+
/* stylelint-enable max-nesting-depth */
|
|
778
|
+
/**
|
|
779
|
+
* Calculate the luminance for a color.
|
|
780
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
781
|
+
*/
|
|
782
|
+
/**
|
|
783
|
+
* Calculate the contrast ratio between two colors.
|
|
784
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
785
|
+
*/
|
|
786
|
+
/* stylelint-disable */
|
|
787
|
+
/* stylelint-enable */
|
|
788
|
+
/* stylelint-disable */
|
|
789
|
+
/**
|
|
790
|
+
* @deprecated
|
|
791
|
+
* Use \`add-focus\` instead
|
|
792
|
+
*/
|
|
793
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
794
|
+
i.sg-icon {
|
|
795
|
+
font-size: 0;
|
|
796
|
+
width: 1rem;
|
|
797
|
+
height: 1rem;
|
|
798
|
+
display: inline-block;
|
|
799
|
+
}
|
|
800
|
+
i.sg-icon::before {
|
|
801
|
+
content: "";
|
|
802
|
+
display: inline-block;
|
|
803
|
+
background: var(--color);
|
|
804
|
+
width: 100%;
|
|
805
|
+
height: 100%;
|
|
806
|
+
-webkit-mask-repeat: no-repeat;
|
|
807
|
+
mask-repeat: no-repeat;
|
|
808
|
+
}
|
|
809
|
+
i.sg-icon.sg-icon-calendar::before {
|
|
810
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
811
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
812
|
+
}
|
|
813
|
+
i.sg-icon.sg-icon-calendar-range::before {
|
|
814
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
815
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
816
|
+
}
|
|
817
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
818
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
819
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
820
|
+
}
|
|
821
|
+
i.sg-icon.sg-icon-grip-vertical::before {
|
|
822
|
+
-webkit-mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
823
|
+
mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
|
|
824
|
+
}
|
|
825
|
+
i.sg-icon.sg-icon-next::before {
|
|
826
|
+
background: none;
|
|
827
|
+
border-bottom: 2px solid;
|
|
828
|
+
border-left: 2px solid;
|
|
829
|
+
content: "";
|
|
830
|
+
display: block;
|
|
831
|
+
height: 12px;
|
|
832
|
+
margin-left: -10px;
|
|
833
|
+
margin-top: 2px;
|
|
834
|
+
transform: translate(75%) rotate(-135deg) scaleZ(-1);
|
|
835
|
+
transition: transform 0.3s ease-in;
|
|
836
|
+
width: 12px;
|
|
837
|
+
}
|
|
838
|
+
i.sg-icon.sg-icon-previous::before {
|
|
839
|
+
background: none;
|
|
840
|
+
border-bottom: 2px solid;
|
|
841
|
+
border-left: 2px solid;
|
|
842
|
+
content: "";
|
|
843
|
+
display: block;
|
|
844
|
+
height: 12px;
|
|
845
|
+
margin-left: -4px;
|
|
846
|
+
margin-top: 2px;
|
|
847
|
+
transform: translate(75%) rotate(45deg) scaleZ(-1);
|
|
848
|
+
transition: transform 0.3s ease-in;
|
|
849
|
+
width: 12px;
|
|
850
|
+
}
|
|
851
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
852
|
+
margin-right: -2px;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/* rules for groups of checkboxes and radio buttons*/
|
|
856
|
+
@layer base, reset, transitional-styles;
|
|
857
|
+
@layer transitional-styles {
|
|
858
|
+
:host {
|
|
859
|
+
display: block;
|
|
860
|
+
}
|
|
861
|
+
label {
|
|
862
|
+
display: block;
|
|
863
|
+
font-weight: 500;
|
|
864
|
+
margin-bottom: 0.5rem;
|
|
865
|
+
}
|
|
866
|
+
label + .field {
|
|
867
|
+
margin-top: 0.5rem;
|
|
868
|
+
}
|
|
869
|
+
.form-info {
|
|
870
|
+
color: var(--text-primary-color);
|
|
871
|
+
display: block;
|
|
872
|
+
font-size: 0.875rem;
|
|
873
|
+
line-height: 1.25rem;
|
|
874
|
+
width: 100%;
|
|
875
|
+
}
|
|
876
|
+
.field {
|
|
877
|
+
border-radius: var(--sg-border-radius);
|
|
878
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
879
|
+
--border-color: var(--sg-border-color);
|
|
880
|
+
align-items: stretch;
|
|
881
|
+
background-color: var(--sg-form-control-bg);
|
|
882
|
+
box-sizing: border-box;
|
|
883
|
+
color: var(--sg-text-primary);
|
|
884
|
+
cursor: text;
|
|
885
|
+
display: flex;
|
|
886
|
+
justify-content: space-between;
|
|
887
|
+
margin: 0.5rem 0;
|
|
888
|
+
min-height: 2.75rem;
|
|
889
|
+
}
|
|
890
|
+
.field:hover {
|
|
891
|
+
background-color: var(--grey-200);
|
|
892
|
+
}
|
|
893
|
+
.field .input {
|
|
894
|
+
padding-left: 1rem;
|
|
895
|
+
padding-right: 1rem;
|
|
896
|
+
border-radius: var(--sg-border-radius);
|
|
897
|
+
align-items: center;
|
|
898
|
+
display: flex;
|
|
899
|
+
flex-grow: 1;
|
|
900
|
+
}
|
|
901
|
+
.field .input:focus:not(:focus-visible) {
|
|
902
|
+
box-shadow: none;
|
|
903
|
+
outline: 0;
|
|
904
|
+
}
|
|
905
|
+
.field .input:focus, .field .input:focus-within {
|
|
906
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
907
|
+
outline-style: solid;
|
|
908
|
+
outline-width: 0.125rem;
|
|
909
|
+
outline-offset: 0.125rem;
|
|
910
|
+
}
|
|
911
|
+
.field .input::-moz-selection, .field .input span::-moz-selection {
|
|
912
|
+
background: transparent;
|
|
913
|
+
}
|
|
914
|
+
.field .input::selection,
|
|
915
|
+
.field .input span::selection {
|
|
916
|
+
background: transparent;
|
|
917
|
+
}
|
|
918
|
+
.field .input.is-placeholder {
|
|
919
|
+
opacity: 0;
|
|
920
|
+
}
|
|
921
|
+
.field .input.is-placeholder:hover, .field .input.is-placeholder:focus, .field .input.is-placeholder:has(:focus) {
|
|
922
|
+
opacity: 0.7;
|
|
923
|
+
}
|
|
924
|
+
.field [role=spinbutton] {
|
|
925
|
+
display: inline-block;
|
|
926
|
+
}
|
|
927
|
+
.field [role=spinbutton]:focus {
|
|
928
|
+
background: color-mix(in srgb, var(--gds-sys-color-blue) 50%, transparent);
|
|
929
|
+
outline: none;
|
|
930
|
+
}
|
|
931
|
+
.field [role=spinbutton]::-moz-selection {
|
|
932
|
+
background: transparent;
|
|
933
|
+
}
|
|
934
|
+
.field [role=spinbutton]::selection {
|
|
935
|
+
background: transparent;
|
|
936
|
+
}
|
|
937
|
+
.field button {
|
|
938
|
+
border-radius: var(--sg-border-radius);
|
|
939
|
+
-webkit-appearance: none;
|
|
940
|
+
-moz-appearance: none;
|
|
941
|
+
appearance: none;
|
|
942
|
+
background: transparent;
|
|
943
|
+
border: 0;
|
|
944
|
+
box-sizing: border-box;
|
|
945
|
+
color: var(--text-primary-color);
|
|
946
|
+
cursor: pointer;
|
|
947
|
+
width: 2.75rem;
|
|
948
|
+
}
|
|
949
|
+
.field button:focus:not(:focus-visible) {
|
|
950
|
+
box-shadow: none;
|
|
951
|
+
outline: 0;
|
|
952
|
+
}
|
|
953
|
+
.field button:focus, .field button:focus-visible {
|
|
954
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
955
|
+
outline-style: solid;
|
|
956
|
+
outline-width: 0.125rem;
|
|
957
|
+
outline-offset: 0.125rem;
|
|
958
|
+
}
|
|
959
|
+
.field button:hover {
|
|
960
|
+
background: var(--grey-500);
|
|
961
|
+
}
|
|
962
|
+
.field button svg {
|
|
963
|
+
height: 1rem;
|
|
964
|
+
width: 1rem;
|
|
965
|
+
}
|
|
966
|
+
.field button svg > * {
|
|
967
|
+
fill: none;
|
|
968
|
+
stroke: currentColor;
|
|
969
|
+
stroke-linecap: round;
|
|
970
|
+
stroke-linejoin: round;
|
|
971
|
+
stroke-width: 2px;
|
|
972
|
+
}
|
|
973
|
+
.field.small {
|
|
974
|
+
font-size: 0.875rem;
|
|
975
|
+
min-height: 2rem;
|
|
976
|
+
}
|
|
977
|
+
:host(:invalid) .field + .form-info {
|
|
978
|
+
position: relative;
|
|
979
|
+
transition: all 200ms ease-in-out, outline-offset 0s, outline-width 0s;
|
|
980
|
+
color: var(--intent-danger-background);
|
|
981
|
+
opacity: 1;
|
|
982
|
+
}
|
|
983
|
+
:host(:invalid) .field + .form-info::before {
|
|
984
|
+
background: transparent;
|
|
985
|
+
border-radius: 0 0 4px 4px;
|
|
986
|
+
-webkit-clip-path: inset(4px 0 0 0);
|
|
987
|
+
clip-path: inset(4px 0 0 0);
|
|
988
|
+
content: "";
|
|
989
|
+
display: block;
|
|
990
|
+
height: 4px;
|
|
991
|
+
position: absolute;
|
|
992
|
+
transform: translate3d(0, -12px, 0);
|
|
993
|
+
transition: 300ms ease-in-out;
|
|
994
|
+
width: 100%;
|
|
995
|
+
}
|
|
996
|
+
:host(:invalid) .field + .form-info::before {
|
|
997
|
+
background: var(--intent-danger-background);
|
|
998
|
+
-webkit-clip-path: inset(1px 0 0 0);
|
|
999
|
+
clip-path: inset(1px 0 0 0);
|
|
1000
|
+
}
|
|
1001
|
+
.header {
|
|
1002
|
+
padding-top: 0.5rem;
|
|
1003
|
+
display: flex;
|
|
1004
|
+
justify-content: space-between;
|
|
1005
|
+
}
|
|
1006
|
+
@media (max-width: 35.98em) {
|
|
1007
|
+
.header {
|
|
1008
|
+
padding-top: 0;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
.header > * {
|
|
1012
|
+
margin-left: 0.25rem;
|
|
1013
|
+
margin-right: 0.25rem;
|
|
1014
|
+
min-width: auto;
|
|
1015
|
+
}
|
|
1016
|
+
.header > *.link {
|
|
1017
|
+
flex: 1 1;
|
|
1018
|
+
}
|
|
1019
|
+
.header button {
|
|
1020
|
+
border-radius: var(--sg-border-radius);
|
|
1021
|
+
-webkit-appearance: none;
|
|
1022
|
+
-moz-appearance: none;
|
|
1023
|
+
appearance: none;
|
|
1024
|
+
background: transparent;
|
|
1025
|
+
border: 0;
|
|
1026
|
+
cursor: pointer;
|
|
1027
|
+
margin: 0.125rem 0.25rem;
|
|
1028
|
+
padding: 0.5rem;
|
|
1029
|
+
width: 2.75rem;
|
|
1030
|
+
}
|
|
1031
|
+
.header button:focus:not(:focus-visible) {
|
|
1032
|
+
box-shadow: none;
|
|
1033
|
+
outline: 0;
|
|
1034
|
+
}
|
|
1035
|
+
.header button:focus, .header button:focus-visible {
|
|
1036
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1037
|
+
outline-style: solid;
|
|
1038
|
+
outline-width: 0.125rem;
|
|
1039
|
+
outline-offset: 0.125rem;
|
|
1040
|
+
}
|
|
1041
|
+
.header button:hover {
|
|
1042
|
+
background: var(--grey-400);
|
|
1043
|
+
}
|
|
1044
|
+
.header button:focus-visible {
|
|
1045
|
+
outline-offset: 0;
|
|
1046
|
+
}
|
|
1047
|
+
.header button .icon::before {
|
|
1048
|
+
background: none;
|
|
1049
|
+
border-bottom: 2px solid var(--grey-1000);
|
|
1050
|
+
border-left: 2px solid var(--grey-1000);
|
|
1051
|
+
content: "";
|
|
1052
|
+
display: block;
|
|
1053
|
+
height: 8px;
|
|
1054
|
+
margin-top: 2px;
|
|
1055
|
+
width: 8px;
|
|
1056
|
+
}
|
|
1057
|
+
.header button .icon.prev::before {
|
|
1058
|
+
margin-left: 3px;
|
|
1059
|
+
transform: translate(75%) rotate(45deg) scaleZ(-1);
|
|
1060
|
+
}
|
|
1061
|
+
.header button .icon.next::before {
|
|
1062
|
+
margin-left: -1px;
|
|
1063
|
+
transform: translate(75%) rotate(-135deg) scaleZ(-1);
|
|
1064
|
+
}
|
|
1065
|
+
.footer {
|
|
1066
|
+
padding-left: 0.5rem;
|
|
1067
|
+
padding-right: 0.5rem;
|
|
1068
|
+
padding-bottom: 0.5rem;
|
|
1069
|
+
padding-top: 0.5rem;
|
|
1070
|
+
border-top: solid var(--sg-border-width) var(--sg-border-color);
|
|
1071
|
+
border-color: #ddd;
|
|
1072
|
+
display: flex;
|
|
1073
|
+
justify-content: space-between;
|
|
1074
|
+
}
|
|
1075
|
+
.footer button {
|
|
1076
|
+
border-radius: var(--sg-border-radius);
|
|
1077
|
+
-webkit-appearance: none;
|
|
1078
|
+
-moz-appearance: none;
|
|
1079
|
+
appearance: none;
|
|
1080
|
+
background: transparent;
|
|
1081
|
+
border: 0;
|
|
1082
|
+
color: var(--intent-info-background);
|
|
1083
|
+
cursor: pointer;
|
|
1084
|
+
font-family: inherit;
|
|
1085
|
+
font-weight: 500;
|
|
1086
|
+
padding: 0.5rem 0.75rem;
|
|
1087
|
+
}
|
|
1088
|
+
.footer button:focus:not(:focus-visible) {
|
|
1089
|
+
box-shadow: none;
|
|
1090
|
+
outline: 0;
|
|
1091
|
+
}
|
|
1092
|
+
.footer button:focus, .footer button:focus-visible {
|
|
1093
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1094
|
+
outline-style: solid;
|
|
1095
|
+
outline-width: 0.125rem;
|
|
1096
|
+
outline-offset: 0.125rem;
|
|
1097
|
+
}
|
|
1098
|
+
.footer button:hover {
|
|
1099
|
+
background: var(--intent-info-background);
|
|
1100
|
+
color: #fff;
|
|
1101
|
+
}
|
|
1102
|
+
.footer .clear {
|
|
1103
|
+
margin-right: auto;
|
|
1104
|
+
}
|
|
1105
|
+
}`;
|
|
1106
|
+
|
|
1107
|
+
// libs/core/src/components/datepicker/datepicker.trans.styles.ts
|
|
1108
|
+
function register4() {
|
|
1109
|
+
TransitionalStyles.instance.register("gds-datepicker", datepicker_trans_styles_default.toString());
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
// libs/core/src/components/dropdown/dropdown.trans.styles.scss
|
|
1113
|
+
var dropdown_trans_styles_default = `/**
|
|
1114
|
+
* Calculate the luminance for a color.
|
|
1115
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1116
|
+
*/
|
|
1117
|
+
/**
|
|
1118
|
+
* Calculate the contrast ratio between two colors.
|
|
1119
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1120
|
+
*/
|
|
1121
|
+
/* stylelint-disable max-nesting-depth */
|
|
1122
|
+
/* stylelint-enable max-nesting-depth */
|
|
1123
|
+
/* stylelint-disable */
|
|
1124
|
+
/* stylelint-enable */
|
|
1125
|
+
/* stylelint-disable */
|
|
1126
|
+
/**
|
|
1127
|
+
* @deprecated
|
|
1128
|
+
* Use \`add-focus\` instead
|
|
1129
|
+
*/
|
|
1130
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1131
|
+
/* rules for groups of checkboxes and radio buttons*/
|
|
1132
|
+
@layer base, reset, transitional-styles;
|
|
1133
|
+
@layer transitional-styles {
|
|
1134
|
+
input:not([type]),
|
|
1135
|
+
input[type=date],
|
|
1136
|
+
input[type=datetime],
|
|
1137
|
+
input[type=datetime-local],
|
|
1138
|
+
input[type=email],
|
|
1139
|
+
input[type=month],
|
|
1140
|
+
input[type=number],
|
|
1141
|
+
input[type=password],
|
|
1142
|
+
input[type=search],
|
|
1143
|
+
input[type=tel],
|
|
1144
|
+
input[type=text],
|
|
1145
|
+
input[type=time],
|
|
1146
|
+
input[type=url],
|
|
1147
|
+
input[type=week] {
|
|
1148
|
+
padding-left: 1rem;
|
|
1149
|
+
padding-right: 1rem;
|
|
1150
|
+
padding-bottom: 0.75rem;
|
|
1151
|
+
padding-top: 0.75rem;
|
|
1152
|
+
border-radius: var(--sg-border-radius);
|
|
1153
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1154
|
+
--border-color: var(--sg-border-color);
|
|
1155
|
+
background-color: var(--sg-form-control-bg);
|
|
1156
|
+
color: var(--sg-text-primary);
|
|
1157
|
+
min-height: 2.75rem;
|
|
1158
|
+
display: flex;
|
|
1159
|
+
align-items: center;
|
|
1160
|
+
justify-content: center;
|
|
1161
|
+
}
|
|
1162
|
+
input:not([type]):focus:not(:focus-visible),
|
|
1163
|
+
input[type=date]:focus:not(:focus-visible),
|
|
1164
|
+
input[type=datetime]:focus:not(:focus-visible),
|
|
1165
|
+
input[type=datetime-local]:focus:not(:focus-visible),
|
|
1166
|
+
input[type=email]:focus:not(:focus-visible),
|
|
1167
|
+
input[type=month]:focus:not(:focus-visible),
|
|
1168
|
+
input[type=number]:focus:not(:focus-visible),
|
|
1169
|
+
input[type=password]:focus:not(:focus-visible),
|
|
1170
|
+
input[type=search]:focus:not(:focus-visible),
|
|
1171
|
+
input[type=tel]:focus:not(:focus-visible),
|
|
1172
|
+
input[type=text]:focus:not(:focus-visible),
|
|
1173
|
+
input[type=time]:focus:not(:focus-visible),
|
|
1174
|
+
input[type=url]:focus:not(:focus-visible),
|
|
1175
|
+
input[type=week]:focus:not(:focus-visible) {
|
|
1176
|
+
box-shadow: none;
|
|
1177
|
+
outline: 0;
|
|
1178
|
+
}
|
|
1179
|
+
input:not([type]):focus, input:not([type]):focus-visible,
|
|
1180
|
+
input[type=date]:focus,
|
|
1181
|
+
input[type=date]:focus-visible,
|
|
1182
|
+
input[type=datetime]:focus,
|
|
1183
|
+
input[type=datetime]:focus-visible,
|
|
1184
|
+
input[type=datetime-local]:focus,
|
|
1185
|
+
input[type=datetime-local]:focus-visible,
|
|
1186
|
+
input[type=email]:focus,
|
|
1187
|
+
input[type=email]:focus-visible,
|
|
1188
|
+
input[type=month]:focus,
|
|
1189
|
+
input[type=month]:focus-visible,
|
|
1190
|
+
input[type=number]:focus,
|
|
1191
|
+
input[type=number]:focus-visible,
|
|
1192
|
+
input[type=password]:focus,
|
|
1193
|
+
input[type=password]:focus-visible,
|
|
1194
|
+
input[type=search]:focus,
|
|
1195
|
+
input[type=search]:focus-visible,
|
|
1196
|
+
input[type=tel]:focus,
|
|
1197
|
+
input[type=tel]:focus-visible,
|
|
1198
|
+
input[type=text]:focus,
|
|
1199
|
+
input[type=text]:focus-visible,
|
|
1200
|
+
input[type=time]:focus,
|
|
1201
|
+
input[type=time]:focus-visible,
|
|
1202
|
+
input[type=url]:focus,
|
|
1203
|
+
input[type=url]:focus-visible,
|
|
1204
|
+
input[type=week]:focus,
|
|
1205
|
+
input[type=week]:focus-visible {
|
|
1206
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1207
|
+
outline-style: solid;
|
|
1208
|
+
outline-width: 0.125rem;
|
|
1209
|
+
outline-offset: 0.125rem;
|
|
1210
|
+
}
|
|
1211
|
+
input:not([type]).small,
|
|
1212
|
+
input[type=date].small,
|
|
1213
|
+
input[type=datetime].small,
|
|
1214
|
+
input[type=datetime-local].small,
|
|
1215
|
+
input[type=email].small,
|
|
1216
|
+
input[type=month].small,
|
|
1217
|
+
input[type=number].small,
|
|
1218
|
+
input[type=password].small,
|
|
1219
|
+
input[type=search].small,
|
|
1220
|
+
input[type=tel].small,
|
|
1221
|
+
input[type=text].small,
|
|
1222
|
+
input[type=time].small,
|
|
1223
|
+
input[type=url].small,
|
|
1224
|
+
input[type=week].small {
|
|
1225
|
+
min-height: 2rem;
|
|
1226
|
+
padding: 0.25rem 0.75rem;
|
|
1227
|
+
line-height: 1rem;
|
|
1228
|
+
}
|
|
1229
|
+
@media screen and (-ms-high-contrast: active) {
|
|
1230
|
+
input:not([type]),
|
|
1231
|
+
input[type=date],
|
|
1232
|
+
input[type=datetime],
|
|
1233
|
+
input[type=datetime-local],
|
|
1234
|
+
input[type=email],
|
|
1235
|
+
input[type=month],
|
|
1236
|
+
input[type=number],
|
|
1237
|
+
input[type=password],
|
|
1238
|
+
input[type=search],
|
|
1239
|
+
input[type=tel],
|
|
1240
|
+
input[type=text],
|
|
1241
|
+
input[type=time],
|
|
1242
|
+
input[type=url],
|
|
1243
|
+
input[type=week] {
|
|
1244
|
+
border: 2px solid currentcolor;
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
input:not([type]):disabled, input:not([type]).disabled, input:not([type])[aria-disabled=true],
|
|
1248
|
+
input[type=date]:disabled,
|
|
1249
|
+
input[type=date].disabled,
|
|
1250
|
+
input[type=date][aria-disabled=true],
|
|
1251
|
+
input[type=datetime]:disabled,
|
|
1252
|
+
input[type=datetime].disabled,
|
|
1253
|
+
input[type=datetime][aria-disabled=true],
|
|
1254
|
+
input[type=datetime-local]:disabled,
|
|
1255
|
+
input[type=datetime-local].disabled,
|
|
1256
|
+
input[type=datetime-local][aria-disabled=true],
|
|
1257
|
+
input[type=email]:disabled,
|
|
1258
|
+
input[type=email].disabled,
|
|
1259
|
+
input[type=email][aria-disabled=true],
|
|
1260
|
+
input[type=month]:disabled,
|
|
1261
|
+
input[type=month].disabled,
|
|
1262
|
+
input[type=month][aria-disabled=true],
|
|
1263
|
+
input[type=number]:disabled,
|
|
1264
|
+
input[type=number].disabled,
|
|
1265
|
+
input[type=number][aria-disabled=true],
|
|
1266
|
+
input[type=password]:disabled,
|
|
1267
|
+
input[type=password].disabled,
|
|
1268
|
+
input[type=password][aria-disabled=true],
|
|
1269
|
+
input[type=search]:disabled,
|
|
1270
|
+
input[type=search].disabled,
|
|
1271
|
+
input[type=search][aria-disabled=true],
|
|
1272
|
+
input[type=tel]:disabled,
|
|
1273
|
+
input[type=tel].disabled,
|
|
1274
|
+
input[type=tel][aria-disabled=true],
|
|
1275
|
+
input[type=text]:disabled,
|
|
1276
|
+
input[type=text].disabled,
|
|
1277
|
+
input[type=text][aria-disabled=true],
|
|
1278
|
+
input[type=time]:disabled,
|
|
1279
|
+
input[type=time].disabled,
|
|
1280
|
+
input[type=time][aria-disabled=true],
|
|
1281
|
+
input[type=url]:disabled,
|
|
1282
|
+
input[type=url].disabled,
|
|
1283
|
+
input[type=url][aria-disabled=true],
|
|
1284
|
+
input[type=week]:disabled,
|
|
1285
|
+
input[type=week].disabled,
|
|
1286
|
+
input[type=week][aria-disabled=true] {
|
|
1287
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
1288
|
+
color: var(--text-disabled-color) !important;
|
|
1289
|
+
border-color: var(--border-disabled-color) !important;
|
|
1290
|
+
cursor: not-allowed;
|
|
1291
|
+
}
|
|
1292
|
+
input:not([type]):disabled::-moz-placeholder, input:not([type]).disabled::-moz-placeholder, input:not([type])[aria-disabled=true]::-moz-placeholder, input[type=date]:disabled::-moz-placeholder, input[type=date].disabled::-moz-placeholder, input[type=date][aria-disabled=true]::-moz-placeholder, input[type=datetime]:disabled::-moz-placeholder, input[type=datetime].disabled::-moz-placeholder, input[type=datetime][aria-disabled=true]::-moz-placeholder, input[type=datetime-local]:disabled::-moz-placeholder, input[type=datetime-local].disabled::-moz-placeholder, input[type=datetime-local][aria-disabled=true]::-moz-placeholder, input[type=email]:disabled::-moz-placeholder, input[type=email].disabled::-moz-placeholder, input[type=email][aria-disabled=true]::-moz-placeholder, input[type=month]:disabled::-moz-placeholder, input[type=month].disabled::-moz-placeholder, input[type=month][aria-disabled=true]::-moz-placeholder, input[type=number]:disabled::-moz-placeholder, input[type=number].disabled::-moz-placeholder, input[type=number][aria-disabled=true]::-moz-placeholder, input[type=password]:disabled::-moz-placeholder, input[type=password].disabled::-moz-placeholder, input[type=password][aria-disabled=true]::-moz-placeholder, input[type=search]:disabled::-moz-placeholder, input[type=search].disabled::-moz-placeholder, input[type=search][aria-disabled=true]::-moz-placeholder, input[type=tel]:disabled::-moz-placeholder, input[type=tel].disabled::-moz-placeholder, input[type=tel][aria-disabled=true]::-moz-placeholder, input[type=text]:disabled::-moz-placeholder, input[type=text].disabled::-moz-placeholder, input[type=text][aria-disabled=true]::-moz-placeholder, input[type=time]:disabled::-moz-placeholder, input[type=time].disabled::-moz-placeholder, input[type=time][aria-disabled=true]::-moz-placeholder, input[type=url]:disabled::-moz-placeholder, input[type=url].disabled::-moz-placeholder, input[type=url][aria-disabled=true]::-moz-placeholder, input[type=week]:disabled::-moz-placeholder, input[type=week].disabled::-moz-placeholder, input[type=week][aria-disabled=true]::-moz-placeholder {
|
|
1293
|
+
color: var(--text-disabled-color);
|
|
1294
|
+
}
|
|
1295
|
+
input:not([type]):disabled::placeholder, input:not([type]).disabled::placeholder, input:not([type])[aria-disabled=true]::placeholder,
|
|
1296
|
+
input[type=date]:disabled::placeholder,
|
|
1297
|
+
input[type=date].disabled::placeholder,
|
|
1298
|
+
input[type=date][aria-disabled=true]::placeholder,
|
|
1299
|
+
input[type=datetime]:disabled::placeholder,
|
|
1300
|
+
input[type=datetime].disabled::placeholder,
|
|
1301
|
+
input[type=datetime][aria-disabled=true]::placeholder,
|
|
1302
|
+
input[type=datetime-local]:disabled::placeholder,
|
|
1303
|
+
input[type=datetime-local].disabled::placeholder,
|
|
1304
|
+
input[type=datetime-local][aria-disabled=true]::placeholder,
|
|
1305
|
+
input[type=email]:disabled::placeholder,
|
|
1306
|
+
input[type=email].disabled::placeholder,
|
|
1307
|
+
input[type=email][aria-disabled=true]::placeholder,
|
|
1308
|
+
input[type=month]:disabled::placeholder,
|
|
1309
|
+
input[type=month].disabled::placeholder,
|
|
1310
|
+
input[type=month][aria-disabled=true]::placeholder,
|
|
1311
|
+
input[type=number]:disabled::placeholder,
|
|
1312
|
+
input[type=number].disabled::placeholder,
|
|
1313
|
+
input[type=number][aria-disabled=true]::placeholder,
|
|
1314
|
+
input[type=password]:disabled::placeholder,
|
|
1315
|
+
input[type=password].disabled::placeholder,
|
|
1316
|
+
input[type=password][aria-disabled=true]::placeholder,
|
|
1317
|
+
input[type=search]:disabled::placeholder,
|
|
1318
|
+
input[type=search].disabled::placeholder,
|
|
1319
|
+
input[type=search][aria-disabled=true]::placeholder,
|
|
1320
|
+
input[type=tel]:disabled::placeholder,
|
|
1321
|
+
input[type=tel].disabled::placeholder,
|
|
1322
|
+
input[type=tel][aria-disabled=true]::placeholder,
|
|
1323
|
+
input[type=text]:disabled::placeholder,
|
|
1324
|
+
input[type=text].disabled::placeholder,
|
|
1325
|
+
input[type=text][aria-disabled=true]::placeholder,
|
|
1326
|
+
input[type=time]:disabled::placeholder,
|
|
1327
|
+
input[type=time].disabled::placeholder,
|
|
1328
|
+
input[type=time][aria-disabled=true]::placeholder,
|
|
1329
|
+
input[type=url]:disabled::placeholder,
|
|
1330
|
+
input[type=url].disabled::placeholder,
|
|
1331
|
+
input[type=url][aria-disabled=true]::placeholder,
|
|
1332
|
+
input[type=week]:disabled::placeholder,
|
|
1333
|
+
input[type=week].disabled::placeholder,
|
|
1334
|
+
input[type=week][aria-disabled=true]::placeholder {
|
|
1335
|
+
color: var(--text-disabled-color);
|
|
1336
|
+
}
|
|
1337
|
+
input:not([type]):hover,
|
|
1338
|
+
input[type=date]:hover,
|
|
1339
|
+
input[type=datetime]:hover,
|
|
1340
|
+
input[type=datetime-local]:hover,
|
|
1341
|
+
input[type=email]:hover,
|
|
1342
|
+
input[type=month]:hover,
|
|
1343
|
+
input[type=number]:hover,
|
|
1344
|
+
input[type=password]:hover,
|
|
1345
|
+
input[type=search]:hover,
|
|
1346
|
+
input[type=tel]:hover,
|
|
1347
|
+
input[type=text]:hover,
|
|
1348
|
+
input[type=time]:hover,
|
|
1349
|
+
input[type=url]:hover,
|
|
1350
|
+
input[type=week]:hover {
|
|
1351
|
+
background-color: var(--gds-ref-pallet-base100);
|
|
1352
|
+
}
|
|
1353
|
+
input[type=number] {
|
|
1354
|
+
-moz-appearance: textfield;
|
|
1355
|
+
}
|
|
1356
|
+
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
|
|
1357
|
+
-webkit-appearance: none;
|
|
1358
|
+
margin: 0;
|
|
1359
|
+
}
|
|
1360
|
+
:host {
|
|
1361
|
+
display: block;
|
|
1362
|
+
}
|
|
1363
|
+
:host(:invalid) button + .form-info {
|
|
1364
|
+
position: relative;
|
|
1365
|
+
transition: all 200ms ease-in-out, outline-offset 0s, outline-width 0s;
|
|
1366
|
+
color: var(--intent-danger-background);
|
|
1367
|
+
opacity: 1;
|
|
1368
|
+
}
|
|
1369
|
+
:host(:invalid) button + .form-info::before {
|
|
1370
|
+
background: transparent;
|
|
1371
|
+
border-radius: 0 0 4px 4px;
|
|
1372
|
+
-webkit-clip-path: inset(4px 0 0 0);
|
|
1373
|
+
clip-path: inset(4px 0 0 0);
|
|
1374
|
+
content: "";
|
|
1375
|
+
display: block;
|
|
1376
|
+
height: 4px;
|
|
1377
|
+
position: absolute;
|
|
1378
|
+
transform: translate3d(0, -12px, 0);
|
|
1379
|
+
transition: 300ms ease-in-out;
|
|
1380
|
+
width: 100%;
|
|
1381
|
+
}
|
|
1382
|
+
:host(:invalid) button + .form-info::before {
|
|
1383
|
+
background: var(--intent-danger-background);
|
|
1384
|
+
-webkit-clip-path: inset(1px 0 0 0);
|
|
1385
|
+
clip-path: inset(1px 0 0 0);
|
|
1386
|
+
}
|
|
1387
|
+
::slotted([slot=trigger]) {
|
|
1388
|
+
overflow: hidden;
|
|
1389
|
+
}
|
|
1390
|
+
slot[name=trigger] > span {
|
|
1391
|
+
display: block;
|
|
1392
|
+
overflow: hidden;
|
|
1393
|
+
text-overflow: ellipsis;
|
|
1394
|
+
text-wrap: nowrap;
|
|
1395
|
+
}
|
|
1396
|
+
.form-info {
|
|
1397
|
+
color: var(--text-primary-color);
|
|
1398
|
+
display: block;
|
|
1399
|
+
font-size: 0.875rem;
|
|
1400
|
+
line-height: 1.25rem;
|
|
1401
|
+
width: 100%;
|
|
1402
|
+
}
|
|
1403
|
+
input[type=text] {
|
|
1404
|
+
border-bottom-left-radius: 0;
|
|
1405
|
+
border-bottom-right-radius: 0;
|
|
1406
|
+
font-size: 1rem;
|
|
1407
|
+
line-height: 1;
|
|
1408
|
+
margin: -1px;
|
|
1409
|
+
min-height: auto;
|
|
1410
|
+
padding: 0.75rem;
|
|
1411
|
+
}
|
|
1412
|
+
input[type=text]:focus {
|
|
1413
|
+
outline-offset: -0.25rem;
|
|
1414
|
+
}
|
|
1415
|
+
button {
|
|
1416
|
+
background-color: transparent;
|
|
1417
|
+
border: 0;
|
|
1418
|
+
cursor: pointer;
|
|
1419
|
+
font-family: inherit;
|
|
1420
|
+
padding: 0;
|
|
1421
|
+
padding-left: 1rem;
|
|
1422
|
+
padding-right: 1rem;
|
|
1423
|
+
padding-bottom: 0.75rem;
|
|
1424
|
+
padding-top: 0.75rem;
|
|
1425
|
+
border-radius: var(--sg-border-radius);
|
|
1426
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1427
|
+
font-weight: 500;
|
|
1428
|
+
min-height: 2.75rem;
|
|
1429
|
+
align-items: center;
|
|
1430
|
+
display: inline-flex;
|
|
1431
|
+
justify-content: center;
|
|
1432
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
1433
|
+
background: transparent;
|
|
1434
|
+
border-color: rgb(0, 122, 199);
|
|
1435
|
+
color: rgb(0, 122, 199);
|
|
1436
|
+
--color: rgb(0, 122, 199);
|
|
1437
|
+
background-color: transparent;
|
|
1438
|
+
border: 0;
|
|
1439
|
+
cursor: pointer;
|
|
1440
|
+
font-family: inherit;
|
|
1441
|
+
padding: 0;
|
|
1442
|
+
padding-left: 1rem;
|
|
1443
|
+
padding-right: 1rem;
|
|
1444
|
+
padding-bottom: 0.75rem;
|
|
1445
|
+
padding-top: 0.75rem;
|
|
1446
|
+
border-radius: var(--sg-border-radius);
|
|
1447
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1448
|
+
--border-color: var(--grey-800);
|
|
1449
|
+
--sg-border-color: var(--grey-800);
|
|
1450
|
+
background: var(--sg-form-control-bg);
|
|
1451
|
+
color: var(--text-primary-color);
|
|
1452
|
+
min-height: 2.75rem;
|
|
1453
|
+
display: flex;
|
|
1454
|
+
flex-wrap: nowrap;
|
|
1455
|
+
justify-content: space-between;
|
|
1456
|
+
align-items: center;
|
|
1457
|
+
max-width: 100%;
|
|
1458
|
+
font-size: inherit;
|
|
1459
|
+
font-weight: normal;
|
|
1460
|
+
line-height: 1.125;
|
|
1461
|
+
margin-bottom: 0.5rem;
|
|
1462
|
+
margin-top: 0.5rem;
|
|
1463
|
+
width: 100%;
|
|
1464
|
+
}
|
|
1465
|
+
button:focus:not(:focus-visible) {
|
|
1466
|
+
box-shadow: none;
|
|
1467
|
+
outline: 0;
|
|
1468
|
+
}
|
|
1469
|
+
button:focus, button:focus-visible {
|
|
1470
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1471
|
+
outline-style: solid;
|
|
1472
|
+
outline-width: 0.125rem;
|
|
1473
|
+
outline-offset: 0.125rem;
|
|
1474
|
+
}
|
|
1475
|
+
@media (max-width: 35.98em) {
|
|
1476
|
+
button {
|
|
1477
|
+
min-width: 100%;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
@media screen and (-ms-high-contrast: active) {
|
|
1481
|
+
button {
|
|
1482
|
+
border: 2px solid currentcolor;
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
button.small {
|
|
1486
|
+
min-height: 2rem;
|
|
1487
|
+
padding: 0.4375rem 0.75rem;
|
|
1488
|
+
line-height: 1rem;
|
|
1489
|
+
}
|
|
1490
|
+
button.large {
|
|
1491
|
+
min-height: 4rem;
|
|
1492
|
+
padding: 1rem 1.5rem;
|
|
1493
|
+
font-size: 1.5rem;
|
|
1494
|
+
line-height: 2rem;
|
|
1495
|
+
}
|
|
1496
|
+
button:focus:not(:focus-visible) {
|
|
1497
|
+
box-shadow: none;
|
|
1498
|
+
outline: 0;
|
|
1499
|
+
}
|
|
1500
|
+
button:focus, button:focus-visible {
|
|
1501
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1502
|
+
outline-style: solid;
|
|
1503
|
+
outline-width: 0.125rem;
|
|
1504
|
+
outline-offset: 0.125rem;
|
|
1505
|
+
}
|
|
1506
|
+
button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
1507
|
+
background-color: #199be3;
|
|
1508
|
+
color: rgb(255, 255, 255);
|
|
1509
|
+
--background: #199be3;
|
|
1510
|
+
--color: rgb(255, 255, 255);
|
|
1511
|
+
border-color: #199be3;
|
|
1512
|
+
}
|
|
1513
|
+
button[aria-selected], button:active, button.active, button.active:hover, button:active:hover {
|
|
1514
|
+
background-color: rgb(0, 122, 199);
|
|
1515
|
+
color: rgb(255, 255, 255);
|
|
1516
|
+
--background: rgb(0, 122, 199);
|
|
1517
|
+
--color: rgb(255, 255, 255);
|
|
1518
|
+
border-color: rgb(0, 122, 199);
|
|
1519
|
+
}
|
|
1520
|
+
button:disabled, button.disabled, button[aria-disabled=true] {
|
|
1521
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
1522
|
+
color: var(--text-disabled-color) !important;
|
|
1523
|
+
border-color: var(--border-disabled-color) !important;
|
|
1524
|
+
cursor: not-allowed;
|
|
1525
|
+
}
|
|
1526
|
+
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
1527
|
+
color: var(--text-disabled-color);
|
|
1528
|
+
}
|
|
1529
|
+
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
1530
|
+
color: var(--text-disabled-color);
|
|
1531
|
+
}
|
|
1532
|
+
button:focus, button:focus {
|
|
1533
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1534
|
+
outline-style: solid;
|
|
1535
|
+
outline-width: 0.125rem;
|
|
1536
|
+
outline-offset: 0.125rem;
|
|
1537
|
+
}
|
|
1538
|
+
@media (max-width: 35.98em) {
|
|
1539
|
+
button {
|
|
1540
|
+
min-width: 100%;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
1544
|
+
--background: var(--grey-400);
|
|
1545
|
+
--color: var(--grey-1000);
|
|
1546
|
+
background-color: var(--grey-400);
|
|
1547
|
+
color: var(--grey-1000);
|
|
1548
|
+
border-color: var(--grey-1000);
|
|
1549
|
+
}
|
|
1550
|
+
button > span {
|
|
1551
|
+
white-space: nowrap;
|
|
1552
|
+
overflow: hidden;
|
|
1553
|
+
text-overflow: ellipsis;
|
|
1554
|
+
}
|
|
1555
|
+
button::after {
|
|
1556
|
+
margin-left: 0.5rem;
|
|
1557
|
+
margin-right: 0.5rem;
|
|
1558
|
+
border-bottom: solid 2px var(--text-primary-color);
|
|
1559
|
+
border-left: solid 2px var(--text-primary-color);
|
|
1560
|
+
content: "";
|
|
1561
|
+
display: block;
|
|
1562
|
+
height: 0.5rem;
|
|
1563
|
+
width: 0.5rem;
|
|
1564
|
+
position: relative;
|
|
1565
|
+
top: -0.15rem;
|
|
1566
|
+
transform: translate(75%, 0) rotate3d(0, 0, 1, -45deg) scale3d(1, 1, -1);
|
|
1567
|
+
transition: transform 300ms ease-in;
|
|
1568
|
+
flex-shrink: 0;
|
|
1569
|
+
}
|
|
1570
|
+
button[aria-expanded=true]::after {
|
|
1571
|
+
transform: translate(75%, 6px) rotate3d(0, 0, 1, -45deg) scale3d(-1, -1, 1);
|
|
1572
|
+
}
|
|
1573
|
+
button:hover::after {
|
|
1574
|
+
border-color: currentColor;
|
|
1575
|
+
}
|
|
1576
|
+
button.small {
|
|
1577
|
+
font-size: 0.875rem;
|
|
1578
|
+
}
|
|
1579
|
+
button:hover {
|
|
1580
|
+
background: var(--grey-400);
|
|
1581
|
+
}
|
|
1582
|
+
label {
|
|
1583
|
+
display: block;
|
|
1584
|
+
font-weight: 500;
|
|
1585
|
+
line-height: 1.25rem;
|
|
1586
|
+
margin-bottom: 0.5rem;
|
|
1587
|
+
width: 100%;
|
|
1588
|
+
}
|
|
1589
|
+
}`;
|
|
1590
|
+
|
|
1591
|
+
// libs/core/src/components/dropdown/dropdown.trans.styles.ts
|
|
1592
|
+
function register5() {
|
|
1593
|
+
TransitionalStyles.instance.register("gds-dropdown", dropdown_trans_styles_default.toString());
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
// libs/core/src/components/grouped-list/grouped-list.trans.styles.scss
|
|
1597
|
+
var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
1598
|
+
@layer transitional-styles {
|
|
1599
|
+
@layer _base, _overrides;
|
|
1600
|
+
:host {
|
|
1601
|
+
display: block;
|
|
1602
|
+
list-style: none;
|
|
1603
|
+
}
|
|
1604
|
+
@layer _base {
|
|
1605
|
+
.gds-list-heading {
|
|
1606
|
+
background-color: var(--gds-ref-pallet-base200, #e9e9e9);
|
|
1607
|
+
font-size: 0.875rem;
|
|
1608
|
+
font-weight: 500;
|
|
1609
|
+
padding: 0.5rem 1rem;
|
|
1610
|
+
}
|
|
1611
|
+
::slotted([gds-element=gds-list-item]) {
|
|
1612
|
+
all: revert;
|
|
1613
|
+
border-bottom: 1px solid var(--gds-ref-pallet-base200, #e9e9e9);
|
|
1614
|
+
display: flex;
|
|
1615
|
+
gap: 0.25rem;
|
|
1616
|
+
justify-content: space-between;
|
|
1617
|
+
padding: 1rem;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
}`;
|
|
1621
|
+
|
|
1622
|
+
// libs/core/src/components/grouped-list/grouped-list.trans.styles.ts
|
|
1623
|
+
function register6() {
|
|
1624
|
+
TransitionalStyles.instance.register("gds-grouped-list", grouped_list_trans_styles_default.toString());
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
// libs/core/src/primitives/listbox/listbox.trans.styles.scss
|
|
1628
|
+
var listbox_trans_styles_default = `/**
|
|
1629
|
+
* Calculate the luminance for a color.
|
|
1630
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1631
|
+
*/
|
|
1632
|
+
/**
|
|
1633
|
+
* Calculate the contrast ratio between two colors.
|
|
1634
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1635
|
+
*/
|
|
1636
|
+
/* stylelint-disable max-nesting-depth */
|
|
1637
|
+
/* stylelint-enable max-nesting-depth */
|
|
1638
|
+
/* stylelint-disable */
|
|
1639
|
+
/* stylelint-enable */
|
|
1640
|
+
/* stylelint-disable */
|
|
1641
|
+
/**
|
|
1642
|
+
* @deprecated
|
|
1643
|
+
* Use \`add-focus\` instead
|
|
1644
|
+
*/
|
|
1645
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1646
|
+
/**
|
|
1647
|
+
* @deprecated in favor of Grouped list component
|
|
1648
|
+
*/
|
|
1649
|
+
/**
|
|
1650
|
+
* @deprecated in favor of Grouped list component
|
|
1651
|
+
*/
|
|
1652
|
+
@layer base, reset, transitional-styles;
|
|
1653
|
+
@layer transitional-styles {
|
|
1654
|
+
:host {
|
|
1655
|
+
padding-left: 0;
|
|
1656
|
+
margin-bottom: 0;
|
|
1657
|
+
margin-top: 0;
|
|
1658
|
+
display: flex;
|
|
1659
|
+
flex-direction: column;
|
|
1660
|
+
list-style: none;
|
|
1661
|
+
overflow-y: auto;
|
|
1662
|
+
}
|
|
1663
|
+
:host > li {
|
|
1664
|
+
padding-bottom: 0.5rem;
|
|
1665
|
+
padding-top: 0.5rem;
|
|
1666
|
+
border: 0;
|
|
1667
|
+
display: block;
|
|
1668
|
+
position: relative;
|
|
1669
|
+
}
|
|
1670
|
+
:host > li::before {
|
|
1671
|
+
font-weight: 500;
|
|
1672
|
+
display: inline-block;
|
|
1673
|
+
left: 0;
|
|
1674
|
+
position: absolute;
|
|
1675
|
+
text-align: center;
|
|
1676
|
+
}
|
|
1677
|
+
}`;
|
|
1678
|
+
|
|
1679
|
+
// libs/core/src/primitives/listbox/option.trans.styles.scss
|
|
1680
|
+
var option_trans_styles_default = `/**
|
|
1681
|
+
* Calculate the luminance for a color.
|
|
1682
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1683
|
+
*/
|
|
1684
|
+
/**
|
|
1685
|
+
* Calculate the contrast ratio between two colors.
|
|
1686
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1687
|
+
*/
|
|
1688
|
+
/* stylelint-disable max-nesting-depth */
|
|
1689
|
+
/* stylelint-enable max-nesting-depth */
|
|
1690
|
+
/* stylelint-disable */
|
|
1691
|
+
/* stylelint-enable */
|
|
1692
|
+
/* stylelint-disable */
|
|
1693
|
+
/**
|
|
1694
|
+
* @deprecated
|
|
1695
|
+
* Use \`add-focus\` instead
|
|
1696
|
+
*/
|
|
1697
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1698
|
+
@layer base, reset, transitional-styles;
|
|
1699
|
+
@layer transitional-styles {
|
|
1700
|
+
:host div {
|
|
1701
|
+
padding-left: 1rem;
|
|
1702
|
+
padding-right: 1rem;
|
|
1703
|
+
padding-bottom: 0.75rem;
|
|
1704
|
+
padding-top: 0.75rem;
|
|
1705
|
+
line-height: 1.25;
|
|
1706
|
+
cursor: pointer;
|
|
1707
|
+
display: flex;
|
|
1708
|
+
gap: 0.75rem;
|
|
1709
|
+
-webkit-user-select: none;
|
|
1710
|
+
-moz-user-select: none;
|
|
1711
|
+
user-select: none;
|
|
1712
|
+
}
|
|
1713
|
+
:host div:hover, :host div:focus-visible {
|
|
1714
|
+
background-color: var(--grey-400);
|
|
1715
|
+
}
|
|
1716
|
+
:host div:active {
|
|
1717
|
+
background-color: var(--grey-400);
|
|
1718
|
+
}
|
|
1719
|
+
:host div:focus {
|
|
1720
|
+
outline-color: #000;
|
|
1721
|
+
outline-offset: -0.25rem;
|
|
1722
|
+
}
|
|
1723
|
+
:host div.active.sg-highlighted, :host div[aria-selected=true] {
|
|
1724
|
+
background: var(--grey-1000);
|
|
1725
|
+
color: #fff;
|
|
1726
|
+
}
|
|
1727
|
+
:host(:hover) div,
|
|
1728
|
+
:host(:focus-visible) div {
|
|
1729
|
+
background-color: var(--grey-400);
|
|
1730
|
+
}
|
|
1731
|
+
:host(:active) div {
|
|
1732
|
+
background-color: var(--grey-500);
|
|
1733
|
+
}
|
|
1734
|
+
:host(:focus) div {
|
|
1735
|
+
outline-color: #000;
|
|
1736
|
+
outline-offset: -0.25rem;
|
|
1737
|
+
}
|
|
1738
|
+
:host([aria-hidden=true]) div {
|
|
1739
|
+
display: none;
|
|
1740
|
+
}
|
|
1741
|
+
:host([highlighted]) div {
|
|
1742
|
+
background: var(--grey-1000);
|
|
1743
|
+
color: #fff;
|
|
1744
|
+
}
|
|
1745
|
+
.checkbox {
|
|
1746
|
+
background-color: var(--gds-comp-checkbox-container-color);
|
|
1747
|
+
border-radius: var(--gds-comp-checkbox-border-radius);
|
|
1748
|
+
box-shadow: inset 0 0 0 1px var(--gds-comp-checkbox-border-color);
|
|
1749
|
+
flex: 0 0 auto;
|
|
1750
|
+
flex-shrink: 0;
|
|
1751
|
+
height: var(--gds-comp-checkbox-container-width);
|
|
1752
|
+
margin-top: 0.15rem;
|
|
1753
|
+
position: relative;
|
|
1754
|
+
width: var(--gds-comp-checkbox-container-width);
|
|
1755
|
+
}
|
|
1756
|
+
.checkbox.checked {
|
|
1757
|
+
background-color: var(--gds-comp-checkbox-container-color-selected);
|
|
1758
|
+
}
|
|
1759
|
+
.checkbox.checked::after {
|
|
1760
|
+
border-bottom: 3px solid var(--gds-comp-checkbox-border-color-selected, #fff);
|
|
1761
|
+
border-left: 3px solid var(--gds-comp-checkbox-border-color-selected, #fff);
|
|
1762
|
+
content: "";
|
|
1763
|
+
height: 0.5rem;
|
|
1764
|
+
left: -1px;
|
|
1765
|
+
position: absolute;
|
|
1766
|
+
top: 0.05rem;
|
|
1767
|
+
transform: scale(0.55) rotate(-45deg);
|
|
1768
|
+
transform-origin: center center;
|
|
1769
|
+
width: 1rem;
|
|
1770
|
+
}
|
|
1771
|
+
}`;
|
|
1772
|
+
|
|
1773
|
+
// libs/core/src/primitives/menu/menu-heading.trans.styles.scss
|
|
1774
|
+
var menu_heading_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
1775
|
+
@layer transitional-styles {
|
|
1776
|
+
:host {
|
|
1777
|
+
background-color: var(--gds-ref-pallet-base300);
|
|
1778
|
+
color: var(--gds-ref-pallet-base800);
|
|
1779
|
+
display: flex;
|
|
1780
|
+
font-size: 0.875rem;
|
|
1781
|
+
font-weight: 500;
|
|
1782
|
+
padding: 0.75rem 1rem;
|
|
1783
|
+
-webkit-user-select: none;
|
|
1784
|
+
-moz-user-select: none;
|
|
1785
|
+
user-select: none;
|
|
1786
|
+
}
|
|
1787
|
+
:host([aria-hidden=true]) {
|
|
1788
|
+
display: none;
|
|
1789
|
+
}
|
|
1790
|
+
}`;
|
|
1791
|
+
|
|
1792
|
+
// libs/core/src/primitives/listbox/listbox.trans.styles.ts
|
|
1793
|
+
function register7() {
|
|
1794
|
+
TransitionalStyles.instance.register("gds-listbox", listbox_trans_styles_default.toString());
|
|
1795
|
+
TransitionalStyles.instance.register("gds-option", option_trans_styles_default.toString());
|
|
1796
|
+
TransitionalStyles.instance.register(
|
|
1797
|
+
"gds-menu-heading",
|
|
1798
|
+
menu_heading_trans_styles_default.toString()
|
|
1799
|
+
);
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
// libs/core/src/primitives/popover/popover.trans.styles.scss
|
|
1803
|
+
var popover_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
1804
|
+
/* stylelint-enable max-nesting-depth */
|
|
1805
|
+
/**
|
|
1806
|
+
* Calculate the luminance for a color.
|
|
1807
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1808
|
+
*/
|
|
1809
|
+
/**
|
|
1810
|
+
* Calculate the contrast ratio between two colors.
|
|
1811
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
1812
|
+
*/
|
|
1813
|
+
/* stylelint-disable */
|
|
1814
|
+
/* stylelint-enable */
|
|
1815
|
+
/* stylelint-disable */
|
|
1816
|
+
/**
|
|
1817
|
+
* @deprecated
|
|
1818
|
+
* Use \`add-focus\` instead
|
|
1819
|
+
*/
|
|
1820
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
1821
|
+
button,
|
|
1822
|
+
input[type=button],
|
|
1823
|
+
input[type=submit],
|
|
1824
|
+
input[type=reset],
|
|
1825
|
+
.button,
|
|
1826
|
+
.gds-filter-chip {
|
|
1827
|
+
background-color: transparent;
|
|
1828
|
+
border: 0;
|
|
1829
|
+
cursor: pointer;
|
|
1830
|
+
font-family: inherit;
|
|
1831
|
+
padding: 0;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
button:where(:not(.link,
|
|
1835
|
+
.close,
|
|
1836
|
+
.sg-table-sort,
|
|
1837
|
+
[aria-haspopup=listbox],
|
|
1838
|
+
[aria-haspopup=menu],
|
|
1839
|
+
[role=switch],
|
|
1840
|
+
.gds-filter-chip)),
|
|
1841
|
+
input:where([type=button], [type=submit], [type=reset]),
|
|
1842
|
+
.button {
|
|
1843
|
+
padding-left: 1rem;
|
|
1844
|
+
padding-right: 1rem;
|
|
1845
|
+
padding-bottom: 0.75rem;
|
|
1846
|
+
padding-top: 0.75rem;
|
|
1847
|
+
border-radius: var(--sg-border-radius);
|
|
1848
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
1849
|
+
font-weight: 500;
|
|
1850
|
+
min-height: 2.75rem;
|
|
1851
|
+
align-items: center;
|
|
1852
|
+
display: inline-flex;
|
|
1853
|
+
justify-content: center;
|
|
1854
|
+
}
|
|
1855
|
+
button:where(:not(.link,
|
|
1856
|
+
.close,
|
|
1857
|
+
.sg-table-sort,
|
|
1858
|
+
[aria-haspopup=listbox],
|
|
1859
|
+
[aria-haspopup=menu],
|
|
1860
|
+
[role=switch],
|
|
1861
|
+
.gds-filter-chip)):focus:not(:focus-visible),
|
|
1862
|
+
input:where([type=button], [type=submit], [type=reset]):focus:not(:focus-visible),
|
|
1863
|
+
.button:focus:not(:focus-visible) {
|
|
1864
|
+
box-shadow: none;
|
|
1865
|
+
outline: 0;
|
|
1866
|
+
}
|
|
1867
|
+
button:where(:not(.link,
|
|
1868
|
+
.close,
|
|
1869
|
+
.sg-table-sort,
|
|
1870
|
+
[aria-haspopup=listbox],
|
|
1871
|
+
[aria-haspopup=menu],
|
|
1872
|
+
[role=switch],
|
|
1873
|
+
.gds-filter-chip)):focus, button:where(:not(.link,
|
|
1874
|
+
.close,
|
|
1875
|
+
.sg-table-sort,
|
|
1876
|
+
[aria-haspopup=listbox],
|
|
1877
|
+
[aria-haspopup=menu],
|
|
1878
|
+
[role=switch],
|
|
1879
|
+
.gds-filter-chip)):focus-visible,
|
|
1880
|
+
input:where([type=button], [type=submit], [type=reset]):focus,
|
|
1881
|
+
input:where([type=button], [type=submit], [type=reset]):focus-visible,
|
|
1882
|
+
.button:focus,
|
|
1883
|
+
.button:focus-visible {
|
|
1884
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
1885
|
+
outline-style: solid;
|
|
1886
|
+
outline-width: 0.125rem;
|
|
1887
|
+
outline-offset: 0.125rem;
|
|
1888
|
+
}
|
|
1889
|
+
@media (max-width: 35.98em) {
|
|
1890
|
+
button:where(:not(.link,
|
|
1891
|
+
.close,
|
|
1892
|
+
.sg-table-sort,
|
|
1893
|
+
[aria-haspopup=listbox],
|
|
1894
|
+
[aria-haspopup=menu],
|
|
1895
|
+
[role=switch],
|
|
1896
|
+
.gds-filter-chip)),
|
|
1897
|
+
input:where([type=button], [type=submit], [type=reset]),
|
|
1898
|
+
.button {
|
|
1899
|
+
min-width: 100%;
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
@media screen and (-ms-high-contrast: active) {
|
|
1903
|
+
button:where(:not(.link,
|
|
1904
|
+
.close,
|
|
1905
|
+
.sg-table-sort,
|
|
1906
|
+
[aria-haspopup=listbox],
|
|
1907
|
+
[aria-haspopup=menu],
|
|
1908
|
+
[role=switch],
|
|
1909
|
+
.gds-filter-chip)),
|
|
1910
|
+
input:where([type=button], [type=submit], [type=reset]),
|
|
1911
|
+
.button {
|
|
1912
|
+
border: 2px solid currentcolor;
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
button:where(:not(.link,
|
|
1916
|
+
.close,
|
|
1917
|
+
.sg-table-sort,
|
|
1918
|
+
[aria-haspopup=listbox],
|
|
1919
|
+
[aria-haspopup=menu],
|
|
1920
|
+
[role=switch],
|
|
1921
|
+
.gds-filter-chip)).small,
|
|
1922
|
+
input:where([type=button], [type=submit], [type=reset]).small,
|
|
1923
|
+
.button.small {
|
|
1924
|
+
min-height: 2rem;
|
|
1925
|
+
padding: 0.4375rem 0.75rem;
|
|
1926
|
+
line-height: 1rem;
|
|
1927
|
+
}
|
|
1928
|
+
button:where(:not(.link,
|
|
1929
|
+
.close,
|
|
1930
|
+
.sg-table-sort,
|
|
1931
|
+
[aria-haspopup=listbox],
|
|
1932
|
+
[aria-haspopup=menu],
|
|
1933
|
+
[role=switch],
|
|
1934
|
+
.gds-filter-chip)).large,
|
|
1935
|
+
input:where([type=button], [type=submit], [type=reset]).large,
|
|
1936
|
+
.button.large {
|
|
1937
|
+
min-height: 4rem;
|
|
1938
|
+
padding: 1rem 1.5rem;
|
|
1939
|
+
font-size: 1.5rem;
|
|
1940
|
+
line-height: 2rem;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
button:where(:not(.primary,
|
|
1944
|
+
.tertiary,
|
|
1945
|
+
.ghost,
|
|
1946
|
+
.danger,
|
|
1947
|
+
.close,
|
|
1948
|
+
.sg-table-sort,
|
|
1949
|
+
.link,
|
|
1950
|
+
[aria-haspopup=listbox],
|
|
1951
|
+
[aria-haspopup=menu],
|
|
1952
|
+
[role=switch],
|
|
1953
|
+
.gds-filter-chip)),
|
|
1954
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)),
|
|
1955
|
+
button.secondary,
|
|
1956
|
+
a.button.secondary,
|
|
1957
|
+
input:is([type=button], [type=reset]),
|
|
1958
|
+
button[type=button]:where(:not(.primary,
|
|
1959
|
+
.tertiary,
|
|
1960
|
+
.ghost,
|
|
1961
|
+
.danger,
|
|
1962
|
+
.close,
|
|
1963
|
+
.link,
|
|
1964
|
+
.icon,
|
|
1965
|
+
[aria-haspopup=listbox],
|
|
1966
|
+
[aria-haspopup=menu])),
|
|
1967
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)) {
|
|
1968
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
1969
|
+
background: transparent;
|
|
1970
|
+
border-color: rgb(0, 122, 199);
|
|
1971
|
+
color: rgb(0, 122, 199);
|
|
1972
|
+
--color: rgb(0, 122, 199);
|
|
1973
|
+
}
|
|
1974
|
+
button:where(:not(.primary,
|
|
1975
|
+
.tertiary,
|
|
1976
|
+
.ghost,
|
|
1977
|
+
.danger,
|
|
1978
|
+
.close,
|
|
1979
|
+
.sg-table-sort,
|
|
1980
|
+
.link,
|
|
1981
|
+
[aria-haspopup=listbox],
|
|
1982
|
+
[aria-haspopup=menu],
|
|
1983
|
+
[role=switch],
|
|
1984
|
+
.gds-filter-chip)):focus:not(:focus-visible),
|
|
1985
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus:not(:focus-visible),
|
|
1986
|
+
button.secondary:focus:not(:focus-visible),
|
|
1987
|
+
a.button.secondary:focus:not(:focus-visible),
|
|
1988
|
+
input:is([type=button], [type=reset]):focus:not(:focus-visible),
|
|
1989
|
+
button[type=button]:where(:not(.primary,
|
|
1990
|
+
.tertiary,
|
|
1991
|
+
.ghost,
|
|
1992
|
+
.danger,
|
|
1993
|
+
.close,
|
|
1994
|
+
.link,
|
|
1995
|
+
.icon,
|
|
1996
|
+
[aria-haspopup=listbox],
|
|
1997
|
+
[aria-haspopup=menu])):focus:not(:focus-visible),
|
|
1998
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus:not(:focus-visible) {
|
|
1999
|
+
box-shadow: none;
|
|
2000
|
+
outline: 0;
|
|
2001
|
+
}
|
|
2002
|
+
button:where(:not(.primary,
|
|
2003
|
+
.tertiary,
|
|
2004
|
+
.ghost,
|
|
2005
|
+
.danger,
|
|
2006
|
+
.close,
|
|
2007
|
+
.sg-table-sort,
|
|
2008
|
+
.link,
|
|
2009
|
+
[aria-haspopup=listbox],
|
|
2010
|
+
[aria-haspopup=menu],
|
|
2011
|
+
[role=switch],
|
|
2012
|
+
.gds-filter-chip)):focus, button:where(:not(.primary,
|
|
2013
|
+
.tertiary,
|
|
2014
|
+
.ghost,
|
|
2015
|
+
.danger,
|
|
2016
|
+
.close,
|
|
2017
|
+
.sg-table-sort,
|
|
2018
|
+
.link,
|
|
2019
|
+
[aria-haspopup=listbox],
|
|
2020
|
+
[aria-haspopup=menu],
|
|
2021
|
+
[role=switch],
|
|
2022
|
+
.gds-filter-chip)):focus-visible,
|
|
2023
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus,
|
|
2024
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus-visible,
|
|
2025
|
+
button.secondary:focus,
|
|
2026
|
+
button.secondary:focus-visible,
|
|
2027
|
+
a.button.secondary:focus,
|
|
2028
|
+
a.button.secondary:focus-visible,
|
|
2029
|
+
input:is([type=button], [type=reset]):focus,
|
|
2030
|
+
input:is([type=button], [type=reset]):focus-visible,
|
|
2031
|
+
button[type=button]:where(:not(.primary,
|
|
2032
|
+
.tertiary,
|
|
2033
|
+
.ghost,
|
|
2034
|
+
.danger,
|
|
2035
|
+
.close,
|
|
2036
|
+
.link,
|
|
2037
|
+
.icon,
|
|
2038
|
+
[aria-haspopup=listbox],
|
|
2039
|
+
[aria-haspopup=menu])):focus,
|
|
2040
|
+
button[type=button]:where(:not(.primary,
|
|
2041
|
+
.tertiary,
|
|
2042
|
+
.ghost,
|
|
2043
|
+
.danger,
|
|
2044
|
+
.close,
|
|
2045
|
+
.link,
|
|
2046
|
+
.icon,
|
|
2047
|
+
[aria-haspopup=listbox],
|
|
2048
|
+
[aria-haspopup=menu])):focus-visible,
|
|
2049
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus,
|
|
2050
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus-visible {
|
|
2051
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
2052
|
+
outline-style: solid;
|
|
2053
|
+
outline-width: 0.125rem;
|
|
2054
|
+
outline-offset: 0.125rem;
|
|
2055
|
+
}
|
|
2056
|
+
button:where(:not(.primary,
|
|
2057
|
+
.tertiary,
|
|
2058
|
+
.ghost,
|
|
2059
|
+
.danger,
|
|
2060
|
+
.close,
|
|
2061
|
+
.sg-table-sort,
|
|
2062
|
+
.link,
|
|
2063
|
+
[aria-haspopup=listbox],
|
|
2064
|
+
[aria-haspopup=menu],
|
|
2065
|
+
[role=switch],
|
|
2066
|
+
.gds-filter-chip)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2067
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2068
|
+
button.secondary:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2069
|
+
a.button.secondary:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2070
|
+
input:is([type=button], [type=reset]):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2071
|
+
button[type=button]:where(:not(.primary,
|
|
2072
|
+
.tertiary,
|
|
2073
|
+
.ghost,
|
|
2074
|
+
.danger,
|
|
2075
|
+
.close,
|
|
2076
|
+
.link,
|
|
2077
|
+
.icon,
|
|
2078
|
+
[aria-haspopup=listbox],
|
|
2079
|
+
[aria-haspopup=menu])):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2080
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover {
|
|
2081
|
+
background-color: #199be3;
|
|
2082
|
+
color: rgb(255, 255, 255);
|
|
2083
|
+
--background: #199be3;
|
|
2084
|
+
--color: rgb(255, 255, 255);
|
|
2085
|
+
border-color: #199be3;
|
|
2086
|
+
}
|
|
2087
|
+
button:where(:not(.primary,
|
|
2088
|
+
.tertiary,
|
|
2089
|
+
.ghost,
|
|
2090
|
+
.danger,
|
|
2091
|
+
.close,
|
|
2092
|
+
.sg-table-sort,
|
|
2093
|
+
.link,
|
|
2094
|
+
[aria-haspopup=listbox],
|
|
2095
|
+
[aria-haspopup=menu],
|
|
2096
|
+
[role=switch],
|
|
2097
|
+
.gds-filter-chip))[aria-selected], button:where(:not(.primary,
|
|
2098
|
+
.tertiary,
|
|
2099
|
+
.ghost,
|
|
2100
|
+
.danger,
|
|
2101
|
+
.close,
|
|
2102
|
+
.sg-table-sort,
|
|
2103
|
+
.link,
|
|
2104
|
+
[aria-haspopup=listbox],
|
|
2105
|
+
[aria-haspopup=menu],
|
|
2106
|
+
[role=switch],
|
|
2107
|
+
.gds-filter-chip)):active, button:where(:not(.primary,
|
|
2108
|
+
.tertiary,
|
|
2109
|
+
.ghost,
|
|
2110
|
+
.danger,
|
|
2111
|
+
.close,
|
|
2112
|
+
.sg-table-sort,
|
|
2113
|
+
.link,
|
|
2114
|
+
[aria-haspopup=listbox],
|
|
2115
|
+
[aria-haspopup=menu],
|
|
2116
|
+
[role=switch],
|
|
2117
|
+
.gds-filter-chip)).active, button:where(:not(.primary,
|
|
2118
|
+
.tertiary,
|
|
2119
|
+
.ghost,
|
|
2120
|
+
.danger,
|
|
2121
|
+
.close,
|
|
2122
|
+
.sg-table-sort,
|
|
2123
|
+
.link,
|
|
2124
|
+
[aria-haspopup=listbox],
|
|
2125
|
+
[aria-haspopup=menu],
|
|
2126
|
+
[role=switch],
|
|
2127
|
+
.gds-filter-chip)).active:hover, button:where(:not(.primary,
|
|
2128
|
+
.tertiary,
|
|
2129
|
+
.ghost,
|
|
2130
|
+
.danger,
|
|
2131
|
+
.close,
|
|
2132
|
+
.sg-table-sort,
|
|
2133
|
+
.link,
|
|
2134
|
+
[aria-haspopup=listbox],
|
|
2135
|
+
[aria-haspopup=menu],
|
|
2136
|
+
[role=switch],
|
|
2137
|
+
.gds-filter-chip)):active:hover,
|
|
2138
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
2139
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
2140
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
2141
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
2142
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active:hover,
|
|
2143
|
+
button.secondary[aria-selected],
|
|
2144
|
+
button.secondary:active,
|
|
2145
|
+
button.secondary.active,
|
|
2146
|
+
button.secondary.active:hover,
|
|
2147
|
+
button.secondary:active:hover,
|
|
2148
|
+
a.button.secondary[aria-selected],
|
|
2149
|
+
a.button.secondary:active,
|
|
2150
|
+
a.button.secondary.active,
|
|
2151
|
+
a.button.secondary.active:hover,
|
|
2152
|
+
a.button.secondary:active:hover,
|
|
2153
|
+
input:is([type=button], [type=reset])[aria-selected],
|
|
2154
|
+
input:is([type=button], [type=reset]):active,
|
|
2155
|
+
input:is([type=button], [type=reset]).active,
|
|
2156
|
+
input:is([type=button], [type=reset]).active:hover,
|
|
2157
|
+
input:is([type=button], [type=reset]):active:hover,
|
|
2158
|
+
button[type=button]:where(:not(.primary,
|
|
2159
|
+
.tertiary,
|
|
2160
|
+
.ghost,
|
|
2161
|
+
.danger,
|
|
2162
|
+
.close,
|
|
2163
|
+
.link,
|
|
2164
|
+
.icon,
|
|
2165
|
+
[aria-haspopup=listbox],
|
|
2166
|
+
[aria-haspopup=menu]))[aria-selected],
|
|
2167
|
+
button[type=button]:where(:not(.primary,
|
|
2168
|
+
.tertiary,
|
|
2169
|
+
.ghost,
|
|
2170
|
+
.danger,
|
|
2171
|
+
.close,
|
|
2172
|
+
.link,
|
|
2173
|
+
.icon,
|
|
2174
|
+
[aria-haspopup=listbox],
|
|
2175
|
+
[aria-haspopup=menu])):active,
|
|
2176
|
+
button[type=button]:where(:not(.primary,
|
|
2177
|
+
.tertiary,
|
|
2178
|
+
.ghost,
|
|
2179
|
+
.danger,
|
|
2180
|
+
.close,
|
|
2181
|
+
.link,
|
|
2182
|
+
.icon,
|
|
2183
|
+
[aria-haspopup=listbox],
|
|
2184
|
+
[aria-haspopup=menu])).active,
|
|
2185
|
+
button[type=button]:where(:not(.primary,
|
|
2186
|
+
.tertiary,
|
|
2187
|
+
.ghost,
|
|
2188
|
+
.danger,
|
|
2189
|
+
.close,
|
|
2190
|
+
.link,
|
|
2191
|
+
.icon,
|
|
2192
|
+
[aria-haspopup=listbox],
|
|
2193
|
+
[aria-haspopup=menu])).active:hover,
|
|
2194
|
+
button[type=button]:where(:not(.primary,
|
|
2195
|
+
.tertiary,
|
|
2196
|
+
.ghost,
|
|
2197
|
+
.danger,
|
|
2198
|
+
.close,
|
|
2199
|
+
.link,
|
|
2200
|
+
.icon,
|
|
2201
|
+
[aria-haspopup=listbox],
|
|
2202
|
+
[aria-haspopup=menu])):active:hover,
|
|
2203
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
2204
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
2205
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
2206
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
2207
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active:hover {
|
|
2208
|
+
background-color: rgb(0, 122, 199);
|
|
2209
|
+
color: rgb(255, 255, 255);
|
|
2210
|
+
--background: rgb(0, 122, 199);
|
|
2211
|
+
--color: rgb(255, 255, 255);
|
|
2212
|
+
border-color: rgb(0, 122, 199);
|
|
2213
|
+
}
|
|
2214
|
+
button:where(:not(.primary,
|
|
2215
|
+
.tertiary,
|
|
2216
|
+
.ghost,
|
|
2217
|
+
.danger,
|
|
2218
|
+
.close,
|
|
2219
|
+
.sg-table-sort,
|
|
2220
|
+
.link,
|
|
2221
|
+
[aria-haspopup=listbox],
|
|
2222
|
+
[aria-haspopup=menu],
|
|
2223
|
+
[role=switch],
|
|
2224
|
+
.gds-filter-chip)):disabled, button:where(:not(.primary,
|
|
2225
|
+
.tertiary,
|
|
2226
|
+
.ghost,
|
|
2227
|
+
.danger,
|
|
2228
|
+
.close,
|
|
2229
|
+
.sg-table-sort,
|
|
2230
|
+
.link,
|
|
2231
|
+
[aria-haspopup=listbox],
|
|
2232
|
+
[aria-haspopup=menu],
|
|
2233
|
+
[role=switch],
|
|
2234
|
+
.gds-filter-chip)).disabled, button:where(:not(.primary,
|
|
2235
|
+
.tertiary,
|
|
2236
|
+
.ghost,
|
|
2237
|
+
.danger,
|
|
2238
|
+
.close,
|
|
2239
|
+
.sg-table-sort,
|
|
2240
|
+
.link,
|
|
2241
|
+
[aria-haspopup=listbox],
|
|
2242
|
+
[aria-haspopup=menu],
|
|
2243
|
+
[role=switch],
|
|
2244
|
+
.gds-filter-chip))[aria-disabled=true],
|
|
2245
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled,
|
|
2246
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled,
|
|
2247
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true],
|
|
2248
|
+
button.secondary:disabled,
|
|
2249
|
+
button.secondary.disabled,
|
|
2250
|
+
button.secondary[aria-disabled=true],
|
|
2251
|
+
a.button.secondary:disabled,
|
|
2252
|
+
a.button.secondary.disabled,
|
|
2253
|
+
a.button.secondary[aria-disabled=true],
|
|
2254
|
+
input:is([type=button], [type=reset]):disabled,
|
|
2255
|
+
input:is([type=button], [type=reset]).disabled,
|
|
2256
|
+
input:is([type=button], [type=reset])[aria-disabled=true],
|
|
2257
|
+
button[type=button]:where(:not(.primary,
|
|
2258
|
+
.tertiary,
|
|
2259
|
+
.ghost,
|
|
2260
|
+
.danger,
|
|
2261
|
+
.close,
|
|
2262
|
+
.link,
|
|
2263
|
+
.icon,
|
|
2264
|
+
[aria-haspopup=listbox],
|
|
2265
|
+
[aria-haspopup=menu])):disabled,
|
|
2266
|
+
button[type=button]:where(:not(.primary,
|
|
2267
|
+
.tertiary,
|
|
2268
|
+
.ghost,
|
|
2269
|
+
.danger,
|
|
2270
|
+
.close,
|
|
2271
|
+
.link,
|
|
2272
|
+
.icon,
|
|
2273
|
+
[aria-haspopup=listbox],
|
|
2274
|
+
[aria-haspopup=menu])).disabled,
|
|
2275
|
+
button[type=button]:where(:not(.primary,
|
|
2276
|
+
.tertiary,
|
|
2277
|
+
.ghost,
|
|
2278
|
+
.danger,
|
|
2279
|
+
.close,
|
|
2280
|
+
.link,
|
|
2281
|
+
.icon,
|
|
2282
|
+
[aria-haspopup=listbox],
|
|
2283
|
+
[aria-haspopup=menu]))[aria-disabled=true],
|
|
2284
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled,
|
|
2285
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled,
|
|
2286
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true] {
|
|
2287
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
2288
|
+
color: var(--text-disabled-color) !important;
|
|
2289
|
+
border-color: var(--border-disabled-color) !important;
|
|
2290
|
+
cursor: not-allowed;
|
|
2291
|
+
}
|
|
2292
|
+
button:where(:not(.primary,
|
|
2293
|
+
.tertiary,
|
|
2294
|
+
.ghost,
|
|
2295
|
+
.danger,
|
|
2296
|
+
.close,
|
|
2297
|
+
.sg-table-sort,
|
|
2298
|
+
.link,
|
|
2299
|
+
[aria-haspopup=listbox],
|
|
2300
|
+
[aria-haspopup=menu],
|
|
2301
|
+
[role=switch],
|
|
2302
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2303
|
+
.tertiary,
|
|
2304
|
+
.ghost,
|
|
2305
|
+
.danger,
|
|
2306
|
+
.close,
|
|
2307
|
+
.sg-table-sort,
|
|
2308
|
+
.link,
|
|
2309
|
+
[aria-haspopup=listbox],
|
|
2310
|
+
[aria-haspopup=menu],
|
|
2311
|
+
[role=switch],
|
|
2312
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2313
|
+
.tertiary,
|
|
2314
|
+
.ghost,
|
|
2315
|
+
.danger,
|
|
2316
|
+
.close,
|
|
2317
|
+
.sg-table-sort,
|
|
2318
|
+
.link,
|
|
2319
|
+
[aria-haspopup=listbox],
|
|
2320
|
+
[aria-haspopup=menu],
|
|
2321
|
+
[role=switch],
|
|
2322
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder, button.secondary:disabled::-moz-placeholder, button.secondary.disabled::-moz-placeholder, button.secondary[aria-disabled=true]::-moz-placeholder, a.button.secondary:disabled::-moz-placeholder, a.button.secondary.disabled::-moz-placeholder, a.button.secondary[aria-disabled=true]::-moz-placeholder, input:is([type=button], [type=reset]):disabled::-moz-placeholder, input:is([type=button], [type=reset]).disabled::-moz-placeholder, input:is([type=button], [type=reset])[aria-disabled=true]::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2323
|
+
.tertiary,
|
|
2324
|
+
.ghost,
|
|
2325
|
+
.danger,
|
|
2326
|
+
.close,
|
|
2327
|
+
.link,
|
|
2328
|
+
.icon,
|
|
2329
|
+
[aria-haspopup=listbox],
|
|
2330
|
+
[aria-haspopup=menu])):disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2331
|
+
.tertiary,
|
|
2332
|
+
.ghost,
|
|
2333
|
+
.danger,
|
|
2334
|
+
.close,
|
|
2335
|
+
.link,
|
|
2336
|
+
.icon,
|
|
2337
|
+
[aria-haspopup=listbox],
|
|
2338
|
+
[aria-haspopup=menu])).disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2339
|
+
.tertiary,
|
|
2340
|
+
.ghost,
|
|
2341
|
+
.danger,
|
|
2342
|
+
.close,
|
|
2343
|
+
.link,
|
|
2344
|
+
.icon,
|
|
2345
|
+
[aria-haspopup=listbox],
|
|
2346
|
+
[aria-haspopup=menu]))[aria-disabled=true]::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder {
|
|
2347
|
+
color: var(--text-disabled-color);
|
|
2348
|
+
}
|
|
2349
|
+
button:where(:not(.primary,
|
|
2350
|
+
.tertiary,
|
|
2351
|
+
.ghost,
|
|
2352
|
+
.danger,
|
|
2353
|
+
.close,
|
|
2354
|
+
.sg-table-sort,
|
|
2355
|
+
.link,
|
|
2356
|
+
[aria-haspopup=listbox],
|
|
2357
|
+
[aria-haspopup=menu],
|
|
2358
|
+
[role=switch],
|
|
2359
|
+
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
2360
|
+
.tertiary,
|
|
2361
|
+
.ghost,
|
|
2362
|
+
.danger,
|
|
2363
|
+
.close,
|
|
2364
|
+
.sg-table-sort,
|
|
2365
|
+
.link,
|
|
2366
|
+
[aria-haspopup=listbox],
|
|
2367
|
+
[aria-haspopup=menu],
|
|
2368
|
+
[role=switch],
|
|
2369
|
+
.gds-filter-chip)).disabled::placeholder, button:where(:not(.primary,
|
|
2370
|
+
.tertiary,
|
|
2371
|
+
.ghost,
|
|
2372
|
+
.danger,
|
|
2373
|
+
.close,
|
|
2374
|
+
.sg-table-sort,
|
|
2375
|
+
.link,
|
|
2376
|
+
[aria-haspopup=listbox],
|
|
2377
|
+
[aria-haspopup=menu],
|
|
2378
|
+
[role=switch],
|
|
2379
|
+
.gds-filter-chip))[aria-disabled=true]::placeholder,
|
|
2380
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::placeholder,
|
|
2381
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::placeholder,
|
|
2382
|
+
a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::placeholder,
|
|
2383
|
+
button.secondary:disabled::placeholder,
|
|
2384
|
+
button.secondary.disabled::placeholder,
|
|
2385
|
+
button.secondary[aria-disabled=true]::placeholder,
|
|
2386
|
+
a.button.secondary:disabled::placeholder,
|
|
2387
|
+
a.button.secondary.disabled::placeholder,
|
|
2388
|
+
a.button.secondary[aria-disabled=true]::placeholder,
|
|
2389
|
+
input:is([type=button], [type=reset]):disabled::placeholder,
|
|
2390
|
+
input:is([type=button], [type=reset]).disabled::placeholder,
|
|
2391
|
+
input:is([type=button], [type=reset])[aria-disabled=true]::placeholder,
|
|
2392
|
+
button[type=button]:where(:not(.primary,
|
|
2393
|
+
.tertiary,
|
|
2394
|
+
.ghost,
|
|
2395
|
+
.danger,
|
|
2396
|
+
.close,
|
|
2397
|
+
.link,
|
|
2398
|
+
.icon,
|
|
2399
|
+
[aria-haspopup=listbox],
|
|
2400
|
+
[aria-haspopup=menu])):disabled::placeholder,
|
|
2401
|
+
button[type=button]:where(:not(.primary,
|
|
2402
|
+
.tertiary,
|
|
2403
|
+
.ghost,
|
|
2404
|
+
.danger,
|
|
2405
|
+
.close,
|
|
2406
|
+
.link,
|
|
2407
|
+
.icon,
|
|
2408
|
+
[aria-haspopup=listbox],
|
|
2409
|
+
[aria-haspopup=menu])).disabled::placeholder,
|
|
2410
|
+
button[type=button]:where(:not(.primary,
|
|
2411
|
+
.tertiary,
|
|
2412
|
+
.ghost,
|
|
2413
|
+
.danger,
|
|
2414
|
+
.close,
|
|
2415
|
+
.link,
|
|
2416
|
+
.icon,
|
|
2417
|
+
[aria-haspopup=listbox],
|
|
2418
|
+
[aria-haspopup=menu]))[aria-disabled=true]::placeholder,
|
|
2419
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::placeholder,
|
|
2420
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::placeholder,
|
|
2421
|
+
button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::placeholder {
|
|
2422
|
+
color: var(--text-disabled-color);
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
button:where(:not(.primary,
|
|
2426
|
+
.secondary,
|
|
2427
|
+
.ghost,
|
|
2428
|
+
.danger,
|
|
2429
|
+
.close,
|
|
2430
|
+
.sg-table-sort,
|
|
2431
|
+
.link,
|
|
2432
|
+
[aria-haspopup=listbox],
|
|
2433
|
+
[aria-haspopup=menu],
|
|
2434
|
+
[role=switch],
|
|
2435
|
+
.gds-filter-chip)),
|
|
2436
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)),
|
|
2437
|
+
button.tertiary,
|
|
2438
|
+
a.button.tertiary {
|
|
2439
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
2440
|
+
background: transparent;
|
|
2441
|
+
border-color: transparent;
|
|
2442
|
+
color: rgb(0, 122, 199);
|
|
2443
|
+
--color: rgb(0, 122, 199);
|
|
2444
|
+
}
|
|
2445
|
+
button:where(:not(.primary,
|
|
2446
|
+
.secondary,
|
|
2447
|
+
.ghost,
|
|
2448
|
+
.danger,
|
|
2449
|
+
.close,
|
|
2450
|
+
.sg-table-sort,
|
|
2451
|
+
.link,
|
|
2452
|
+
[aria-haspopup=listbox],
|
|
2453
|
+
[aria-haspopup=menu],
|
|
2454
|
+
[role=switch],
|
|
2455
|
+
.gds-filter-chip)):focus:not(:focus-visible),
|
|
2456
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):focus:not(:focus-visible),
|
|
2457
|
+
button.tertiary:focus:not(:focus-visible),
|
|
2458
|
+
a.button.tertiary:focus:not(:focus-visible) {
|
|
2459
|
+
box-shadow: none;
|
|
2460
|
+
outline: 0;
|
|
2461
|
+
}
|
|
2462
|
+
button:where(:not(.primary,
|
|
2463
|
+
.secondary,
|
|
2464
|
+
.ghost,
|
|
2465
|
+
.danger,
|
|
2466
|
+
.close,
|
|
2467
|
+
.sg-table-sort,
|
|
2468
|
+
.link,
|
|
2469
|
+
[aria-haspopup=listbox],
|
|
2470
|
+
[aria-haspopup=menu],
|
|
2471
|
+
[role=switch],
|
|
2472
|
+
.gds-filter-chip)):focus, button:where(:not(.primary,
|
|
2473
|
+
.secondary,
|
|
2474
|
+
.ghost,
|
|
2475
|
+
.danger,
|
|
2476
|
+
.close,
|
|
2477
|
+
.sg-table-sort,
|
|
2478
|
+
.link,
|
|
2479
|
+
[aria-haspopup=listbox],
|
|
2480
|
+
[aria-haspopup=menu],
|
|
2481
|
+
[role=switch],
|
|
2482
|
+
.gds-filter-chip)):focus-visible,
|
|
2483
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):focus,
|
|
2484
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):focus-visible,
|
|
2485
|
+
button.tertiary:focus,
|
|
2486
|
+
button.tertiary:focus-visible,
|
|
2487
|
+
a.button.tertiary:focus,
|
|
2488
|
+
a.button.tertiary:focus-visible {
|
|
2489
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
2490
|
+
outline-style: solid;
|
|
2491
|
+
outline-width: 0.125rem;
|
|
2492
|
+
outline-offset: 0.125rem;
|
|
2493
|
+
}
|
|
2494
|
+
button:where(:not(.primary,
|
|
2495
|
+
.secondary,
|
|
2496
|
+
.ghost,
|
|
2497
|
+
.danger,
|
|
2498
|
+
.close,
|
|
2499
|
+
.sg-table-sort,
|
|
2500
|
+
.link,
|
|
2501
|
+
[aria-haspopup=listbox],
|
|
2502
|
+
[aria-haspopup=menu],
|
|
2503
|
+
[role=switch],
|
|
2504
|
+
.gds-filter-chip)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2505
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2506
|
+
button.tertiary:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2507
|
+
a.button.tertiary:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
2508
|
+
background-color: #199be3;
|
|
2509
|
+
color: rgb(255, 255, 255);
|
|
2510
|
+
--background: #199be3;
|
|
2511
|
+
--color: rgb(255, 255, 255);
|
|
2512
|
+
border-color: #199be3;
|
|
2513
|
+
}
|
|
2514
|
+
button:where(:not(.primary,
|
|
2515
|
+
.secondary,
|
|
2516
|
+
.ghost,
|
|
2517
|
+
.danger,
|
|
2518
|
+
.close,
|
|
2519
|
+
.sg-table-sort,
|
|
2520
|
+
.link,
|
|
2521
|
+
[aria-haspopup=listbox],
|
|
2522
|
+
[aria-haspopup=menu],
|
|
2523
|
+
[role=switch],
|
|
2524
|
+
.gds-filter-chip))[aria-selected], button:where(:not(.primary,
|
|
2525
|
+
.secondary,
|
|
2526
|
+
.ghost,
|
|
2527
|
+
.danger,
|
|
2528
|
+
.close,
|
|
2529
|
+
.sg-table-sort,
|
|
2530
|
+
.link,
|
|
2531
|
+
[aria-haspopup=listbox],
|
|
2532
|
+
[aria-haspopup=menu],
|
|
2533
|
+
[role=switch],
|
|
2534
|
+
.gds-filter-chip)):active, button:where(:not(.primary,
|
|
2535
|
+
.secondary,
|
|
2536
|
+
.ghost,
|
|
2537
|
+
.danger,
|
|
2538
|
+
.close,
|
|
2539
|
+
.sg-table-sort,
|
|
2540
|
+
.link,
|
|
2541
|
+
[aria-haspopup=listbox],
|
|
2542
|
+
[aria-haspopup=menu],
|
|
2543
|
+
[role=switch],
|
|
2544
|
+
.gds-filter-chip)).active, button:where(:not(.primary,
|
|
2545
|
+
.secondary,
|
|
2546
|
+
.ghost,
|
|
2547
|
+
.danger,
|
|
2548
|
+
.close,
|
|
2549
|
+
.sg-table-sort,
|
|
2550
|
+
.link,
|
|
2551
|
+
[aria-haspopup=listbox],
|
|
2552
|
+
[aria-haspopup=menu],
|
|
2553
|
+
[role=switch],
|
|
2554
|
+
.gds-filter-chip)).active:hover, button:where(:not(.primary,
|
|
2555
|
+
.secondary,
|
|
2556
|
+
.ghost,
|
|
2557
|
+
.danger,
|
|
2558
|
+
.close,
|
|
2559
|
+
.sg-table-sort,
|
|
2560
|
+
.link,
|
|
2561
|
+
[aria-haspopup=listbox],
|
|
2562
|
+
[aria-haspopup=menu],
|
|
2563
|
+
[role=switch],
|
|
2564
|
+
.gds-filter-chip)):active:hover,
|
|
2565
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected],
|
|
2566
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):active,
|
|
2567
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).active,
|
|
2568
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).active:hover,
|
|
2569
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):active:hover,
|
|
2570
|
+
button.tertiary[aria-selected],
|
|
2571
|
+
button.tertiary:active,
|
|
2572
|
+
button.tertiary.active,
|
|
2573
|
+
button.tertiary.active:hover,
|
|
2574
|
+
button.tertiary:active:hover,
|
|
2575
|
+
a.button.tertiary[aria-selected],
|
|
2576
|
+
a.button.tertiary:active,
|
|
2577
|
+
a.button.tertiary.active,
|
|
2578
|
+
a.button.tertiary.active:hover,
|
|
2579
|
+
a.button.tertiary:active:hover {
|
|
2580
|
+
background-color: rgb(0, 122, 199);
|
|
2581
|
+
color: rgb(255, 255, 255);
|
|
2582
|
+
--background: rgb(0, 122, 199);
|
|
2583
|
+
--color: rgb(255, 255, 255);
|
|
2584
|
+
border-color: rgb(0, 122, 199);
|
|
2585
|
+
}
|
|
2586
|
+
button:where(:not(.primary,
|
|
2587
|
+
.secondary,
|
|
2588
|
+
.ghost,
|
|
2589
|
+
.danger,
|
|
2590
|
+
.close,
|
|
2591
|
+
.sg-table-sort,
|
|
2592
|
+
.link,
|
|
2593
|
+
[aria-haspopup=listbox],
|
|
2594
|
+
[aria-haspopup=menu],
|
|
2595
|
+
[role=switch],
|
|
2596
|
+
.gds-filter-chip)):disabled, button:where(:not(.primary,
|
|
2597
|
+
.secondary,
|
|
2598
|
+
.ghost,
|
|
2599
|
+
.danger,
|
|
2600
|
+
.close,
|
|
2601
|
+
.sg-table-sort,
|
|
2602
|
+
.link,
|
|
2603
|
+
[aria-haspopup=listbox],
|
|
2604
|
+
[aria-haspopup=menu],
|
|
2605
|
+
[role=switch],
|
|
2606
|
+
.gds-filter-chip)).disabled, button:where(:not(.primary,
|
|
2607
|
+
.secondary,
|
|
2608
|
+
.ghost,
|
|
2609
|
+
.danger,
|
|
2610
|
+
.close,
|
|
2611
|
+
.sg-table-sort,
|
|
2612
|
+
.link,
|
|
2613
|
+
[aria-haspopup=listbox],
|
|
2614
|
+
[aria-haspopup=menu],
|
|
2615
|
+
[role=switch],
|
|
2616
|
+
.gds-filter-chip))[aria-disabled=true],
|
|
2617
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled,
|
|
2618
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled,
|
|
2619
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true],
|
|
2620
|
+
button.tertiary:disabled,
|
|
2621
|
+
button.tertiary.disabled,
|
|
2622
|
+
button.tertiary[aria-disabled=true],
|
|
2623
|
+
a.button.tertiary:disabled,
|
|
2624
|
+
a.button.tertiary.disabled,
|
|
2625
|
+
a.button.tertiary[aria-disabled=true] {
|
|
2626
|
+
background: var(--sg-form-control-bg-disabled) !important;
|
|
2627
|
+
color: var(--text-disabled-color) !important;
|
|
2628
|
+
border-color: var(--border-disabled-color) !important;
|
|
2629
|
+
cursor: not-allowed;
|
|
2630
|
+
}
|
|
2631
|
+
button:where(:not(.primary,
|
|
2632
|
+
.secondary,
|
|
2633
|
+
.ghost,
|
|
2634
|
+
.danger,
|
|
2635
|
+
.close,
|
|
2636
|
+
.sg-table-sort,
|
|
2637
|
+
.link,
|
|
2638
|
+
[aria-haspopup=listbox],
|
|
2639
|
+
[aria-haspopup=menu],
|
|
2640
|
+
[role=switch],
|
|
2641
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2642
|
+
.secondary,
|
|
2643
|
+
.ghost,
|
|
2644
|
+
.danger,
|
|
2645
|
+
.close,
|
|
2646
|
+
.sg-table-sort,
|
|
2647
|
+
.link,
|
|
2648
|
+
[aria-haspopup=listbox],
|
|
2649
|
+
[aria-haspopup=menu],
|
|
2650
|
+
[role=switch],
|
|
2651
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2652
|
+
.secondary,
|
|
2653
|
+
.ghost,
|
|
2654
|
+
.danger,
|
|
2655
|
+
.close,
|
|
2656
|
+
.sg-table-sort,
|
|
2657
|
+
.link,
|
|
2658
|
+
[aria-haspopup=listbox],
|
|
2659
|
+
[aria-haspopup=menu],
|
|
2660
|
+
[role=switch],
|
|
2661
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true]::-moz-placeholder, button.tertiary:disabled::-moz-placeholder, button.tertiary.disabled::-moz-placeholder, button.tertiary[aria-disabled=true]::-moz-placeholder, a.button.tertiary:disabled::-moz-placeholder, a.button.tertiary.disabled::-moz-placeholder, a.button.tertiary[aria-disabled=true]::-moz-placeholder {
|
|
2662
|
+
color: var(--text-disabled-color);
|
|
2663
|
+
}
|
|
2664
|
+
button:where(:not(.primary,
|
|
2665
|
+
.secondary,
|
|
2666
|
+
.ghost,
|
|
2667
|
+
.danger,
|
|
2668
|
+
.close,
|
|
2669
|
+
.sg-table-sort,
|
|
2670
|
+
.link,
|
|
2671
|
+
[aria-haspopup=listbox],
|
|
2672
|
+
[aria-haspopup=menu],
|
|
2673
|
+
[role=switch],
|
|
2674
|
+
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
2675
|
+
.secondary,
|
|
2676
|
+
.ghost,
|
|
2677
|
+
.danger,
|
|
2678
|
+
.close,
|
|
2679
|
+
.sg-table-sort,
|
|
2680
|
+
.link,
|
|
2681
|
+
[aria-haspopup=listbox],
|
|
2682
|
+
[aria-haspopup=menu],
|
|
2683
|
+
[role=switch],
|
|
2684
|
+
.gds-filter-chip)).disabled::placeholder, button:where(:not(.primary,
|
|
2685
|
+
.secondary,
|
|
2686
|
+
.ghost,
|
|
2687
|
+
.danger,
|
|
2688
|
+
.close,
|
|
2689
|
+
.sg-table-sort,
|
|
2690
|
+
.link,
|
|
2691
|
+
[aria-haspopup=listbox],
|
|
2692
|
+
[aria-haspopup=menu],
|
|
2693
|
+
[role=switch],
|
|
2694
|
+
.gds-filter-chip))[aria-disabled=true]::placeholder,
|
|
2695
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled::placeholder,
|
|
2696
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled::placeholder,
|
|
2697
|
+
a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true]::placeholder,
|
|
2698
|
+
button.tertiary:disabled::placeholder,
|
|
2699
|
+
button.tertiary.disabled::placeholder,
|
|
2700
|
+
button.tertiary[aria-disabled=true]::placeholder,
|
|
2701
|
+
a.button.tertiary:disabled::placeholder,
|
|
2702
|
+
a.button.tertiary.disabled::placeholder,
|
|
2703
|
+
a.button.tertiary[aria-disabled=true]::placeholder {
|
|
2704
|
+
color: var(--text-disabled-color);
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
button.primary,
|
|
2708
|
+
input[type=submit],
|
|
2709
|
+
button[type=submit]:not(.secondary,
|
|
2710
|
+
.ghost,
|
|
2711
|
+
.danger,
|
|
2712
|
+
.close,
|
|
2713
|
+
.link,
|
|
2714
|
+
.gds-filter-chip),
|
|
2715
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link),
|
|
2716
|
+
a.button.primary {
|
|
2717
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
2718
|
+
background: rgb(0, 122, 199);
|
|
2719
|
+
border-color: rgb(0, 122, 199);
|
|
2720
|
+
color: #fff;
|
|
2721
|
+
--color: #fff;
|
|
2722
|
+
}
|
|
2723
|
+
button.primary:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2724
|
+
input[type=submit]:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2725
|
+
button[type=submit]:not(.secondary,
|
|
2726
|
+
.ghost,
|
|
2727
|
+
.danger,
|
|
2728
|
+
.close,
|
|
2729
|
+
.link,
|
|
2730
|
+
.gds-filter-chip):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2731
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2732
|
+
a.button.primary:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
2733
|
+
background-color: #199be3;
|
|
2734
|
+
color: rgb(255, 255, 255);
|
|
2735
|
+
--background: #199be3;
|
|
2736
|
+
--color: rgb(255, 255, 255);
|
|
2737
|
+
border-color: #199be3;
|
|
2738
|
+
}
|
|
2739
|
+
button.primary[aria-selected], button.primary:active, button.primary.active, button.primary.active:hover, button.primary:active:hover,
|
|
2740
|
+
input[type=submit][aria-selected],
|
|
2741
|
+
input[type=submit]:active,
|
|
2742
|
+
input[type=submit].active,
|
|
2743
|
+
input[type=submit].active:hover,
|
|
2744
|
+
input[type=submit]:active:hover,
|
|
2745
|
+
button[type=submit]:not(.secondary,
|
|
2746
|
+
.ghost,
|
|
2747
|
+
.danger,
|
|
2748
|
+
.close,
|
|
2749
|
+
.link,
|
|
2750
|
+
.gds-filter-chip)[aria-selected],
|
|
2751
|
+
button[type=submit]:not(.secondary,
|
|
2752
|
+
.ghost,
|
|
2753
|
+
.danger,
|
|
2754
|
+
.close,
|
|
2755
|
+
.link,
|
|
2756
|
+
.gds-filter-chip):active,
|
|
2757
|
+
button[type=submit]:not(.secondary,
|
|
2758
|
+
.ghost,
|
|
2759
|
+
.danger,
|
|
2760
|
+
.close,
|
|
2761
|
+
.link,
|
|
2762
|
+
.gds-filter-chip).active,
|
|
2763
|
+
button[type=submit]:not(.secondary,
|
|
2764
|
+
.ghost,
|
|
2765
|
+
.danger,
|
|
2766
|
+
.close,
|
|
2767
|
+
.link,
|
|
2768
|
+
.gds-filter-chip).active:hover,
|
|
2769
|
+
button[type=submit]:not(.secondary,
|
|
2770
|
+
.ghost,
|
|
2771
|
+
.danger,
|
|
2772
|
+
.close,
|
|
2773
|
+
.link,
|
|
2774
|
+
.gds-filter-chip):active:hover,
|
|
2775
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-selected],
|
|
2776
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):active,
|
|
2777
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).active,
|
|
2778
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).active:hover,
|
|
2779
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):active:hover,
|
|
2780
|
+
a.button.primary[aria-selected],
|
|
2781
|
+
a.button.primary:active,
|
|
2782
|
+
a.button.primary.active,
|
|
2783
|
+
a.button.primary.active:hover,
|
|
2784
|
+
a.button.primary:active:hover {
|
|
2785
|
+
background-color: rgb(0, 122, 199);
|
|
2786
|
+
color: rgb(255, 255, 255);
|
|
2787
|
+
--background: rgb(0, 122, 199);
|
|
2788
|
+
--color: rgb(255, 255, 255);
|
|
2789
|
+
border-color: rgb(0, 122, 199);
|
|
2790
|
+
}
|
|
2791
|
+
button.primary:focus-visible,
|
|
2792
|
+
input[type=submit]:focus-visible,
|
|
2793
|
+
button[type=submit]:not(.secondary,
|
|
2794
|
+
.ghost,
|
|
2795
|
+
.danger,
|
|
2796
|
+
.close,
|
|
2797
|
+
.link,
|
|
2798
|
+
.gds-filter-chip):focus-visible,
|
|
2799
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):focus-visible,
|
|
2800
|
+
a.button.primary:focus-visible {
|
|
2801
|
+
background-color: #199be3;
|
|
2802
|
+
color: rgb(255, 255, 255);
|
|
2803
|
+
--background: #199be3;
|
|
2804
|
+
--color: rgb(255, 255, 255);
|
|
2805
|
+
border-color: #199be3 !important;
|
|
2806
|
+
}
|
|
2807
|
+
button.primary:disabled, button.primary.disabled, button.primary[aria-disabled=true],
|
|
2808
|
+
input[type=submit]:disabled,
|
|
2809
|
+
input[type=submit].disabled,
|
|
2810
|
+
input[type=submit][aria-disabled=true],
|
|
2811
|
+
button[type=submit]:not(.secondary,
|
|
2812
|
+
.ghost,
|
|
2813
|
+
.danger,
|
|
2814
|
+
.close,
|
|
2815
|
+
.link,
|
|
2816
|
+
.gds-filter-chip):disabled,
|
|
2817
|
+
button[type=submit]:not(.secondary,
|
|
2818
|
+
.ghost,
|
|
2819
|
+
.danger,
|
|
2820
|
+
.close,
|
|
2821
|
+
.link,
|
|
2822
|
+
.gds-filter-chip).disabled,
|
|
2823
|
+
button[type=submit]:not(.secondary,
|
|
2824
|
+
.ghost,
|
|
2825
|
+
.danger,
|
|
2826
|
+
.close,
|
|
2827
|
+
.link,
|
|
2828
|
+
.gds-filter-chip)[aria-disabled=true],
|
|
2829
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled,
|
|
2830
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled,
|
|
2831
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true],
|
|
2832
|
+
a.button.primary:disabled,
|
|
2833
|
+
a.button.primary.disabled,
|
|
2834
|
+
a.button.primary[aria-disabled=true] {
|
|
2835
|
+
background: var(--form-control-primary-bg-disabled) !important;
|
|
2836
|
+
color: var(--text-primary-disabled-color) !important;
|
|
2837
|
+
border-color: var(--border-primary-disabled-color) !important;
|
|
2838
|
+
cursor: not-allowed;
|
|
2839
|
+
}
|
|
2840
|
+
button.primary:disabled::-moz-placeholder, button.primary.disabled::-moz-placeholder, button.primary[aria-disabled=true]::-moz-placeholder, input[type=submit]:disabled::-moz-placeholder, input[type=submit].disabled::-moz-placeholder, input[type=submit][aria-disabled=true]::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2841
|
+
.ghost,
|
|
2842
|
+
.danger,
|
|
2843
|
+
.close,
|
|
2844
|
+
.link,
|
|
2845
|
+
.gds-filter-chip):disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2846
|
+
.ghost,
|
|
2847
|
+
.danger,
|
|
2848
|
+
.close,
|
|
2849
|
+
.link,
|
|
2850
|
+
.gds-filter-chip).disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2851
|
+
.ghost,
|
|
2852
|
+
.danger,
|
|
2853
|
+
.close,
|
|
2854
|
+
.link,
|
|
2855
|
+
.gds-filter-chip)[aria-disabled=true]::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true]::-moz-placeholder, a.button.primary:disabled::-moz-placeholder, a.button.primary.disabled::-moz-placeholder, a.button.primary[aria-disabled=true]::-moz-placeholder {
|
|
2856
|
+
color: var(--text-disabled-color);
|
|
2857
|
+
}
|
|
2858
|
+
button.primary:disabled::placeholder, button.primary.disabled::placeholder, button.primary[aria-disabled=true]::placeholder,
|
|
2859
|
+
input[type=submit]:disabled::placeholder,
|
|
2860
|
+
input[type=submit].disabled::placeholder,
|
|
2861
|
+
input[type=submit][aria-disabled=true]::placeholder,
|
|
2862
|
+
button[type=submit]:not(.secondary,
|
|
2863
|
+
.ghost,
|
|
2864
|
+
.danger,
|
|
2865
|
+
.close,
|
|
2866
|
+
.link,
|
|
2867
|
+
.gds-filter-chip):disabled::placeholder,
|
|
2868
|
+
button[type=submit]:not(.secondary,
|
|
2869
|
+
.ghost,
|
|
2870
|
+
.danger,
|
|
2871
|
+
.close,
|
|
2872
|
+
.link,
|
|
2873
|
+
.gds-filter-chip).disabled::placeholder,
|
|
2874
|
+
button[type=submit]:not(.secondary,
|
|
2875
|
+
.ghost,
|
|
2876
|
+
.danger,
|
|
2877
|
+
.close,
|
|
2878
|
+
.link,
|
|
2879
|
+
.gds-filter-chip)[aria-disabled=true]::placeholder,
|
|
2880
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled::placeholder,
|
|
2881
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled::placeholder,
|
|
2882
|
+
input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true]::placeholder,
|
|
2883
|
+
a.button.primary:disabled::placeholder,
|
|
2884
|
+
a.button.primary.disabled::placeholder,
|
|
2885
|
+
a.button.primary[aria-disabled=true]::placeholder {
|
|
2886
|
+
color: var(--text-disabled-color);
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
button.ghost,
|
|
2890
|
+
.button.ghost {
|
|
2891
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
2892
|
+
border-color: rgb(51, 51, 51);
|
|
2893
|
+
color: rgb(51, 51, 51);
|
|
2894
|
+
--color: rgb(51, 51, 51);
|
|
2895
|
+
}
|
|
2896
|
+
button.ghost:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
2897
|
+
.button.ghost:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
2898
|
+
background-color: rgb(51, 51, 51);
|
|
2899
|
+
color: rgb(255, 255, 255);
|
|
2900
|
+
--background: rgb(51, 51, 51);
|
|
2901
|
+
--color: rgb(255, 255, 255);
|
|
2902
|
+
border-color: rgb(51, 51, 51);
|
|
2903
|
+
}
|
|
2904
|
+
button.ghost[aria-selected], button.ghost:active, button.ghost.active, button.ghost.active:hover, button.ghost:active:hover,
|
|
2905
|
+
.button.ghost[aria-selected],
|
|
2906
|
+
.button.ghost:active,
|
|
2907
|
+
.button.ghost.active,
|
|
2908
|
+
.button.ghost.active:hover,
|
|
2909
|
+
.button.ghost:active:hover {
|
|
2910
|
+
background-color: rgb(51, 51, 51);
|
|
2911
|
+
color: rgb(255, 255, 255);
|
|
2912
|
+
--background: rgb(51, 51, 51);
|
|
2913
|
+
--color: rgb(255, 255, 255);
|
|
2914
|
+
border-color: rgb(51, 51, 51);
|
|
2915
|
+
}
|
|
2916
|
+
button.ghost[aria-selected]:hover, button.ghost.active:hover, button.ghost:active:hover,
|
|
2917
|
+
.button.ghost[aria-selected]:hover,
|
|
2918
|
+
.button.ghost.active:hover,
|
|
2919
|
+
.button.ghost:active:hover {
|
|
2920
|
+
opacity: 0.9;
|
|
2921
|
+
}
|
|
2922
|
+
button.ghost:focus-visible,
|
|
2923
|
+
.button.ghost:focus-visible {
|
|
2924
|
+
background-color: rgb(51, 51, 51);
|
|
2925
|
+
color: rgb(255, 255, 255);
|
|
2926
|
+
--background: rgb(51, 51, 51);
|
|
2927
|
+
--color: rgb(255, 255, 255);
|
|
2928
|
+
border-color: rgb(51, 51, 51) !important;
|
|
2929
|
+
}
|
|
2930
|
+
button.ghost:disabled, button.ghost.disabled, button.ghost[aria-disabled=true],
|
|
2931
|
+
.button.ghost:disabled,
|
|
2932
|
+
.button.ghost.disabled,
|
|
2933
|
+
.button.ghost[aria-disabled=true] {
|
|
2934
|
+
color: var(--text-disabled-color) !important;
|
|
2935
|
+
border-color: var(--border-disabled-color) !important;
|
|
2936
|
+
cursor: not-allowed;
|
|
2937
|
+
}
|
|
2938
|
+
button.ghost:disabled::-moz-placeholder, button.ghost.disabled::-moz-placeholder, button.ghost[aria-disabled=true]::-moz-placeholder, .button.ghost:disabled::-moz-placeholder, .button.ghost.disabled::-moz-placeholder, .button.ghost[aria-disabled=true]::-moz-placeholder {
|
|
2939
|
+
color: var(--text-disabled-color);
|
|
2940
|
+
}
|
|
2941
|
+
button.ghost:disabled::placeholder, button.ghost.disabled::placeholder, button.ghost[aria-disabled=true]::placeholder,
|
|
2942
|
+
.button.ghost:disabled::placeholder,
|
|
2943
|
+
.button.ghost.disabled::placeholder,
|
|
2944
|
+
.button.ghost[aria-disabled=true]::placeholder {
|
|
2945
|
+
color: var(--text-disabled-color);
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
button.icon,
|
|
2949
|
+
.button.icon {
|
|
2950
|
+
background-color: transparent;
|
|
2951
|
+
border: 0.0625rem solid transparent;
|
|
2952
|
+
padding: 0.625rem;
|
|
2953
|
+
height: 2.75rem;
|
|
2954
|
+
width: 2.75rem;
|
|
2955
|
+
min-width: auto;
|
|
2956
|
+
--color: var(--gds-ref-pallet-base800);
|
|
2957
|
+
}
|
|
2958
|
+
.form-group button.icon,
|
|
2959
|
+
.form-group .button.icon {
|
|
2960
|
+
margin-top: -0.625rem;
|
|
2961
|
+
}
|
|
2962
|
+
button.icon.small,
|
|
2963
|
+
.button.icon.small {
|
|
2964
|
+
height: 2rem;
|
|
2965
|
+
width: 2rem;
|
|
2966
|
+
padding: 0.4375rem;
|
|
2967
|
+
line-height: 1.125rem;
|
|
2968
|
+
}
|
|
2969
|
+
button.icon svg,
|
|
2970
|
+
.button.icon svg {
|
|
2971
|
+
height: 1rem;
|
|
2972
|
+
width: 1rem;
|
|
2973
|
+
}
|
|
2974
|
+
button.icon path,
|
|
2975
|
+
button.icon line,
|
|
2976
|
+
button.icon circle,
|
|
2977
|
+
button.icon rect,
|
|
2978
|
+
button.icon ellipse,
|
|
2979
|
+
button.icon polyline,
|
|
2980
|
+
button.icon text,
|
|
2981
|
+
.button.icon path,
|
|
2982
|
+
.button.icon line,
|
|
2983
|
+
.button.icon circle,
|
|
2984
|
+
.button.icon rect,
|
|
2985
|
+
.button.icon ellipse,
|
|
2986
|
+
.button.icon polyline,
|
|
2987
|
+
.button.icon text {
|
|
2988
|
+
fill: var(--gds-ref-pallet-base800);
|
|
2989
|
+
stroke: var(--gds-ref-pallet-base800);
|
|
2990
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
|
2991
|
+
}
|
|
2992
|
+
button.icon:hover, button.icon.highlighted,
|
|
2993
|
+
.button.icon:hover,
|
|
2994
|
+
.button.icon.highlighted {
|
|
2995
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
2996
|
+
border-color: transparent;
|
|
2997
|
+
}
|
|
2998
|
+
button.icon:active, button.icon.highlighted:hover,
|
|
2999
|
+
.button.icon:active,
|
|
3000
|
+
.button.icon.highlighted:hover {
|
|
3001
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
3002
|
+
border-color: transparent;
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
button.primary.danger,
|
|
3006
|
+
.button.primary.danger,
|
|
3007
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link),
|
|
3008
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link) {
|
|
3009
|
+
background: rgb(187, 0, 12);
|
|
3010
|
+
border-color: rgb(187, 0, 12);
|
|
3011
|
+
color: #fff;
|
|
3012
|
+
--color: #fff;
|
|
3013
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
3014
|
+
}
|
|
3015
|
+
button.primary.danger:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3016
|
+
.button.primary.danger:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3017
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3018
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):not(:disabled, .disabled, [aria-disabled]):hover {
|
|
3019
|
+
background-color: rgb(216, 26, 26);
|
|
3020
|
+
color: rgb(255, 255, 255);
|
|
3021
|
+
--background: rgb(216, 26, 26);
|
|
3022
|
+
--color: rgb(255, 255, 255);
|
|
3023
|
+
border-color: rgb(216, 26, 26);
|
|
3024
|
+
}
|
|
3025
|
+
button.primary.danger[aria-selected], button.primary.danger:active, button.primary.danger.active, button.primary.danger.active:hover, button.primary.danger:active:hover,
|
|
3026
|
+
.button.primary.danger[aria-selected],
|
|
3027
|
+
.button.primary.danger:active,
|
|
3028
|
+
.button.primary.danger.active,
|
|
3029
|
+
.button.primary.danger.active:hover,
|
|
3030
|
+
.button.primary.danger:active:hover,
|
|
3031
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected],
|
|
3032
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):active,
|
|
3033
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link).active,
|
|
3034
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
3035
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):active:hover,
|
|
3036
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected],
|
|
3037
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):active,
|
|
3038
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link).active,
|
|
3039
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
3040
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):active:hover {
|
|
3041
|
+
background-color: rgb(187, 0, 12);
|
|
3042
|
+
color: rgb(255, 255, 255);
|
|
3043
|
+
--background: rgb(187, 0, 12);
|
|
3044
|
+
--color: rgb(255, 255, 255);
|
|
3045
|
+
border-color: rgb(187, 0, 12);
|
|
3046
|
+
}
|
|
3047
|
+
button.primary.danger[aria-selected]:hover, button.primary.danger.active:hover, button.primary.danger:active:hover,
|
|
3048
|
+
.button.primary.danger[aria-selected]:hover,
|
|
3049
|
+
.button.primary.danger.active:hover,
|
|
3050
|
+
.button.primary.danger:active:hover,
|
|
3051
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected]:hover,
|
|
3052
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
3053
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):active:hover,
|
|
3054
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-selected]:hover,
|
|
3055
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link).active:hover,
|
|
3056
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):active:hover {
|
|
3057
|
+
opacity: 0.9;
|
|
3058
|
+
}
|
|
3059
|
+
button.primary.danger:focus:not(:focus-visible),
|
|
3060
|
+
.button.primary.danger:focus:not(:focus-visible),
|
|
3061
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):focus:not(:focus-visible),
|
|
3062
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):focus:not(:focus-visible) {
|
|
3063
|
+
box-shadow: none;
|
|
3064
|
+
outline: 0;
|
|
3065
|
+
}
|
|
3066
|
+
button.primary.danger:focus, button.primary.danger:focus-visible,
|
|
3067
|
+
.button.primary.danger:focus,
|
|
3068
|
+
.button.primary.danger:focus-visible,
|
|
3069
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):focus,
|
|
3070
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):focus-visible,
|
|
3071
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):focus,
|
|
3072
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):focus-visible {
|
|
3073
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
3074
|
+
outline-style: solid;
|
|
3075
|
+
outline-width: 0.125rem;
|
|
3076
|
+
outline-offset: 0.125rem;
|
|
3077
|
+
}
|
|
3078
|
+
button.primary.danger:disabled, button.primary.danger.disabled, button.primary.danger[aria-disabled=true],
|
|
3079
|
+
.button.primary.danger:disabled,
|
|
3080
|
+
.button.primary.danger.disabled,
|
|
3081
|
+
.button.primary.danger[aria-disabled=true],
|
|
3082
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled,
|
|
3083
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled,
|
|
3084
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true],
|
|
3085
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled,
|
|
3086
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled,
|
|
3087
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true] {
|
|
3088
|
+
background: var(--form-control-primary-bg-disabled) !important;
|
|
3089
|
+
color: var(--text-primary-disabled-color) !important;
|
|
3090
|
+
border-color: var(--border-primary-disabled-color) !important;
|
|
3091
|
+
cursor: not-allowed;
|
|
3092
|
+
}
|
|
3093
|
+
button.primary.danger:disabled::-moz-placeholder, button.primary.danger.disabled::-moz-placeholder, button.primary.danger[aria-disabled=true]::-moz-placeholder, .button.primary.danger:disabled::-moz-placeholder, .button.primary.danger.disabled::-moz-placeholder, .button.primary.danger[aria-disabled=true]::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder {
|
|
3094
|
+
color: var(--text-disabled-color);
|
|
3095
|
+
}
|
|
3096
|
+
button.primary.danger:disabled::placeholder, button.primary.danger.disabled::placeholder, button.primary.danger[aria-disabled=true]::placeholder,
|
|
3097
|
+
.button.primary.danger:disabled::placeholder,
|
|
3098
|
+
.button.primary.danger.disabled::placeholder,
|
|
3099
|
+
.button.primary.danger[aria-disabled=true]::placeholder,
|
|
3100
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::placeholder,
|
|
3101
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::placeholder,
|
|
3102
|
+
button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::placeholder,
|
|
3103
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::placeholder,
|
|
3104
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::placeholder,
|
|
3105
|
+
input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::placeholder {
|
|
3106
|
+
color: var(--text-disabled-color);
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
button.danger:where(:not(.primary,
|
|
3110
|
+
.tertiary,
|
|
3111
|
+
.ghost,
|
|
3112
|
+
.close,
|
|
3113
|
+
.sg-table-sort,
|
|
3114
|
+
.link,
|
|
3115
|
+
[aria-haspopup=listbox],
|
|
3116
|
+
[aria-haspopup=menu],
|
|
3117
|
+
[role=switch])),
|
|
3118
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)),
|
|
3119
|
+
button.secondary.danger,
|
|
3120
|
+
a.button.secondary.danger,
|
|
3121
|
+
input.danger:is([type=button], [type=reset]),
|
|
3122
|
+
button[type=button].danger:where(:not(.primary,
|
|
3123
|
+
.tertiary,
|
|
3124
|
+
.ghost,
|
|
3125
|
+
.danger,
|
|
3126
|
+
.close,
|
|
3127
|
+
.link,
|
|
3128
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3129
|
+
[aria-haspopup=menu])),
|
|
3130
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)) {
|
|
3131
|
+
color: rgb(187, 0, 12);
|
|
3132
|
+
--color: rgb(187, 0, 12);
|
|
3133
|
+
border-color: transparent;
|
|
3134
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
3135
|
+
}
|
|
3136
|
+
button.danger:where(:not(.primary,
|
|
3137
|
+
.tertiary,
|
|
3138
|
+
.ghost,
|
|
3139
|
+
.close,
|
|
3140
|
+
.sg-table-sort,
|
|
3141
|
+
.link,
|
|
3142
|
+
[aria-haspopup=listbox],
|
|
3143
|
+
[aria-haspopup=menu],
|
|
3144
|
+
[role=switch])):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3145
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3146
|
+
button.secondary.danger:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3147
|
+
a.button.secondary.danger:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3148
|
+
input.danger:is([type=button], [type=reset]):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3149
|
+
button[type=button].danger:where(:not(.primary,
|
|
3150
|
+
.tertiary,
|
|
3151
|
+
.ghost,
|
|
3152
|
+
.danger,
|
|
3153
|
+
.close,
|
|
3154
|
+
.link,
|
|
3155
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3156
|
+
[aria-haspopup=menu])):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3157
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover {
|
|
3158
|
+
background-color: rgb(216, 26, 26);
|
|
3159
|
+
color: rgb(255, 255, 255);
|
|
3160
|
+
--background: rgb(216, 26, 26);
|
|
3161
|
+
--color: rgb(255, 255, 255);
|
|
3162
|
+
border-color: rgb(216, 26, 26);
|
|
3163
|
+
}
|
|
3164
|
+
button.danger:where(:not(.primary,
|
|
3165
|
+
.tertiary,
|
|
3166
|
+
.ghost,
|
|
3167
|
+
.close,
|
|
3168
|
+
.sg-table-sort,
|
|
3169
|
+
.link,
|
|
3170
|
+
[aria-haspopup=listbox],
|
|
3171
|
+
[aria-haspopup=menu],
|
|
3172
|
+
[role=switch]))[aria-selected], button.danger:where(:not(.primary,
|
|
3173
|
+
.tertiary,
|
|
3174
|
+
.ghost,
|
|
3175
|
+
.close,
|
|
3176
|
+
.sg-table-sort,
|
|
3177
|
+
.link,
|
|
3178
|
+
[aria-haspopup=listbox],
|
|
3179
|
+
[aria-haspopup=menu],
|
|
3180
|
+
[role=switch])):active, button.danger:where(:not(.primary,
|
|
3181
|
+
.tertiary,
|
|
3182
|
+
.ghost,
|
|
3183
|
+
.close,
|
|
3184
|
+
.sg-table-sort,
|
|
3185
|
+
.link,
|
|
3186
|
+
[aria-haspopup=listbox],
|
|
3187
|
+
[aria-haspopup=menu],
|
|
3188
|
+
[role=switch])).active, button.danger:where(:not(.primary,
|
|
3189
|
+
.tertiary,
|
|
3190
|
+
.ghost,
|
|
3191
|
+
.close,
|
|
3192
|
+
.sg-table-sort,
|
|
3193
|
+
.link,
|
|
3194
|
+
[aria-haspopup=listbox],
|
|
3195
|
+
[aria-haspopup=menu],
|
|
3196
|
+
[role=switch])).active:hover, button.danger:where(:not(.primary,
|
|
3197
|
+
.tertiary,
|
|
3198
|
+
.ghost,
|
|
3199
|
+
.close,
|
|
3200
|
+
.sg-table-sort,
|
|
3201
|
+
.link,
|
|
3202
|
+
[aria-haspopup=listbox],
|
|
3203
|
+
[aria-haspopup=menu],
|
|
3204
|
+
[role=switch])):active:hover,
|
|
3205
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link))[aria-selected],
|
|
3206
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):active,
|
|
3207
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)).active,
|
|
3208
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)).active:hover,
|
|
3209
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):active:hover,
|
|
3210
|
+
button.secondary.danger[aria-selected],
|
|
3211
|
+
button.secondary.danger:active,
|
|
3212
|
+
button.secondary.danger.active,
|
|
3213
|
+
button.secondary.danger.active:hover,
|
|
3214
|
+
button.secondary.danger:active:hover,
|
|
3215
|
+
a.button.secondary.danger[aria-selected],
|
|
3216
|
+
a.button.secondary.danger:active,
|
|
3217
|
+
a.button.secondary.danger.active,
|
|
3218
|
+
a.button.secondary.danger.active:hover,
|
|
3219
|
+
a.button.secondary.danger:active:hover,
|
|
3220
|
+
input.danger:is([type=button], [type=reset])[aria-selected],
|
|
3221
|
+
input.danger:is([type=button], [type=reset]):active,
|
|
3222
|
+
input.danger:is([type=button], [type=reset]).active,
|
|
3223
|
+
input.danger:is([type=button], [type=reset]).active:hover,
|
|
3224
|
+
input.danger:is([type=button], [type=reset]):active:hover,
|
|
3225
|
+
button[type=button].danger:where(:not(.primary,
|
|
3226
|
+
.tertiary,
|
|
3227
|
+
.ghost,
|
|
3228
|
+
.danger,
|
|
3229
|
+
.close,
|
|
3230
|
+
.link,
|
|
3231
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3232
|
+
[aria-haspopup=menu]))[aria-selected],
|
|
3233
|
+
button[type=button].danger:where(:not(.primary,
|
|
3234
|
+
.tertiary,
|
|
3235
|
+
.ghost,
|
|
3236
|
+
.danger,
|
|
3237
|
+
.close,
|
|
3238
|
+
.link,
|
|
3239
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3240
|
+
[aria-haspopup=menu])):active,
|
|
3241
|
+
button[type=button].danger:where(:not(.primary,
|
|
3242
|
+
.tertiary,
|
|
3243
|
+
.ghost,
|
|
3244
|
+
.danger,
|
|
3245
|
+
.close,
|
|
3246
|
+
.link,
|
|
3247
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3248
|
+
[aria-haspopup=menu])).active,
|
|
3249
|
+
button[type=button].danger:where(:not(.primary,
|
|
3250
|
+
.tertiary,
|
|
3251
|
+
.ghost,
|
|
3252
|
+
.danger,
|
|
3253
|
+
.close,
|
|
3254
|
+
.link,
|
|
3255
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3256
|
+
[aria-haspopup=menu])).active:hover,
|
|
3257
|
+
button[type=button].danger:where(:not(.primary,
|
|
3258
|
+
.tertiary,
|
|
3259
|
+
.ghost,
|
|
3260
|
+
.danger,
|
|
3261
|
+
.close,
|
|
3262
|
+
.link,
|
|
3263
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3264
|
+
[aria-haspopup=menu])):active:hover,
|
|
3265
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected],
|
|
3266
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active,
|
|
3267
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active,
|
|
3268
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
3269
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active:hover {
|
|
3270
|
+
background-color: rgb(187, 0, 12);
|
|
3271
|
+
color: rgb(255, 255, 255);
|
|
3272
|
+
--background: rgb(187, 0, 12);
|
|
3273
|
+
--color: rgb(255, 255, 255);
|
|
3274
|
+
border-color: rgb(187, 0, 12);
|
|
3275
|
+
}
|
|
3276
|
+
button.danger:where(:not(.primary,
|
|
3277
|
+
.tertiary,
|
|
3278
|
+
.ghost,
|
|
3279
|
+
.close,
|
|
3280
|
+
.sg-table-sort,
|
|
3281
|
+
.link,
|
|
3282
|
+
[aria-haspopup=listbox],
|
|
3283
|
+
[aria-haspopup=menu],
|
|
3284
|
+
[role=switch]))[aria-selected]:hover, button.danger:where(:not(.primary,
|
|
3285
|
+
.tertiary,
|
|
3286
|
+
.ghost,
|
|
3287
|
+
.close,
|
|
3288
|
+
.sg-table-sort,
|
|
3289
|
+
.link,
|
|
3290
|
+
[aria-haspopup=listbox],
|
|
3291
|
+
[aria-haspopup=menu],
|
|
3292
|
+
[role=switch])).active:hover, button.danger:where(:not(.primary,
|
|
3293
|
+
.tertiary,
|
|
3294
|
+
.ghost,
|
|
3295
|
+
.close,
|
|
3296
|
+
.sg-table-sort,
|
|
3297
|
+
.link,
|
|
3298
|
+
[aria-haspopup=listbox],
|
|
3299
|
+
[aria-haspopup=menu],
|
|
3300
|
+
[role=switch])):active:hover,
|
|
3301
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link))[aria-selected]:hover,
|
|
3302
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)).active:hover,
|
|
3303
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):active:hover,
|
|
3304
|
+
button.secondary.danger[aria-selected]:hover,
|
|
3305
|
+
button.secondary.danger.active:hover,
|
|
3306
|
+
button.secondary.danger:active:hover,
|
|
3307
|
+
a.button.secondary.danger[aria-selected]:hover,
|
|
3308
|
+
a.button.secondary.danger.active:hover,
|
|
3309
|
+
a.button.secondary.danger:active:hover,
|
|
3310
|
+
input.danger:is([type=button], [type=reset])[aria-selected]:hover,
|
|
3311
|
+
input.danger:is([type=button], [type=reset]).active:hover,
|
|
3312
|
+
input.danger:is([type=button], [type=reset]):active:hover,
|
|
3313
|
+
button[type=button].danger:where(:not(.primary,
|
|
3314
|
+
.tertiary,
|
|
3315
|
+
.ghost,
|
|
3316
|
+
.danger,
|
|
3317
|
+
.close,
|
|
3318
|
+
.link,
|
|
3319
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3320
|
+
[aria-haspopup=menu]))[aria-selected]:hover,
|
|
3321
|
+
button[type=button].danger:where(:not(.primary,
|
|
3322
|
+
.tertiary,
|
|
3323
|
+
.ghost,
|
|
3324
|
+
.danger,
|
|
3325
|
+
.close,
|
|
3326
|
+
.link,
|
|
3327
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3328
|
+
[aria-haspopup=menu])).active:hover,
|
|
3329
|
+
button[type=button].danger:where(:not(.primary,
|
|
3330
|
+
.tertiary,
|
|
3331
|
+
.ghost,
|
|
3332
|
+
.danger,
|
|
3333
|
+
.close,
|
|
3334
|
+
.link,
|
|
3335
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3336
|
+
[aria-haspopup=menu])):active:hover,
|
|
3337
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-selected]:hover,
|
|
3338
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).active:hover,
|
|
3339
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):active:hover {
|
|
3340
|
+
opacity: 0.9;
|
|
3341
|
+
}
|
|
3342
|
+
button.danger:where(:not(.primary,
|
|
3343
|
+
.tertiary,
|
|
3344
|
+
.ghost,
|
|
3345
|
+
.close,
|
|
3346
|
+
.sg-table-sort,
|
|
3347
|
+
.link,
|
|
3348
|
+
[aria-haspopup=listbox],
|
|
3349
|
+
[aria-haspopup=menu],
|
|
3350
|
+
[role=switch])):focus:not(:focus-visible),
|
|
3351
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):focus:not(:focus-visible),
|
|
3352
|
+
button.secondary.danger:focus:not(:focus-visible),
|
|
3353
|
+
a.button.secondary.danger:focus:not(:focus-visible),
|
|
3354
|
+
input.danger:is([type=button], [type=reset]):focus:not(:focus-visible),
|
|
3355
|
+
button[type=button].danger:where(:not(.primary,
|
|
3356
|
+
.tertiary,
|
|
3357
|
+
.ghost,
|
|
3358
|
+
.danger,
|
|
3359
|
+
.close,
|
|
3360
|
+
.link,
|
|
3361
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3362
|
+
[aria-haspopup=menu])):focus:not(:focus-visible),
|
|
3363
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus:not(:focus-visible) {
|
|
3364
|
+
box-shadow: none;
|
|
3365
|
+
outline: 0;
|
|
3366
|
+
}
|
|
3367
|
+
button.danger:where(:not(.primary,
|
|
3368
|
+
.tertiary,
|
|
3369
|
+
.ghost,
|
|
3370
|
+
.close,
|
|
3371
|
+
.sg-table-sort,
|
|
3372
|
+
.link,
|
|
3373
|
+
[aria-haspopup=listbox],
|
|
3374
|
+
[aria-haspopup=menu],
|
|
3375
|
+
[role=switch])):focus, button.danger:where(:not(.primary,
|
|
3376
|
+
.tertiary,
|
|
3377
|
+
.ghost,
|
|
3378
|
+
.close,
|
|
3379
|
+
.sg-table-sort,
|
|
3380
|
+
.link,
|
|
3381
|
+
[aria-haspopup=listbox],
|
|
3382
|
+
[aria-haspopup=menu],
|
|
3383
|
+
[role=switch])):focus-visible,
|
|
3384
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):focus,
|
|
3385
|
+
a.button.danger:where(:not(.primary, .tertiary, .ghost, .close, .link)):focus-visible,
|
|
3386
|
+
button.secondary.danger:focus,
|
|
3387
|
+
button.secondary.danger:focus-visible,
|
|
3388
|
+
a.button.secondary.danger:focus,
|
|
3389
|
+
a.button.secondary.danger:focus-visible,
|
|
3390
|
+
input.danger:is([type=button], [type=reset]):focus,
|
|
3391
|
+
input.danger:is([type=button], [type=reset]):focus-visible,
|
|
3392
|
+
button[type=button].danger:where(:not(.primary,
|
|
3393
|
+
.tertiary,
|
|
3394
|
+
.ghost,
|
|
3395
|
+
.danger,
|
|
3396
|
+
.close,
|
|
3397
|
+
.link,
|
|
3398
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3399
|
+
[aria-haspopup=menu])):focus,
|
|
3400
|
+
button[type=button].danger:where(:not(.primary,
|
|
3401
|
+
.tertiary,
|
|
3402
|
+
.ghost,
|
|
3403
|
+
.danger,
|
|
3404
|
+
.close,
|
|
3405
|
+
.link,
|
|
3406
|
+
.gds-filter-chip [aria-haspopup=listbox],
|
|
3407
|
+
[aria-haspopup=menu])):focus-visible,
|
|
3408
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus,
|
|
3409
|
+
button[type=reset].danger:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):focus-visible {
|
|
3410
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
3411
|
+
outline-style: solid;
|
|
3412
|
+
outline-width: 0.125rem;
|
|
3413
|
+
outline-offset: 0.125rem;
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
button.danger:where(:not(.primary,
|
|
3417
|
+
.secondary,
|
|
3418
|
+
.ghost,
|
|
3419
|
+
.close,
|
|
3420
|
+
.sg-table-sort,
|
|
3421
|
+
.link,
|
|
3422
|
+
[aria-haspopup=listbox],
|
|
3423
|
+
[aria-haspopup=menu],
|
|
3424
|
+
[role=switch])),
|
|
3425
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)),
|
|
3426
|
+
button.tertiary.danger,
|
|
3427
|
+
a.button.tertiary.danger {
|
|
3428
|
+
color: rgb(187, 0, 12);
|
|
3429
|
+
--color: rgb(187, 0, 12);
|
|
3430
|
+
border-color: transparent;
|
|
3431
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
3432
|
+
}
|
|
3433
|
+
button.danger:where(:not(.primary,
|
|
3434
|
+
.secondary,
|
|
3435
|
+
.ghost,
|
|
3436
|
+
.close,
|
|
3437
|
+
.sg-table-sort,
|
|
3438
|
+
.link,
|
|
3439
|
+
[aria-haspopup=listbox],
|
|
3440
|
+
[aria-haspopup=menu],
|
|
3441
|
+
[role=switch])):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3442
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3443
|
+
button.tertiary.danger:not(:disabled, .disabled, [aria-disabled]):hover,
|
|
3444
|
+
a.button.tertiary.danger:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
3445
|
+
background-color: rgb(216, 26, 26);
|
|
3446
|
+
color: rgb(255, 255, 255);
|
|
3447
|
+
--background: rgb(216, 26, 26);
|
|
3448
|
+
--color: rgb(255, 255, 255);
|
|
3449
|
+
border-color: rgb(216, 26, 26);
|
|
3450
|
+
}
|
|
3451
|
+
button.danger:where(:not(.primary,
|
|
3452
|
+
.secondary,
|
|
3453
|
+
.ghost,
|
|
3454
|
+
.close,
|
|
3455
|
+
.sg-table-sort,
|
|
3456
|
+
.link,
|
|
3457
|
+
[aria-haspopup=listbox],
|
|
3458
|
+
[aria-haspopup=menu],
|
|
3459
|
+
[role=switch]))[aria-selected], button.danger:where(:not(.primary,
|
|
3460
|
+
.secondary,
|
|
3461
|
+
.ghost,
|
|
3462
|
+
.close,
|
|
3463
|
+
.sg-table-sort,
|
|
3464
|
+
.link,
|
|
3465
|
+
[aria-haspopup=listbox],
|
|
3466
|
+
[aria-haspopup=menu],
|
|
3467
|
+
[role=switch])):active, button.danger:where(:not(.primary,
|
|
3468
|
+
.secondary,
|
|
3469
|
+
.ghost,
|
|
3470
|
+
.close,
|
|
3471
|
+
.sg-table-sort,
|
|
3472
|
+
.link,
|
|
3473
|
+
[aria-haspopup=listbox],
|
|
3474
|
+
[aria-haspopup=menu],
|
|
3475
|
+
[role=switch])).active, button.danger:where(:not(.primary,
|
|
3476
|
+
.secondary,
|
|
3477
|
+
.ghost,
|
|
3478
|
+
.close,
|
|
3479
|
+
.sg-table-sort,
|
|
3480
|
+
.link,
|
|
3481
|
+
[aria-haspopup=listbox],
|
|
3482
|
+
[aria-haspopup=menu],
|
|
3483
|
+
[role=switch])).active:hover, button.danger:where(:not(.primary,
|
|
3484
|
+
.secondary,
|
|
3485
|
+
.ghost,
|
|
3486
|
+
.close,
|
|
3487
|
+
.sg-table-sort,
|
|
3488
|
+
.link,
|
|
3489
|
+
[aria-haspopup=listbox],
|
|
3490
|
+
[aria-haspopup=menu],
|
|
3491
|
+
[role=switch])):active:hover,
|
|
3492
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected],
|
|
3493
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):active,
|
|
3494
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)).active,
|
|
3495
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)).active:hover,
|
|
3496
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):active:hover,
|
|
3497
|
+
button.tertiary.danger[aria-selected],
|
|
3498
|
+
button.tertiary.danger:active,
|
|
3499
|
+
button.tertiary.danger.active,
|
|
3500
|
+
button.tertiary.danger.active:hover,
|
|
3501
|
+
button.tertiary.danger:active:hover,
|
|
3502
|
+
a.button.tertiary.danger[aria-selected],
|
|
3503
|
+
a.button.tertiary.danger:active,
|
|
3504
|
+
a.button.tertiary.danger.active,
|
|
3505
|
+
a.button.tertiary.danger.active:hover,
|
|
3506
|
+
a.button.tertiary.danger:active:hover {
|
|
3507
|
+
background-color: rgb(187, 0, 12);
|
|
3508
|
+
color: rgb(255, 255, 255);
|
|
3509
|
+
--background: rgb(187, 0, 12);
|
|
3510
|
+
--color: rgb(255, 255, 255);
|
|
3511
|
+
border-color: rgb(187, 0, 12);
|
|
3512
|
+
}
|
|
3513
|
+
button.danger:where(:not(.primary,
|
|
3514
|
+
.secondary,
|
|
3515
|
+
.ghost,
|
|
3516
|
+
.close,
|
|
3517
|
+
.sg-table-sort,
|
|
3518
|
+
.link,
|
|
3519
|
+
[aria-haspopup=listbox],
|
|
3520
|
+
[aria-haspopup=menu],
|
|
3521
|
+
[role=switch]))[aria-selected]:hover, button.danger:where(:not(.primary,
|
|
3522
|
+
.secondary,
|
|
3523
|
+
.ghost,
|
|
3524
|
+
.close,
|
|
3525
|
+
.sg-table-sort,
|
|
3526
|
+
.link,
|
|
3527
|
+
[aria-haspopup=listbox],
|
|
3528
|
+
[aria-haspopup=menu],
|
|
3529
|
+
[role=switch])).active:hover, button.danger:where(:not(.primary,
|
|
3530
|
+
.secondary,
|
|
3531
|
+
.ghost,
|
|
3532
|
+
.close,
|
|
3533
|
+
.sg-table-sort,
|
|
3534
|
+
.link,
|
|
3535
|
+
[aria-haspopup=listbox],
|
|
3536
|
+
[aria-haspopup=menu],
|
|
3537
|
+
[role=switch])):active:hover,
|
|
3538
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-selected]:hover,
|
|
3539
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)).active:hover,
|
|
3540
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):active:hover,
|
|
3541
|
+
button.tertiary.danger[aria-selected]:hover,
|
|
3542
|
+
button.tertiary.danger.active:hover,
|
|
3543
|
+
button.tertiary.danger:active:hover,
|
|
3544
|
+
a.button.tertiary.danger[aria-selected]:hover,
|
|
3545
|
+
a.button.tertiary.danger.active:hover,
|
|
3546
|
+
a.button.tertiary.danger:active:hover {
|
|
3547
|
+
opacity: 0.9;
|
|
3548
|
+
}
|
|
3549
|
+
button.danger:where(:not(.primary,
|
|
3550
|
+
.secondary,
|
|
3551
|
+
.ghost,
|
|
3552
|
+
.close,
|
|
3553
|
+
.sg-table-sort,
|
|
3554
|
+
.link,
|
|
3555
|
+
[aria-haspopup=listbox],
|
|
3556
|
+
[aria-haspopup=menu],
|
|
3557
|
+
[role=switch])):focus:not(:focus-visible),
|
|
3558
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):focus:not(:focus-visible),
|
|
3559
|
+
button.tertiary.danger:focus:not(:focus-visible),
|
|
3560
|
+
a.button.tertiary.danger:focus:not(:focus-visible) {
|
|
3561
|
+
box-shadow: none;
|
|
3562
|
+
outline: 0;
|
|
3563
|
+
}
|
|
3564
|
+
button.danger:where(:not(.primary,
|
|
3565
|
+
.secondary,
|
|
3566
|
+
.ghost,
|
|
3567
|
+
.close,
|
|
3568
|
+
.sg-table-sort,
|
|
3569
|
+
.link,
|
|
3570
|
+
[aria-haspopup=listbox],
|
|
3571
|
+
[aria-haspopup=menu],
|
|
3572
|
+
[role=switch])):focus, button.danger:where(:not(.primary,
|
|
3573
|
+
.secondary,
|
|
3574
|
+
.ghost,
|
|
3575
|
+
.close,
|
|
3576
|
+
.sg-table-sort,
|
|
3577
|
+
.link,
|
|
3578
|
+
[aria-haspopup=listbox],
|
|
3579
|
+
[aria-haspopup=menu],
|
|
3580
|
+
[role=switch])):focus-visible,
|
|
3581
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):focus,
|
|
3582
|
+
a.button.danger:where(:not(.primary, .secondary, .ghost, .close, .link)):focus-visible,
|
|
3583
|
+
button.tertiary.danger:focus,
|
|
3584
|
+
button.tertiary.danger:focus-visible,
|
|
3585
|
+
a.button.tertiary.danger:focus,
|
|
3586
|
+
a.button.tertiary.danger:focus-visible {
|
|
3587
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
3588
|
+
outline-style: solid;
|
|
3589
|
+
outline-width: 0.125rem;
|
|
3590
|
+
outline-offset: 0.125rem;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
.close {
|
|
3594
|
+
/* smartphones, touchscreens */
|
|
3595
|
+
font-size: 0;
|
|
3596
|
+
background: hsla(var(--background-hsl), 0);
|
|
3597
|
+
border: 0;
|
|
3598
|
+
border-radius: 50%;
|
|
3599
|
+
content: "";
|
|
3600
|
+
cursor: pointer;
|
|
3601
|
+
display: flex;
|
|
3602
|
+
font-family: inherit;
|
|
3603
|
+
height: 2rem;
|
|
3604
|
+
position: relative;
|
|
3605
|
+
width: 2rem;
|
|
3606
|
+
}
|
|
3607
|
+
@media (hover: none) and (pointer: coarse) {
|
|
3608
|
+
.close:not(:disabled):not(.disabled) {
|
|
3609
|
+
padding: 0.375rem;
|
|
3610
|
+
height: 2.75rem;
|
|
3611
|
+
width: 2.75rem;
|
|
3612
|
+
}
|
|
3613
|
+
.close:not(:disabled):not(.disabled) > i {
|
|
3614
|
+
background: var(--gds-ref-pallet-base200);
|
|
3615
|
+
height: 2rem;
|
|
3616
|
+
width: 2rem;
|
|
3617
|
+
border-radius: 50%;
|
|
3618
|
+
position: relative;
|
|
3619
|
+
--color: var(--gds-sys-color-base);
|
|
3620
|
+
}
|
|
3621
|
+
.close:not(:disabled):not(.disabled) > div::after, .close:not(:disabled):not(.disabled) > div::before {
|
|
3622
|
+
height: 0.789375rem;
|
|
3623
|
+
width: 0.130625rem;
|
|
3624
|
+
top: 0.625rem;
|
|
3625
|
+
}
|
|
3626
|
+
}
|
|
3627
|
+
.close:focus:not(:focus-visible) {
|
|
3628
|
+
box-shadow: none;
|
|
3629
|
+
outline: 0;
|
|
3630
|
+
}
|
|
3631
|
+
.close:focus, .close:focus-visible i {
|
|
3632
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
3633
|
+
outline-style: solid;
|
|
3634
|
+
outline-width: 0.125rem;
|
|
3635
|
+
outline-offset: 0.125rem;
|
|
3636
|
+
}
|
|
3637
|
+
.close > i {
|
|
3638
|
+
border-radius: var(--gds-sys-shape-corner-round);
|
|
3639
|
+
display: block;
|
|
3640
|
+
width: 100%;
|
|
3641
|
+
height: 100%;
|
|
3642
|
+
}
|
|
3643
|
+
.close > i::after, .close > i::before {
|
|
3644
|
+
background: var(--gds-sys-color-font);
|
|
3645
|
+
content: "";
|
|
3646
|
+
display: block;
|
|
3647
|
+
height: 0.789375rem;
|
|
3648
|
+
width: 0.130625rem;
|
|
3649
|
+
border-radius: 0.5px;
|
|
3650
|
+
left: calc(50% - 0.0625rem);
|
|
3651
|
+
position: absolute;
|
|
3652
|
+
top: 0.625rem;
|
|
3653
|
+
}
|
|
3654
|
+
.close > i::after {
|
|
3655
|
+
transform: rotateZ(45deg);
|
|
3656
|
+
}
|
|
3657
|
+
.close > i::before {
|
|
3658
|
+
transform: rotateZ(-45deg);
|
|
3659
|
+
}
|
|
3660
|
+
.close > svg path {
|
|
3661
|
+
fill: var(--gds-sys-color-font);
|
|
3662
|
+
}
|
|
3663
|
+
@media (min-width: 48em) {
|
|
3664
|
+
.close:not(:disabled, .disabled):hover > i {
|
|
3665
|
+
background: color-mix(in srgb, var(--gds-sys-color-font) 10%, transparent);
|
|
3666
|
+
}
|
|
3667
|
+
.close:not(:disabled, .disabled):hover:active > i {
|
|
3668
|
+
background: color-mix(in srgb, var(--gds-sys-color-font) 20%, transparent);
|
|
3669
|
+
}
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
@layer base, reset, transitional-styles;
|
|
3673
|
+
@layer transitional-styles {
|
|
3674
|
+
:host([open]) dialog {
|
|
3675
|
+
box-sizing: border-box;
|
|
3676
|
+
opacity: 1;
|
|
3677
|
+
transform: translate3d(0, 0, 0);
|
|
3678
|
+
visibility: visible;
|
|
3679
|
+
}
|
|
3680
|
+
header {
|
|
3681
|
+
display: flex;
|
|
3682
|
+
}
|
|
3683
|
+
@media (min-width: 36em) {
|
|
3684
|
+
header {
|
|
3685
|
+
display: none;
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
header button.close {
|
|
3689
|
+
margin: 0;
|
|
3690
|
+
padding: 0;
|
|
3691
|
+
}
|
|
3692
|
+
header h2 {
|
|
3693
|
+
flex-grow: 1;
|
|
3694
|
+
font-weight: 400;
|
|
3695
|
+
line-height: 1.5;
|
|
3696
|
+
margin: 0.25rem 0 0 0.75rem;
|
|
3697
|
+
}
|
|
3698
|
+
dialog {
|
|
3699
|
+
--z-index: var(--sg-z-index-popover);
|
|
3700
|
+
max-height: calc(100% - 1rem);
|
|
3701
|
+
background-color: var(--sg-popover-background);
|
|
3702
|
+
display: flex;
|
|
3703
|
+
flex-direction: column;
|
|
3704
|
+
justify-content: flex-end;
|
|
3705
|
+
opacity: 0;
|
|
3706
|
+
position: fixed;
|
|
3707
|
+
visibility: hidden;
|
|
3708
|
+
z-index: var(--z-index);
|
|
3709
|
+
color: var(--text-primary-color);
|
|
3710
|
+
inset: 0;
|
|
3711
|
+
overflow: hidden;
|
|
3712
|
+
padding: 0;
|
|
3713
|
+
right: 0;
|
|
3714
|
+
}
|
|
3715
|
+
@media (max-width: 35.98em) {
|
|
3716
|
+
dialog {
|
|
3717
|
+
border-top: solid var(--sg-border-width) var(--sg-border-color);
|
|
3718
|
+
--border-color: var(--sg-border-color);
|
|
3719
|
+
padding-bottom: 0.5rem;
|
|
3720
|
+
border-radius: 1rem 1rem 0 0;
|
|
3721
|
+
bottom: 0;
|
|
3722
|
+
box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.1);
|
|
3723
|
+
left: 0;
|
|
3724
|
+
transition: all 300ms ease-in-out;
|
|
3725
|
+
width: 100%;
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3728
|
+
@media (min-width: 36em) {
|
|
3729
|
+
dialog {
|
|
3730
|
+
padding-bottom: 0;
|
|
3731
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
3732
|
+
--border-color: var(--text-primary-color);
|
|
3733
|
+
--sg-border-color: var(--text-primary-color);
|
|
3734
|
+
border-radius: var(--sg-border-radius);
|
|
3735
|
+
max-height: 500px;
|
|
3736
|
+
box-shadow: var(--sg-popover-box-shadow);
|
|
3737
|
+
min-width: 90px;
|
|
3738
|
+
position: absolute;
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3741
|
+
dialog > [role=listbox] {
|
|
3742
|
+
width: 100%;
|
|
3743
|
+
overflow-y: auto;
|
|
3744
|
+
}
|
|
3745
|
+
dialog.active {
|
|
3746
|
+
opacity: 1;
|
|
3747
|
+
visibility: visible;
|
|
3748
|
+
}
|
|
3749
|
+
dialog .close {
|
|
3750
|
+
margin: 0.25rem;
|
|
3751
|
+
flex-shrink: 0;
|
|
3752
|
+
align-self: flex-end;
|
|
3753
|
+
}
|
|
3754
|
+
@media (min-width: 36em) {
|
|
3755
|
+
dialog .close {
|
|
3756
|
+
display: none;
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
@media (max-width: 35.98em) {
|
|
3760
|
+
dialog {
|
|
3761
|
+
border: 1px solid var(--border-color);
|
|
3762
|
+
border-radius: 0.25rem;
|
|
3763
|
+
max-height: 80svh;
|
|
3764
|
+
padding-bottom: 0;
|
|
3765
|
+
}
|
|
3766
|
+
dialog.v-kb-visible {
|
|
3767
|
+
inset-block-end: auto;
|
|
3768
|
+
max-height: 50svh;
|
|
3769
|
+
top: 1rem;
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
@media (min-width: 36em) {
|
|
3773
|
+
dialog {
|
|
3774
|
+
inset: auto;
|
|
3775
|
+
position: fixed;
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
dialog::backdrop {
|
|
3779
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
3780
|
+
display: block;
|
|
3781
|
+
position: fixed;
|
|
3782
|
+
}
|
|
3783
|
+
@media (min-width: 36em) {
|
|
3784
|
+
dialog::backdrop {
|
|
3785
|
+
opacity: 0;
|
|
3786
|
+
}
|
|
3787
|
+
}
|
|
3788
|
+
}`;
|
|
3789
|
+
|
|
3790
|
+
// libs/core/src/primitives/popover/popover.trans.styles.ts
|
|
3791
|
+
function register8() {
|
|
3792
|
+
TransitionalStyles.instance.register("gds-popover", popover_trans_styles_default.toString());
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
// libs/core/src/components/segmented-control/segment/segment.trans.styles.css
|
|
3796
|
+
var segment_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
3797
|
+
|
|
3798
|
+
@layer transitional-styles {
|
|
3799
|
+
@layer _base;
|
|
3800
|
+
|
|
3801
|
+
@layer _base {
|
|
3802
|
+
:host {
|
|
3803
|
+
border-right: 1px solid #333;
|
|
3804
|
+
box-sizing: border-box;
|
|
3805
|
+
display: flex;
|
|
3806
|
+
transition: 0.2s;
|
|
3807
|
+
z-index: 1;
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
:host(:last-child) {
|
|
3811
|
+
border-right: 0;
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
button {
|
|
3815
|
+
-webkit-appearance: none;
|
|
3816
|
+
-moz-appearance: none;
|
|
3817
|
+
appearance: none;
|
|
3818
|
+
background: transparent;
|
|
3819
|
+
border-width: 0;
|
|
3820
|
+
color: var(--gds-sys-color-content-content);
|
|
3821
|
+
cursor: pointer;
|
|
3822
|
+
flex-grow: 1;
|
|
3823
|
+
flex-shrink: 0;
|
|
3824
|
+
font-family: inherit;
|
|
3825
|
+
font-size: inherit;
|
|
3826
|
+
font-weight: 500;
|
|
3827
|
+
min-width: 6.625rem;
|
|
3828
|
+
overflow: hidden;
|
|
3829
|
+
padding: 0 1rem;
|
|
3830
|
+
text-align: center;
|
|
3831
|
+
text-overflow: ellipsis;
|
|
3832
|
+
white-space: nowrap;
|
|
3833
|
+
width: 100%;
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
@media (pointer: fine) {
|
|
3837
|
+
button:hover {
|
|
3838
|
+
background-color: var(--grey-400);
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
button[aria-current='true'] {
|
|
3843
|
+
background-color: #333;
|
|
3844
|
+
color: #fff;
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
button:focus-visible {
|
|
3848
|
+
outline: 2px solid #000;
|
|
3849
|
+
outline-offset: -2px;
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
}
|
|
3853
|
+
`;
|
|
3854
|
+
|
|
3855
|
+
// libs/core/src/components/segmented-control/segment/segment.trans.styles.ts
|
|
3856
|
+
function register9() {
|
|
3857
|
+
TransitionalStyles.instance.register("gds-segmented", segment_trans_styles_default.toString());
|
|
3858
|
+
}
|
|
3859
|
+
|
|
3860
|
+
// libs/core/src/components/segmented-control/segmented-control.trans.styles.css
|
|
3861
|
+
var segmented_control_trans_styles_default = `@layer base, reset, transitional-styles;
|
|
3862
|
+
|
|
3863
|
+
@layer transitional-styles {
|
|
3864
|
+
@layer _base, _overrides;
|
|
3865
|
+
|
|
3866
|
+
@layer _base {
|
|
3867
|
+
:host {
|
|
3868
|
+
background-color: #fff;
|
|
3869
|
+
border: 1px solid #333;
|
|
3870
|
+
border-radius: 4px;
|
|
3871
|
+
box-sizing: border-box;
|
|
3872
|
+
contain: layout;
|
|
3873
|
+
display: inline-flex;
|
|
3874
|
+
height: 3rem;
|
|
3875
|
+
max-width: 100%;
|
|
3876
|
+
overflow: hidden;
|
|
3877
|
+
}
|
|
3878
|
+
|
|
3879
|
+
:host([size='small']) {
|
|
3880
|
+
height: 2.5rem;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
#track {
|
|
3884
|
+
box-sizing: border-box;
|
|
3885
|
+
display: flex;
|
|
3886
|
+
flex-grow: 0;
|
|
3887
|
+
flex-shrink: 1;
|
|
3888
|
+
overflow: hidden;
|
|
3889
|
+
position: relative;
|
|
3890
|
+
width: 100%;
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
#segments {
|
|
3894
|
+
box-sizing: border-box;
|
|
3895
|
+
display: inline-flex;
|
|
3896
|
+
position: relative;
|
|
3897
|
+
transition: 0.2s;
|
|
3898
|
+
z-index: 1;
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
#segments > * {
|
|
3902
|
+
flex: 1 1 auto;
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
#btn-prev,
|
|
3906
|
+
#btn-next {
|
|
3907
|
+
align-items: center;
|
|
3908
|
+
-webkit-appearance: none;
|
|
3909
|
+
-moz-appearance: none;
|
|
3910
|
+
appearance: none;
|
|
3911
|
+
aspect-ratio: 1;
|
|
3912
|
+
background-color: #fff;
|
|
3913
|
+
border-width: 0;
|
|
3914
|
+
color: #333;
|
|
3915
|
+
cursor: pointer;
|
|
3916
|
+
display: flex;
|
|
3917
|
+
font-size: 1rem;
|
|
3918
|
+
height: 100%;
|
|
3919
|
+
justify-content: center;
|
|
3920
|
+
width: 2.5rem;
|
|
3921
|
+
|
|
3922
|
+
@media (pointer: fine) {
|
|
3923
|
+
&:hover {
|
|
3924
|
+
background-color: var(--grey-400);
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
#btn-prev {
|
|
3930
|
+
border-right: 1px solid #333;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
:host([size='small']) #btn-prev,
|
|
3934
|
+
:host([size='small']) #btn-next {
|
|
3935
|
+
width: 2rem;
|
|
3936
|
+
}
|
|
3937
|
+
|
|
3938
|
+
::slotted(*) {
|
|
3939
|
+
flex-grow: 1;
|
|
3940
|
+
flex-shrink: 0;
|
|
3941
|
+
z-index: 1;
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
#indicator {
|
|
3945
|
+
display: none;
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
|
|
3949
|
+
/* @layer _overrides {
|
|
3950
|
+
} */
|
|
3951
|
+
}
|
|
3952
|
+
`;
|
|
3953
|
+
|
|
3954
|
+
// libs/core/src/components/segmented-control/segmented-control.trans.styles.ts
|
|
3955
|
+
function register10() {
|
|
3956
|
+
TransitionalStyles.instance.register(
|
|
3957
|
+
"gds-segmented-control",
|
|
3958
|
+
segmented_control_trans_styles_default.toString()
|
|
3959
|
+
);
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
// libs/core/src/components/theme/chlorophyll-tokens.scss
|
|
3963
|
+
var chlorophyll_tokens_default = `/**
|
|
3964
|
+
* Calculate the luminance for a color.
|
|
3965
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
3966
|
+
*/
|
|
3967
|
+
/**
|
|
3968
|
+
* Calculate the contrast ratio between two colors.
|
|
3969
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
3970
|
+
*/
|
|
3971
|
+
/* stylelint-disable max-nesting-depth */
|
|
3972
|
+
/* stylelint-enable max-nesting-depth */
|
|
3973
|
+
/* stylelint-disable */
|
|
3974
|
+
/* stylelint-enable */
|
|
3975
|
+
/* stylelint-disable */
|
|
3976
|
+
/* Mixin for adding themes,
|
|
3977
|
+
Themes such as dark-mode, high-contrast mode etc.
|
|
3978
|
+
Values for light mode are used by default.
|
|
3979
|
+
*/
|
|
3980
|
+
/* mixin for generating css variables from map with optional prefix */
|
|
3981
|
+
:host([color-scheme=light]) {
|
|
3982
|
+
--gds-sys-shape-corner-none: 0;
|
|
3983
|
+
--gds-sys-shape-corner-small: 0.125rem;
|
|
3984
|
+
--gds-sys-shape-corner-medium: 0.25rem;
|
|
3985
|
+
--gds-sys-shape-corner-round: 50%;
|
|
3986
|
+
--gds-ref-color-white: #ffffff;
|
|
3987
|
+
--gds-ref-color-black: #000000;
|
|
3988
|
+
--gds-ref-pallet-base000: hsl(0 0% 100%);
|
|
3989
|
+
--gds-ref-pallet-base100: hsl(0, 0%, 97%);
|
|
3990
|
+
--gds-ref-pallet-base200: hsl(0, 0%, 91%);
|
|
3991
|
+
--gds-ref-pallet-base300: hsl(0, 0%, 87%);
|
|
3992
|
+
--gds-ref-pallet-base400: hsl(0, 0%, 81%);
|
|
3993
|
+
--gds-ref-pallet-base500: hsl(0, 0%, 68%);
|
|
3994
|
+
--gds-ref-pallet-base600: hsl(0, 0%, 53%);
|
|
3995
|
+
--gds-ref-pallet-base700: hsl(0, 0%, 29%);
|
|
3996
|
+
--gds-ref-pallet-base800: hsl(0, 0%, 20%);
|
|
3997
|
+
--gds-ref-pallet-base900: hsl(0, 0%, 10%);
|
|
3998
|
+
--gds-ref-pallet-base1000: hsl(0 0% 0%);
|
|
3999
|
+
--gds-sys-color-blue: #41b0ee;
|
|
4000
|
+
--gds-sys-color-blue-dark-1: #0092e1;
|
|
4001
|
+
--gds-sys-color-blue-dark-2: #007ac7;
|
|
4002
|
+
--gds-sys-color-surface: var(--gds-ref-pallet-base000);
|
|
4003
|
+
--gds-sys-color-base: var(--gds-ref-pallet-base800);
|
|
4004
|
+
--gds-sys-color-font: var(--gds-ref-pallet-base800);
|
|
4005
|
+
--gds-sys-color-base-container: var(--gds-ref-pallet-base500);
|
|
4006
|
+
--gds-sys-color-focus-outline: var(--gds-ref-pallet-base1000);
|
|
4007
|
+
/******************************************/
|
|
4008
|
+
/*********** Component Tokens *************/
|
|
4009
|
+
/******************************************/
|
|
4010
|
+
--gds-comp-checkbox-container-height: 1rem;
|
|
4011
|
+
--gds-comp-checkbox-container-width: 1rem;
|
|
4012
|
+
--gds-comp-checkbox-container-color: var(--gds-sys-color-surface);
|
|
4013
|
+
--gds-comp-checkbox-container-color-disabled: var(--gds-ref-pallet-base200);
|
|
4014
|
+
--gds-comp-checkbox-border-color: var(--gds-sys-color-base);
|
|
4015
|
+
--gds-comp-checkbox-border-radius: var(--gds-sys-shape-corner-small);
|
|
4016
|
+
--gds-comp-checkbox-hover-border-color: var(--gds-ref-pallet-base600);
|
|
4017
|
+
--gds-comp-checkbox-container-color-selected: var(--gds-sys-color-base);
|
|
4018
|
+
--gds-comp-checkbox-border-color-selected: var(--gds-sys-color-surface);
|
|
4019
|
+
--gds-comp-checkbox-border-color-focus: var(--gds-sys-color-blue-dark-2);
|
|
4020
|
+
/* @media (prefers-color-scheme: dark) {
|
|
4021
|
+
--gds-comp-checkbox-container-color: var(--gds-sys-color-base-container);
|
|
4022
|
+
--gds-comp-checkbox-border-color: transparent;
|
|
4023
|
+
--gds-comp-checkbox-hover-border-color: var(--gds-sys-color-blue);
|
|
4024
|
+
--gds-comp-checkbox-container-color-selected: var(--gds-sys-color-blue-dark-2);
|
|
4025
|
+
--gds-comp-checkbox-border-color-selected: var(--gds-ref-pallet-base000);
|
|
4026
|
+
}
|
|
4027
|
+
|
|
4028
|
+
.light {
|
|
4029
|
+
--gds-comp-checkbox-container-color: var(--gds-sys-color-surface);
|
|
4030
|
+
--gds-comp-checkbox-border-color: var(--gds-sys-color-base);
|
|
4031
|
+
--gds-comp-checkbox-border-radius: var(--gds-sys-shape-corner-small);
|
|
4032
|
+
--gds-comp-checkbox-hover-border-color: var(--gds-ref-pallet-base600);
|
|
4033
|
+
--gds-comp-checkbox-container-color-selected: var(--gds-sys-color-base);
|
|
4034
|
+
--gds-comp-checkbox-border-color-selected: var(--gds-sys-color-surface);
|
|
4035
|
+
}*/
|
|
4036
|
+
--heading-primary-color: rgb(0, 0, 0);
|
|
4037
|
+
--text-primary-color: rgb(51, 51, 51);
|
|
4038
|
+
--text-secondary-color: rgb(134, 134, 134);
|
|
4039
|
+
--text-disabled-color: var(--gds-ref-pallet-base600);
|
|
4040
|
+
--text-primary-disabled-color: var(--gds-ref-pallet-base600);
|
|
4041
|
+
--border-color: rgba(0, 0, 0, 0.17);
|
|
4042
|
+
--border-secondary-color: rgba(0, 0, 0, 0.1);
|
|
4043
|
+
--border-disabled-color: var(--gds-ref-pallet-base500);
|
|
4044
|
+
--border-primary-disabled-color: var(--gds-ref-pallet-base500);
|
|
4045
|
+
--border-color-invalid: rgb(159, 0, 10);
|
|
4046
|
+
--border-color-valid: rgb(55, 157, 0);
|
|
4047
|
+
--checkbox-checkmark-disabled-color: rgb(255, 255, 255);
|
|
4048
|
+
--form-control-primary-bg-disabled: var(--gds-ref-pallet-base200);
|
|
4049
|
+
--link-color-dark: rgb(51, 51, 51);
|
|
4050
|
+
--link-color-dark-visited: rgb(73, 73, 73);
|
|
4051
|
+
/* try and adjust colors to get desired color combination,
|
|
4052
|
+
in this case adjust background to go with white foreground */
|
|
4053
|
+
--intent-primary-background: rgb(0, 122, 199);
|
|
4054
|
+
--intent-primary-color: #fff;
|
|
4055
|
+
--intent-primary-fadable-color: 255, 255, 255;
|
|
4056
|
+
/* try and adjust colors to get desired color combination,
|
|
4057
|
+
in this case adjust background to go with white foreground */
|
|
4058
|
+
--intent-secondary-background: rgb(222, 222, 222);
|
|
4059
|
+
--intent-secondary-color: black;
|
|
4060
|
+
--intent-secondary-fadable-color: 0, 0, 0;
|
|
4061
|
+
/* try and adjust colors to get desired color combination,
|
|
4062
|
+
in this case adjust background to go with white foreground */
|
|
4063
|
+
--intent-info-background: rgb(0, 122, 199);
|
|
4064
|
+
--intent-info-color: #fff;
|
|
4065
|
+
--intent-info-fadable-color: 255, 255, 255;
|
|
4066
|
+
/* try and adjust colors to get desired color combination,
|
|
4067
|
+
in this case adjust background to go with white foreground */
|
|
4068
|
+
--intent-success-background: #308602;
|
|
4069
|
+
--intent-success-color: #fff;
|
|
4070
|
+
--intent-success-fadable-color: 255, 255, 255;
|
|
4071
|
+
/* try and adjust colors to get desired color combination,
|
|
4072
|
+
in this case adjust background to go with white foreground */
|
|
4073
|
+
--intent-warning-background: rgb(255, 197, 0);
|
|
4074
|
+
--intent-warning-color: black;
|
|
4075
|
+
--intent-warning-fadable-color: 0, 0, 0;
|
|
4076
|
+
/* try and adjust colors to get desired color combination,
|
|
4077
|
+
in this case adjust background to go with white foreground */
|
|
4078
|
+
--intent-danger-background: rgb(159, 0, 10);
|
|
4079
|
+
--intent-danger-color: #fff;
|
|
4080
|
+
--intent-danger-fadable-color: 255, 255, 255;
|
|
4081
|
+
/* try and adjust colors to get desired color combination,
|
|
4082
|
+
in this case adjust background to go with white foreground */
|
|
4083
|
+
--intent-light-background: rgb(238, 238, 238);
|
|
4084
|
+
--intent-light-color: black;
|
|
4085
|
+
--intent-light-fadable-color: 0, 0, 0;
|
|
4086
|
+
/* try and adjust colors to get desired color combination,
|
|
4087
|
+
in this case adjust background to go with white foreground */
|
|
4088
|
+
--intent-dark-background: rgb(51, 51, 51);
|
|
4089
|
+
--intent-dark-color: #fff;
|
|
4090
|
+
--intent-dark-fadable-color: 255, 255, 255;
|
|
4091
|
+
--grey-1100: rgb(26, 26, 26);
|
|
4092
|
+
--grey-1000: rgb(51, 51, 51);
|
|
4093
|
+
--grey-900: rgb(73, 73, 73);
|
|
4094
|
+
--grey-800: rgb(134, 134, 134);
|
|
4095
|
+
--grey-700: rgb(173, 173, 173);
|
|
4096
|
+
--grey-600: rgb(206, 206, 206);
|
|
4097
|
+
--grey-500: rgb(222, 222, 222);
|
|
4098
|
+
--grey-400: rgb(233, 233, 233);
|
|
4099
|
+
--grey-300: rgb(238, 238, 238);
|
|
4100
|
+
--grey-200: rgb(248, 248, 248);
|
|
4101
|
+
--grey-100: rgb(255, 255, 255);
|
|
4102
|
+
color: var(--text-primary-color);
|
|
4103
|
+
--gds-sys-outline-color: #333333;
|
|
4104
|
+
--gds-comp-chips-fr-color: #333333;
|
|
4105
|
+
--gds-comp-chips-bg-color: #ffffff;
|
|
4106
|
+
--gds-comp-chips-br-color: #333333;
|
|
4107
|
+
--gds-comp-chips-fr-color-hover: #ffffff;
|
|
4108
|
+
--gds-comp-chips-bg-color-hover: #494949;
|
|
4109
|
+
--gds-comp-chips-br-color-hover: #494949;
|
|
4110
|
+
--gds-comp-chips-bg-color-active: #333333;
|
|
4111
|
+
--gds-comp-chips-bg-color-action: #333333;
|
|
4112
|
+
/* generate css variables */
|
|
4113
|
+
--sg-z-index-datepicker: 995;
|
|
4114
|
+
--sg-z-index-dropdown-backdrop: 990;
|
|
4115
|
+
--sg-z-index-dropdown: 2000;
|
|
4116
|
+
--sg-z-index-sticky: 1020;
|
|
4117
|
+
--sg-z-index-fixed: 1030;
|
|
4118
|
+
--sg-z-index-modal-backdrop: 1040;
|
|
4119
|
+
--sg-z-index-modal: 1050;
|
|
4120
|
+
--sg-z-index-popover: 1060;
|
|
4121
|
+
--sg-z-index-tooltip: 1070;
|
|
4122
|
+
--sg-text-primary: #333333;
|
|
4123
|
+
--sg-text-secondary: #333333;
|
|
4124
|
+
--sg-form-control-bg: #fff;
|
|
4125
|
+
--sg-form-control-bg-disabled: #eeeeee;
|
|
4126
|
+
--sg-border-color: var(--gds-ref-pallet-base600);
|
|
4127
|
+
--sg-border-width: 1px;
|
|
4128
|
+
--sg-border-width-50: 0.5px;
|
|
4129
|
+
--sg-border-radius: 0.25rem;
|
|
4130
|
+
--sg-hsl-contrast: 0deg, 0%, 0%;
|
|
4131
|
+
--sg-hsl-light: 0deg, 0%, 97.2549019608%;
|
|
4132
|
+
--sg-hsl-light-contrast: 0deg, 0%, 0%;
|
|
4133
|
+
--sg-hsl-dark: 0deg, 0%, 10.1960784314%;
|
|
4134
|
+
--sg-hsl-dark-contrast: 0deg, 0%, 100%;
|
|
4135
|
+
--sg-hsl-black: 0deg, 0%, 0%;
|
|
4136
|
+
--sg-hsl-white: 0deg, 0%, 100%;
|
|
4137
|
+
--sg-hsl-blue-0: 201.5028901734deg, 83.5748792271%, 59.4117647059%;
|
|
4138
|
+
--sg-hsl-blue-1: 201.0666666667deg, 100%, 44.1176470588%;
|
|
4139
|
+
--sg-hsl-blue-2: 203.216080402deg, 100%, 39.0196078431%;
|
|
4140
|
+
--sg-hsl-green-0: 96.1325966851deg, 79.03930131%, 44.9019607843%;
|
|
4141
|
+
--sg-hsl-green-1: 97deg, 100%, 35.2941176471%;
|
|
4142
|
+
--sg-hsl-green-2: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4143
|
+
--sg-hsl-yellow-0: 46.3529411765deg, 100%, 50%;
|
|
4144
|
+
--sg-hsl-yellow-1: 42.3529411765deg, 100%, 50%;
|
|
4145
|
+
--sg-hsl-yellow-2: 38.7096774194deg, 100%, 48.6274509804%;
|
|
4146
|
+
--sg-hsl-red-0: 3.6180904523deg, 86.8995633188%, 55.0980392157%;
|
|
4147
|
+
--sg-hsl-red-1: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4148
|
+
--sg-hsl-red-2: 356.1497326203deg, 100%, 36.6666666667%;
|
|
4149
|
+
--sg-hsl-purple-0: 261.7741935484deg, 51.6666666667%, 47.0588235294%;
|
|
4150
|
+
--sg-hsl-purple-1: 259.2660550459deg, 55.3299492386%, 38.6274509804%;
|
|
4151
|
+
--sg-hsl-purple-2: 255.9183673469deg, 56.976744186%, 33.7254901961%;
|
|
4152
|
+
--sg-grey-100: #f8f8f8;
|
|
4153
|
+
--sg-grey-200: #e9e9e9;
|
|
4154
|
+
--sg-grey-300: #dedede;
|
|
4155
|
+
--sg-grey-400: #cecece;
|
|
4156
|
+
--sg-grey-500: #adadad;
|
|
4157
|
+
--sg-grey-600: #868686;
|
|
4158
|
+
--sg-grey-700: #494949;
|
|
4159
|
+
--sg-grey-800: #333333;
|
|
4160
|
+
--sg-grey-900: #1a1a1a;
|
|
4161
|
+
--sg-intent-neutral-hsl: 0deg, 0%, 91.3725490196%;
|
|
4162
|
+
--sg-intent-neutral-hsl-contrast: 0deg, 0%, 0%;
|
|
4163
|
+
--sg-intent-info-hsl: 203.216080402deg, 100%, 39.0196078431%;
|
|
4164
|
+
--sg-intent-info-hsl-contrast: 0deg, 0%, 100%;
|
|
4165
|
+
--sg-intent-success-hsl: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4166
|
+
--sg-intent-success-hsl-contrast: 0deg, 0%, 100%;
|
|
4167
|
+
--sg-intent-warning-hsl: 46.3529411765deg, 100%, 50%;
|
|
4168
|
+
--sg-intent-warning-hsl-contrast: 0deg, 0%, 0%;
|
|
4169
|
+
--sg-intent-critical-hsl: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4170
|
+
--sg-intent-critical-hsl-contrast: 0deg, 0%, 100%;
|
|
4171
|
+
--sg-hsl-disabled-background: 0deg, 0%, 97.2549019608%;
|
|
4172
|
+
--sg-hsl-disabled-color: 0deg, 0%, 67.8431372549%;
|
|
4173
|
+
--sg-bg-level-0: #eeeeee;
|
|
4174
|
+
--sg-bg-level-1: #fff;
|
|
4175
|
+
--sg-bg-level-2: #fff;
|
|
4176
|
+
--sg-bg-level-3: #fff;
|
|
4177
|
+
--sg-table-header-background: #1a1a1a;
|
|
4178
|
+
--sg-table-header-color: #fff;
|
|
4179
|
+
--sg-table-cell-padding-x: 0.5rem;
|
|
4180
|
+
--sg-table-cell-padding-y: 0.6875rem;
|
|
4181
|
+
--sg-table-border-width: 1px;
|
|
4182
|
+
--sg-table-border-color: var(--gds-ref-pallet-base600);
|
|
4183
|
+
--sg-table-sort-icon-color: var(--gds-ref-pallet-base600);
|
|
4184
|
+
--sg-table-sort-icon-color-active: #fff;
|
|
4185
|
+
--sg-skeleton-loader-highlight-color: #dedede;
|
|
4186
|
+
--sg-skeleton-loader-background-color: #f8f8f8;
|
|
4187
|
+
--sg-modal-background: #fff;
|
|
4188
|
+
--sg-modal-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4189
|
+
--sg-modal-backdrop-background: rgba(0, 0, 0, 0.5);
|
|
4190
|
+
--sg-popover-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4191
|
+
--sg-popover-background: #fff;
|
|
4192
|
+
--sg-popover-border-color: #007ac7;
|
|
4193
|
+
--sg-card-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4194
|
+
--sg-card-background: #fff;
|
|
4195
|
+
--sg-card-heading-color: #333333;
|
|
4196
|
+
--sg-card-color: #333333;
|
|
4197
|
+
--sg-card-border: solid 1px #fff;
|
|
4198
|
+
--sg-card-border-radius: 4px;
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
/* force dark mode */
|
|
4202
|
+
:host([color-scheme=dark]) {
|
|
4203
|
+
--heading-primary-color: rgb(255, 255, 255);
|
|
4204
|
+
--text-primary-color: rgba(255, 255, 255, 0.9);
|
|
4205
|
+
--text-secondary-color: rgba(255, 255, 255, 0.6);
|
|
4206
|
+
--text-disabled-color: rgba(255, 255, 255, 0.07);
|
|
4207
|
+
--text-primary-disabled-color: rgba(255, 255, 255, 0.07);
|
|
4208
|
+
--border-color: rgb(51, 51, 51);
|
|
4209
|
+
--border-secondary-color: rgb(51, 51, 51);
|
|
4210
|
+
--border-disabled-color: rgb(44, 44, 44);
|
|
4211
|
+
--border-primary-disabled-color: rgb(44, 44, 44);
|
|
4212
|
+
--border-color-invalid: rgb(255, 89, 79);
|
|
4213
|
+
--border-color-valid: rgb(48, 136, 0);
|
|
4214
|
+
--checkbox-checkmark-disabled-color: rgb(51, 51, 51);
|
|
4215
|
+
--link-color-dark: rgb(179, 179, 179);
|
|
4216
|
+
--link-color-dark-visited: rgb(171, 171, 171);
|
|
4217
|
+
--form-control-primary-bg-disabled: rgba(255, 255, 255, 0.02);
|
|
4218
|
+
/* try and adjust colors to get desired color combination,
|
|
4219
|
+
in this case adjust background to go with white foreground */
|
|
4220
|
+
--intent-primary-background: rgb(44, 156, 217);
|
|
4221
|
+
--intent-primary-color: #000;
|
|
4222
|
+
--intent-primary-fadable-color: 0, 0, 0;
|
|
4223
|
+
/* try and adjust colors to get desired color combination,
|
|
4224
|
+
in this case adjust background to go with white foreground */
|
|
4225
|
+
--intent-secondary-background: rgb(51, 51, 51);
|
|
4226
|
+
--intent-secondary-color: #fff;
|
|
4227
|
+
--intent-secondary-fadable-color: 255, 255, 255;
|
|
4228
|
+
/* try and adjust colors to get desired color combination,
|
|
4229
|
+
in this case adjust background to go with white foreground */
|
|
4230
|
+
--intent-info-background: rgb(44, 156, 217);
|
|
4231
|
+
--intent-info-color: #000;
|
|
4232
|
+
--intent-info-fadable-color: 0, 0, 0;
|
|
4233
|
+
/* try and adjust colors to get desired color combination,
|
|
4234
|
+
in this case adjust background to go with white foreground */
|
|
4235
|
+
--intent-success-background: rgb(48, 136, 0);
|
|
4236
|
+
--intent-success-color: #000;
|
|
4237
|
+
--intent-success-fadable-color: 0, 0, 0;
|
|
4238
|
+
/* try and adjust colors to get desired color combination,
|
|
4239
|
+
in this case adjust background to go with white foreground */
|
|
4240
|
+
--intent-warning-background: rgb(255, 225, 130);
|
|
4241
|
+
--intent-warning-color: #000;
|
|
4242
|
+
--intent-warning-fadable-color: 0, 0, 0;
|
|
4243
|
+
/* try and adjust colors to get desired color combination,
|
|
4244
|
+
in this case adjust background to go with white foreground */
|
|
4245
|
+
--intent-danger-background: rgb(255, 89, 79);
|
|
4246
|
+
--intent-danger-color: #000;
|
|
4247
|
+
--intent-danger-fadable-color: 0, 0, 0;
|
|
4248
|
+
/* try and adjust colors to get desired color combination,
|
|
4249
|
+
in this case adjust background to go with white foreground */
|
|
4250
|
+
--intent-light-background: rgb(39, 39, 39);
|
|
4251
|
+
--intent-light-color: #fff;
|
|
4252
|
+
--intent-light-fadable-color: 255, 255, 255;
|
|
4253
|
+
/* try and adjust colors to get desired color combination,
|
|
4254
|
+
in this case adjust background to go with white foreground */
|
|
4255
|
+
--intent-dark-background: rgb(171, 171, 171);
|
|
4256
|
+
--intent-dark-color: #000;
|
|
4257
|
+
--intent-dark-fadable-color: 0, 0, 0;
|
|
4258
|
+
--grey-100: rgb(18, 18, 18);
|
|
4259
|
+
--grey-200: rgb(34, 34, 34);
|
|
4260
|
+
--grey-300: rgb(39, 39, 39);
|
|
4261
|
+
--grey-400: rgb(44, 44, 44);
|
|
4262
|
+
--grey-500: rgb(51, 51, 51);
|
|
4263
|
+
--grey-600: rgb(60, 60, 60);
|
|
4264
|
+
--grey-700: rgb(67, 67, 67);
|
|
4265
|
+
--grey-800: rgb(73, 73, 73);
|
|
4266
|
+
--grey-900: rgb(117, 117, 117);
|
|
4267
|
+
--grey-1000: rgb(171, 171, 171);
|
|
4268
|
+
--grey-1100: rgb(179, 179, 179);
|
|
4269
|
+
color: var(--text-primary-color);
|
|
4270
|
+
--gds-sys-outline-color: hsla(0, 0%, 87%, 0.2);
|
|
4271
|
+
--gds-comp-chips-fr-color: #dedede;
|
|
4272
|
+
--gds-comp-chips-bg-color: #2c2c2c;
|
|
4273
|
+
--gds-comp-chips-br-color: #2c2c2c;
|
|
4274
|
+
--gds-comp-chips-fr-color-hover: #dedede;
|
|
4275
|
+
--gds-comp-chips-bg-color-hover: #2c2c2c;
|
|
4276
|
+
--gds-comp-chips-br-color-hover: hsla(0, 0%, 87%, 0.2);
|
|
4277
|
+
--gds-comp-chips-bg-color-active: #222222;
|
|
4278
|
+
--gds-comp-chips-bg-color-action: #2c2c2c;
|
|
4279
|
+
--gds-sys-color-focus-outline: white;
|
|
4280
|
+
--gds-sys-color-font: var(--gds-ref-pallet-base300);
|
|
4281
|
+
/* generate css variables */
|
|
4282
|
+
--sg-z-index-datepicker: 995;
|
|
4283
|
+
--sg-z-index-dropdown-backdrop: 990;
|
|
4284
|
+
--sg-z-index-dropdown: 2000;
|
|
4285
|
+
--sg-z-index-sticky: 1020;
|
|
4286
|
+
--sg-z-index-fixed: 1030;
|
|
4287
|
+
--sg-z-index-modal-backdrop: 1040;
|
|
4288
|
+
--sg-z-index-modal: 1050;
|
|
4289
|
+
--sg-z-index-popover: 1060;
|
|
4290
|
+
--sg-z-index-tooltip: 1070;
|
|
4291
|
+
--sg-text-primary: #dedede;
|
|
4292
|
+
--sg-text-secondary: #ababab;
|
|
4293
|
+
--sg-form-control-bg: rgba(0, 0, 0, 0.1);
|
|
4294
|
+
--sg-form-control-bg-disabled: rgba(255, 255, 255, 0.02);
|
|
4295
|
+
--sg-border-color: #ababab;
|
|
4296
|
+
--sg-border-width: 1px;
|
|
4297
|
+
--sg-border-width-50: 0.5px;
|
|
4298
|
+
--sg-border-radius: 0.25rem;
|
|
4299
|
+
--sg-hsl-contrast: 0deg, 0%, 100%;
|
|
4300
|
+
--sg-hsl-light: 0deg, 0%, 87.0588235294%;
|
|
4301
|
+
--sg-hsl-light-contrast: 0deg, 0%, 0%;
|
|
4302
|
+
--sg-hsl-dark: 0deg, 0%, 7.0588235294%;
|
|
4303
|
+
--sg-hsl-dark-contrast: 0deg, 0%, 100%;
|
|
4304
|
+
--sg-hsl-black: 0deg, 0%, 0%;
|
|
4305
|
+
--sg-hsl-white: 0deg, 0%, 100%;
|
|
4306
|
+
--sg-hsl-blue-0: 201.5028901734deg, 83.5748792271%, 59.4117647059%;
|
|
4307
|
+
--sg-hsl-blue-1: 201.0666666667deg, 100%, 44.1176470588%;
|
|
4308
|
+
--sg-hsl-blue-2: 203.216080402deg, 100%, 39.0196078431%;
|
|
4309
|
+
--sg-hsl-green-0: 96.1325966851deg, 79.03930131%, 44.9019607843%;
|
|
4310
|
+
--sg-hsl-green-1: 97deg, 100%, 35.2941176471%;
|
|
4311
|
+
--sg-hsl-green-2: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4312
|
+
--sg-hsl-yellow-0: 46.3529411765deg, 100%, 50%;
|
|
4313
|
+
--sg-hsl-yellow-1: 42.3529411765deg, 100%, 50%;
|
|
4314
|
+
--sg-hsl-yellow-2: 38.7096774194deg, 100%, 48.6274509804%;
|
|
4315
|
+
--sg-hsl-red-0: 3.6180904523deg, 86.8995633188%, 55.0980392157%;
|
|
4316
|
+
--sg-hsl-red-1: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4317
|
+
--sg-hsl-red-2: 356.1497326203deg, 100%, 36.6666666667%;
|
|
4318
|
+
--sg-hsl-purple-0: 261.7741935484deg, 51.6666666667%, 47.0588235294%;
|
|
4319
|
+
--sg-hsl-purple-1: 259.2660550459deg, 55.3299492386%, 38.6274509804%;
|
|
4320
|
+
--sg-hsl-purple-2: 255.9183673469deg, 56.976744186%, 33.7254901961%;
|
|
4321
|
+
--sg-grey-100: #dedede;
|
|
4322
|
+
--sg-grey-200: #ababab;
|
|
4323
|
+
--sg-grey-300: #757575;
|
|
4324
|
+
--sg-grey-400: #494949;
|
|
4325
|
+
--sg-grey-500: #333333;
|
|
4326
|
+
--sg-grey-600: #2c2c2c;
|
|
4327
|
+
--sg-grey-700: #272727;
|
|
4328
|
+
--sg-grey-800: #222222;
|
|
4329
|
+
--sg-grey-900: #121212;
|
|
4330
|
+
--sg-intent-neutral-hsl: 0deg, 0%, 20%;
|
|
4331
|
+
--sg-intent-neutral-hsl-contrast: 0deg, 0%, 100%;
|
|
4332
|
+
--sg-intent-info-hsl: 203.216080402deg, 100%, 39.0196078431%;
|
|
4333
|
+
--sg-intent-info-hsl-contrast: 0deg, 0%, 100%;
|
|
4334
|
+
--sg-intent-success-hsl: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4335
|
+
--sg-intent-success-hsl-contrast: 0deg, 0%, 100%;
|
|
4336
|
+
--sg-intent-warning-hsl: 46.3529411765deg, 100%, 50%;
|
|
4337
|
+
--sg-intent-warning-hsl-contrast: 0deg, 0%, 0%;
|
|
4338
|
+
--sg-intent-critical-hsl: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4339
|
+
--sg-intent-critical-hsl-contrast: 0deg, 0%, 100%;
|
|
4340
|
+
--sg-hsl-disabled-background: 0deg, 0%, 20%;
|
|
4341
|
+
--sg-hsl-disabled-color: 0deg, 0%, 45.8823529412%;
|
|
4342
|
+
--sg-bg-level-0: #121212;
|
|
4343
|
+
--sg-bg-level-1: #222222;
|
|
4344
|
+
--sg-bg-level-2: #272727;
|
|
4345
|
+
--sg-bg-level-3: #2c2c2c;
|
|
4346
|
+
--sg-table-header-background: #121212;
|
|
4347
|
+
--sg-table-header-color: #fff;
|
|
4348
|
+
--sg-table-cell-padding-x: 0.5rem;
|
|
4349
|
+
--sg-table-cell-padding-y: 0.6875rem;
|
|
4350
|
+
--sg-table-border-width: 1px;
|
|
4351
|
+
--sg-table-border-color: #ababab;
|
|
4352
|
+
--sg-table-sort-icon-color: #ababab;
|
|
4353
|
+
--sg-table-sort-icon-color-active: #fff;
|
|
4354
|
+
--sg-skeleton-loader-highlight-color: #494949;
|
|
4355
|
+
--sg-skeleton-loader-background-color: #2c2c2c;
|
|
4356
|
+
--sg-modal-background: #272727;
|
|
4357
|
+
--sg-modal-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4358
|
+
--sg-modal-backdrop-background: rgba(0, 0, 0, 0.5);
|
|
4359
|
+
--sg-popover-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4360
|
+
--sg-popover-background: #222222;
|
|
4361
|
+
--sg-popover-border-color: #007ac7;
|
|
4362
|
+
--sg-card-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4363
|
+
--sg-card-background: #222222;
|
|
4364
|
+
--sg-card-heading-color: #dedede;
|
|
4365
|
+
--sg-card-color: #dedede;
|
|
4366
|
+
--sg-card-border: solid 1px #222222;
|
|
4367
|
+
--sg-card-border-radius: 4px;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
/* use preferred color scheme */
|
|
4371
|
+
@media (prefers-color-scheme: dark) {
|
|
4372
|
+
:host,
|
|
4373
|
+
:host([color-scheme=auto]) {
|
|
4374
|
+
--heading-primary-color: rgb(255, 255, 255);
|
|
4375
|
+
--text-primary-color: rgba(255, 255, 255, 0.9);
|
|
4376
|
+
--text-secondary-color: rgba(255, 255, 255, 0.6);
|
|
4377
|
+
--text-disabled-color: rgba(255, 255, 255, 0.07);
|
|
4378
|
+
--text-primary-disabled-color: rgba(255, 255, 255, 0.07);
|
|
4379
|
+
--border-color: rgb(51, 51, 51);
|
|
4380
|
+
--border-secondary-color: rgb(51, 51, 51);
|
|
4381
|
+
--border-disabled-color: rgb(44, 44, 44);
|
|
4382
|
+
--border-primary-disabled-color: rgb(44, 44, 44);
|
|
4383
|
+
--border-color-invalid: rgb(255, 89, 79);
|
|
4384
|
+
--border-color-valid: rgb(48, 136, 0);
|
|
4385
|
+
--checkbox-checkmark-disabled-color: rgb(51, 51, 51);
|
|
4386
|
+
--link-color-dark: rgb(179, 179, 179);
|
|
4387
|
+
--link-color-dark-visited: rgb(171, 171, 171);
|
|
4388
|
+
--form-control-primary-bg-disabled: rgba(255, 255, 255, 0.02);
|
|
4389
|
+
/* try and adjust colors to get desired color combination,
|
|
4390
|
+
in this case adjust background to go with white foreground */
|
|
4391
|
+
--intent-primary-background: rgb(44, 156, 217);
|
|
4392
|
+
--intent-primary-color: #000;
|
|
4393
|
+
--intent-primary-fadable-color: 0, 0, 0;
|
|
4394
|
+
/* try and adjust colors to get desired color combination,
|
|
4395
|
+
in this case adjust background to go with white foreground */
|
|
4396
|
+
--intent-secondary-background: rgb(51, 51, 51);
|
|
4397
|
+
--intent-secondary-color: #fff;
|
|
4398
|
+
--intent-secondary-fadable-color: 255, 255, 255;
|
|
4399
|
+
/* try and adjust colors to get desired color combination,
|
|
4400
|
+
in this case adjust background to go with white foreground */
|
|
4401
|
+
--intent-info-background: rgb(44, 156, 217);
|
|
4402
|
+
--intent-info-color: #000;
|
|
4403
|
+
--intent-info-fadable-color: 0, 0, 0;
|
|
4404
|
+
/* try and adjust colors to get desired color combination,
|
|
4405
|
+
in this case adjust background to go with white foreground */
|
|
4406
|
+
--intent-success-background: rgb(48, 136, 0);
|
|
4407
|
+
--intent-success-color: #000;
|
|
4408
|
+
--intent-success-fadable-color: 0, 0, 0;
|
|
4409
|
+
/* try and adjust colors to get desired color combination,
|
|
4410
|
+
in this case adjust background to go with white foreground */
|
|
4411
|
+
--intent-warning-background: rgb(255, 225, 130);
|
|
4412
|
+
--intent-warning-color: #000;
|
|
4413
|
+
--intent-warning-fadable-color: 0, 0, 0;
|
|
4414
|
+
/* try and adjust colors to get desired color combination,
|
|
4415
|
+
in this case adjust background to go with white foreground */
|
|
4416
|
+
--intent-danger-background: rgb(255, 89, 79);
|
|
4417
|
+
--intent-danger-color: #000;
|
|
4418
|
+
--intent-danger-fadable-color: 0, 0, 0;
|
|
4419
|
+
/* try and adjust colors to get desired color combination,
|
|
4420
|
+
in this case adjust background to go with white foreground */
|
|
4421
|
+
--intent-light-background: rgb(39, 39, 39);
|
|
4422
|
+
--intent-light-color: #fff;
|
|
4423
|
+
--intent-light-fadable-color: 255, 255, 255;
|
|
4424
|
+
/* try and adjust colors to get desired color combination,
|
|
4425
|
+
in this case adjust background to go with white foreground */
|
|
4426
|
+
--intent-dark-background: rgb(171, 171, 171);
|
|
4427
|
+
--intent-dark-color: #000;
|
|
4428
|
+
--intent-dark-fadable-color: 0, 0, 0;
|
|
4429
|
+
--grey-100: rgb(18, 18, 18);
|
|
4430
|
+
--grey-200: rgb(34, 34, 34);
|
|
4431
|
+
--grey-300: rgb(39, 39, 39);
|
|
4432
|
+
--grey-400: rgb(44, 44, 44);
|
|
4433
|
+
--grey-500: rgb(51, 51, 51);
|
|
4434
|
+
--grey-600: rgb(60, 60, 60);
|
|
4435
|
+
--grey-700: rgb(67, 67, 67);
|
|
4436
|
+
--grey-800: rgb(73, 73, 73);
|
|
4437
|
+
--grey-900: rgb(117, 117, 117);
|
|
4438
|
+
--grey-1000: rgb(171, 171, 171);
|
|
4439
|
+
--grey-1100: rgb(179, 179, 179);
|
|
4440
|
+
color: var(--text-primary-color);
|
|
4441
|
+
--gds-sys-outline-color: hsla(0, 0%, 87%, 0.2);
|
|
4442
|
+
--gds-comp-chips-fr-color: #dedede;
|
|
4443
|
+
--gds-comp-chips-bg-color: #2c2c2c;
|
|
4444
|
+
--gds-comp-chips-br-color: #2c2c2c;
|
|
4445
|
+
--gds-comp-chips-fr-color-hover: #dedede;
|
|
4446
|
+
--gds-comp-chips-bg-color-hover: #2c2c2c;
|
|
4447
|
+
--gds-comp-chips-br-color-hover: hsla(0, 0%, 87%, 0.2);
|
|
4448
|
+
--gds-comp-chips-bg-color-active: #222222;
|
|
4449
|
+
--gds-comp-chips-bg-color-action: #2c2c2c;
|
|
4450
|
+
--gds-sys-color-focus-outline: white;
|
|
4451
|
+
--gds-sys-color-font: var(--gds-ref-pallet-base300);
|
|
4452
|
+
/* generate css variables */
|
|
4453
|
+
--sg-z-index-datepicker: 995;
|
|
4454
|
+
--sg-z-index-dropdown-backdrop: 990;
|
|
4455
|
+
--sg-z-index-dropdown: 2000;
|
|
4456
|
+
--sg-z-index-sticky: 1020;
|
|
4457
|
+
--sg-z-index-fixed: 1030;
|
|
4458
|
+
--sg-z-index-modal-backdrop: 1040;
|
|
4459
|
+
--sg-z-index-modal: 1050;
|
|
4460
|
+
--sg-z-index-popover: 1060;
|
|
4461
|
+
--sg-z-index-tooltip: 1070;
|
|
4462
|
+
--sg-text-primary: #dedede;
|
|
4463
|
+
--sg-text-secondary: #ababab;
|
|
4464
|
+
--sg-form-control-bg: rgba(0, 0, 0, 0.1);
|
|
4465
|
+
--sg-form-control-bg-disabled: rgba(255, 255, 255, 0.02);
|
|
4466
|
+
--sg-border-color: #ababab;
|
|
4467
|
+
--sg-border-width: 1px;
|
|
4468
|
+
--sg-border-width-50: 0.5px;
|
|
4469
|
+
--sg-border-radius: 0.25rem;
|
|
4470
|
+
--sg-hsl-contrast: 0deg, 0%, 100%;
|
|
4471
|
+
--sg-hsl-light: 0deg, 0%, 87.0588235294%;
|
|
4472
|
+
--sg-hsl-light-contrast: 0deg, 0%, 0%;
|
|
4473
|
+
--sg-hsl-dark: 0deg, 0%, 7.0588235294%;
|
|
4474
|
+
--sg-hsl-dark-contrast: 0deg, 0%, 100%;
|
|
4475
|
+
--sg-hsl-black: 0deg, 0%, 0%;
|
|
4476
|
+
--sg-hsl-white: 0deg, 0%, 100%;
|
|
4477
|
+
--sg-hsl-blue-0: 201.5028901734deg, 83.5748792271%, 59.4117647059%;
|
|
4478
|
+
--sg-hsl-blue-1: 201.0666666667deg, 100%, 44.1176470588%;
|
|
4479
|
+
--sg-hsl-blue-2: 203.216080402deg, 100%, 39.0196078431%;
|
|
4480
|
+
--sg-hsl-green-0: 96.1325966851deg, 79.03930131%, 44.9019607843%;
|
|
4481
|
+
--sg-hsl-green-1: 97deg, 100%, 35.2941176471%;
|
|
4482
|
+
--sg-hsl-green-2: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4483
|
+
--sg-hsl-yellow-0: 46.3529411765deg, 100%, 50%;
|
|
4484
|
+
--sg-hsl-yellow-1: 42.3529411765deg, 100%, 50%;
|
|
4485
|
+
--sg-hsl-yellow-2: 38.7096774194deg, 100%, 48.6274509804%;
|
|
4486
|
+
--sg-hsl-red-0: 3.6180904523deg, 86.8995633188%, 55.0980392157%;
|
|
4487
|
+
--sg-hsl-red-1: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4488
|
+
--sg-hsl-red-2: 356.1497326203deg, 100%, 36.6666666667%;
|
|
4489
|
+
--sg-hsl-purple-0: 261.7741935484deg, 51.6666666667%, 47.0588235294%;
|
|
4490
|
+
--sg-hsl-purple-1: 259.2660550459deg, 55.3299492386%, 38.6274509804%;
|
|
4491
|
+
--sg-hsl-purple-2: 255.9183673469deg, 56.976744186%, 33.7254901961%;
|
|
4492
|
+
--sg-grey-100: #dedede;
|
|
4493
|
+
--sg-grey-200: #ababab;
|
|
4494
|
+
--sg-grey-300: #757575;
|
|
4495
|
+
--sg-grey-400: #494949;
|
|
4496
|
+
--sg-grey-500: #333333;
|
|
4497
|
+
--sg-grey-600: #2c2c2c;
|
|
4498
|
+
--sg-grey-700: #272727;
|
|
4499
|
+
--sg-grey-800: #222222;
|
|
4500
|
+
--sg-grey-900: #121212;
|
|
4501
|
+
--sg-intent-neutral-hsl: 0deg, 0%, 20%;
|
|
4502
|
+
--sg-intent-neutral-hsl-contrast: 0deg, 0%, 100%;
|
|
4503
|
+
--sg-intent-info-hsl: 203.216080402deg, 100%, 39.0196078431%;
|
|
4504
|
+
--sg-intent-info-hsl-contrast: 0deg, 0%, 100%;
|
|
4505
|
+
--sg-intent-success-hsl: 98.8235294118deg, 100%, 26.6666666667%;
|
|
4506
|
+
--sg-intent-success-hsl-contrast: 0deg, 0%, 100%;
|
|
4507
|
+
--sg-intent-warning-hsl: 46.3529411765deg, 100%, 50%;
|
|
4508
|
+
--sg-intent-warning-hsl-contrast: 0deg, 0%, 0%;
|
|
4509
|
+
--sg-intent-critical-hsl: 0deg, 78.5123966942%, 47.4509803922%;
|
|
4510
|
+
--sg-intent-critical-hsl-contrast: 0deg, 0%, 100%;
|
|
4511
|
+
--sg-hsl-disabled-background: 0deg, 0%, 20%;
|
|
4512
|
+
--sg-hsl-disabled-color: 0deg, 0%, 45.8823529412%;
|
|
4513
|
+
--sg-bg-level-0: #121212;
|
|
4514
|
+
--sg-bg-level-1: #222222;
|
|
4515
|
+
--sg-bg-level-2: #272727;
|
|
4516
|
+
--sg-bg-level-3: #2c2c2c;
|
|
4517
|
+
--sg-table-header-background: #121212;
|
|
4518
|
+
--sg-table-header-color: #fff;
|
|
4519
|
+
--sg-table-cell-padding-x: 0.5rem;
|
|
4520
|
+
--sg-table-cell-padding-y: 0.6875rem;
|
|
4521
|
+
--sg-table-border-width: 1px;
|
|
4522
|
+
--sg-table-border-color: #ababab;
|
|
4523
|
+
--sg-table-sort-icon-color: #ababab;
|
|
4524
|
+
--sg-table-sort-icon-color-active: #fff;
|
|
4525
|
+
--sg-skeleton-loader-highlight-color: #494949;
|
|
4526
|
+
--sg-skeleton-loader-background-color: #2c2c2c;
|
|
4527
|
+
--sg-modal-background: #272727;
|
|
4528
|
+
--sg-modal-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4529
|
+
--sg-modal-backdrop-background: rgba(0, 0, 0, 0.5);
|
|
4530
|
+
--sg-popover-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4531
|
+
--sg-popover-background: #222222;
|
|
4532
|
+
--sg-popover-border-color: #007ac7;
|
|
4533
|
+
--sg-card-box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.15);
|
|
4534
|
+
--sg-card-background: #222222;
|
|
4535
|
+
--sg-card-heading-color: #dedede;
|
|
4536
|
+
--sg-card-color: #dedede;
|
|
4537
|
+
--sg-card-border: solid 1px #222222;
|
|
4538
|
+
--sg-card-border-radius: 4px;
|
|
4539
|
+
}
|
|
4540
|
+
}`;
|
|
4541
|
+
|
|
4542
|
+
// libs/core/src/components/theme/theme.trans.styles.ts
|
|
4543
|
+
function register11() {
|
|
4544
|
+
TransitionalStyles.instance.register(
|
|
4545
|
+
"gds-theme",
|
|
4546
|
+
chlorophyll_tokens_default.toString()
|
|
4547
|
+
);
|
|
4548
|
+
}
|
|
4549
|
+
|
|
4550
|
+
// libs/core/src/utils/transitional-styles/transitional-styles.ts
|
|
4551
|
+
var registerTransitionalStyles = () => {
|
|
4552
|
+
register11();
|
|
4553
|
+
register5();
|
|
4554
|
+
register7();
|
|
4555
|
+
register8();
|
|
4556
|
+
register3();
|
|
4557
|
+
register2();
|
|
4558
|
+
register4();
|
|
4559
|
+
register6();
|
|
4560
|
+
register10();
|
|
4561
|
+
register9();
|
|
4562
|
+
register();
|
|
4563
|
+
};
|
|
4564
|
+
function supportsConstructedStylesheets() {
|
|
4565
|
+
try {
|
|
4566
|
+
new CSSStyleSheet();
|
|
4567
|
+
return true;
|
|
4568
|
+
} catch (e) {
|
|
4569
|
+
return false;
|
|
4570
|
+
}
|
|
4571
|
+
}
|
|
4572
|
+
var TransitionalStyles = class _TransitionalStyles {
|
|
4573
|
+
constructor() {
|
|
4574
|
+
this.sheets = /* @__PURE__ */ new Map();
|
|
4575
|
+
this.elements = /* @__PURE__ */ new Map();
|
|
4576
|
+
this.sheetsLegacy = /* @__PURE__ */ new Map();
|
|
4577
|
+
this.useLegacyStylesheets = !supportsConstructedStylesheets();
|
|
4578
|
+
this.chlorophyllTokens = new CSSStyleSheet();
|
|
4579
|
+
}
|
|
4580
|
+
static get instance() {
|
|
4581
|
+
var _a;
|
|
4582
|
+
if (!((_a = globalThis.__gdsTransitionalStyles) == null ? void 0 : _a[VER_SUFFIX]))
|
|
4583
|
+
globalThis.__gdsTransitionalStyles = __spreadProps(__spreadValues({}, globalThis.__gdsTransitionalStyles), {
|
|
4584
|
+
[VER_SUFFIX]: new _TransitionalStyles()
|
|
4585
|
+
});
|
|
4586
|
+
return globalThis.__gdsTransitionalStyles[VER_SUFFIX];
|
|
4587
|
+
}
|
|
4588
|
+
apply(element, styleKey) {
|
|
4589
|
+
if (!element.shadowRoot)
|
|
4590
|
+
return;
|
|
4591
|
+
if (this.useLegacyStylesheets) {
|
|
4592
|
+
this.elements.set(styleKey, element);
|
|
4593
|
+
this.applyToElementLegacy(styleKey);
|
|
4594
|
+
return;
|
|
4595
|
+
}
|
|
4596
|
+
const sheet = this.sheets.get(styleKey);
|
|
4597
|
+
if (!sheet)
|
|
4598
|
+
return;
|
|
4599
|
+
this.elements.set(styleKey, element);
|
|
4600
|
+
this.applyToElement(styleKey, sheet);
|
|
4601
|
+
}
|
|
4602
|
+
applyToElement(styleKey, sheet) {
|
|
4603
|
+
const element = this.elements.get(styleKey);
|
|
4604
|
+
if (!element || !element.shadowRoot)
|
|
4605
|
+
return;
|
|
4606
|
+
element.shadowRoot.adoptedStyleSheets = [this.chlorophyllTokens, sheet];
|
|
4607
|
+
element._isUsingTransitionalStyles = true;
|
|
4608
|
+
}
|
|
4609
|
+
// This is a fallback for browsers that dosen't support constructed stylesheets.
|
|
4610
|
+
// Primarily, this is here to support Safari/iOS 15.x
|
|
4611
|
+
//
|
|
4612
|
+
// To work around the lack of Constructed Stylesheets, we use a regular <style>
|
|
4613
|
+
// element instead. The _tStyles property needs to be added to the render template
|
|
4614
|
+
// of each component.
|
|
4615
|
+
//
|
|
4616
|
+
// Lit itself will also add a <style> element to the shadow root in these browsers,
|
|
4617
|
+
// meaning that we have to override the base styles added from the static style
|
|
4618
|
+
// property in this case. This is what the `all: revert` rule is for.
|
|
4619
|
+
// We can use cascade layers to ensure that the revert rule overides the base styles
|
|
4620
|
+
// but not the transitional styles.
|
|
4621
|
+
// `@layer base, reset, transitional-styles;`
|
|
4622
|
+
applyToElementLegacy(styleKey) {
|
|
4623
|
+
const sheet = this.sheetsLegacy.get(styleKey);
|
|
4624
|
+
const element = this.elements.get(styleKey);
|
|
4625
|
+
if (!element)
|
|
4626
|
+
return;
|
|
4627
|
+
element._tStyles = html`<style>
|
|
4628
|
+
@layer reset {
|
|
4629
|
+
*:not(style, [gds-element]) {
|
|
4630
|
+
all: revert;
|
|
4631
|
+
}
|
|
4632
|
+
}
|
|
4633
|
+
${unsafeHTML(sheet)}
|
|
4634
|
+
</style>`;
|
|
4635
|
+
element._isUsingTransitionalStyles = true;
|
|
4636
|
+
}
|
|
4637
|
+
register(name, styles) {
|
|
4638
|
+
if (this.useLegacyStylesheets) {
|
|
4639
|
+
this.sheetsLegacy.set(name, styles);
|
|
4640
|
+
this.applyToElementLegacy(name);
|
|
4641
|
+
return;
|
|
4642
|
+
}
|
|
4643
|
+
const sheet = new CSSStyleSheet();
|
|
4644
|
+
sheet.replaceSync(styles);
|
|
4645
|
+
this.sheets.set(name, sheet);
|
|
4646
|
+
this.applyToElement(name, sheet);
|
|
4647
|
+
}
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
export {
|
|
4651
|
+
registerTransitionalStyles,
|
|
4652
|
+
TransitionalStyles
|
|
4653
|
+
};
|