superdesk-ui-framework 3.0.42 → 3.0.44
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/app/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +13 -2
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/app-typescript/components/{TreeSelect.tsx → TreeSelect/TreeSelect.tsx} +228 -257
- package/app-typescript/components/TreeSelect/TreeSelectItem.tsx +84 -0
- package/app-typescript/components/TreeSelect/TreeSelectPill.tsx +53 -0
- package/app-typescript/index.ts +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +1029 -918
- package/dist/react/TreeSelect.tsx +1 -1
- package/dist/superdesk-ui.bundle.css +4265 -3552
- package/dist/superdesk-ui.bundle.js +776 -665
- package/dist/vendor.bundle.js +23 -23
- package/examples/pages/react/TreeSelect.tsx +1 -1
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- package/react/components/Menu.js +1 -1
- package/react/components/{TreeSelect.d.ts → TreeSelect/TreeSelect.d.ts} +2 -2
- package/react/components/{TreeSelect.js → TreeSelect/TreeSelect.js} +82 -144
- package/react/components/TreeSelect/TreeSelectItem.d.ts +20 -0
- package/react/components/TreeSelect/TreeSelectItem.js +90 -0
- package/react/components/TreeSelect/TreeSelectPill.d.ts +14 -0
- package/react/components/TreeSelect/TreeSelectPill.js +71 -0
- package/react/index.d.ts +1 -1
- package/react/index.js +1 -1
@@ -1,224 +1,236 @@
|
|
1
|
-
|
2
1
|
/* Thanks to Jase Smith - codepen.io/jasesmith */
|
3
2
|
[sd-tooltip],
|
4
3
|
[data-sd-tooltip] {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
4
|
+
position: relative;
|
5
|
+
|
6
|
+
/* Applies to all sd-tooltips */
|
7
|
+
&::before,
|
8
|
+
&::after {
|
9
|
+
text-transform: none;
|
10
|
+
font-size: 1.2rem;
|
11
|
+
line-height: 1;
|
12
|
+
user-select: none;
|
13
|
+
pointer-events: none;
|
14
|
+
position: absolute;
|
15
|
+
display: none;
|
16
|
+
opacity: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
&::before {
|
20
|
+
content: '';
|
21
|
+
border: 5px solid transparent;
|
22
|
+
z-index: 1001;
|
23
|
+
}
|
24
|
+
|
25
|
+
&::after {
|
26
|
+
text-align: center;
|
27
|
+
/* Let the content set the size of the sd-tooltips */
|
28
|
+
min-width: 3em;
|
29
|
+
max-width: 21em;
|
30
|
+
white-space: nowrap;
|
31
|
+
overflow: hidden;
|
32
|
+
text-overflow: ellipsis;
|
33
|
+
padding: 0.8rem 1.2rem 0.9rem;
|
34
|
+
border-radius: var(--b-radius--small);
|
35
|
+
box-shadow: 0 8px 18px -5px rgba(0, 0, 0, 0.45);
|
36
|
+
background: var(--sd-colour-background__tooltip);
|
37
|
+
color: hsl(0, 0%, 100%);
|
38
|
+
font-weight: 400;
|
39
|
+
z-index: 1000;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* Make the sd-tooltips respond to hover */
|
43
|
+
&:hover::before,
|
44
|
+
&:hover::after {
|
45
|
+
display: block;
|
46
|
+
}
|
48
47
|
}
|
49
48
|
|
50
49
|
// [sd-tooltip] [flow]
|
51
50
|
[sd-tooltip] {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
51
|
+
|
52
|
+
/* FLOW: UP */
|
53
|
+
&:not([flow])::before,
|
54
|
+
&[flow^="up"]::before {
|
55
|
+
bottom: 100%;
|
56
|
+
border-bottom-width: 0;
|
57
|
+
border-top-color: var(--sd-colour-background__tooltip);
|
58
|
+
}
|
59
|
+
|
60
|
+
&:not([flow])::after,
|
61
|
+
&[flow^="up"]::after {
|
62
|
+
bottom: calc(100% + 5px);
|
63
|
+
}
|
64
|
+
|
65
|
+
&:not([flow])::before,
|
66
|
+
&:not([flow])::after,
|
67
|
+
&[flow^="up"]::before,
|
68
|
+
&[flow^="up"]::after {
|
69
|
+
left: 50%;
|
70
|
+
transform: translate(-50%, -.5em);
|
71
|
+
}
|
72
|
+
|
73
|
+
/* FLOW: DOWN */
|
74
|
+
&[flow^="down"]::before {
|
75
|
+
top: 100%;
|
76
|
+
border-top-width: 0;
|
77
|
+
border-bottom-color: var(--sd-colour-background__tooltip);
|
78
|
+
}
|
79
|
+
|
80
|
+
&[flow^="down"]::after {
|
81
|
+
top: calc(100% + 5px);
|
82
|
+
}
|
83
|
+
|
84
|
+
&[flow^="down"]::before,
|
85
|
+
&[flow^="down"]::after {
|
86
|
+
left: 50%;
|
87
|
+
transform: translate(-50%, .5em);
|
88
|
+
}
|
89
|
+
|
90
|
+
/* FLOW: LEFT */
|
91
|
+
&[flow^="left"]::before {
|
92
|
+
top: 50%;
|
93
|
+
border-right-width: 0;
|
94
|
+
border-left-color: var(--sd-colour-background__tooltip);
|
95
|
+
left: calc(0em - 5px);
|
96
|
+
transform: translate(-.5em, -50%);
|
97
|
+
}
|
98
|
+
|
99
|
+
&[flow^="left"]::after {
|
100
|
+
top: 50%;
|
101
|
+
right: calc(100% + 5px);
|
102
|
+
transform: translate(-.5em, -50%);
|
103
|
+
}
|
104
|
+
|
105
|
+
/* FLOW: RIGHT */
|
106
|
+
&[flow^="right"]::before {
|
107
|
+
top: 50%;
|
108
|
+
border-left-width: 0;
|
109
|
+
border-right-color: var(--sd-colour-background__tooltip);
|
110
|
+
right: calc(0em - 5px);
|
111
|
+
transform: translate(.5em, -50%);
|
112
|
+
}
|
113
|
+
|
114
|
+
&[flow^="right"]::after {
|
115
|
+
top: 50%;
|
116
|
+
left: calc(100% + 5px);
|
117
|
+
transform: translate(.5em, -50%);
|
118
|
+
}
|
119
|
+
|
120
|
+
/* FX All The Things */
|
121
|
+
&:not([flow]):hover::before,
|
122
|
+
&:not([flow]):hover::after,
|
123
|
+
&[flow^="up"]:hover::before,
|
124
|
+
&[flow^="up"]:hover::after,
|
125
|
+
&[flow^="down"]:hover::before,
|
126
|
+
&[flow^="down"]:hover::after {
|
127
|
+
animation: tooltips-vert 200ms ease-out forwards;
|
128
|
+
}
|
129
|
+
|
130
|
+
&[flow^="left"]:hover::before,
|
131
|
+
&[flow^="left"]:hover::after,
|
132
|
+
&[flow^="right"]:hover::before,
|
133
|
+
&[flow^="right"]:hover::after {
|
134
|
+
animation: tooltips-horz 200ms ease-out forwards;
|
135
|
+
}
|
131
136
|
}
|
132
137
|
|
133
138
|
// [data-sd-tooltip] [data-flow]
|
134
139
|
[data-sd-tooltip] {
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
140
|
+
|
141
|
+
/* FLOW: UP */
|
142
|
+
&:not([data-flow])::before,
|
143
|
+
&[data-flow^="up"]::before {
|
144
|
+
bottom: 100%;
|
145
|
+
border-bottom-width: 0;
|
146
|
+
border-top-color: var(--sd-colour-background__tooltip);
|
147
|
+
}
|
148
|
+
|
149
|
+
&:not([data-flow])::after,
|
150
|
+
&[data-flow^="up"]::after {
|
151
|
+
bottom: calc(100% + 5px);
|
152
|
+
}
|
153
|
+
|
154
|
+
&:not([data-flow])::before,
|
155
|
+
&:not([data-flow])::after,
|
156
|
+
&[data-flow^="up"]::before,
|
157
|
+
&[data-flow^="up"]::after {
|
158
|
+
left: 50%;
|
159
|
+
transform: translate(-50%, -.5em);
|
160
|
+
}
|
161
|
+
|
162
|
+
/* FLOW: DOWN */
|
163
|
+
&[data-flow^="down"]::before {
|
164
|
+
top: 100%;
|
165
|
+
border-top-width: 0;
|
166
|
+
border-bottom-color: var(--sd-colour-background__tooltip);
|
167
|
+
}
|
168
|
+
|
169
|
+
&[data-flow^="down"]::after {
|
170
|
+
top: calc(100% + 5px);
|
171
|
+
}
|
172
|
+
|
173
|
+
&[data-flow^="down"]::before,
|
174
|
+
&[data-flow^="down"]::after {
|
175
|
+
left: 50%;
|
176
|
+
transform: translate(-50%, .5em);
|
177
|
+
}
|
178
|
+
|
179
|
+
/* FLOW: LEFT */
|
180
|
+
&[data-flow^="left"]::before {
|
181
|
+
top: 50%;
|
182
|
+
border-right-width: 0;
|
183
|
+
border-left-color: var(--sd-colour-background__tooltip);
|
184
|
+
left: calc(0em - 5px);
|
185
|
+
transform: translate(-.5em, -50%);
|
186
|
+
}
|
187
|
+
|
188
|
+
&[data-flow^="left"]::after {
|
189
|
+
top: 50%;
|
190
|
+
right: calc(100% + 5px);
|
191
|
+
transform: translate(-.5em, -50%);
|
192
|
+
}
|
193
|
+
|
194
|
+
/* FLOW: RIGHT */
|
195
|
+
&[data-flow^="right"]::before {
|
196
|
+
top: 50%;
|
197
|
+
border-left-width: 0;
|
198
|
+
border-right-color: var(--sd-colour-background__tooltip);
|
199
|
+
right: calc(0em - 5px);
|
200
|
+
transform: translate(.5em, -50%);
|
201
|
+
}
|
202
|
+
|
203
|
+
&[data-flow^="right"]::after {
|
204
|
+
top: 50%;
|
205
|
+
left: calc(100% + 5px);
|
206
|
+
transform: translate(.5em, -50%);
|
207
|
+
}
|
208
|
+
|
209
|
+
/* FX All The Things */
|
210
|
+
&:not([data-flow]):hover::before,
|
211
|
+
&:not([data-flow]):hover::after,
|
212
|
+
&[data-flow^="up"]:hover::before,
|
213
|
+
&[data-flow^="up"]:hover::after,
|
214
|
+
&[data-flow^="down"]:hover::before,
|
215
|
+
&[data-flow^="down"]:hover::after {
|
216
|
+
animation: tooltips-vert 200ms ease-out forwards;
|
217
|
+
}
|
218
|
+
|
219
|
+
&[data-flow^="left"]:hover::before,
|
220
|
+
&[data-flow^="left"]:hover::after,
|
221
|
+
&[data-flow^="right"]:hover::before,
|
222
|
+
&[data-flow^="right"]:hover::after {
|
223
|
+
animation: tooltips-horz 200ms ease-out forwards;
|
224
|
+
}
|
214
225
|
}
|
215
226
|
|
216
227
|
/* magic! */
|
217
228
|
[sd-tooltip]::after {
|
218
|
-
|
229
|
+
content: attr(sd-tooltip);
|
219
230
|
}
|
231
|
+
|
220
232
|
[data-sd-tooltip]::after {
|
221
|
-
|
233
|
+
content: attr(data-sd-tooltip);
|
222
234
|
}
|
223
235
|
|
224
236
|
/* don't show empty sd-tooltips */
|
@@ -226,115 +238,115 @@
|
|
226
238
|
[sd-tooltip='']::after,
|
227
239
|
[data-sd-tooltip='']::before,
|
228
240
|
[data-sd-tooltip='']::after {
|
229
|
-
|
241
|
+
display: none !important;
|
230
242
|
}
|
231
243
|
|
232
244
|
/* KEYFRAMES */
|
233
245
|
@keyframes tooltips-vert {
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
246
|
+
to {
|
247
|
+
opacity: .95;
|
248
|
+
transform: translate(-50%, 0);
|
249
|
+
}
|
238
250
|
}
|
239
251
|
|
240
252
|
@keyframes tooltips-horz {
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
253
|
+
to {
|
254
|
+
opacity: .95;
|
255
|
+
transform: translate(0, -50%);
|
256
|
+
}
|
245
257
|
}
|
246
258
|
|
247
|
-
|
248
259
|
[disabled]:hover {
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
260
|
+
|
261
|
+
&[sd-tooltip]::before,
|
262
|
+
&[data-sd-tooltip]::before,
|
263
|
+
&[sd-tooltip]::after,
|
264
|
+
&[data-sd-tooltip]::after {
|
265
|
+
display: none !important;
|
266
|
+
}
|
255
267
|
}
|
256
268
|
|
257
269
|
// ====== APEND TO BODY (Prime React) ====== //
|
258
270
|
|
259
271
|
.p-tooltip {
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
272
|
+
position: absolute;
|
273
|
+
z-index: 2000 !important;
|
274
|
+
min-width: 3em;
|
275
|
+
max-width: 21em;
|
264
276
|
}
|
265
277
|
|
266
278
|
.p-tooltip.p-tooltip-right,
|
267
279
|
.p-tooltip.p-tooltip-left {
|
268
|
-
|
280
|
+
padding: 0 5px;
|
269
281
|
}
|
270
282
|
|
271
283
|
.p-tooltip.p-tooltip-top,
|
272
284
|
.p-tooltip.p-tooltip-bottom {
|
273
|
-
|
285
|
+
padding: 5px 0;
|
274
286
|
}
|
275
287
|
|
276
288
|
.p-tooltip .p-tooltip-text {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
289
|
+
white-space: pre-line;
|
290
|
+
min-width: 3em;
|
291
|
+
max-width: 21em;
|
292
|
+
white-space: nowrap;
|
293
|
+
overflow: hidden;
|
294
|
+
text-overflow: ellipsis;
|
295
|
+
padding: 0.8rem 1.2rem 0.9rem;
|
296
|
+
border-radius: var(--b-radius--small);
|
297
|
+
background: var(--sd-colour-background__tooltip);
|
298
|
+
box-shadow: 0 8px 18px -5px rgba(0, 0, 0, 0.45);
|
299
|
+
color: hsl(0, 0%, 100%);
|
300
|
+
font-weight: 400;
|
301
|
+
text-transform: none;
|
302
|
+
font-size: 1.2rem;
|
303
|
+
line-height: 1;
|
292
304
|
}
|
293
305
|
|
294
306
|
.p-tooltip-arrow {
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
307
|
+
--tooltip-arrow_border: 6px;
|
308
|
+
border: var(--tooltip-arrow_border) solid transparent;
|
309
|
+
z-index: 1001;
|
310
|
+
user-select: none;
|
311
|
+
pointer-events: none;
|
312
|
+
position: absolute;
|
313
|
+
width: 6px;
|
314
|
+
height: 6px;
|
315
|
+
overflow: hidden;
|
304
316
|
}
|
305
317
|
|
306
318
|
.p-tooltip-top .p-tooltip-arrow {
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
319
|
+
border-width: var(--tooltip-arrow_border);
|
320
|
+
bottom: 0;
|
321
|
+
left: calc(50% - 3px);
|
322
|
+
border-bottom-width: 0;
|
323
|
+
border-top-color: var(--sd-colour-background__tooltip);
|
312
324
|
}
|
313
325
|
|
314
326
|
.p-tooltip-bottom .p-tooltip-arrow {
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
327
|
+
border-width: var(--tooltip-arrow_border);
|
328
|
+
top: 0;
|
329
|
+
left: calc(50% - 3px);
|
330
|
+
border-top-width: 0;
|
331
|
+
border-bottom-color: var(--sd-colour-background__tooltip);
|
320
332
|
}
|
321
333
|
|
322
334
|
.p-tooltip-right .p-tooltip-arrow {
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
335
|
+
border-width: var(--tooltip-arrow_border);
|
336
|
+
top: calc(50% - 3px);
|
337
|
+
left: 0;
|
338
|
+
border-left-width: 0;
|
339
|
+
border-right-color: var(--sd-colour-background__tooltip);
|
328
340
|
}
|
329
341
|
|
330
342
|
.p-tooltip-left .p-tooltip-arrow {
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
343
|
+
border-width: var(--tooltip-arrow_border);
|
344
|
+
top: calc(50% - 3px);
|
345
|
+
right: 0;
|
346
|
+
border-right-width: 0;
|
347
|
+
border-left-color: var(--sd-colour-background__tooltip);
|
336
348
|
}
|
337
349
|
|
338
350
|
.p-tooltip-right {
|
339
|
-
|
340
|
-
}
|
351
|
+
margin-left: 8px;
|
352
|
+
}
|