Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Try a subtle opacity change on button hovers #275

Merged
merged 2 commits into from
Dec 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ a:active {
padding: calc(.667em + 2px) calc(1.333em + 2px);
}

.wp-block-file a.wp-block-file__button:hover {
opacity: 1;
}
/*
* Button hover styles.
* Necessary until the following issue is resolved in Gutenberg:
* https://github.com/WordPress/gutenberg/issues/27075
*/

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
opacity: 0.90;
}