Template:Filter/styles.css: Difference between revisions
Template page
More actions
Updated to new colour tokens |
Added hover styling |
||
| Line 7: | Line 7: | ||
} | } | ||
.mw-ui-button-group > *:first-child, .mw-ui-button-group > *:last-child { | .mw-ui-button:hover { | ||
background-color: var(--background-color-3) !important; | |||
} | |||
.mw-ui-button-group > *:first-child, | |||
.mw-ui-button-group > *:last-child { | |||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
| Line 19: | Line 24: | ||
} | } | ||
.mw-ui-button-group .filter-button-selected, .filter-button-selected:hover { | .mw-ui-button-group .filter-button-selected, | ||
.filter-button-selected:hover { | |||
background: var(--color-progressive) !important; | background: var(--color-progressive) !important; | ||
color: var(--background-color-base) !important; | color: var(--background-color-base) !important; | ||