mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Help/About: Add a hover effect for links on About pages.
* Add a color that passes WCAG color contrast criteria to every link. * Add an underline for links in credits list only on hover/focus. Props audrasjb, ixkaito, mukesh27, melchoyce, SergeyBiryukov. Fixes #48582. Built from https://develop.svn.wordpress.org/trunk@46852 git-svn-id: http://core.svn.wordpress.org/trunk@46652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
48fbea17d6
commit
9648c368f0
@ -306,11 +306,25 @@
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.about__section a,
|
||||
.about__section a {
|
||||
color: #5f1b29;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__section a:hover,
|
||||
.about__section a:active,
|
||||
.about__section a:focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-credits-list a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-credits-list a:hover,
|
||||
.wp-credits-list a:active,
|
||||
.wp-credits-list a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__container ul {
|
||||
@ -428,7 +442,7 @@
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
background-color: #5F1B29;
|
||||
background-color: #5f1b29;
|
||||
background-color: var(--accent-2);
|
||||
margin: 0;
|
||||
padding: 32px;
|
||||
|
2
wp-admin/css/about-rtl.min.css
vendored
2
wp-admin/css/about-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -305,11 +305,25 @@
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.about__section a,
|
||||
.about__section a {
|
||||
color: #5f1b29;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__section a:hover,
|
||||
.about__section a:active,
|
||||
.about__section a:focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-credits-list a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-credits-list a:hover,
|
||||
.wp-credits-list a:active,
|
||||
.wp-credits-list a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__container ul {
|
||||
@ -427,7 +441,7 @@
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
background-color: #5F1B29;
|
||||
background-color: #5f1b29;
|
||||
background-color: var(--accent-2);
|
||||
margin: 0;
|
||||
padding: 32px;
|
||||
|
2
wp-admin/css/about.min.css
vendored
2
wp-admin/css/about.min.css
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46851';
|
||||
$wp_version = '5.4-alpha-46852';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user