File tree Expand file tree Collapse file tree 1 file changed +28
-12
lines changed
packages/module/src/MessageBar Expand file tree Collapse file tree 1 file changed +28
-12
lines changed Original file line number Diff line number Diff line change 2121 justify-content : flex-end ;
2222 background-color : var (--pf-t--global--background--color--primary--default );
2323 border-radius : calc (var (--pf-t--global--border--radius--medium ) * 2 );
24- transition : box-shadow var (--pf-t--global--motion--timing-function--accelerate )
24+ transition : border-color var (--pf-t--global--motion--timing-function--accelerate )
2525 var (--pf-t--global--motion--duration--sm );
26+ position : relative ;
27+ border : 1px solid transparent ;
2628
2729 overflow : hidden ;
2830
29- & :not (.pf-v6-m-thinking ) {
30- & .pf-m-primary {
31- box-shadow : inset 0 0 0 1px var (--pf-t--global--border--color--default );
31+ & ::after {
32+ content : ' ' ;
33+ position : absolute ;
34+ inset : 0 ;
35+ border-radius : inherit ;
36+ border : 1px solid transparent ;
37+ pointer-events : none ;
38+ transition : border-color var (--pf-t--global--motion--timing-function--accelerate )
39+ var (--pf-t--global--motion--duration--sm );
40+ }
41+
42+ & .pf-m-primary {
43+ & ::after {
44+ border-color : var (--pf-t--global--border--color--default );
3245 }
46+ }
3347
34- & :hover {
35- box-shadow : inset 0 0 0 1px var (--pf-t--global--border--color--default );
48+ & :hover {
49+ & ::after {
50+ border-color : var (--pf-t--global--border--color--default );
3651 }
52+ }
3753
38- & :focus-within {
39- box-shadow : inset 0 0 0 2px var (--pf-t--global--color--brand--default );
54+ & :focus-within {
55+ & ::after {
56+ border-width : 2px ;
57+ border-color : var (--pf-t--global--color--brand--default );
4058 }
4159 }
4260
139157// ============================================================================
140158:root :where(.pf-v6-theme-high-contrast ) {
141159 .pf-chatbot__message-bar {
142- box-shadow : inset 0 0 0 1px var (--pf-t--global--border--color--default );
143-
144- & :focus-within {
145- box-shadow : inset 0 0 0 2px var (--pf-t--global--color--brand--default );
160+ & ::after {
161+ border-color : var (--pf-t--global--border--color--default );
146162 }
147163 }
148164}
You can’t perform that action at this time.
0 commit comments