@inera/ids-design 5.0.2 → 5.1.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/components/alert/alert-lit.js +1 -1
- package/components/alert/alert.css +2 -1
- package/components/alert-global/alert-global-lit.js +1 -1
- package/components/alert-global/alert-global.css +1 -1
- package/components/badge/badge-lit.js +1 -1
- package/components/badge/badge.css +9 -9
- package/components/breadcrumbs/breadcrumbs.css +1 -0
- package/components/card/card.css +1 -0
- package/components/data-table/data-table-lit.js +1 -1
- package/components/data-table/data-table.css +3 -0
- package/components/description-list/description-list-lit.js +7 -0
- package/components/description-list/description-list.css +98 -0
- package/components/dialog/dialog.css +1 -0
- package/components/dropdown/dropdown-lit.js +9 -0
- package/components/dropdown/dropdown.css +118 -0
- package/components/expandable/expandable-lit.js +1 -1
- package/components/expandable/expandable.css +18 -11
- package/components/footer/footer-lit.js +1 -1
- package/components/footer/footer.css +3 -1
- package/components/footer-1177/footer-1177-lit.js +1 -1
- package/components/footer-1177/footer-1177.css +6 -6
- package/components/footer-1177-admin/footer-1177-admin-lit.js +1 -1
- package/components/footer-1177-admin/footer-1177-admin.css +12 -12
- package/components/footer-1177-pro/footer-1177-pro-lit.js +1 -1
- package/components/footer-1177-pro/footer-1177-pro.css +14 -12
- package/components/footer-inera/footer-inera-lit.js +1 -1
- package/components/footer-inera/footer-inera.css +6 -6
- package/components/footer-inera-admin/footer-inera-admin-lit.js +1 -1
- package/components/footer-inera-admin/footer-inera-admin.css +17 -8
- package/components/form/error-message/error-message-lit.js +1 -1
- package/components/form/error-message/error-message.css +1 -1
- package/components/form/select-multiple/select-multiple-lit.js +1 -1
- package/components/form/select-multiple/select-multiple.css +4 -2
- package/components/form/toggle/toggle.css +1 -0
- package/components/header-1177/composite-header-1177.css +76 -40
- package/components/header-1177/header-1177-avatar.css +1 -0
- package/components/header-1177/header-1177-item.css +1 -0
- package/components/header-1177/header-1177-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-mobile-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-mobile.css +18 -0
- package/components/header-1177/header-1177-nav-item.css +5 -0
- package/components/header-1177/header-1177-nav-lit.js +1 -1
- package/components/header-1177/header-1177-nav.css +0 -8
- package/components/header-1177/header-1177.css +51 -32
- package/components/header-1177-admin/header-1177-admin-avatar-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar-mobile.css +1 -0
- package/components/header-1177-admin/header-1177-admin-avatar.css +13 -0
- package/components/header-1177-admin/header-1177-admin-item.css +1 -0
- package/components/header-1177-admin/header-1177-admin-nav-item-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item.css +5 -0
- package/components/header-1177-admin/header-1177-admin.css +1 -0
- package/components/header-1177-pro/header-1177-pro-avatar-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile.css +1 -0
- package/components/header-1177-pro/header-1177-pro-avatar.css +17 -4
- package/components/header-1177-pro/header-1177-pro-item.css +1 -0
- package/components/header-1177-pro/header-1177-pro-nav-item-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item.css +5 -0
- package/components/header-1177-pro/header-1177-pro-nav-menu-mobile.css +1 -0
- package/components/header-1177-pro/header-1177-pro-region-picker.css +1 -0
- package/components/header-1177-pro/header-1177-pro.css +1 -0
- package/components/header-inera/header-inera-item-lit.d.ts +2 -0
- package/components/header-inera/header-inera-item-lit.js +7 -0
- package/components/header-inera/header-inera-item.css +95 -0
- package/components/header-inera/header-inera-lit.d.ts +2 -0
- package/components/header-inera/header-inera-lit.js +7 -0
- package/components/header-inera/header-inera-nav-item-lit.d.ts +2 -0
- package/components/header-inera/header-inera-nav-item-lit.js +7 -0
- package/components/header-inera/header-inera-nav-item.css +199 -0
- package/components/header-inera/header-inera-nav-lit.d.ts +2 -0
- package/components/header-inera/header-inera-nav-lit.js +7 -0
- package/components/header-inera/header-inera-nav-mobile-lit.d.ts +2 -0
- package/components/header-inera/header-inera-nav-mobile-lit.js +7 -0
- package/components/header-inera/header-inera-nav-mobile.css +131 -0
- package/components/header-inera/header-inera-nav.css +53 -0
- package/components/header-inera/header-inera.css +101 -0
- package/components/header-inera-admin/composite-header-inera-admin.css +845 -0
- package/components/header-inera-admin/header-inera-admin-avatar-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-avatar-mobile-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-avatar-mobile-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-avatar-mobile.css +72 -0
- package/components/header-inera-admin/header-inera-admin-avatar.css +143 -0
- package/components/header-inera-admin/header-inera-admin-item-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-item-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-item.css +95 -0
- package/components/header-inera-admin/header-inera-admin-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-nav-item-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-nav-item-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-nav-item.css +198 -0
- package/components/header-inera-admin/header-inera-admin-nav-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-nav-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-nav-mobile-lit.d.ts +2 -0
- package/components/header-inera-admin/header-inera-admin-nav-mobile-lit.js +7 -0
- package/components/header-inera-admin/header-inera-admin-nav-mobile.css +131 -0
- package/components/header-inera-admin/header-inera-admin-nav.css +53 -0
- package/components/header-inera-admin/header-inera-admin.css +147 -0
- package/components/list/list-lit.js +1 -1
- package/components/list/list.css +4 -3
- package/components/mobile-menu/mobile-menu-lit.js +1 -1
- package/components/mobile-menu/mobile-menu.css +23 -22
- package/components/navigation/content/navigation-content-lit.d.ts +2 -0
- package/components/navigation/content/navigation-content-lit.js +7 -0
- package/components/navigation/content/navigation-content.css +67 -0
- package/components/navigation/local/navigation-local-lit.d.ts +2 -0
- package/components/navigation/local/navigation-local-lit.js +7 -0
- package/components/navigation/local/navigation-local.css +85 -0
- package/components/pagination/data-pagination/data-pagination-lit.d.ts +2 -0
- package/components/pagination/data-pagination/data-pagination-lit.js +7 -0
- package/components/pagination/data-pagination/data-pagination.css +141 -0
- package/components/pagination/list-pagination/list-pagination-lit.d.ts +2 -0
- package/components/pagination/list-pagination/list-pagination-lit.js +9 -0
- package/components/pagination/list-pagination/list-pagination.css +152 -0
- package/components/popover/popover-content-lit.d.ts +2 -0
- package/components/popover/popover-content-lit.js +7 -0
- package/components/{popover-content → popover}/popover-content.css +9 -8
- package/components/popover/popover-lit.js +1 -1
- package/components/popover/popover.css +3 -12
- package/components/stepper/stepper-lit.d.ts +2 -0
- package/components/stepper/stepper-lit.js +7 -0
- package/components/stepper/stepper.css +160 -0
- package/components/tabs/tab-lit.d.ts +2 -0
- package/components/tabs/tab-lit.js +7 -0
- package/components/tabs/tab-panel-lit.d.ts +2 -0
- package/components/tabs/tab-panel-lit.js +7 -0
- package/components/tabs/tab-panel.css +27 -0
- package/components/tabs/tab.css +96 -0
- package/components/tabs/tabs-lit.js +2 -2
- package/components/tabs/tabs.css +1 -87
- package/components/tag/tag-lit.js +1 -1
- package/components/tag/tag.css +46 -6
- package/components/tooltip/tooltip-lit.d.ts +2 -0
- package/components/tooltip/tooltip-lit.js +7 -0
- package/components/tooltip/tooltip.css +87 -0
- package/global/_partials.css +2 -1
- package/global/global.css +662 -63
- package/global/util/util.css +24 -0
- package/package.json +2 -1
- package/themes/1177/1177.css +847 -242
- package/themes/1177-pro/1177-pro.css +868 -244
- package/themes/inera/inera.css +849 -234
- package/themes/inera-admin/inera-admin.css +867 -236
- package/components/button/button-lit.js +0 -7
- package/components/button/button.css +0 -308
- package/components/link/link-lit.js +0 -7
- package/components/link/link.css +0 -131
- package/components/popover-content/popover-content-lit.js +0 -7
- /package/components/{button/button-lit.d.ts → description-list/description-list-lit.d.ts} +0 -0
- /package/components/{link/link-lit.d.ts → dropdown/dropdown-lit.d.ts} +0 -0
- /package/components/{popover-content/popover-content-lit.d.ts → header-inera-admin/header-inera-admin-avatar-lit.d.ts} +0 -0
package/components/tabs/tabs.css
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/*******
|
|
6
6
|
* Accessibility
|
|
7
7
|
********/
|
|
8
|
+
/* headings */
|
|
8
9
|
.ids-tabs {
|
|
9
10
|
display: flex;
|
|
10
11
|
border-bottom: var(--IDS-TABS_BORDER-BOTTOM);
|
|
@@ -31,94 +32,7 @@
|
|
|
31
32
|
pointer-events: none;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
.ids-tab {
|
|
35
|
-
min-width: 24px;
|
|
36
|
-
min-height: 24px;
|
|
37
|
-
background: none;
|
|
38
|
-
color: inherit;
|
|
39
|
-
border: none;
|
|
40
|
-
padding: 0;
|
|
41
|
-
font: inherit;
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
outline: inherit;
|
|
44
|
-
-moz-user-select: -moz-none;
|
|
45
|
-
-khtml-user-select: none;
|
|
46
|
-
-webkit-user-select: none;
|
|
47
|
-
-ms-user-select: none;
|
|
48
|
-
user-select: none;
|
|
49
|
-
flex-direction: column;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
padding: 0px 23px;
|
|
53
|
-
background: var(--IDS-TAB_BACKGROUND-COLOR);
|
|
54
|
-
box-shadow: var(--IDS-TAB_BOX-SHADOW);
|
|
55
|
-
border-radius: var(--IDS-TAB_BORDER-RADIUS);
|
|
56
|
-
display: flex;
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
position: relative;
|
|
59
|
-
height: 2.7rem;
|
|
60
|
-
font-weight: 400;
|
|
61
|
-
font-size: 1rem;
|
|
62
|
-
line-height: 20px;
|
|
63
|
-
-webkit-touch-callout: none;
|
|
64
|
-
-webkit-user-select: none;
|
|
65
|
-
-khtml-user-select: none;
|
|
66
|
-
-moz-user-select: none;
|
|
67
|
-
-ms-user-select: none;
|
|
68
|
-
user-select: none;
|
|
69
|
-
color: var(--IDS-TAB_COLOR);
|
|
70
|
-
}
|
|
71
|
-
.ids-tab:has(.ids-tab__icon), .ids-tab.ids-tab--has-icon {
|
|
72
|
-
height: 4.4rem;
|
|
73
|
-
}
|
|
74
|
-
.ids-tab.ids-tab--selected {
|
|
75
|
-
background-color: white;
|
|
76
|
-
border: var(--IDS-TAB_BORDER);
|
|
77
|
-
box-shadow: var(--IDS-TAB--SELECTED_BOX-SHADOW);
|
|
78
|
-
padding: 0px 22px !important;
|
|
79
|
-
}
|
|
80
|
-
.ids-tab.ids-tab--selected .ids-tab__label {
|
|
81
|
-
color: var(--IDS-TAB--SELECTED_COLOR);
|
|
82
|
-
}
|
|
83
|
-
.ids-tab.ids-tab--selected:has(.ids-tab__icon), .ids-tab.ids-tab--selected.ids-tab--has-icon {
|
|
84
|
-
height: 4.6rem;
|
|
85
|
-
}
|
|
86
|
-
.ids-tab.ids-tab--selected:after {
|
|
87
|
-
content: "";
|
|
88
|
-
height: var(--IDS-TAB--SELECTED--AFTER_HEIGHT);
|
|
89
|
-
background-color: var(--IDS-TAB--SELECTED--AFTER_BACKGROUND-COLOR);
|
|
90
|
-
position: absolute;
|
|
91
|
-
width: calc(100% + 2px);
|
|
92
|
-
left: -1px;
|
|
93
|
-
right: 0px;
|
|
94
|
-
bottom: var(--IDS-TAB--SELECTED--AFTER_BOTTOM);
|
|
95
|
-
}
|
|
96
|
-
.ids-tab .ids-tab__icon,
|
|
97
|
-
.ids-tab ::slotted([slot=icon]) {
|
|
98
|
-
margin-bottom: 4px;
|
|
99
|
-
}
|
|
100
|
-
.ids-tab:focus {
|
|
101
|
-
outline: var(--IDS-FOCUS_OUTLINE);
|
|
102
|
-
outline-offset: var(--IDS-FOCUS_OUTLINE-OFFSET) !important;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
35
|
.ids-tab-panels {
|
|
106
36
|
z-index: 1;
|
|
107
37
|
position: relative;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.ids-tab-panel {
|
|
111
|
-
display: none;
|
|
112
|
-
padding-top: 1.5rem;
|
|
113
|
-
outline-offset: 2px;
|
|
114
|
-
outline-color: var(--focus-outline_color);
|
|
115
|
-
}
|
|
116
|
-
.ids-tab-panel .ids-tab-panel--hidden {
|
|
117
|
-
display: none;
|
|
118
|
-
}
|
|
119
|
-
.ids-tab-panel.ids-tab-panel--compact {
|
|
120
|
-
padding-top: 0px;
|
|
121
|
-
}
|
|
122
|
-
.ids-tab-panel.ids-tab-panel--selected {
|
|
123
|
-
display: block;
|
|
124
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".ids-tag{align-content:center;background-color:var(--IDS-TAG__BACKGROUND-COLOR);border:1px solid
|
|
3
|
+
var css_248z = ".ids-tag{align-content:center;align-items:center;background-color:var(--IDS-TAG__BACKGROUND-COLOR);border:1px solid var(--IDS-TAG__BORDER-COLOR);border-radius:var(--IDS-TAG__BORDER-RADIUS);color:var(--IDS-TAG__COLOR);display:inline-flex;flex-wrap:wrap;font-family:var(--IDS-TAG__FONT-FAMILY);font-weight:400;justify-content:center;line-height:1rem;padding:var(--IDS-TAG__PADDING)}.ids-tag.ids-tag--interactive{border-color:var(--IDS-TAG--INTERACTIVE__BORDER-COLOR);color:var(--IDS-TAG--INTERACTIVE__COLOR);cursor:pointer;font-weight:var(--IDS-TAG--INTERACTIVE__FONT-WEIGHT)}.ids-tag.ids-tag--interactive:focus{outline:var(--focus_outline);outline-offset:var(--focus_outline-offset)}.ids-tag.ids-tag--interactive:hover{color:var(--IDS-TAG--INTERACTIVE__COLOR--HOVER)}.ids-tag .ids-tag__close-btn-icon{background-color:var(--IDS-ICON-COLOR);height:14px;mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='20' height='20' viewBox='0 0 40 40' aria-hidden='true'%3E%3Cpath xmlns='http://www.w3.org/2000/svg' d='M4.268.732A2.5 2.5 0 0 0 .732 4.268L16.464 20 .733 35.732a2.5 2.5 0 0 0 3.536 3.536L20 23.535l15.732 15.733a2.5 2.5 0 0 0 3.536-3.536L23.535 20 39.269 4.268A2.5 2.5 0 1 0 35.732.732L20 16.464 4.268.733Z' fill='%23396291'/%3E%3C/svg%3E\");mask-size:cover;width:14px}.ids-tag .ids-tag__close-btn{align-items:center;background:none;border:none;border-radius:20px;color:inherit;cursor:pointer;display:flex;font:inherit;height:24px;justify-content:center;margin:-8px -8px -8px 8px;min-height:24px;min-width:24px;outline:inherit;padding:0;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:24px}.ids-tag .ids-tag__close-btn:focus{outline:var(--IDS-FOCUS_OUTLINE);outline-offset:0!important}.ids-tag .ids-tag__close-btn:active .ids-tag__close-btn-icon,.ids-tag .ids-tag__close-btn:focus .ids-tag__close-btn-icon,.ids-tag .ids-tag__close-btn:hover .ids-tag__close-btn-icon{background-color:var(--IDS-ICON-ACTIVE-COLOR);mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='20' height='20' viewBox='0 0 40 40' aria-hidden='true'%3E%3Cpath xmlns='http://www.w3.org/2000/svg' d='M4.268.732A2.5 2.5 0 0 0 .732 4.268L16.464 20 .733 35.732a2.5 2.5 0 0 0 3.536 3.536L20 23.535l15.732 15.733a2.5 2.5 0 0 0 3.536-3.536L23.535 20 39.269 4.268A2.5 2.5 0 1 0 35.732.732L20 16.464 4.268.733Z' fill='%23396291'/%3E%3C/svg%3E\");mask-size:cover}";
|
|
4
4
|
|
|
5
5
|
var tagLit = css`${unsafeCSS(css_248z)}`;
|
|
6
6
|
|
package/components/tag/tag.css
CHANGED
|
@@ -5,20 +5,45 @@
|
|
|
5
5
|
/*******
|
|
6
6
|
* Accessibility
|
|
7
7
|
********/
|
|
8
|
+
/* headings */
|
|
9
|
+
/* css classes that need !important */
|
|
10
|
+
/* @mixin ids-icon-close-svg-important($color) {
|
|
11
|
+
background-color: var($color) !important;
|
|
12
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" role="img" fill="none" width="20" height="20" style="" viewBox="0 0 40 40" aria-hidden="true"><!--%3Flit$332566053$--><path xmlns="http://www.w3.org/2000/svg" d="M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z" fill="%23396291"></path></svg>') !important;
|
|
13
|
+
mask-size: cover !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ids-icon__close {
|
|
17
|
+
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ids-icon__close-active {
|
|
21
|
+
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ids-icon__close-interactive {
|
|
25
|
+
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
26
|
+
|
|
27
|
+
&:hover,
|
|
28
|
+
&:focus,
|
|
29
|
+
&:active {
|
|
30
|
+
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
31
|
+
}
|
|
32
|
+
} */
|
|
8
33
|
.ids-tag {
|
|
9
34
|
font-family: var(--IDS-TAG__FONT-FAMILY);
|
|
10
|
-
|
|
35
|
+
font-weight: 400;
|
|
11
36
|
color: var(--IDS-TAG__COLOR);
|
|
12
37
|
padding: var(--IDS-TAG__PADDING);
|
|
13
|
-
border: 1px solid;
|
|
38
|
+
border: 1px solid var(--IDS-TAG__BORDER-COLOR);
|
|
14
39
|
background-color: var(--IDS-TAG__BACKGROUND-COLOR);
|
|
15
|
-
border-color: var(--IDS-TAG__BORDER-COLOR);
|
|
16
40
|
border-radius: var(--IDS-TAG__BORDER-RADIUS);
|
|
17
41
|
display: inline-flex;
|
|
18
42
|
flex-wrap: wrap;
|
|
19
|
-
line-height:
|
|
43
|
+
line-height: 1rem;
|
|
20
44
|
justify-content: center;
|
|
21
45
|
align-content: center;
|
|
46
|
+
align-items: center;
|
|
22
47
|
}
|
|
23
48
|
.ids-tag.ids-tag--interactive {
|
|
24
49
|
cursor: pointer;
|
|
@@ -30,6 +55,16 @@
|
|
|
30
55
|
outline: var(--focus_outline);
|
|
31
56
|
outline-offset: var(--focus_outline-offset);
|
|
32
57
|
}
|
|
58
|
+
.ids-tag.ids-tag--interactive:hover {
|
|
59
|
+
color: var(--IDS-TAG--INTERACTIVE__COLOR--HOVER);
|
|
60
|
+
}
|
|
61
|
+
.ids-tag .ids-tag__close-btn-icon {
|
|
62
|
+
background-color: var(--IDS-ICON-COLOR);
|
|
63
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" role="img" fill="none" width="20" height="20" style="" viewBox="0 0 40 40" aria-hidden="true"><!--%3Flit$332566053$--><path xmlns="http://www.w3.org/2000/svg" d="M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z" fill="%23396291"></path></svg>');
|
|
64
|
+
mask-size: cover;
|
|
65
|
+
width: 14px;
|
|
66
|
+
height: 14px;
|
|
67
|
+
}
|
|
33
68
|
.ids-tag .ids-tag__close-btn {
|
|
34
69
|
min-width: 24px;
|
|
35
70
|
min-height: 24px;
|
|
@@ -49,11 +84,16 @@
|
|
|
49
84
|
height: 24px;
|
|
50
85
|
display: flex;
|
|
51
86
|
border-radius: 20px;
|
|
52
|
-
margin
|
|
87
|
+
margin: -8px -8px -8px 8px;
|
|
53
88
|
justify-content: center;
|
|
54
89
|
align-items: center;
|
|
55
90
|
}
|
|
56
91
|
.ids-tag .ids-tag__close-btn:focus {
|
|
57
92
|
outline: var(--IDS-FOCUS_OUTLINE);
|
|
58
|
-
outline-offset:
|
|
93
|
+
outline-offset: 0 !important;
|
|
94
|
+
}
|
|
95
|
+
.ids-tag .ids-tag__close-btn:hover .ids-tag__close-btn-icon, .ids-tag .ids-tag__close-btn:focus .ids-tag__close-btn-icon, .ids-tag .ids-tag__close-btn:active .ids-tag__close-btn-icon {
|
|
96
|
+
background-color: var(--IDS-ICON-ACTIVE-COLOR);
|
|
97
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" role="img" fill="none" width="20" height="20" style="" viewBox="0 0 40 40" aria-hidden="true"><!--%3Flit$332566053$--><path xmlns="http://www.w3.org/2000/svg" d="M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z" fill="%23396291"></path></svg>');
|
|
98
|
+
mask-size: cover;
|
|
59
99
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { css, unsafeCSS } from 'lit';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".ids-tooltip{position:relative!important}.ids-tooltip,.ids-tooltip .ids-tooltip__trigger{display:inline-block}.ids-tooltip .ids-tooltip__content{background-color:#fff;border:1px solid var(--tooltip_border-color);border-radius:var(--IDS-BORDER-RADIUS);box-shadow:0 0 10px rgba(0,0,0,.3);box-sizing:border-box;color:var(--tooltip_color);display:none;max-width:90vw;padding:10px 20px;position:absolute;text-align:left;width:max-content;z-index:2}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-left{left:0;top:-10px;transform:translateY(-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top{left:50%;top:-10px;transform:translate(-50%,-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-right{right:0;top:-10px;transform:translateY(-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-left{bottom:-10px;left:0;transform:translateY(100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom{bottom:-10px;left:50%;transform:translate(-50%,100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-right{bottom:-10px;right:0;transform:translateY(100%)}.ids-tooltip:focus-within .ids-tooltip__content,.ids-tooltip:hover .ids-tooltip__content{display:inline-block}";
|
|
4
|
+
|
|
5
|
+
var tooltipLit = css`${unsafeCSS(css_248z)}`;
|
|
6
|
+
|
|
7
|
+
export { tooltipLit as default };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* 1177 Typography - no margins */
|
|
2
|
+
/*******
|
|
3
|
+
* FORM
|
|
4
|
+
********/
|
|
5
|
+
/*******
|
|
6
|
+
* Accessibility
|
|
7
|
+
********/
|
|
8
|
+
/* headings */
|
|
9
|
+
/* css classes that need !important */
|
|
10
|
+
/* @mixin ids-icon-close-svg-important($color) {
|
|
11
|
+
background-color: var($color) !important;
|
|
12
|
+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" role="img" fill="none" width="20" height="20" style="" viewBox="0 0 40 40" aria-hidden="true"><!--%3Flit$332566053$--><path xmlns="http://www.w3.org/2000/svg" d="M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z" fill="%23396291"></path></svg>') !important;
|
|
13
|
+
mask-size: cover !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ids-icon__close {
|
|
17
|
+
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ids-icon__close-active {
|
|
21
|
+
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ids-icon__close-interactive {
|
|
25
|
+
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
26
|
+
|
|
27
|
+
&:hover,
|
|
28
|
+
&:focus,
|
|
29
|
+
&:active {
|
|
30
|
+
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
31
|
+
}
|
|
32
|
+
} */
|
|
33
|
+
.ids-tooltip {
|
|
34
|
+
display: inline-block;
|
|
35
|
+
position: relative !important;
|
|
36
|
+
}
|
|
37
|
+
.ids-tooltip .ids-tooltip__trigger {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
}
|
|
40
|
+
.ids-tooltip .ids-tooltip__content {
|
|
41
|
+
display: none;
|
|
42
|
+
color: var(--tooltip_color);
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
position: absolute;
|
|
45
|
+
text-align: left;
|
|
46
|
+
width: max-content;
|
|
47
|
+
max-width: 90vw;
|
|
48
|
+
z-index: 2;
|
|
49
|
+
background-color: white;
|
|
50
|
+
border: 1px solid var(--tooltip_border-color);
|
|
51
|
+
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
|
|
52
|
+
border-radius: var(--IDS-BORDER-RADIUS);
|
|
53
|
+
padding: 10px 20px;
|
|
54
|
+
}
|
|
55
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-left {
|
|
56
|
+
left: 0;
|
|
57
|
+
transform: translateY(-100%);
|
|
58
|
+
top: -10px;
|
|
59
|
+
}
|
|
60
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top {
|
|
61
|
+
left: 50%;
|
|
62
|
+
transform: translate(-50%, -100%);
|
|
63
|
+
top: -10px;
|
|
64
|
+
}
|
|
65
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-right {
|
|
66
|
+
right: 0;
|
|
67
|
+
transform: translateY(-100%);
|
|
68
|
+
top: -10px;
|
|
69
|
+
}
|
|
70
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-left {
|
|
71
|
+
left: 0;
|
|
72
|
+
transform: translateY(100%);
|
|
73
|
+
bottom: -10px;
|
|
74
|
+
}
|
|
75
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom {
|
|
76
|
+
left: 50%;
|
|
77
|
+
transform: translate(-50%, 100%);
|
|
78
|
+
bottom: -10px;
|
|
79
|
+
}
|
|
80
|
+
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-right {
|
|
81
|
+
right: 0;
|
|
82
|
+
transform: translateY(100%);
|
|
83
|
+
bottom: -10px;
|
|
84
|
+
}
|
|
85
|
+
.ids-tooltip:focus-within .ids-tooltip__content, .ids-tooltip:hover .ids-tooltip__content {
|
|
86
|
+
display: inline-block;
|
|
87
|
+
}
|
package/global/_partials.css
CHANGED