mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user