0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Add warning styles for dropdown-button

This commit is contained in:
Thibaud Colas 2024-01-12 07:04:55 +00:00
parent bc461d4de3
commit 67c97b2168

View File

@ -116,3 +116,16 @@ $radius: theme('borderRadius.sm');
border-end-end-radius: var(--last-item-end-end-radius);
}
}
.w-dropdown-button > .warning {
+ .w-dropdown .button {
background-color: theme('colors.warning.100');
border-color: $separator;
}
+ .w-dropdown .w-dropdown__toggle {
border-inline-end-color: theme('colors.warning.100');
border-top-color: theme('colors.warning.100');
border-bottom-color: theme('colors.warning.100');
}
}