1+ @use ' ../utils' ;
2+
3+ .str-chat {
4+ /* The border radius used for the borders of the component */
5+ --str-chat__dialog-menu-border-radius : var (--str-chat__border-radius-sm );
6+
7+ /* The text/icon color of the component */
8+ --str-chat__dialog-menu-color : var (--str-chat__text-color );
9+
10+ /* The background color of the component */
11+ --str-chat__dialog-menu-background-color : var (--str-chat__secondary-background-color );
12+
13+ /* Top border of the component */
14+ --str-chat__dialog-menu-border-block-start : none ;
15+
16+ /* Bottom border of the component */
17+ --str-chat__dialog-menu-border-block-end : none ;
18+
19+ /* Left (right in RTL layout) border of the component */
20+ --str-chat__dialog-menu-border-inline-start : none ;
21+
22+ /* Right (left in RTL layout) border of the component */
23+ --str-chat__dialog-menu-border-inline-end : none ;
24+
25+ /* Box shadow applied to the component */
26+ --str-chat__dialog-menu-box-shadow : 0 0 8px var (--str-chat__box-shadow-color );
27+
28+ /* The border radius used for the borders of an item in the message actions box */
29+ --str-chat__dialog-menu-button-border-radius : 0 ;
30+
31+ /* The text/icon color of an item in the message actions box */
32+ --str-chat__dialog-menu-button-color : var (--str-chat__text-color );
33+
34+ /* The background color of an item in the message actions box */
35+ --str-chat__dialog-menu-button-background-color : transparent ;
36+
37+ /* The background color of an item in the message actions box when hovered */
38+ --str-chat__dialog-menu-button-hover-background-color : var (--str-chat__secondary-surface-color );
39+
40+ /* Top border of an item in the message actions box */
41+ --str-chat__dialog-menu-button-border-block-start : none ;
42+
43+ /* Bottom border of an item in the message actions box */
44+ --str-chat__dialog-menu-button-border-block-end : none ;
45+
46+ /* Left (right in RTL layout) border of an item in the message actions box */
47+ --str-chat__dialog-menu-button-border-inline-start : none ;
48+
49+ /* Right (left in RTL layout) border of an item in the message actions box */
50+ --str-chat__dialog-menu-button-border-inline-end : none ;
51+
52+ /* Box shadow applied to an item in the message actions box */
53+ --str-chat__dialog-menu-button-box-shadow : none ;
54+ }
55+
56+ .str-chat__dialog {
57+ .str-chat__dialog__title {
58+ font : var (--str-chat__subtitle-medium-text );
59+ }
60+
61+ .str-chat__dialog__prompt {
62+ font : var (--str-chat__subtitle-text );
63+ }
64+
65+ .str-chat__dialog__controls {
66+ .str-chat__dialog__controls-button {
67+ cursor : pointer ;
68+ font : var (--str-chat__body-medium-text );
69+ color : var (--str-chat__primary-color );
70+ }
71+
72+ .str-chat__dialog__controls-button--submit {
73+ text-transform : uppercase ;
74+
75+ & :disabled {
76+ color : var (--str-chat__disabled-color );
77+ }
78+ }
79+ }
80+ }
81+
82+ .str-chat__prompt-dialog {
83+ input [type = text ] {
84+ font : var (--str-chat__subtitle-text );
85+ border-radius : 20px ;
86+ border : 1px solid var (--str-chat__primary-color );
87+ }
88+ }
89+
90+
91+ .str-chat__dialog-menu {
92+ @include utils .component-layer-overrides (' dialog-menu' );
93+
94+ .str-chat__dialog-menu__button {
95+ @include utils .component-layer-overrides (' dialog-menu-button' );
96+ cursor : pointer ;
97+ font : var (--str-chat__subtitle-text );
98+
99+ & :hover , & :focus {
100+ background-color : var (--str-chat__dialog-menu-button-hover-background-color );
101+ }
102+ }
103+ }
0 commit comments