@esri/solutions-components 0.7.12-alpha → 0.7.12-alpha2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -1
- package/package.json +2 -1
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +263 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +209 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +278 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +457 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +348 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +170 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +315 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/packages/solutions-components/dist/solutions-components_commit.txt +4 -4
- package/t9nmanifest.txt +6 -6
package/packages/node_modules/@esri/calcite-components/dist/collection/components/button/button.css
ADDED
@@ -0,0 +1,802 @@
|
|
1
|
+
/**
|
2
|
+
* Do not edit directly
|
3
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Do not edit directly
|
7
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Do not edit directly
|
11
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
12
|
+
*/
|
13
|
+
/**
|
14
|
+
* Do not edit directly
|
15
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Do not edit directly
|
19
|
+
* Generated on Sat, 02 Dec 2023 04:05:26 GMT
|
20
|
+
*/
|
21
|
+
/* mixins & extensions */
|
22
|
+
/* helper to properly scale internal durations */
|
23
|
+
/**
|
24
|
+
* Currently only used in Checkbox.
|
25
|
+
*/
|
26
|
+
:host([disabled]) {
|
27
|
+
cursor: default;
|
28
|
+
-webkit-user-select: none;
|
29
|
+
-moz-user-select: none;
|
30
|
+
user-select: none;
|
31
|
+
opacity: var(--calcite-opacity-disabled);
|
32
|
+
}
|
33
|
+
|
34
|
+
:host([disabled]) *,
|
35
|
+
:host([disabled]) ::slotted(*) {
|
36
|
+
pointer-events: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
:host {
|
40
|
+
display: inline-block;
|
41
|
+
inline-size: auto;
|
42
|
+
vertical-align: middle;
|
43
|
+
}
|
44
|
+
|
45
|
+
:host([round]) {
|
46
|
+
border-radius: 50px;
|
47
|
+
}
|
48
|
+
:host([round]) a, :host([round]) button {
|
49
|
+
border-radius: 50px;
|
50
|
+
}
|
51
|
+
|
52
|
+
:host button,
|
53
|
+
:host a {
|
54
|
+
outline-color: transparent;
|
55
|
+
}
|
56
|
+
:host button:focus,
|
57
|
+
:host a:focus {
|
58
|
+
outline: 2px solid var(--calcite-color-brand);
|
59
|
+
outline-offset: calc(
|
60
|
+
2px *
|
61
|
+
calc(
|
62
|
+
1 -
|
63
|
+
2 * clamp(
|
64
|
+
0,
|
65
|
+
var(--calcite-offset-invert-focus),
|
66
|
+
1
|
67
|
+
)
|
68
|
+
)
|
69
|
+
);
|
70
|
+
}
|
71
|
+
|
72
|
+
:host button,
|
73
|
+
:host a {
|
74
|
+
--calcite-button-content-margin-internal: 0.5rem;
|
75
|
+
--calcite-button-padding-x-internal: 7px;
|
76
|
+
--calcite-button-padding-y-internal: 3px;
|
77
|
+
padding-block: var(--calcite-button-padding-y-internal);
|
78
|
+
padding-inline: var(--calcite-button-padding-x-internal);
|
79
|
+
position: relative;
|
80
|
+
box-sizing: border-box;
|
81
|
+
display: flex;
|
82
|
+
block-size: 100%;
|
83
|
+
inline-size: 100%;
|
84
|
+
cursor: pointer;
|
85
|
+
-webkit-user-select: none;
|
86
|
+
-moz-user-select: none;
|
87
|
+
user-select: none;
|
88
|
+
-webkit-appearance: none;
|
89
|
+
-moz-appearance: none;
|
90
|
+
appearance: none;
|
91
|
+
align-items: center;
|
92
|
+
justify-content: center;
|
93
|
+
border-radius: 0px;
|
94
|
+
border-style: none;
|
95
|
+
text-align: center;
|
96
|
+
font-family: inherit;
|
97
|
+
font-weight: var(--calcite-font-weight-normal);
|
98
|
+
text-decoration-line: none;
|
99
|
+
transition: color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;
|
100
|
+
}
|
101
|
+
:host button:hover,
|
102
|
+
:host a:hover {
|
103
|
+
text-decoration-line: none;
|
104
|
+
}
|
105
|
+
:host button span,
|
106
|
+
:host a span {
|
107
|
+
overflow: hidden;
|
108
|
+
text-overflow: ellipsis;
|
109
|
+
white-space: nowrap;
|
110
|
+
}
|
111
|
+
|
112
|
+
.content {
|
113
|
+
margin-inline: var(--calcite-button-content-margin-internal);
|
114
|
+
}
|
115
|
+
|
116
|
+
.icon-start-empty .content {
|
117
|
+
margin-inline-start: unset;
|
118
|
+
}
|
119
|
+
|
120
|
+
.icon-end-empty .content {
|
121
|
+
margin-inline-end: unset;
|
122
|
+
}
|
123
|
+
|
124
|
+
:host([scale=m]) button,
|
125
|
+
:host([scale=m]) a {
|
126
|
+
--calcite-button-content-margin-internal: 0.75rem;
|
127
|
+
}
|
128
|
+
|
129
|
+
:host([scale=l]) button,
|
130
|
+
:host([scale=l]) a {
|
131
|
+
--calcite-button-content-margin-internal: 1rem;
|
132
|
+
}
|
133
|
+
|
134
|
+
:host([width=auto]) {
|
135
|
+
inline-size: auto;
|
136
|
+
}
|
137
|
+
|
138
|
+
:host([width=half]) {
|
139
|
+
inline-size: 50%;
|
140
|
+
}
|
141
|
+
|
142
|
+
:host([width=full]) {
|
143
|
+
inline-size: 100%;
|
144
|
+
}
|
145
|
+
|
146
|
+
:host([alignment=center]:not([width=auto])) a,
|
147
|
+
:host([alignment=center]:not([width=auto])) button {
|
148
|
+
justify-content: center;
|
149
|
+
}
|
150
|
+
|
151
|
+
:host([alignment=start]:not([width=auto])) a,
|
152
|
+
:host([alignment=start]:not([width=auto])) button {
|
153
|
+
justify-content: flex-start;
|
154
|
+
}
|
155
|
+
|
156
|
+
:host([alignment=end]:not([width=auto])) a,
|
157
|
+
:host([alignment=end]:not([width=auto])) button {
|
158
|
+
justify-content: flex-end;
|
159
|
+
}
|
160
|
+
|
161
|
+
:host([alignment*=space-between]:not([width=auto])) a,
|
162
|
+
:host([alignment*=space-between]:not([width=auto])) button {
|
163
|
+
justify-content: space-between;
|
164
|
+
}
|
165
|
+
|
166
|
+
:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start {
|
167
|
+
margin-inline-end: auto;
|
168
|
+
}
|
169
|
+
:host([alignment=icon-start-space-between]:not([width=auto])) a,
|
170
|
+
:host([alignment=icon-start-space-between]:not([width=auto])) button {
|
171
|
+
text-align: unset;
|
172
|
+
}
|
173
|
+
|
174
|
+
:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end {
|
175
|
+
margin-inline-start: auto;
|
176
|
+
}
|
177
|
+
:host([alignment=icon-end-space-between]:not([width=auto])) a,
|
178
|
+
:host([alignment=icon-end-space-between]:not([width=auto])) button {
|
179
|
+
text-align: unset;
|
180
|
+
}
|
181
|
+
|
182
|
+
:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,
|
183
|
+
:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end {
|
184
|
+
margin-inline-start: var(--calcite-button-content-margin-internal);
|
185
|
+
}
|
186
|
+
|
187
|
+
.icon {
|
188
|
+
position: relative;
|
189
|
+
margin: 0px;
|
190
|
+
display: inline-flex;
|
191
|
+
font-weight: var(--calcite-font-weight-normal);
|
192
|
+
line-height: inherit;
|
193
|
+
}
|
194
|
+
|
195
|
+
:host([disabled]) ::slotted([calcite-hydrated][disabled]),
|
196
|
+
:host([disabled]) [calcite-hydrated][disabled] {
|
197
|
+
/* prevent opacity stacking */
|
198
|
+
opacity: 1;
|
199
|
+
}
|
200
|
+
|
201
|
+
@keyframes loader-in {
|
202
|
+
0% {
|
203
|
+
inline-size: 0;
|
204
|
+
opacity: 0;
|
205
|
+
transform: scale(0.5);
|
206
|
+
}
|
207
|
+
100% {
|
208
|
+
inline-size: 1em;
|
209
|
+
opacity: 1;
|
210
|
+
transform: scale(1);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
@keyframes loader-out {
|
214
|
+
0% {
|
215
|
+
inline-size: 1em;
|
216
|
+
opacity: 1;
|
217
|
+
transform: scale(1);
|
218
|
+
}
|
219
|
+
100% {
|
220
|
+
inline-size: 0;
|
221
|
+
opacity: 0;
|
222
|
+
transform: scale(0.5);
|
223
|
+
}
|
224
|
+
}
|
225
|
+
.calcite-button--loader {
|
226
|
+
display: flex;
|
227
|
+
}
|
228
|
+
.calcite-button--loader calcite-loader {
|
229
|
+
margin: 0px;
|
230
|
+
transition: inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out;
|
231
|
+
}
|
232
|
+
.calcite-button--loader calcite-loader.loading-in {
|
233
|
+
animation-name: loader-in;
|
234
|
+
animation-duration: var(--calcite-internal-animation-timing-slow);
|
235
|
+
}
|
236
|
+
.calcite-button--loader calcite-loader.loading-out {
|
237
|
+
animation-name: loader-out;
|
238
|
+
animation-duration: var(--calcite-internal-animation-timing-slow);
|
239
|
+
}
|
240
|
+
|
241
|
+
:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,
|
242
|
+
:host([loading]) a.content--slotted .calcite-button--loader calcite-loader {
|
243
|
+
margin-inline-end: var(--calcite-button-content-margin-internal);
|
244
|
+
}
|
245
|
+
:host([loading]) button:not(.content--slotted) .icon--start,
|
246
|
+
:host([loading]) button:not(.content--slotted) .icon--end,
|
247
|
+
:host([loading]) a:not(.content--slotted) .icon--start,
|
248
|
+
:host([loading]) a:not(.content--slotted) .icon--end {
|
249
|
+
display: none;
|
250
|
+
}
|
251
|
+
|
252
|
+
:host([appearance]) button,
|
253
|
+
:host([appearance]) a {
|
254
|
+
border-width: 1px;
|
255
|
+
border-style: solid;
|
256
|
+
border-color: transparent;
|
257
|
+
}
|
258
|
+
|
259
|
+
:host([kind=brand]) button,
|
260
|
+
:host([kind=brand]) a {
|
261
|
+
background-color: var(--calcite-color-brand);
|
262
|
+
color: var(--calcite-color-text-inverse);
|
263
|
+
}
|
264
|
+
:host([kind=brand]) button:hover, :host([kind=brand]) button:focus,
|
265
|
+
:host([kind=brand]) a:hover,
|
266
|
+
:host([kind=brand]) a:focus {
|
267
|
+
background-color: var(--calcite-color-brand-hover);
|
268
|
+
}
|
269
|
+
:host([kind=brand]) button:active,
|
270
|
+
:host([kind=brand]) a:active {
|
271
|
+
background-color: var(--calcite-color-brand-press);
|
272
|
+
}
|
273
|
+
:host([kind=brand]) button calcite-loader,
|
274
|
+
:host([kind=brand]) a calcite-loader {
|
275
|
+
color: var(--calcite-color-text-inverse);
|
276
|
+
}
|
277
|
+
|
278
|
+
:host([kind=danger]) button,
|
279
|
+
:host([kind=danger]) a {
|
280
|
+
background-color: var(--calcite-color-status-danger);
|
281
|
+
color: var(--calcite-color-text-inverse);
|
282
|
+
}
|
283
|
+
:host([kind=danger]) button:hover, :host([kind=danger]) button:focus,
|
284
|
+
:host([kind=danger]) a:hover,
|
285
|
+
:host([kind=danger]) a:focus {
|
286
|
+
background-color: var(--calcite-color-status-danger-hover);
|
287
|
+
}
|
288
|
+
:host([kind=danger]) button:active,
|
289
|
+
:host([kind=danger]) a:active {
|
290
|
+
background-color: var(--calcite-color-status-danger-press);
|
291
|
+
}
|
292
|
+
:host([kind=danger]) button calcite-loader,
|
293
|
+
:host([kind=danger]) a calcite-loader {
|
294
|
+
color: var(--calcite-color-text-inverse);
|
295
|
+
}
|
296
|
+
|
297
|
+
:host([kind=neutral]) button,
|
298
|
+
:host([kind=neutral]) a {
|
299
|
+
background-color: var(--calcite-color-foreground-3);
|
300
|
+
color: var(--calcite-color-text-1);
|
301
|
+
}
|
302
|
+
:host([kind=neutral]) button:hover, :host([kind=neutral]) button:focus,
|
303
|
+
:host([kind=neutral]) a:hover,
|
304
|
+
:host([kind=neutral]) a:focus {
|
305
|
+
background-color: var(--calcite-color-foreground-2);
|
306
|
+
}
|
307
|
+
:host([kind=neutral]) button:active,
|
308
|
+
:host([kind=neutral]) a:active {
|
309
|
+
background-color: var(--calcite-color-foreground-1);
|
310
|
+
}
|
311
|
+
:host([kind=neutral]) button calcite-loader,
|
312
|
+
:host([kind=neutral]) a calcite-loader {
|
313
|
+
color: var(--calcite-color-text-1);
|
314
|
+
}
|
315
|
+
|
316
|
+
:host([kind=inverse]) button,
|
317
|
+
:host([kind=inverse]) a {
|
318
|
+
color: var(--calcite-color-text-inverse);
|
319
|
+
background-color: var(--calcite-color-inverse);
|
320
|
+
}
|
321
|
+
:host([kind=inverse]) button:hover, :host([kind=inverse]) button:focus,
|
322
|
+
:host([kind=inverse]) a:hover,
|
323
|
+
:host([kind=inverse]) a:focus {
|
324
|
+
background-color: var(--calcite-color-inverse-hover);
|
325
|
+
}
|
326
|
+
:host([kind=inverse]) button:active,
|
327
|
+
:host([kind=inverse]) a:active {
|
328
|
+
background-color: var(--calcite-color-inverse-press);
|
329
|
+
}
|
330
|
+
:host([kind=inverse]) button calcite-loader,
|
331
|
+
:host([kind=inverse]) a calcite-loader {
|
332
|
+
color: var(--calcite-color-text-inverse);
|
333
|
+
}
|
334
|
+
|
335
|
+
:host([appearance=outline-fill]) button,
|
336
|
+
:host([appearance=outline-fill]) a {
|
337
|
+
border-width: 1px;
|
338
|
+
border-style: solid;
|
339
|
+
background-color: var(--calcite-color-foreground-1);
|
340
|
+
box-shadow: inset 0 0 0 1px transparent;
|
341
|
+
}
|
342
|
+
|
343
|
+
:host([appearance=outline-fill][kind=brand]) button,
|
344
|
+
:host([appearance=outline-fill][kind=brand]) a {
|
345
|
+
border-color: var(--calcite-color-brand);
|
346
|
+
background-color: var(--calcite-color-foreground-1);
|
347
|
+
color: var(--calcite-color-brand);
|
348
|
+
}
|
349
|
+
:host([appearance=outline-fill][kind=brand]) button:hover,
|
350
|
+
:host([appearance=outline-fill][kind=brand]) a:hover {
|
351
|
+
border-color: var(--calcite-color-brand-hover);
|
352
|
+
color: var(--calcite-color-brand-hover);
|
353
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);
|
354
|
+
}
|
355
|
+
:host([appearance=outline-fill][kind=brand]) button:focus,
|
356
|
+
:host([appearance=outline-fill][kind=brand]) a:focus {
|
357
|
+
border-color: var(--calcite-color-brand);
|
358
|
+
color: var(--calcite-color-brand);
|
359
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-brand);
|
360
|
+
}
|
361
|
+
:host([appearance=outline-fill][kind=brand]) button:active,
|
362
|
+
:host([appearance=outline-fill][kind=brand]) a:active {
|
363
|
+
border-color: var(--calcite-color-brand-press);
|
364
|
+
color: var(--calcite-color-brand-press);
|
365
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);
|
366
|
+
}
|
367
|
+
:host([appearance=outline-fill][kind=brand]) button calcite-loader,
|
368
|
+
:host([appearance=outline-fill][kind=brand]) a calcite-loader {
|
369
|
+
color: var(--calcite-color-brand);
|
370
|
+
}
|
371
|
+
|
372
|
+
:host([appearance=outline-fill][kind=danger]) button,
|
373
|
+
:host([appearance=outline-fill][kind=danger]) a {
|
374
|
+
border-color: var(--calcite-color-status-danger);
|
375
|
+
background-color: var(--calcite-color-foreground-1);
|
376
|
+
color: var(--calcite-color-status-danger);
|
377
|
+
}
|
378
|
+
:host([appearance=outline-fill][kind=danger]) button:hover,
|
379
|
+
:host([appearance=outline-fill][kind=danger]) a:hover {
|
380
|
+
border-color: var(--calcite-color-status-danger-hover);
|
381
|
+
color: var(--calcite-color-status-danger-hover);
|
382
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);
|
383
|
+
}
|
384
|
+
:host([appearance=outline-fill][kind=danger]) button:focus,
|
385
|
+
:host([appearance=outline-fill][kind=danger]) a:focus {
|
386
|
+
border-color: var(--calcite-color-status-danger);
|
387
|
+
color: var(--calcite-color-status-danger);
|
388
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);
|
389
|
+
}
|
390
|
+
:host([appearance=outline-fill][kind=danger]) button:active,
|
391
|
+
:host([appearance=outline-fill][kind=danger]) a:active {
|
392
|
+
border-color: var(--calcite-color-status-danger-press);
|
393
|
+
color: var(--calcite-color-status-danger-press);
|
394
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);
|
395
|
+
}
|
396
|
+
:host([appearance=outline-fill][kind=danger]) button calcite-loader,
|
397
|
+
:host([appearance=outline-fill][kind=danger]) a calcite-loader {
|
398
|
+
color: var(--calcite-color-status-danger);
|
399
|
+
}
|
400
|
+
|
401
|
+
:host([appearance=outline-fill][kind=neutral]) button,
|
402
|
+
:host([appearance=outline-fill][kind=neutral]) a {
|
403
|
+
background-color: var(--calcite-color-foreground-1);
|
404
|
+
color: var(--calcite-color-text-1);
|
405
|
+
border-color: var(--calcite-color-border-1);
|
406
|
+
}
|
407
|
+
:host([appearance=outline-fill][kind=neutral]) button:hover,
|
408
|
+
:host([appearance=outline-fill][kind=neutral]) a:hover {
|
409
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);
|
410
|
+
}
|
411
|
+
:host([appearance=outline-fill][kind=neutral]) button:focus,
|
412
|
+
:host([appearance=outline-fill][kind=neutral]) a:focus {
|
413
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);
|
414
|
+
}
|
415
|
+
:host([appearance=outline-fill][kind=neutral]) button:active,
|
416
|
+
:host([appearance=outline-fill][kind=neutral]) a:active {
|
417
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);
|
418
|
+
}
|
419
|
+
:host([appearance=outline-fill][kind=neutral]) button calcite-loader,
|
420
|
+
:host([appearance=outline-fill][kind=neutral]) a calcite-loader {
|
421
|
+
color: var(--calcite-color-text-1);
|
422
|
+
}
|
423
|
+
|
424
|
+
:host([appearance=outline-fill][kind=inverse]) button,
|
425
|
+
:host([appearance=outline-fill][kind=inverse]) a {
|
426
|
+
background-color: var(--calcite-color-foreground-1);
|
427
|
+
color: var(--calcite-color-text-1);
|
428
|
+
border-color: var(--calcite-color-inverse);
|
429
|
+
}
|
430
|
+
:host([appearance=outline-fill][kind=inverse]) button:hover,
|
431
|
+
:host([appearance=outline-fill][kind=inverse]) a:hover {
|
432
|
+
border-color: var(--calcite-color-inverse-hover);
|
433
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);
|
434
|
+
}
|
435
|
+
:host([appearance=outline-fill][kind=inverse]) button:focus,
|
436
|
+
:host([appearance=outline-fill][kind=inverse]) a:focus {
|
437
|
+
border-color: var(--calcite-color-inverse);
|
438
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);
|
439
|
+
}
|
440
|
+
:host([appearance=outline-fill][kind=inverse]) button:active,
|
441
|
+
:host([appearance=outline-fill][kind=inverse]) a:active {
|
442
|
+
border-color: var(--calcite-color-inverse-press);
|
443
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);
|
444
|
+
}
|
445
|
+
:host([appearance=outline-fill][kind=inverse]) button calcite-loader,
|
446
|
+
:host([appearance=outline-fill][kind=inverse]) a calcite-loader {
|
447
|
+
color: var(--calcite-color-text-1);
|
448
|
+
}
|
449
|
+
|
450
|
+
:host([appearance=outline]) button,
|
451
|
+
:host([appearance=outline]) a {
|
452
|
+
border-width: 1px;
|
453
|
+
border-style: solid;
|
454
|
+
background-color: transparent;
|
455
|
+
box-shadow: inset 0 0 0 1px transparent;
|
456
|
+
}
|
457
|
+
|
458
|
+
:host([appearance=outline][kind=brand]) button,
|
459
|
+
:host([appearance=outline][kind=brand]) a {
|
460
|
+
border-color: var(--calcite-color-brand);
|
461
|
+
background-color: transparent;
|
462
|
+
color: var(--calcite-color-brand);
|
463
|
+
}
|
464
|
+
:host([appearance=outline][kind=brand]) button:hover,
|
465
|
+
:host([appearance=outline][kind=brand]) a:hover {
|
466
|
+
border-color: var(--calcite-color-brand-hover);
|
467
|
+
color: var(--calcite-color-brand-hover);
|
468
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-brand-hover);
|
469
|
+
}
|
470
|
+
:host([appearance=outline][kind=brand]) button:focus,
|
471
|
+
:host([appearance=outline][kind=brand]) a:focus {
|
472
|
+
border-color: var(--calcite-color-brand);
|
473
|
+
color: var(--calcite-color-brand);
|
474
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-brand);
|
475
|
+
}
|
476
|
+
:host([appearance=outline][kind=brand]) button:active,
|
477
|
+
:host([appearance=outline][kind=brand]) a:active {
|
478
|
+
border-color: var(--calcite-color-brand-press);
|
479
|
+
color: var(--calcite-color-brand-press);
|
480
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-brand-press);
|
481
|
+
}
|
482
|
+
:host([appearance=outline][kind=brand]) button calcite-loader,
|
483
|
+
:host([appearance=outline][kind=brand]) a calcite-loader {
|
484
|
+
color: var(--calcite-color-brand);
|
485
|
+
}
|
486
|
+
|
487
|
+
:host([appearance=outline][kind=danger]) button,
|
488
|
+
:host([appearance=outline][kind=danger]) a {
|
489
|
+
border-color: var(--calcite-color-status-danger);
|
490
|
+
background-color: transparent;
|
491
|
+
color: var(--calcite-color-status-danger);
|
492
|
+
}
|
493
|
+
:host([appearance=outline][kind=danger]) button:hover,
|
494
|
+
:host([appearance=outline][kind=danger]) a:hover {
|
495
|
+
border-color: var(--calcite-color-status-danger-hover);
|
496
|
+
color: var(--calcite-color-status-danger-hover);
|
497
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-status-danger-hover);
|
498
|
+
}
|
499
|
+
:host([appearance=outline][kind=danger]) button:focus,
|
500
|
+
:host([appearance=outline][kind=danger]) a:focus {
|
501
|
+
border-color: var(--calcite-color-status-danger);
|
502
|
+
color: var(--calcite-color-status-danger);
|
503
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger);
|
504
|
+
}
|
505
|
+
:host([appearance=outline][kind=danger]) button:active,
|
506
|
+
:host([appearance=outline][kind=danger]) a:active {
|
507
|
+
border-color: var(--calcite-color-status-danger-press);
|
508
|
+
color: var(--calcite-color-status-danger-press);
|
509
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-status-danger-press);
|
510
|
+
}
|
511
|
+
:host([appearance=outline][kind=danger]) button calcite-loader,
|
512
|
+
:host([appearance=outline][kind=danger]) a calcite-loader {
|
513
|
+
color: var(--calcite-color-status-danger);
|
514
|
+
}
|
515
|
+
|
516
|
+
:host([appearance=outline][kind=neutral]) button,
|
517
|
+
:host([appearance=outline][kind=neutral]) a {
|
518
|
+
background-color: transparent;
|
519
|
+
color: var(--calcite-color-text-1);
|
520
|
+
border-color: var(--calcite-color-border-1);
|
521
|
+
}
|
522
|
+
:host([appearance=outline][kind=neutral]) button:hover,
|
523
|
+
:host([appearance=outline][kind=neutral]) a:hover {
|
524
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-foreground-3);
|
525
|
+
}
|
526
|
+
:host([appearance=outline][kind=neutral]) button:focus,
|
527
|
+
:host([appearance=outline][kind=neutral]) a:focus {
|
528
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);
|
529
|
+
}
|
530
|
+
:host([appearance=outline][kind=neutral]) button:active,
|
531
|
+
:host([appearance=outline][kind=neutral]) a:active {
|
532
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-foreground-3);
|
533
|
+
}
|
534
|
+
:host([appearance=outline][kind=neutral]) button calcite-loader,
|
535
|
+
:host([appearance=outline][kind=neutral]) a calcite-loader {
|
536
|
+
color: var(--calcite-color-text-1);
|
537
|
+
}
|
538
|
+
|
539
|
+
:host([appearance=outline][kind=inverse]) button,
|
540
|
+
:host([appearance=outline][kind=inverse]) a {
|
541
|
+
background-color: transparent;
|
542
|
+
color: var(--calcite-color-text-1);
|
543
|
+
border-color: var(--calcite-color-inverse);
|
544
|
+
}
|
545
|
+
:host([appearance=outline][kind=inverse]) button:hover,
|
546
|
+
:host([appearance=outline][kind=inverse]) a:hover {
|
547
|
+
border-color: var(--calcite-color-inverse-hover);
|
548
|
+
box-shadow: inset 0 0 0 1px var(--calcite-color-inverse-hover);
|
549
|
+
}
|
550
|
+
:host([appearance=outline][kind=inverse]) button:focus,
|
551
|
+
:host([appearance=outline][kind=inverse]) a:focus {
|
552
|
+
border-color: var(--calcite-color-inverse);
|
553
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-inverse);
|
554
|
+
}
|
555
|
+
:host([appearance=outline][kind=inverse]) button:active,
|
556
|
+
:host([appearance=outline][kind=inverse]) a:active {
|
557
|
+
border-color: var(--calcite-color-inverse-press);
|
558
|
+
box-shadow: inset 0 0 0 2px var(--calcite-color-inverse-press);
|
559
|
+
}
|
560
|
+
:host([appearance=outline][kind=inverse]) button calcite-loader,
|
561
|
+
:host([appearance=outline][kind=inverse]) a calcite-loader {
|
562
|
+
color: var(--calcite-color-text-1);
|
563
|
+
}
|
564
|
+
|
565
|
+
:host([appearance=outline-fill][split-child=primary]) button,
|
566
|
+
:host([appearance=outline][split-child=primary]) button {
|
567
|
+
border-inline-end-width: 0;
|
568
|
+
border-inline-start-width: 1px;
|
569
|
+
}
|
570
|
+
|
571
|
+
:host([appearance=outline-fill][split-child=secondary]) button,
|
572
|
+
:host([appearance=outline][split-child=secondary]) button {
|
573
|
+
border-inline-start-width: 0;
|
574
|
+
border-inline-end-width: 1px;
|
575
|
+
}
|
576
|
+
|
577
|
+
:host([appearance=transparent]:not(.enable-editing-button)) button,
|
578
|
+
:host([appearance=transparent]:not(.enable-editing-button)) a {
|
579
|
+
background-color: transparent;
|
580
|
+
}
|
581
|
+
:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,
|
582
|
+
:host([appearance=transparent]:not(.enable-editing-button)) a:hover,
|
583
|
+
:host([appearance=transparent]:not(.enable-editing-button)) a:focus {
|
584
|
+
background-color: var(--calcite-color-transparent-hover);
|
585
|
+
}
|
586
|
+
:host([appearance=transparent]:not(.enable-editing-button)) button:active,
|
587
|
+
:host([appearance=transparent]:not(.enable-editing-button)) a:active {
|
588
|
+
background-color: var(--calcite-color-transparent-press);
|
589
|
+
}
|
590
|
+
|
591
|
+
:host([appearance=transparent][kind=brand]) button,
|
592
|
+
:host([appearance=transparent][kind=brand]) a {
|
593
|
+
color: var(--calcite-color-brand);
|
594
|
+
}
|
595
|
+
:host([appearance=transparent][kind=brand]) button:hover,
|
596
|
+
:host([appearance=transparent][kind=brand]) a:hover {
|
597
|
+
color: var(--calcite-color-brand-hover);
|
598
|
+
}
|
599
|
+
:host([appearance=transparent][kind=brand]) button:focus,
|
600
|
+
:host([appearance=transparent][kind=brand]) a:focus {
|
601
|
+
color: var(--calcite-color-brand);
|
602
|
+
}
|
603
|
+
:host([appearance=transparent][kind=brand]) button:active,
|
604
|
+
:host([appearance=transparent][kind=brand]) a:active {
|
605
|
+
color: var(--calcite-color-brand-press);
|
606
|
+
}
|
607
|
+
:host([appearance=transparent][kind=brand]) button calcite-loader,
|
608
|
+
:host([appearance=transparent][kind=brand]) a calcite-loader {
|
609
|
+
color: var(--calcite-color-brand);
|
610
|
+
}
|
611
|
+
|
612
|
+
:host([appearance=transparent][kind=danger]) button,
|
613
|
+
:host([appearance=transparent][kind=danger]) a {
|
614
|
+
color: var(--calcite-color-status-danger);
|
615
|
+
}
|
616
|
+
:host([appearance=transparent][kind=danger]) button:hover,
|
617
|
+
:host([appearance=transparent][kind=danger]) a:hover {
|
618
|
+
color: var(--calcite-color-status-danger-hover);
|
619
|
+
}
|
620
|
+
:host([appearance=transparent][kind=danger]) button:focus,
|
621
|
+
:host([appearance=transparent][kind=danger]) a:focus {
|
622
|
+
color: var(--calcite-color-status-danger);
|
623
|
+
}
|
624
|
+
:host([appearance=transparent][kind=danger]) button:active,
|
625
|
+
:host([appearance=transparent][kind=danger]) a:active {
|
626
|
+
color: var(--calcite-color-status-danger-press);
|
627
|
+
}
|
628
|
+
:host([appearance=transparent][kind=danger]) button calcite-loader,
|
629
|
+
:host([appearance=transparent][kind=danger]) a calcite-loader {
|
630
|
+
color: var(--calcite-color-status-danger);
|
631
|
+
}
|
632
|
+
|
633
|
+
:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,
|
634
|
+
:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,
|
635
|
+
:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader {
|
636
|
+
color: var(--calcite-color-text-1);
|
637
|
+
}
|
638
|
+
|
639
|
+
:host([appearance=transparent][kind=neutral].cancel-editing-button) button {
|
640
|
+
border-block-start-width: 1px;
|
641
|
+
border-block-end-width: 1px;
|
642
|
+
color: var(--calcite-color-text-3);
|
643
|
+
border-block-start-color: var(--calcite-color-border-input);
|
644
|
+
border-block-end-color: var(--calcite-color-border-input);
|
645
|
+
border-block-style: solid;
|
646
|
+
}
|
647
|
+
:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted) {
|
648
|
+
--calcite-button-padding-y-internal: 0;
|
649
|
+
}
|
650
|
+
:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover {
|
651
|
+
color: var(--calcite-color-text-1);
|
652
|
+
}
|
653
|
+
|
654
|
+
:host([appearance=transparent][kind=neutral].enable-editing-button) button {
|
655
|
+
background-color: transparent;
|
656
|
+
}
|
657
|
+
|
658
|
+
:host(.confirm-changes-button) button:focus,
|
659
|
+
:host(.cancel-editing-button) button:focus,
|
660
|
+
:host(.enable-editing-button) button:focus {
|
661
|
+
outline-offset: -2px;
|
662
|
+
}
|
663
|
+
|
664
|
+
:host([appearance=transparent][kind=inverse]) button,
|
665
|
+
:host([appearance=transparent][kind=inverse]) a,
|
666
|
+
:host([appearance=transparent][kind=inverse]) calcite-loader {
|
667
|
+
color: var(--calcite-color-text-inverse);
|
668
|
+
}
|
669
|
+
|
670
|
+
:host([scale=s]) button.content--slotted,
|
671
|
+
:host([scale=s]) a.content--slotted {
|
672
|
+
font-size: var(--calcite-font-size--2);
|
673
|
+
line-height: 1rem;
|
674
|
+
}
|
675
|
+
|
676
|
+
:host([scale=s][appearance=transparent]) button.content--slotted,
|
677
|
+
:host([scale=s][appearance=transparent]) a.content--slotted {
|
678
|
+
--calcite-button-padding-x-internal: 0.5rem;
|
679
|
+
}
|
680
|
+
|
681
|
+
:host([scale=s]) button,
|
682
|
+
:host([scale=s]) a {
|
683
|
+
--calcite-button-padding-y-internal: 3px;
|
684
|
+
}
|
685
|
+
|
686
|
+
:host([scale=m]) button.content--slotted,
|
687
|
+
:host([scale=m]) a.content--slotted {
|
688
|
+
--calcite-button-padding-x-internal: 11px;
|
689
|
+
font-size: var(--calcite-font-size--1);
|
690
|
+
line-height: 1rem;
|
691
|
+
}
|
692
|
+
|
693
|
+
:host([scale=m]) button,
|
694
|
+
:host([scale=m]) a {
|
695
|
+
--calcite-button-padding-y-internal: 7px;
|
696
|
+
}
|
697
|
+
|
698
|
+
:host([scale=m][appearance=transparent]) button.content--slotted,
|
699
|
+
:host([scale=m][appearance=transparent]) a.content--slotted {
|
700
|
+
--calcite-button-padding-x-internal: 0.75rem;
|
701
|
+
}
|
702
|
+
|
703
|
+
:host([scale=l]) button.content--slotted,
|
704
|
+
:host([scale=l]) a.content--slotted {
|
705
|
+
--calcite-button-padding-x-internal: 15px;
|
706
|
+
font-size: var(--calcite-font-size-0);
|
707
|
+
line-height: 1.25rem;
|
708
|
+
}
|
709
|
+
|
710
|
+
:host([scale=l]) .button-padding {
|
711
|
+
--calcite-button-padding-x-internal: 1rem;
|
712
|
+
--calcite-button-padding-y-internal: 11px;
|
713
|
+
}
|
714
|
+
:host([scale=l]) .button-padding--shrunk {
|
715
|
+
--calcite-button-padding-y-internal: 9px;
|
716
|
+
}
|
717
|
+
|
718
|
+
:host([scale=s]) button:not(.content--slotted),
|
719
|
+
:host([scale=s]) a:not(.content--slotted) {
|
720
|
+
--calcite-button-padding-x-internal: 0.125rem;
|
721
|
+
--calcite-button-padding-y-internal: 3px;
|
722
|
+
inline-size: 1.5rem;
|
723
|
+
font-size: var(--calcite-font-size-0);
|
724
|
+
line-height: 1.25rem;
|
725
|
+
min-block-size: 1.5rem;
|
726
|
+
}
|
727
|
+
|
728
|
+
:host([scale=m]) button:not(.content--slotted),
|
729
|
+
:host([scale=m]) a:not(.content--slotted) {
|
730
|
+
--calcite-button-padding-x-internal: 0.125rem;
|
731
|
+
--calcite-button-padding-y-internal: 7px;
|
732
|
+
inline-size: 2rem;
|
733
|
+
font-size: var(--calcite-font-size-0);
|
734
|
+
line-height: 1.25rem;
|
735
|
+
min-block-size: 2rem;
|
736
|
+
}
|
737
|
+
|
738
|
+
:host([scale=l]) button:not(.content--slotted),
|
739
|
+
:host([scale=l]) a:not(.content--slotted) {
|
740
|
+
--calcite-button-padding-x-internal: 0.125rem;
|
741
|
+
--calcite-button-padding-y-internal: 9px;
|
742
|
+
inline-size: 2.75rem;
|
743
|
+
font-size: var(--calcite-font-size-0);
|
744
|
+
line-height: 1.25rem;
|
745
|
+
min-block-size: 2.75rem;
|
746
|
+
}
|
747
|
+
|
748
|
+
:host([scale=l][appearance=transparent]) button:not(.content--slotted),
|
749
|
+
:host([scale=l][appearance=transparent]) a:not(.content--slotted) {
|
750
|
+
--calcite-button-padding-y-internal: 0.625rem;
|
751
|
+
}
|
752
|
+
|
753
|
+
:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),
|
754
|
+
:host([scale=s][icon-start][icon-end]) a:not(.content--slotted) {
|
755
|
+
--calcite-button-padding-x-internal: 23px;
|
756
|
+
block-size: 1.5rem;
|
757
|
+
font-size: var(--calcite-font-size-0);
|
758
|
+
line-height: 1.25rem;
|
759
|
+
}
|
760
|
+
|
761
|
+
:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),
|
762
|
+
:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {
|
763
|
+
--calcite-button-padding-x-internal: 1.5rem;
|
764
|
+
}
|
765
|
+
|
766
|
+
:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),
|
767
|
+
:host([scale=m][icon-start][icon-end]) a:not(.content--slotted) {
|
768
|
+
--calcite-button-padding-x-internal: 2rem;
|
769
|
+
block-size: 2rem;
|
770
|
+
font-size: var(--calcite-font-size-0);
|
771
|
+
line-height: 1.25rem;
|
772
|
+
}
|
773
|
+
|
774
|
+
:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),
|
775
|
+
:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {
|
776
|
+
--calcite-button-padding-x-internal: 33px;
|
777
|
+
}
|
778
|
+
|
779
|
+
:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),
|
780
|
+
:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) {
|
781
|
+
--calcite-button-padding-x-internal: 43px;
|
782
|
+
block-size: 2.75rem;
|
783
|
+
font-size: var(--calcite-font-size-0);
|
784
|
+
line-height: 1.25rem;
|
785
|
+
}
|
786
|
+
:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,
|
787
|
+
:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end {
|
788
|
+
margin-inline-start: 1rem;
|
789
|
+
}
|
790
|
+
|
791
|
+
:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),
|
792
|
+
:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {
|
793
|
+
--calcite-button-padding-x-internal: 2.75rem;
|
794
|
+
}
|
795
|
+
|
796
|
+
:host([hidden]) {
|
797
|
+
display: none;
|
798
|
+
}
|
799
|
+
|
800
|
+
[hidden] {
|
801
|
+
display: none;
|
802
|
+
}
|