2014-02-19 22:43:14 +01:00
|
|
|
#adminmenuback,
|
|
|
|
#adminmenuwrap,
|
|
|
|
#adminmenu,
|
|
|
|
#adminmenu .wp-submenu {
|
|
|
|
width: 160px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #1d2327;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenuback {
|
2015-04-08 23:39:26 +02:00
|
|
|
position: fixed;
|
2014-02-19 22:43:14 +01:00
|
|
|
top: 0;
|
2015-04-08 23:39:26 +02:00
|
|
|
bottom: -120px;
|
2015-04-22 20:38:29 +02:00
|
|
|
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2020-05-02 23:01:05 +02:00
|
|
|
.php-error #adminmenuback {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.php-error #adminmenuback,
|
|
|
|
.php-error #adminmenuwrap {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#adminmenu {
|
|
|
|
clear: left;
|
2014-10-05 05:09:20 +02:00
|
|
|
margin: 12px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenuback,
|
|
|
|
.folded #adminmenuwrap,
|
|
|
|
.folded #adminmenu,
|
|
|
|
.folded #adminmenu li.menu-top {
|
|
|
|
width: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon16 {
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
padding: 6px 6px;
|
|
|
|
margin: -6px 0 0 -8px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* New Menu icons */
|
|
|
|
|
|
|
|
.icon16:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #8c8f94; /* same as new icons */
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 6px 0;
|
|
|
|
height: 34px;
|
|
|
|
width: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
transition: all .1s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-dashboard:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f226";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-post:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f109";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-media:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f104";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-links:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f103";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-page:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f105";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-comments:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f101";
|
2014-02-19 22:43:14 +01:00
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-appearance:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f100";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-plugins:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f106";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-users:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f110";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-tools:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f107";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-settings:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f108";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-site:before {
|
2016-05-05 19:13:26 +02:00
|
|
|
content: "\f541";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-05 21:04:14 +01:00
|
|
|
.icon16.icon-generic:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f111";
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hide background-image for icons above */
|
|
|
|
.icon16.icon-dashboard,
|
|
|
|
.menu-icon-dashboard div.wp-menu-image,
|
|
|
|
.icon16.icon-post,
|
|
|
|
.menu-icon-post div.wp-menu-image,
|
|
|
|
.icon16.icon-media,
|
|
|
|
.menu-icon-media div.wp-menu-image,
|
|
|
|
.icon16.icon-links,
|
|
|
|
.menu-icon-links div.wp-menu-image,
|
|
|
|
.icon16.icon-page,
|
|
|
|
.menu-icon-page div.wp-menu-image,
|
|
|
|
.icon16.icon-comments,
|
|
|
|
.menu-icon-comments div.wp-menu-image,
|
|
|
|
.icon16.icon-appearance,
|
|
|
|
.menu-icon-appearance div.wp-menu-image,
|
|
|
|
.icon16.icon-plugins,
|
|
|
|
.menu-icon-plugins div.wp-menu-image,
|
|
|
|
.icon16.icon-users,
|
|
|
|
.menu-icon-users div.wp-menu-image,
|
|
|
|
.icon16.icon-tools,
|
|
|
|
.menu-icon-tools div.wp-menu-image,
|
|
|
|
.icon16.icon-settings,
|
|
|
|
.menu-icon-settings div.wp-menu-image,
|
|
|
|
.icon16.icon-site,
|
|
|
|
.menu-icon-site div.wp-menu-image,
|
|
|
|
.icon16.icon-generic,
|
|
|
|
.menu-icon-generic div.wp-menu-image {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
7.0 - Main Navigation (Left Menu)
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#adminmenuwrap {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
2014-10-06 04:00:16 +02:00
|
|
|
z-index: 9990;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* side admin menu */
|
|
|
|
#adminmenu * {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu a {
|
|
|
|
display: block;
|
2019-04-13 02:17:50 +02:00
|
|
|
line-height: 1.3;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 2px 5px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #f0f0f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-29 03:47:14 +01:00
|
|
|
#adminmenu .wp-submenu a {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #c3c4c7;
|
|
|
|
color: rgba(240, 246, 252, 0.7);
|
2019-07-26 15:49:57 +02:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.4;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 0;
|
2014-03-29 03:47:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-29 18:48:15 +01:00
|
|
|
#adminmenu .wp-submenu a:hover,
|
|
|
|
#adminmenu .wp-submenu a:focus {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#adminmenu a:hover,
|
|
|
|
#adminmenu li.menu-top > a:focus,
|
|
|
|
#adminmenu .wp-submenu a:hover,
|
|
|
|
#adminmenu .wp-submenu a:focus {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #72aee6;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2021-01-14 23:00:11 +01:00
|
|
|
#adminmenu a:hover,
|
|
|
|
#adminmenu a:focus,
|
|
|
|
.folded #adminmenu .wp-submenu-head:hover {
|
|
|
|
box-shadow: inset 4px 0 0 0 currentColor;
|
|
|
|
transition: box-shadow .1s linear;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#adminmenu li.menu-top {
|
|
|
|
border: none;
|
|
|
|
min-height: 34px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-submenu {
|
|
|
|
list-style: none;
|
|
|
|
position: absolute;
|
|
|
|
top: -1000em;
|
|
|
|
left: 160px;
|
|
|
|
overflow: visible;
|
|
|
|
word-wrap: break-word;
|
|
|
|
padding: 7px 0 8px;
|
|
|
|
z-index: 9999;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #2c3338;
|
2019-03-04 23:02:52 +01:00
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.js #adminmenu .sub-open,
|
|
|
|
.js #adminmenu .opensub .wp-submenu,
|
|
|
|
#adminmenu a.menu-top:focus + .wp-submenu,
|
|
|
|
.no-js li.wp-has-submenu:hover .wp-submenu {
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#adminmenu .wp-has-current-submenu .wp-submenu,
|
|
|
|
.no-js li.wp-has-current-submenu:hover .wp-submenu,
|
|
|
|
#adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
|
|
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu {
|
|
|
|
position: relative;
|
|
|
|
z-index: 3;
|
|
|
|
top: auto;
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
|
|
|
bottom: auto;
|
|
|
|
border: 0 none;
|
|
|
|
margin-top: 0;
|
|
|
|
box-shadow: none;
|
2021-03-18 22:44:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2014-03-29 03:47:14 +01:00
|
|
|
/* ensure that wp-submenu's box shadow doesn't appear on top of the focused menu item's background. */
|
|
|
|
#adminmenu li.menu-top:hover,
|
|
|
|
#adminmenu li.opensub > a.menu-top,
|
|
|
|
#adminmenu li > a.menu-top:focus {
|
|
|
|
position: relative;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #1d2327;
|
|
|
|
color: #72aee6;
|
2014-03-29 03:47:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu li.menu-top:hover,
|
|
|
|
.folded #adminmenu li.opensub > a.menu-top,
|
|
|
|
.folded #adminmenu li > a.menu-top:focus {
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
|
|
|
#adminmenu li.current a.menu-top,
|
|
|
|
#adminmenu .wp-menu-arrow,
|
|
|
|
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
|
|
|
#adminmenu .wp-menu-arrow div {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #2271b1;
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu .wp-submenu.sub-open,
|
|
|
|
.folded #adminmenu .opensub .wp-submenu,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
|
|
|
.folded #adminmenu a.menu-top:focus + .wp-submenu,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
|
2016-11-04 18:18:57 +01:00
|
|
|
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
|
2014-02-19 22:43:14 +01:00
|
|
|
top: 0;
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
position: absolute;
|
|
|
|
top: -1000em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-not-current-submenu .wp-submenu,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
min-width: 160px;
|
|
|
|
width: auto;
|
2021-01-14 23:00:11 +01:00
|
|
|
border-left: 5px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-submenu li.current,
|
|
|
|
#adminmenu .wp-submenu li.current a,
|
|
|
|
#adminmenu .opensub .wp-submenu li.current a,
|
|
|
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
|
|
|
|
#adminmenu .wp-submenu li.current a:hover,
|
|
|
|
#adminmenu .wp-submenu li.current a:focus {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-not-current-submenu li > a,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu li > a {
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-left: 14px;
|
2019-01-12 16:01:49 +01:00
|
|
|
/* Exclude from the transition the outline for Windows High Contrast mode */
|
|
|
|
transition: all .1s ease-in-out, outline 0s;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-has-current-submenu ul > li > a,
|
|
|
|
.folded #adminmenu li.menu-top .wp-submenu > li > a {
|
2017-09-10 15:40:46 +02:00
|
|
|
padding: 5px 12px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu a.menu-top,
|
|
|
|
#adminmenu .wp-submenu-head {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
2019-04-13 02:17:50 +02:00
|
|
|
line-height: 1.3;
|
2014-02-19 22:43:14 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-25 21:33:26 +02:00
|
|
|
#adminmenu .wp-submenu-head {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-06-25 21:33:26 +02:00
|
|
|
.folded #adminmenu .wp-menu-name {
|
|
|
|
position: absolute;
|
|
|
|
left: -999px;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.folded #adminmenu .wp-submenu-head {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-submenu li {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-menu-image img {
|
2014-03-05 13:59:14 +01:00
|
|
|
padding: 9px 0 0 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
opacity: 0.6;
|
|
|
|
filter: alpha(opacity=60);
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu div.wp-menu-name {
|
Admin Menu: Better wrapping for long menu item names.
Props munyagu, jagirbaheshwp, harshbarach, pratikkry, hareesh-pillai, naveenkharwar, mukesh27, chetan200891, dushanthi, worldweb, audrasjb, afercia, amolv, iqbalbary, davidbaumwald, sabernhardt, johnjamesjacoby, garrett-eclipse, garrett-eclipse.
Fixes #42201.
Built from https://develop.svn.wordpress.org/trunk@49149
git-svn-id: http://core.svn.wordpress.org/trunk@48911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-14 21:53:08 +02:00
|
|
|
padding: 8px 8px 8px 36px;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
-ms-word-break: break-all;
|
|
|
|
word-break: break-word;
|
|
|
|
-webkit-hyphens: auto;
|
|
|
|
hyphens: auto;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu div.wp-menu-image {
|
|
|
|
float: left;
|
|
|
|
width: 36px;
|
2014-03-05 13:59:14 +01:00
|
|
|
height: 34px;
|
2014-02-19 22:43:14 +01:00
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu div.wp-menu-image.svg {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 20px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.wp-menu-image:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #a7aaad;
|
|
|
|
color: rgba(240, 246, 252, 0.6);
|
2014-03-05 13:59:14 +01:00
|
|
|
padding: 7px 0;
|
2014-02-19 22:43:14 +01:00
|
|
|
transition: all .1s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu div.wp-menu-image:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #a7aaad;
|
|
|
|
color: rgba(240, 246, 252, 0.6);
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu li.wp-has-current-submenu:hover div.wp-menu-image:before,
|
|
|
|
#adminmenu .wp-has-current-submenu div.wp-menu-image:before,
|
|
|
|
#adminmenu .current div.wp-menu-image:before,
|
|
|
|
#adminmenu a.wp-has-current-submenu:hover div.wp-menu-image:before,
|
2015-04-08 18:38:26 +02:00
|
|
|
#adminmenu a.current:hover div.wp-menu-image:before,
|
|
|
|
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
|
|
|
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before {
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2015-04-08 18:38:26 +02:00
|
|
|
#adminmenu li:hover div.wp-menu-image:before,
|
|
|
|
#adminmenu li a:focus div.wp-menu-image:before,
|
|
|
|
#adminmenu li.opensub div.wp-menu-image:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #72aee6;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu div.wp-menu-image {
|
|
|
|
width: 35px;
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 25;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folded #adminmenu a.menu-top {
|
|
|
|
height: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sticky admin menu */
|
|
|
|
.sticky-menu #adminmenuwrap {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* A new arrow */
|
|
|
|
|
|
|
|
.wp-menu-arrow {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul#adminmenu a.wp-has-current-submenu {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul#adminmenu a.wp-has-current-submenu:after,
|
|
|
|
ul#adminmenu > li.current > a.current:after {
|
|
|
|
right: 0;
|
|
|
|
border: solid 8px transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-right-color: #f0f0f1;
|
2014-02-19 22:43:14 +01:00
|
|
|
top: 50%;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.folded ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
|
|
|
.folded ul#adminmenu li.wp-has-current-submenu:focus-within a.wp-has-current-submenu:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folded ul#adminmenu a.wp-has-current-submenu:after,
|
|
|
|
.folded ul#adminmenu > li a.current:after {
|
|
|
|
border-width: 4px;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* flyout menu arrow */
|
2021-03-18 22:44:09 +01:00
|
|
|
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
|
|
|
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
right: 0;
|
2021-02-02 21:28:08 +01:00
|
|
|
border: 8px solid transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
top: 10px;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
|
|
|
.folded ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-width: 4px;
|
|
|
|
margin-top: -4px;
|
|
|
|
top: 18px;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after,
|
|
|
|
#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
border-right-color: #2c3338;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu li.menu-top:hover .wp-menu-image img,
|
|
|
|
#adminmenu li.wp-has-current-submenu .wp-menu-image img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: alpha(opacity=100);
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu li.wp-menu-separator {
|
|
|
|
height: 5px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 6px 0;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @todo: is this even needed given that it's nested beneath the above li.wp-menu-separator? */
|
|
|
|
#adminmenu div.separator {
|
|
|
|
height: 2px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu .wp-submenu .wp-submenu-head {
|
|
|
|
color: #fff;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 14px;
|
2021-01-14 23:00:11 +01:00
|
|
|
padding: 5px 4px 5px 11px;
|
|
|
|
margin: -7px 0px 4px -5px;
|
|
|
|
border-width: 3px 0 3px 5px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: transparent;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#adminmenu li.current,
|
|
|
|
.folded #adminmenu li.wp-menu-open {
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
2017-09-10 15:40:46 +02:00
|
|
|
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
|
2019-10-17 20:38:03 +02:00
|
|
|
#adminmenu .awaiting-mod,
|
|
|
|
#adminmenu .update-plugins {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: inline-block;
|
2019-10-17 20:38:03 +02:00
|
|
|
vertical-align: top;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 1px 0 -1px 2px;
|
2019-10-15 21:39:01 +02:00
|
|
|
padding: 0 5px;
|
2019-10-17 20:38:03 +02:00
|
|
|
min-width: 18px;
|
2019-03-18 16:22:53 +01:00
|
|
|
height: 18px;
|
|
|
|
border-radius: 9px;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #d63638;
|
2014-02-19 22:43:14 +01:00
|
|
|
color: #fff;
|
2019-03-18 16:22:53 +01:00
|
|
|
font-size: 11px;
|
2019-04-13 06:20:50 +02:00
|
|
|
line-height: 1.6;
|
2017-09-10 15:40:46 +02:00
|
|
|
text-align: center;
|
2014-02-19 22:43:14 +01:00
|
|
|
z-index: 26;
|
2019-10-17 20:38:03 +02:00
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
|
2019-10-17 20:38:03 +02:00
|
|
|
#adminmenu li.current a .awaiting-mod,
|
|
|
|
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background-color: #d63638;
|
2019-10-17 20:38:03 +02:00
|
|
|
color: #fff;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2015-02-27 00:24:27 +01:00
|
|
|
#adminmenu li span.count-0 {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 34px;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
background: none;
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #a7aaad;
|
2016-11-04 18:18:57 +01:00
|
|
|
cursor: pointer;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2019-01-10 17:47:50 +01:00
|
|
|
#collapse-button:hover {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #72aee6;
|
2019-01-10 17:47:50 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button:focus {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #72aee6;
|
2019-01-10 17:47:50 +01:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
|
|
|
outline-offset: -1px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button .collapse-button-icon,
|
|
|
|
#collapse-button .collapse-button-label {
|
|
|
|
/* absolutely positioned to avoid 1px shift in IE when button is pressed */
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2019-01-10 17:47:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#collapse-button .collapse-button-label {
|
|
|
|
top: 8px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button .collapse-button-icon {
|
|
|
|
width: 36px;
|
|
|
|
height: 34px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button .collapse-button-label {
|
|
|
|
padding: 0 0 0 36px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
.folded #collapse-button .collapse-button-label {
|
|
|
|
display: none;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button .collapse-button-icon:after {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f148";
|
2014-02-19 22:43:14 +01:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2016-11-04 18:18:57 +01:00
|
|
|
top: 7px;
|
2014-02-19 22:43:14 +01:00
|
|
|
text-align: center;
|
2016-11-04 18:18:57 +01:00
|
|
|
font: normal 20px/1 dashicons !important;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2014-02-19 22:43:14 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2016-11-04 18:18:57 +01:00
|
|
|
.folded #collapse-button .collapse-button-icon:after,
|
|
|
|
.rtl #collapse-button .collapse-button-icon:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
.rtl.folded #collapse-button .collapse-button-icon:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
#collapse-button .collapse-button-icon:after,
|
|
|
|
#collapse-button .collapse-button-label {
|
|
|
|
transition: all .1s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/**
|
|
|
|
* Toolbar menu toggle
|
|
|
|
*/
|
|
|
|
li#wp-admin-bar-menu-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-11-20 16:29:23 +01:00
|
|
|
/* Hide-if-customize for items we can't add classes to */
|
|
|
|
.customize-support #menu-appearance a[href="themes.php?page=custom-header"],
|
|
|
|
.customize-support #menu-appearance a[href="themes.php?page=custom-background"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
|
|
|
|
/* Auto-folding of the admin menu */
|
2014-08-17 16:15:17 +02:00
|
|
|
@media only screen and (max-width: 960px) {
|
2014-02-19 22:43:14 +01:00
|
|
|
.auto-fold #wpcontent,
|
|
|
|
.auto-fold #wpfooter {
|
2014-08-15 17:34:16 +02:00
|
|
|
margin-left: 36px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenuback,
|
|
|
|
.auto-fold #adminmenuwrap,
|
|
|
|
.auto-fold #adminmenu,
|
|
|
|
.auto-fold #adminmenu li.menu-top {
|
|
|
|
width: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-submenu.sub-open,
|
|
|
|
.auto-fold #adminmenu .opensub .wp-submenu,
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
|
|
|
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
|
2016-11-04 18:18:57 +01:00
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
2014-02-19 22:43:14 +01:00
|
|
|
top: 0px;
|
|
|
|
left: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu a.wp-has-current-submenu:focus + .wp-submenu,
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
position: absolute;
|
|
|
|
top: -1000em;
|
|
|
|
margin-right: -1px;
|
|
|
|
padding: 7px 0 8px;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
min-width: 150px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu li > a {
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-left: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-menu-name {
|
2015-06-25 21:33:26 +02:00
|
|
|
position: absolute;
|
|
|
|
left: -999px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-submenu-head {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu div.wp-menu-image {
|
|
|
|
height: 30px;
|
|
|
|
width: 34px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 25;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu a.menu-top {
|
Admin Menu: Better wrapping for long menu item names.
Props munyagu, jagirbaheshwp, harshbarach, pratikkry, hareesh-pillai, naveenkharwar, mukesh27, chetan200891, dushanthi, worldweb, audrasjb, afercia, amolv, iqbalbary, davidbaumwald, sabernhardt, johnjamesjacoby, garrett-eclipse, garrett-eclipse.
Fixes #42201.
Built from https://develop.svn.wordpress.org/trunk@49149
git-svn-id: http://core.svn.wordpress.org/trunk@48911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-14 21:53:08 +02:00
|
|
|
min-height: 34px;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu li.wp-menu-open {
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu.menu-top-last {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
|
|
|
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
|
|
|
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
border-width: 4px;
|
|
|
|
margin-top: -4px;
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
|
|
|
|
.auto-fold ul#adminmenu > li a.current:after {
|
|
|
|
border-width: 4px;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu li.menu-top:hover,
|
|
|
|
.auto-fold #adminmenu li.opensub > a.menu-top,
|
|
|
|
.auto-fold #adminmenu li > a.menu-top:focus {
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
.auto-fold #collapse-menu .collapse-button-label {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-02-27 14:41:30 +01:00
|
|
|
/* rtl:ignore */
|
2016-11-04 18:18:57 +01:00
|
|
|
.auto-fold #collapse-button .collapse-button-icon:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
|
2016-11-04 18:18:57 +01:00
|
|
|
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2014-02-19 22:43:14 +01:00
|
|
|
.auto-fold #wpcontent {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky-menu #adminmenuwrap {
|
|
|
|
position: relative;
|
|
|
|
z-index: auto;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sidebar Adjustments */
|
|
|
|
.auto-fold #adminmenu,
|
|
|
|
.auto-fold #adminmenuback,
|
|
|
|
.auto-fold #adminmenuwrap {
|
|
|
|
position: absolute;
|
|
|
|
width: 190px;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2019-10-11 21:22:02 +02:00
|
|
|
.auto-fold #adminmenuback {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
.auto-fold #adminmenuback,
|
|
|
|
.auto-fold #adminmenuwrap {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold .wp-responsive-open #adminmenuback,
|
|
|
|
.auto-fold .wp-responsive-open #adminmenuwrap {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu li.menu-top {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Resize the admin menu items to a comfortable touch size */
|
|
|
|
.auto-fold #adminmenu li a {
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu li.menu-top .wp-submenu > li > a {
|
|
|
|
padding: 10px 10px 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Restore the menu names */
|
|
|
|
.auto-fold #adminmenu .wp-menu-name {
|
2015-06-25 21:33:26 +02:00
|
|
|
position: static;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Switch the arrow side */
|
|
|
|
.auto-fold ul#adminmenu a.wp-has-current-submenu:after,
|
|
|
|
.auto-fold ul#adminmenu > li.current > a.current:after {
|
|
|
|
border-width: 8px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after,
|
|
|
|
.auto-fold ul#adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make the submenus appear correctly when tapped. */
|
|
|
|
#adminmenu .wp-submenu {
|
|
|
|
position: relative;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .selected .wp-submenu,
|
|
|
|
.auto-fold #adminmenu .wp-menu-open .wp-submenu {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
top: 0;
|
|
|
|
left: -1px;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .selected .wp-submenu:after,
|
|
|
|
.auto-fold #adminmenu .wp-menu-open .wp-submenu:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .opensub .wp-submenu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu .selected .wp-submenu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-03-18 22:44:09 +01:00
|
|
|
.auto-fold ul#adminmenu li:hover a.wp-has-current-submenu:after,
|
|
|
|
.auto-fold ul#adminmenu li:focus-within a.wp-has-current-submenu:after {
|
2014-02-19 22:43:14 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
|
|
|
|
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
|
|
|
position: relative;
|
|
|
|
left: -1px;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-14 23:00:11 +01:00
|
|
|
#adminmenu .wp-not-current-submenu .wp-submenu,
|
|
|
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
2014-02-19 22:43:14 +01:00
|
|
|
/* Remove submenu headers and adjust sub meu*/
|
|
|
|
#adminmenu .wp-submenu .wp-submenu-head {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Toolbar menu toggle */
|
|
|
|
#wp-responsive-toggle {
|
|
|
|
position: fixed;
|
|
|
|
top: 5px;
|
|
|
|
left: 4px;
|
|
|
|
padding-right: 10px;
|
|
|
|
z-index: 99999;
|
|
|
|
border: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpadminbar #wp-admin-bar-menu-toggle a {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
background: none;
|
|
|
|
height: 44px;
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
background: #2c3338;
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
li#wp-admin-bar-menu-toggle {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpadminbar #wp-admin-bar-menu-toggle a:hover {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f228";
|
2014-02-19 22:43:14 +01:00
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
2015-09-05 21:57:25 +02:00
|
|
|
font: normal 40px/45px dashicons;
|
2014-02-19 22:43:14 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
outline: none;
|
|
|
|
margin: 0;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
height: 44px;
|
|
|
|
width: 50px;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2015-07-03 05:29:25 +02:00
|
|
|
|
|
|
|
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 19:54:59 +01:00
|
|
|
color: #72aee6;
|
2015-07-03 05:29:25 +02:00
|
|
|
}
|
2014-02-19 22:43:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Smartphone */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
#adminmenuwrap,
|
|
|
|
#adminmenuback {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-responsive-open #adminmenuwrap,
|
|
|
|
.wp-responsive-open #adminmenuback {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-fold #adminmenu {
|
|
|
|
top: 46px;
|
|
|
|
}
|
|
|
|
}
|