Widgets: Make the Delete/Remove links red.
For consistency and accessibility, all the UI controls that perform destructive actions should be red. Props monikarao, lukecavanagh, patilswapnilv, ibachal. See #35622. Fixes #37016. git-svn-id: https://develop.svn.wordpress.org/trunk@38536 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a0effca18
commit
2fc85993ca
@ -826,6 +826,8 @@ hr {
|
|||||||
border-bottom: 1px solid #fafafa;
|
border-bottom: 1px solid #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove,
|
||||||
|
.widget-control-remove:focus,
|
||||||
.row-actions span.delete a,
|
.row-actions span.delete a,
|
||||||
.row-actions span.trash a,
|
.row-actions span.trash a,
|
||||||
.row-actions span.spam a,
|
.row-actions span.spam a,
|
||||||
@ -842,7 +844,6 @@ hr {
|
|||||||
abbr.required,
|
abbr.required,
|
||||||
span.required,
|
span.required,
|
||||||
.file-error,
|
.file-error,
|
||||||
.widget-control-remove:hover,
|
|
||||||
.row-actions .delete a:hover,
|
.row-actions .delete a:hover,
|
||||||
.row-actions .trash a:hover,
|
.row-actions .trash a:hover,
|
||||||
.row-actions .spam a:hover,
|
.row-actions .spam a:hover,
|
||||||
@ -858,6 +859,10 @@ span.required,
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget-control-remove:hover {
|
||||||
|
color: #f00;
|
||||||
|
}
|
||||||
|
|
||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
3.0 - Actions
|
3.0 - Actions
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user