diff options
author | Yury German <blueknight@gentoo.org> | 2019-05-22 01:01:36 -0400 |
---|---|---|
committer | Yury German <blueknight@gentoo.org> | 2019-05-22 01:01:36 -0400 |
commit | 0914c92da22824025992c368c745546e41fbeb84 (patch) | |
tree | 965f6adf3b725e56d559fe4a93eff02281499dcc /plugins/jetpack/modules/masterbar/overrides.css | |
parent | Deleting plugins for update (diff) | |
download | blogs-gentoo-0914c92da22824025992c368c745546e41fbeb84.tar.gz blogs-gentoo-0914c92da22824025992c368c745546e41fbeb84.tar.bz2 blogs-gentoo-0914c92da22824025992c368c745546e41fbeb84.zip |
Adding Plugins
Updating the following
akismet.4.1.2, google-authenticator.0.52, jetpack.7.3.1
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/jetpack/modules/masterbar/overrides.css')
-rw-r--r-- | plugins/jetpack/modules/masterbar/overrides.css | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/plugins/jetpack/modules/masterbar/overrides.css b/plugins/jetpack/modules/masterbar/overrides.css new file mode 100644 index 00000000..a1c9a534 --- /dev/null +++ b/plugins/jetpack/modules/masterbar/overrides.css @@ -0,0 +1,61 @@ +/* Remove min-height from menu elements that was causing them to render incorrectly */ +.my-sites li { + min-height: unset !important; +} + +/* Overwrite a core style which breaks the overflow for .my-sites in Safari */ +#wpadminbar li.menupop.my-sites { + overflow: visible; +} + +/* Add a focus style for menu items */ +.accessible-focus #wpadminbar li.menupop a.ab-item:focus, +.accessible-focus #wpadminbar li#wp-admin-bar-notes.menupop .ab-item:focus, +.accessible-focus #wpadminbar ul li#wp-admin-bar-ab-new-post a:focus { + -webkit-box-shadow: inset 2px 2px 0 #668eaa, + inset -2px -2px 0 #668eaa; + box-shadow: inset 2px 2px 0 #668eaa, + inset -2px -2px 0 #668eaa; +} + +/* Menu items in panels are inside `ab-empty-item` */ +.accessible-focus #wpadminbar li.menupop .ab-empty-item a.ab-item:focus, +.accessible-focus #wpadminbar li.menupop .ab-empty-item a.ab-secondary:focus, +.accessible-focus #wpadminbar li.menupop .ab-empty-item a.username:focus { + -webkit-box-shadow: inset 2px 2px 0 #2e4354, + inset -2px -2px 0 #2e4354; + box-shadow: inset 2px 2px 0 #2e4354, + inset -2px -2px 0 #2e4354; +} + +.accessible-focus #wpadminbar .quicklinks li#wp-admin-bar-my-account #wp-admin-bar-user-info .ab-sign-out:focus { + -webkit-box-shadow: inset 2px 2px 0 #2e4354, + inset -2px -2px 0 #2e4354 !important; + box-shadow: inset 2px 2px 0 #2e4354, + inset -2px -2px 0 #2e4354 !important; +} + +.accessible-focus #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus { + background: transparent; +} + +/* Hide the panels initially */ +#wpadminbar li#wp-admin-bar-blog.menupop > .ab-sub-wrapper, /* My Sites */ +#wpadminbar li#wp-admin-bar-newdash.menupop > .ab-sub-wrapper, /* Reader */ +#wpadminbar li#wp-admin-bar-my-account.menupop > .ab-sub-wrapper, /* Me */ +#wpadminbar li#wp-admin-bar-notes.menupop > #wpnt-notes-panel2 { /* Notifications */ + display: block !important; +} + +/* Change notification icon the match the one on WP.com */ +#wp-admin-bar-notes .noticon-bell:before { + content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+") !important; +} +#wp-admin-bar-notes.active .noticon-bell:before { + content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cmVjdCB4PSIwIiBmaWxsPSJub25lIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48Zz48cGF0aCBmaWxsPSIjMjMyODJkIiBkPSJNNi4xNCAxNC45N2wyLjgyOCAyLjgyN2MtLjM2Mi4zNjItLjg2Mi41ODYtMS40MTQuNTg2LTEuMTA1IDAtMi0uODk1LTItMiAwLS41NTIuMjI0LTEuMDUyLjU4Ni0xLjQxNHptOC44NjcgNS4zMjRMMTQuMyAyMSAzIDkuN2wuNzA2LS43MDcgMS4xMDIuMTU3Yy43NTQuMTA4IDEuNjktLjEyMiAyLjA3Ny0uNTFsMy44ODUtMy44ODRjMi4zNC0yLjM0IDYuMTM1LTIuMzQgOC40NzUgMHMyLjM0IDYuMTM1IDAgOC40NzVsLTMuODg1IDMuODg2Yy0uMzg4LjM4OC0uNjE4IDEuMzIzLS41MSAyLjA3N2wuMTU3IDEuMXoiLz48L2c+PC9zdmc+") !important; +} + +/* Fit width of sign out button to content */ +#wpadminbar .quicklinks li#wp-admin-bar-my-account #wp-admin-bar-user-info .ab-sign-out { + display: inline-block; +} |