3939 @include u-border (' secondary-dark' );
4040 }
4141 }
42+ }
43+
44+ .sds-button-group--modular.sds-button-group--segmented {
45+ mat-button-toggle :not (:last-of-type ){
46+ margin-right : 10px ;
47+ }
48+ .sds-button-group__item {
49+ .mat-button-toggle-button {
50+ padding : 8px ;
51+ }
52+ border-radius : 8px ;
53+ box-shadow : 1px 2px 4px 0px #00000080 ;
54+ @include u-bg (' base-lightest' );
55+ @include u-border (2px , !important );
56+ @include u-border (' solid' );
57+ @include u-border (' base-lightest' , !important );
58+
59+ .mat-button-toggle-focus-overlay {
60+ background-color : transparent ;
61+ }
62+
63+ & :not (.mat-button-toggle-disabled ):hover {
64+ @include u-bg (' accent-cool-lighter' );
65+ @include u-border (' accent-cool-lighter' , !important );
66+ cursor : pointer ;
67+ }
68+ & :not (.mat-button-toggle-disabled ).mat-button-toggle-checked , & :not (.mat-button-toggle-disabled ):active {
69+
70+ @include u-border (' secondary' , !important );
71+ @include u-border (2px , !important );
72+ }
73+ & .mat-button-toggle-disabled {
74+ @include u-bg (' base-light' );
75+ @include u-border (' base-light' , !important );
76+ @include u-border (2px , !important );
77+ @include u-text (' base-dark' );
78+ }
79+ // Focus is placed on this class when tabbing
80+ .mat-button-toggle-button :focus {
81+ outline : solid 2px #2491FF ;
82+ outline-offset : 5px ;
83+ }
84+
85+ }
4286}
0 commit comments