kopia lustrzana https://github.com/wagtail/wagtail
Block chooser - refine padding and hover on block-chooser buttons
rodzic
6d28dff48e
commit
7b9fe92856
|
@ -74,14 +74,15 @@ $spacing-sm: theme('spacing.5');
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: theme('spacing.8') 1fr;
|
grid-template-columns: theme('spacing.8') 1fr;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: theme('spacing.1');
|
padding: theme('spacing.2');
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: theme('lineHeight.tight');
|
line-height: theme('lineHeight.tight');
|
||||||
border-radius: theme('borderRadius.sm');
|
border-radius: theme('borderRadius.sm');
|
||||||
|
|
||||||
&[aria-selected='true'] {
|
&[aria-selected='true'] {
|
||||||
border-color: currentColor;
|
border-color: theme('colors.border-button-outline-default');
|
||||||
|
color: theme('colors.text-link-default');
|
||||||
background: transparent;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
@ -122,6 +123,8 @@ $spacing-sm: theme('spacing.5');
|
||||||
|
|
||||||
// Explicitly override the selected color for SVG support.
|
// Explicitly override the selected color for SVG support.
|
||||||
[aria-selected='true'] & {
|
[aria-selected='true'] & {
|
||||||
|
color: theme('colors.text-link-default');
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media (forced-colors: active) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
@ -137,7 +140,8 @@ $spacing-sm: theme('spacing.5');
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-combobox__status {
|
.w-combobox__status {
|
||||||
padding: $spacing-sm;
|
padding: theme('spacing.5');
|
||||||
|
padding-top: 0;
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media (forced-colors: active) {
|
||||||
color: GrayText;
|
color: GrayText;
|
||||||
|
|
Ładowanie…
Reference in New Issue