|
1 | 1 | // ============================================================================ |
2 | | -// Chatbot Footer - Message Bar - Attach |
| 2 | +// Chatbot Footer - Message Bar - Shared button styles |
3 | 3 | // ============================================================================ |
4 | | -.pf-v6-c-button.pf-chatbot__button--attach { |
5 | | - border-radius: var(--pf-t--global--border--radius--pill); |
6 | | - padding: var(--pf-t--global--spacer--md); |
7 | | - width: 3rem; |
8 | | - height: 3rem; |
| 4 | +.pf-v6-c-button.pf-chatbot__message-bar-button { |
| 5 | + color: var(--pf-t--global--icon--color--subtle); |
9 | 6 |
|
| 7 | + .pf-v6-c-button__text, |
10 | 8 | .pf-v6-c-button__icon { |
11 | | - color: var(--pf-t--global--icon--color--subtle); |
| 9 | + svg { |
| 10 | + font-size: var(--pf-t--global--icon--size--xl); |
| 11 | + vertical-align: middle; |
| 12 | + } |
12 | 13 | } |
13 | 14 |
|
14 | 15 | // Interactive states |
15 | 16 | &:hover { |
16 | | - .pf-v6-c-button__icon { |
17 | | - color: var(--pf-t--global--icon--color--regular); |
18 | | - } |
| 17 | + color: var(--pf-t--global--icon--color--regular); |
19 | 18 | } |
20 | 19 |
|
21 | 20 | &:active, |
22 | 21 | &:focus { |
23 | 22 | background-color: var(--pf-t--global--color--brand--clicked); |
24 | | - |
25 | | - .pf-v6-c-button__icon { |
26 | | - color: var(--pf-t--global--icon--color--inverse); |
27 | | - } |
| 23 | + color: var(--pf-t--global--icon--color--inverse); |
28 | 24 |
|
29 | 25 | &:hover, |
30 | 26 | &:focus { |
31 | | - .pf-v6-c-button__icon { |
32 | | - color: var(--pf-t--global--icon--color--inverse); |
33 | | - } |
| 27 | + color: var(--pf-t--global--icon--color--inverse); |
34 | 28 | } |
35 | 29 | } |
36 | 30 | } |
37 | 31 |
|
38 | 32 | // ============================================================================ |
39 | 33 | // Information density styles |
40 | 34 | // ============================================================================ |
41 | | -.pf-v6-c-button.pf-chatbot__button--attach.pf-m-compact { |
42 | | - width: 1.5rem; |
43 | | - height: 1.5rem; |
44 | | - align-items: center; |
| 35 | +.pf-v6-c-button.pf-chatbot__message-bar-button.pf-m-compact { |
| 36 | + .pf-v6-c-button__text svg, |
| 37 | + .pf-v6-c-button__icon svg { |
| 38 | + font-size: var(--pf-t--global--icon--size--lg); |
| 39 | + } |
45 | 40 | } |
0 commit comments