@@ -26,30 +26,36 @@ import {
2626 * actions the endpoint took to apply the policy configuration.
2727 */
2828const PolicyResponseConfigAccordion = styled ( EuiAccordion ) `
29- > .euiAccordion__triggerWrapper {
29+ .euiAccordion__triggerWrapper {
3030 padding: ${ ( props ) => props . theme . eui . paddingSizes . s } ;
3131 }
32+
3233 &.euiAccordion-isOpen {
3334 background-color: ${ ( props ) => props . theme . eui . euiFocusBackgroundColor } ;
3435 }
36+
3537 .euiAccordion__childWrapper {
3638 background-color: ${ ( props ) => props . theme . eui . euiColorLightestShade } ;
3739 }
40+
3841 .policyResponseAttentionBadge {
3942 background-color: ${ ( props ) => props . theme . eui . euiColorDanger } ;
4043 color: ${ ( props ) => props . theme . eui . euiColorEmptyShade } ;
4144 }
45+
4246 .euiAccordion__button {
4347 :hover,
4448 :focus {
4549 text-decoration: none;
4650 }
4751 }
52+
4853 :hover:not(.euiAccordion-isOpen) {
4954 background-color: ${ ( props ) => props . theme . eui . euiColorLightestShade } ;
5055 }
5156
5257 .policyResponseActionsAccordion {
58+ .euiAccordion__iconWrapper,
5359 svg {
5460 height: ${ ( props ) => props . theme . eui . euiIconSizes . small } ;
5561 width: ${ ( props ) => props . theme . eui . euiIconSizes . small } ;
@@ -59,6 +65,10 @@ const PolicyResponseConfigAccordion = styled(EuiAccordion)`
5965 .policyResponseStatusHealth {
6066 width: 100px;
6167 }
68+
69+ .policyResponseMessage {
70+ padding-left: ${ ( props ) => props . theme . eui . paddingSizes . l } ;
71+ }
6272` ;
6373
6474const ResponseActions = memo (
@@ -105,7 +115,7 @@ const ResponseActions = memo(
105115 }
106116 >
107117 < EuiText size = "xs" data-test-subj = "policyResponseMessage" >
108- < p > { statuses . message } </ p >
118+ < p className = "policyResponseMessage" > { statuses . message } </ p >
109119 </ EuiText >
110120 </ EuiAccordion >
111121 ) ;
0 commit comments