@dialpad/dialtone-css 8.46.2 → 8.46.3

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.
Files changed (33) hide show
  1. package/lib/build/less/components/avatar.less +2 -2
  2. package/lib/build/less/components/presence.less +2 -2
  3. package/lib/build/less/dialtone.less +20 -0
  4. package/lib/build/less/recipes/attachment_carousel.less +109 -0
  5. package/lib/build/less/recipes/callbar_button.less +47 -0
  6. package/lib/build/less/recipes/callbar_button_with_popover.less +55 -0
  7. package/lib/build/less/recipes/callbox.less +111 -0
  8. package/lib/build/less/recipes/combobox_multi_select.less +48 -0
  9. package/lib/build/less/recipes/contact_info.less +55 -0
  10. package/lib/build/less/recipes/editor.less +11 -0
  11. package/lib/build/less/recipes/emoji_row.less +73 -0
  12. package/lib/build/less/recipes/feed_item_pill.less +78 -0
  13. package/lib/build/less/recipes/feed_item_row.less +128 -0
  14. package/lib/build/less/recipes/grouped_chip.less +25 -0
  15. package/lib/build/less/recipes/ivr_node.less +56 -0
  16. package/lib/build/less/recipes/leftbar_row.less +389 -0
  17. package/lib/build/less/recipes/message_input.less +92 -0
  18. package/lib/build/less/recipes/settings_menu_button.less +31 -0
  19. package/lib/build/less/recipes/time_pill.less +9 -0
  20. package/lib/build/less/recipes/top_banner_info.less +30 -0
  21. package/lib/build/less/recipes/unread_pill.less +24 -0
  22. package/lib/dist/dialtone-default-theme.css +1157 -10
  23. package/lib/dist/dialtone-default-theme.min.css +1 -1
  24. package/lib/dist/dialtone.css +1151 -4
  25. package/lib/dist/dialtone.min.css +1 -1
  26. package/lib/dist/tokens/tokens-base-dark.css +6 -6
  27. package/lib/dist/tokens/tokens-base-light.css +6 -6
  28. package/lib/dist/tokens/tokens-debug-base.css +6 -6
  29. package/lib/dist/tokens/tokens-expressive-dark.css +6 -6
  30. package/lib/dist/tokens/tokens-expressive-light.css +6 -6
  31. package/lib/dist/tokens/tokens-expressive-sm-dark.css +6 -6
  32. package/lib/dist/tokens/tokens-expressive-sm-light.css +6 -6
  33. package/package.json +2 -2
