Administration: Introduce dashboard notice to discourage use of out of date browser.

If a browser matches Internet Explorer, the dashboard will display a notice recommending a more modern browser.

Props youknowriad, sabernhardt, afercia, SergeyBiryukov, davidbaumwald, netweb, johnbillion, jeherve.
See #48743.



git-svn-id: https://develop.svn.wordpress.org/trunk@51117 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Anthony Burchell
2021-06-08 22:47:00 +00:00
parent 69d7762ad4
commit 7b2793e242
2 changed files with 36 additions and 24 deletions

View File

@@ -1026,33 +1026,23 @@ a.rsswidget {
}
#dashboard_browser_nag p.browser-update-nag.has-browser-icon {
padding-right: 125px;
padding-right: 128px;
}
#dashboard_browser_nag .browser-icon {
margin-top: -35px;
}
#dashboard_browser_nag.postbox.browser-insecure {
background-color: #b32d2e;
border-color: #b32d2e;
margin-top: -32px;
}
#dashboard_browser_nag.postbox {
background-color: #dba617;
background-color: #b32d2e;
background-image: none;
border-color: #f0c33c;
border-color: #b32d2e;
color: #fff;
box-shadow: none;
}
#dashboard_browser_nag.postbox.browser-insecure h2 {
border-bottom-color: #e65054;
color: #fff;
}
#dashboard_browser_nag.postbox h2 {
border-bottom-color: #f5e6ab;
border-bottom-color: transparent;
background: transparent none;
color: #fff;
box-shadow: none;
@@ -1062,6 +1052,10 @@ a.rsswidget {
color: #fff;
}
#dashboard_browser_nag.postbox .postbox-header {
border-color: transparent;
}
#dashboard_browser_nag h2.hndle {
border: none;
font-weight: 600;