@@ -0,0 +1,128 @@
1
+ .dt-recipe-feed-item-row {
2
+ position: relative;
3
+ box-sizing: border-box;
4
+ width: var(--dt-size-100-percent);
5
+ padding: var(--dt-space-300) var(--dt-space-500);
6
+
7
+ &:focus-visible {
8
+ box-shadow: var(--dt-shadow-focus-inset);
9
+ }
10
+
11
+ & > .d-item-layout {
12
+ min-height: initial;
13
+ padding: 0;
14
+ font: var(--dt-typography-body-md-compact);
15
+ }
16
+
17
+ & > .d-item-layout > .d-item-layout--left {
18
+ display: block;
19
+ align-self: flex-start;
20
+ // min-width = avatar width + padding
21
+ min-width: calc(var(--dt-space-600) + var(--dt-space-300));
22
+ padding-right: var(--dt-space-300);
23
+ padding-left: var(--dt-space-0);
24
+ text-align: end;
25
+ }
26
+
27
+ & > .d-item-layout > .d-item-layout--right {
28
+ min-width: initial;
29
+ padding: 0;
30
+ }
31
+
32
+ & > .d-item-layout > .d-item-layout--content > .d-item-layout--bottom {
33
+ display: flex;
34
+ flex-direction: column;
35
+ margin-top: 0;
36
+ }
37
+ }
38
+
39
+ .dt-recipe-feed-item-row__state--searched {
40
+ background-color: var(--dt-color-surface-warning-subtle);
41
+ }
42
+
43
+ .dt-recipe-feed-item-row__state--error {
44
+ background-color: var(--dt-color-surface-critical-subtle);
45
+ }
46
+
47
+ .dt-recipe-feed-item-row__state-transition {
48
+ transition: background-color 2s var(--ttf-in-out) 0s;
49
+ }
50
+
51
+ .dt-recipe-feed-item-row--active {
52
+ background-color: var(--dt-color-surface-secondary-opaque);
53
+ }
54
+
55
+ .dt-recipe-feed-item-row__avatar-container {
56
+ padding-top: var(--dt-space-300);
57
+ padding-bottom: var(--dt-space-300);
58
+ }
59
+
60
+ .dt-recipe-feed-item-row__content {
61
+ padding-left: var(--dt-space-300);
62
+ }
63
+
64
+ .dt-recipe-feed-item-row__attachment {
65
+ padding-top: var(--dt-space-200);
66
+ padding-bottom: var(--dt-space-300);
67
+ }
68
+
69
+ .dt-recipe-feed-item-row__image {
70
+ display: block;
71
+ min-width: 5.6rem;
72
+ max-width: 30rem;
73
+ min-height: 5.6rem;
74
+ max-height: 30rem;
75
+ border: var(--dt-color-border-subtle) solid var(--dt-size-border-100);
76
+ border-radius: var(--dt-size-radius-400);
77
+ }
78
+
79
+ .dt-recipe-feed-item-row__video {
80
+ display: block;
81
+ height: 25.0rem;
82
+ }
83
+
84
+ .dt-recipe-feed-item-row__header {
85
+ display: flex;
86
+ flex-wrap: wrap;
87
+ gap: var(--dt-space-300);
88
+ align-items: baseline;
89
+ font-size: var(--dt-font-size-200);
90
+ line-height: var(--dt-font-line-height-300);
91
+ }
92
+
93
+ .dt-recipe-feed-item-row__header-name {
94
+ font-weight: var(--dt-font-weight-bold);
95
+ }
96
+
97
+ .dt-recipe-feed-item-row__header-time {
98
+ flex-shrink: 0;
99
+ color: var(--dt-color-foreground-tertiary);
100
+ font-size: var(--dt-font-size-100);
101
+ }
102
+
103
+ .dt-recipe-feed-item-row__reactions {
104
+ display: flex;
105
+ flex-wrap: wrap;
106
+ padding-top: var(--dt-space-200);
107
+ padding-bottom: var(--dt-space-200);
108
+ padding-left: var(--dt-space-300);
109
+ }
110
+
111
+ .dt-recipe-feed-item-row__threading {
112
+ padding-top: var(--dt-space-200);
113
+ padding-bottom: var(--dt-space-200);
114
+ }
115
+
116
+ .dt-recipe-feed-item-row__left-time {
117
+ color: var(--dt-color-foreground-tertiary);
118
+ font-weight: var(--dt-font-weight-normal);
119
+ font-size: var(--dt-font-size-100);
120
+ white-space: nowrap;
121
+ vertical-align: middle;
122
+ }
123
+
124
+ .dt-recipe-feed-item-row__menu {
125
+ position: absolute;
126
+ top: var(--dt-space-550-negative);
127
+ right: var(--dt-space-450);
128
+ }
@@ -0,0 +1,25 @@
1
+ .dt-recipe-grouped-chip {
2
+ display: inline-flex;
3
+ white-space: nowrap;
4
+ background-color: unset;
5
+ background-image: unset;
6
+ }
7
+
8
+ .dt-recipe-grouped-chip__content {
9
+ font-variant-numeric: tabular-nums;
10
+ }
11
+
12
+ .dt-recipe-grouped-chip__content-left {
13
+ max-width: var(--dt-size-730);
14
+ background-color: var(--dt-color-surface-moderate-opaque);
15
+ border-top-left-radius: var(--dt-size-radius-pill);
16
+ border-bottom-left-radius: var(--dt-size-radius-pill);
17
+ }
18
+
19
+ .dt-recipe-grouped-chip__content-right {
20
+ max-width: var(--dt-size-730);
21
+ background-color: var(--dt-color-purple-200);
22
+ border-top-right-radius: var(--dt-size-radius-pill);
23
+ border-bottom-right-radius: var(--dt-size-radius-pill);
24
+ }
25
+
@@ -0,0 +1,56 @@
1
+ .dt-recipe-ivr-node {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ width: 280px; /* stylelint-disable-line meowtec/no-px */
6
+ cursor: pointer;
7
+ }
8
+
9
+ .dt-recipe-ivr-node__header-left {
10
+ display: flex;
11
+ align-items: center;
12
+ }
13
+
14
+ .dt-recipe-ivr-node__label {
15
+ font-weight: var(--dt-font-weight-bold);
16
+ font-size: var(--dt-font-size-200);
17
+ }
18
+
19
+ .dt-recipe-ivr-node__dropdown-list {
20
+ width: var(--dt-size-825);
21
+ }
22
+
23
+ .dt-recipe-ivr-node__goto-icon {
24
+ transform: rotate(90deg);
25
+ }
26
+
27
+ .dt-recipe-ivr-node__connector {
28
+ z-index: var(--zi-base);
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ width: var(--dt-size-400);
33
+ height: var(--dt-size-400);
34
+ margin-bottom: var(--dt-space-300-negative);
35
+ background-color: var(--dt-color-purple-600);
36
+ border-color: var(--dt-color-purple-600);
37
+ border-radius: var(--dt-size-radius-circle);
38
+ }
39
+
40
+ .dt-recipe-ivr-node__connector--selected {
41
+ margin-bottom: var(--dt-space-400-negative);
42
+ }
43
+
44
+ .dt-recipe-ivr-node__connector-dtmf {
45
+ width: var(--dt-size-550);
46
+ height: var(--dt-size-550);
47
+ margin-bottom: var(--dt-space-450-negative);
48
+ color: var(--dt-color-neutral-white);
49
+ font-size: var(--dt-font-size-200);
50
+
51
+ .dt-recipe-ivr-node__connector--selected {
52
+ margin-bottom: var(--dt-space-500-negative);
53
+ }
54
+ }
55
+
56
+
@@ -0,0 +1,389 @@
1
+ .dt-recipe-leftbar-row {
2
+ // ============================================================================
3
+ // $ CSS CUSTOM PROPERTIES
4
+ // ----------------------------------------------------------------------------
5
+ --leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);
6
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);
7
+ --leftbar-row-radius: var(--dt-size-radius-pill);
8
+ --leftbar-row-opacity: 100%;
9
+ --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-icon-color-foreground);
10
+ --leftbar-row-alpha-width: calc(var(--dt-size-300) * 10);
11
+ --leftbar-row-alpha-height: calc(var(--dt-size-300) * 9);
12
+ --leftbar-row-omega-height: var(--leftbar-row-alpha-height);
13
+ --leftbar-row-unread-badge-display: inline-flex;
14
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground);
15
+ --leftbar-row-description-font-weight: var(--dt-font-weight-normal);
16
+ --leftbar-row-description-font-size: var(--dt-font-size-200);
17
+ --leftbar-row-description-line-height: var(--dt-font-line-height-200);
18
+ --leftbar-row-status-color-foreground: var(--dt-theme-sidebar-status-color-foreground);
19
+ --leftbar-row-status-font-size: var(--dt-font-size-100);
20
+ --leftbar-row-status-line-height: var(--dt-font-line-height-100);
21
+ --leftbar-row-action-position-right: var(--dt-size-400);
22
+ --leftbar-row-action-position-bottom: 50%;
23
+ --leftbar-row-action-width: var(--dt-size-550);
24
+ --leftbar-row-action-height: var(--leftbar-row-action-width);
25
+
26
+ // ============================================================================
27
+ // $ BASE STYLE
28
+ // ----------------------------------------------------------------------------
29
+ position: relative;
30
+ display: flex;
31
+ background-color: var(--dt-theme-sidebar-row-color-background);
32
+ border-radius: var(--leftbar-row-radius);
33
+ cursor: pointer;
34
+ opacity: var(--leftbar-row-opacity);
35
+ transition-timing-function: var(--ttf-out-quint);
36
+ transition-duration: var(--td200);
37
+ transition-property: background-color, border, box-shadow;
38
+
39
+ // ============================================================================
40
+ // $ VARIANTS
41
+ // ----------------------------------------------------------------------------
42
+ //
43
+ // <div class="dt-recipe-leftbar-row dt-recipe-leftbar-row--{$VARIANT}">
44
+ // ...
45
+ // </div>
46
+ //
47
+ &:not(.dt-recipe-leftbar-row--no-action):hover,
48
+ &:not(.dt-recipe-leftbar-row--no-action):focus-within {
49
+ --leftbar-row-unread-badge-display: none;
50
+
51
+ .dt-recipe-leftbar-row__action {
52
+ display: inline-flex;
53
+ }
54
+
55
+ .dt-recipe-leftbar-row__action-button {
56
+ opacity: 1;
57
+ }
58
+ }
59
+
60
+ &:hover,
61
+ &:focus-within {
62
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover);
63
+
64
+ .d-presence {
65
+ --presence-color-border-base: var(--dt-color-black-200);
66
+ }
67
+
68
+ .d-avatar__count {
69
+ --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
70
+ }
71
+ }
72
+
73
+ // ============================================================================
74
+ // $ LABEL'S ELEMENTS
75
+ // ----------------------------------------------------------------------------
76
+ //
77
+ // <div class="dt-recipe-leftbar-row__description">
78
+ // ...
79
+ // </div>
80
+ // <div class="dt-recipe-leftbar-row__status">
81
+ // <span class="dt-recipe-leftbar-row__meta-context ...">...</span>
82
+ // <span class="dt-recipe-leftbar-row__meta-custom">...</span>
83
+ // </div>
84
+ //
85
+ &__description {
86
+ overflow: hidden;
87
+ color: var(--leftbar-row-description-color-foreground);
88
+ font-weight: var(--leftbar-row-description-font-weight);
89
+ font-size: var(--leftbar-row-description-font-size);
90
+ line-height: var(--leftbar-row-description-line-height);
91
+ white-space: nowrap;
92
+ text-overflow: ellipsis;
93
+ }
94
+
95
+ &__status {
96
+ padding-bottom: var(--dt-space-100);
97
+ overflow: hidden;
98
+ color: var(--leftbar-row-status-color-foreground);
99
+ font-size: var(--leftbar-row-status-font-size);
100
+ line-height: var(--leftbar-row-status-line-height);
101
+ white-space: nowrap;
102
+ text-overflow: ellipsis;
103
+ }
104
+
105
+ &__meta-context ~ &__meta-custom:not(:empty)::before {
106
+ color: var(--dt-theme-sidebar-status-color-foreground);
107
+ content: " • ";
108
+ }
109
+
110
+ &--has-unread {
111
+ --leftbar-row-description-font-weight: var(--dt-font-weight-bold);
112
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
113
+ --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
114
+ }
115
+
116
+ &--muted {
117
+ --leftbar-row-opacity: 60%;
118
+ }
119
+
120
+ &--selected {
121
+ --leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);
122
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground);
123
+
124
+ .d-presence {
125
+ --presence-color-border-base: var(--dt-color-black-200);
126
+ }
127
+
128
+ .d-avatar__count {
129
+ --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
130
+ }
131
+ }
132
+
133
+ &__is-typing {
134
+ --is-typing-size-shape: var(--dt-size-550);
135
+
136
+ position: absolute;
137
+ display: flex;
138
+ gap: var(--dt-space-200);
139
+ align-items: center;
140
+ justify-content: center;
141
+ width: var(--is-typing-size-shape);
142
+ height: var(--is-typing-size-shape);
143
+ border-radius: var(--dt-size-radius-pill);
144
+ opacity: 0.75;
145
+
146
+ & span {
147
+ display: inline-block;
148
+ width: var(--dt-size-300);
149
+ height: var(--dt-size-300);
150
+ padding: 0;
151
+ background: var(--dt-color-surface-strong);
152
+ border-radius: var(--dt-size-radius-pill);
153
+ opacity: 0.3;
154
+ transition: all 500ms ease;
155
+ animation: wave 1.5s ease infinite;
156
+
157
+ &:nth-child(1) {
158
+ animation-delay: 0ms;
159
+ }
160
+
161
+ &:nth-child(2) {
162
+ animation-delay: var(--td100);
163
+ }
164
+
165
+ &:nth-child(3) {
166
+ animation-delay: var(--td200);
167
+ }
168
+ }
169
+ }
170
+
171
+ // ============================================================================
172
+ // $ ACTIONABLE ELEMENTS
173
+ // ----------------------------------------------------------------------------
174
+ //
175
+ // <el class="dt-recipe-leftbar-row__primary" ...>
176
+ // ...
177
+ // </el>
178
+ // <div class="dt-recipe-leftbar-row__action">
179
+ // <button class="dt-recipe-leftbar-row__action-button d-btn ..." ...>...</button>
180
+ // </div>
181
+ //
182
+ &__primary {
183
+ // contains extra style properties to support both <button> and <a>
184
+ display: flex;
185
+ flex: 1;
186
+ align-items: center;
187
+ width: 100%;
188
+ margin: 0;
189
+ padding: 0;
190
+ color: var(--leftbar-row-color-foreground);
191
+ font-size: inherit;
192
+ line-height: inherit;
193
+ text-align: left;
194
+ text-decoration: none;
195
+ background-color: var(--leftbar-row-color-background);
196
+ border: 0;
197
+ border-radius: var(--leftbar-row-radius);
198
+ appearance: none;
199
+
200
+ &:active {
201
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active);
202
+ }
203
+
204
+ &:focus-visible {
205
+ box-shadow: var(--dt-shadow-focus-inset);
206
+ }
207
+ }
208
+
209
+ &__action-button {
210
+ width: var(--leftbar-row-action-width);
211
+ height: var(--leftbar-row-action-height);
212
+ opacity: 0;
213
+ }
214
+
215
+ // ============================================================================
216
+ // $ PRIMARY'S MAIN ELEMENTS
217
+ // ----------------------------------------------------------------------------
218
+ //
219
+ // <div class="dt-recipe-leftbar-row__alpha">...</div>
220
+ // <div class="dt-recipe-leftbar-row__label">...</div>
221
+ // <div class="dt-recipe-leftbar-row__omega">...</div>
222
+
223
+ &__alpha {
224
+ display: flex;
225
+ align-items: center;
226
+ justify-content: center;
227
+ box-sizing: border-box;
228
+ width: var(--leftbar-row-alpha-width);
229
+ height: var(--leftbar-row-alpha-height);
230
+ padding-right: var(--dt-space-400);
231
+ padding-left: var(--dt-space-400);
232
+ color: var(--leftbar-row-alpha-color-foreground);
233
+ border-radius: var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius);
234
+ }
235
+
236
+ &__label {
237
+ flex: 0 1;
238
+ min-width: 0;
239
+ }
240
+
241
+ &__omega {
242
+ position: absolute;
243
+ top: var(--leftbar-row-action-position-bottom);
244
+ right: var(--leftbar-row-action-position-right);
245
+ display: flex;
246
+ gap: var(--dt-space-300);
247
+ align-items: center;
248
+ justify-content: flex-end;
249
+ box-sizing: border-box;
250
+ border-radius: var(--leftbar-row-radius);
251
+ transform: translateY(calc(var(--leftbar-row-action-position-bottom) * -1));
252
+ }
253
+
254
+ &__unread-badge {
255
+ display: var(--leftbar-row-unread-badge-display);
256
+ color: var(--dt-theme-mention-color-foreground);
257
+ background-color: var(--dt-theme-mention-color-background);
258
+ }
259
+
260
+ &__unread-count {
261
+ .dt-recipe-leftbar-row__action {
262
+ display: none;
263
+ }
264
+ }
265
+
266
+ &__unread-count-badge {
267
+ border-top-right-radius: var(--dt-size-radius-0);
268
+ border-bottom-right-radius: var(--dt-size-radius-0);
269
+ }
270
+
271
+ &__unread-mention-count-badge {
272
+ color: var(--dt-theme-mention-color-foreground-strong);
273
+ background-color: var(--dt-theme-mention-color-background-strong);
274
+ border-top-left-radius: var(--dt-size-radius-0);
275
+ border-bottom-left-radius: var(--dt-size-radius-0);
276
+ }
277
+
278
+ &__unread-mention-only-count-badge {
279
+ color: var(--dt-theme-mention-color-foreground-strong);
280
+ background-color: var(--dt-theme-mention-color-background-strong);
281
+ }
282
+
283
+ &__active-voice {
284
+ display: inline-flex;
285
+ color: var(--dt-color-purple-400);
286
+ .opacity-pulsate();
287
+ }
288
+
289
+ &__dnd {
290
+ padding-top: var(--dt-space-200);
291
+ padding-right: var(--dt-space-300);
292
+ color: var(--dt-color-foreground-tertiary);
293
+ font-weight: var(--dt-font-weight-medium);
294
+ font-size: var(--dt-font-size-100);
295
+ line-height: var(--dt-font-line-height-400);
296
+ }
297
+
298
+ &__container--off-duty {
299
+ background-color: var(--dt-badge-color-background-critical);
300
+ border: var(--dt-size-100) solid var(--dt-color-border-subtle);
301
+ border-radius: var(--dt-size-radius-500);
302
+
303
+ .dt-recipe-leftbar-row__primary {
304
+ margin: calc(var(--dt-size-100) * -1);
305
+ }
306
+ }
307
+
308
+ &--contact-centers {
309
+ .dt-recipe-leftbar-row__alpha {
310
+ padding-right: var(--dt-space-450);
311
+ padding-left: var(--dt-space-450);
312
+ }
313
+
314
+ .dt-recipe-leftbar-row__action-container {
315
+ display: inline-flex;
316
+ align-items: center;
317
+ justify-content: flex-end;
318
+ min-width: var(--dt-size-600);
319
+ height: var(--dt-size-500);
320
+ }
321
+ }
322
+
323
+ &__icon-cc {
324
+ width: calc(var(--dt-size-300) * 3.5);
325
+ height: calc(var(--dt-size-300) * 3.5);
326
+ border-radius: var(--dt-size-200);
327
+ }
328
+ }
329
+
330
+ .opacity-pulsate {
331
+ -webkit-animation-name: opacity-pulsate;
332
+ -moz-animation-name: opacity-pulsate;
333
+ animation-name: opacity-pulsate;
334
+ -webkit-animation-duration: 1s;
335
+ -moz-animation-duration: 1s;
336
+ animation-duration: 1s;
337
+ -webkit-animation-iteration-count: infinite;
338
+ -moz-animation-iteration-count: infinite;
339
+ animation-iteration-count: infinite;
340
+ -webkit-animation-fill-mode: both;
341
+ -moz-animation-fill-mode: both;
342
+ animation-fill-mode: both;
343
+ }
344
+
345
+ @keyframes opacity-pulsate {
346
+ 0%,
347
+ 100% {
348
+ opacity: 0.2;
349
+ }
350
+
351
+ 50% {
352
+ opacity: 1;
353
+ }
354
+ }
355
+
356
+ @keyframes opacity-pulsate {
357
+ 0%,
358
+ 100% {
359
+ opacity: 0.2;
360
+ }
361
+
362
+ 50% {
363
+ opacity: 1;
364
+ }
365
+ }
366
+
367
+ @keyframes opacity-pulsate {
368
+ 0%,
369
+ 100% {
370
+ opacity: 0.2;
371
+ }
372
+
373
+ 50% {
374
+ opacity: 1;
375
+ }
376
+ }
377
+
378
+ @keyframes wave {
379
+ 0%,
380
+ 50%,
381
+ 100% {
382
+ transform: translate(0, 0);
383
+ }
384
+
385
+ 10% {
386
+ transform: translate(0, -0.5rem);
387
+ opacity: 0.9;
388
+ }
389
+ }
@@ -0,0 +1,92 @@
1
+ .dt-recipe-message-input {
2
+ display: flex;
3
+ flex-direction: column;
4
+ line-height: var(--dt-font-line-height-400);
5
+ border: var(--dt-size-border-100) solid;
6
+ border-color: var(--dt-color-border-default);
7
+ border-radius: var(--dt-size-radius-400);
8
+ cursor: text;
9
+ transition-timing-function: var(--ttf-in-out);
10
+ transition-duration: var(--td50);
11
+ transition-property: border-color, box-shadow, opacity;
12
+
13
+ &:focus-within {
14
+ border-color: var(--dt-color-border-bold);
15
+ box-shadow: 0 0 var(--dt-size-300) 0 var(--dt-color-surface-moderate-opaque);
16
+ }
17
+ }
18
+
19
+ .dt-recipe-message-input__editor-wrapper {
20
+ padding: var(--dt-space-450) var(--dt-space-500) var(--dt-space-300);
21
+ }
22
+
23
+ .dt-recipe-message-input__remaining-char {
24
+ margin-right: var(--dt-space-300);
25
+ color: var(--dt-color-foreground-critical);
26
+ font-size: var(--dt-font-size-100);
27
+ }
28
+
29
+ .dt-recipe-message-input__remaining-char__tooltip {
30
+ margin-top: auto;
31
+ margin-bottom: auto;
32
+ }
33
+
34
+ .dt-recipe-message-input__button {
35
+ max-width: 2.8rem;
36
+ max-height: 2.8rem;
37
+ border-radius: var(--dt-size-radius-300);
38
+ }
39
+
40
+ .dt-recipe-message-input__send-button.dt-recipe-message-input__button:not(.d-btn--icon-only),
41
+ .dt-recipe-message-input__cancel-button {
42
+ max-width: unset;
43
+ padding: var(--dt-space-350);
44
+ }
45
+
46
+ .dt-recipe-message-input__send-button--disabled {
47
+ color: var(--dt-color-foreground-muted);
48
+ background-color: unset;
49
+ cursor: default;
50
+ }
51
+
52
+ .dt-recipe-message-input__bottom-section {
53
+ display: flex;
54
+ justify-content: space-between;
55
+ padding: var(--dt-space-300) var(--dt-space-400) var(--dt-space-400);
56
+ }
57
+
58
+ .dt-recipe-message-input__bottom-section-left,
59
+ .dt-recipe-message-input__bottom-section-right {
60
+ display: flex;
61
+ }
62
+
63
+ .dt-recipe-message-input__image-input {
64
+ position: absolute;
65
+ }
66
+
67
+ .dt-recipe-message-input-meeting-pill {
68
+ display: inline-block;
69
+ }
70
+
71
+ .dt-recipe-message-input-meeting-pill__layout {
72
+ grid-template-areas: 'left content right';
73
+ grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content);
74
+ gap: var(--dt-space-400);
75
+ align-items: center;
76
+ max-width: var(--dt-size-905);
77
+ padding: var(--dt-space-200) var(--dt-space-400);
78
+ font: var(--dt-typography-headline-md);
79
+ border: var(--dt-size-border-100) solid var(--dt-color-border-default);
80
+ border-radius: var(--dt-size-radius-300);
81
+ }
82
+
83
+ .dt-recipe-message-input-meeting-pill__icon {
84
+ display: flex;
85
+ align-items: center;
86
+ padding: var(--dt-space-350);
87
+ }
88
+
89
+ .dt-recipe-message-input-meeting-pill__close {
90
+ display: flex;
91
+ justify-content: flex-end;
92
+ }