2016-09-14 18:15:29 +02:00
|
|
|
#customize-theme-controls #accordion-section-menu_locations {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
position: relative;
|
2017-10-11 21:38:50 +02:00
|
|
|
margin-top: 30px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2016-09-14 18:15:29 +02:00
|
|
|
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
|
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-bottom-color: #dcdcde;
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .customize-section-title-nav_menus-heading,
|
|
|
|
#customize-theme-controls .customize-section-title-menu_locations-heading,
|
|
|
|
#customize-theme-controls .customize-section-title-menu_locations-description {
|
|
|
|
padding: 0 12px 0 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
|
|
|
|
/* Override the default italic style for control descriptions */
|
|
|
|
font-style: normal;
|
2016-09-14 18:15:29 +02:00
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.menu-in-location,
|
|
|
|
.menu-in-locations {
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
2015-06-28 06:45:25 +02:00
|
|
|
#customize-controls .theme-location-set,
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
#customize-controls .control-section .accordion-section-title:focus .menu-in-location,
|
2016-01-13 23:36:26 +01:00
|
|
|
#customize-controls .control-section .accordion-section-title:hover .menu-in-location {
|
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: #50575e;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2017-10-18 16:51:47 +02:00
|
|
|
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
|
|
|
|
.customize-control-nav_menu_location .edit-menu,
|
|
|
|
.customize-control-nav_menu_location .create-menu {
|
2016-08-04 00:45:30 +02:00
|
|
|
margin-left: 6px;
|
|
|
|
vertical-align: middle;
|
2019-04-07 07:49:51 +02:00
|
|
|
line-height: 2.2;
|
2016-06-29 01:07:30 +02:00
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
#customize-controls .customize-control-nav_menu_name {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-nav_menu_name p:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-new-menu-submit {
|
|
|
|
float: right;
|
|
|
|
min-width: 85px;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.wp-customizer .menu-item-bar .menu-item-handle,
|
|
|
|
.wp-customizer .menu-item-settings,
|
|
|
|
.wp-customizer .menu-item-settings .description-thin {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-bar {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-bar .menu-item-handle {
|
2015-06-17 21:35:28 +02:00
|
|
|
width: 100%;
|
2020-11-02 21:07:05 +01:00
|
|
|
max-width: 100%;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-handle .item-title {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-handle .item-type {
|
2015-07-07 17:52:25 +02:00
|
|
|
padding: 1px 21px 0 5px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2016-10-21 08:37:30 +02:00
|
|
|
.wp-customizer .menu-item-handle:hover {
|
|
|
|
z-index: 8;
|
|
|
|
}
|
|
|
|
|
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
|
|
|
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
|
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-left: 4px solid #72aee6;
|
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.wp-customizer .menu-item-settings {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2016-10-21 08:37:30 +02:00
|
|
|
z-index: 8;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
padding: 10px;
|
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: #f0f0f1;
|
|
|
|
border: 1px solid #8c8f94;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-settings .description-thin {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-settings input[type="text"] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-settings .submitbox {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-settings .link-to-original {
|
|
|
|
padding: 5px 0;
|
|
|
|
border: none;
|
|
|
|
font-style: normal;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item .submitbox .submitdelete {
|
|
|
|
float: left;
|
|
|
|
margin: 6px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-10-20 22:15:26 +02:00
|
|
|
/**
|
|
|
|
* Menu items reordering styles
|
|
|
|
*/
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
|
|
|
|
.menu-item-reorder-nav {
|
|
|
|
display: none;
|
|
|
|
background-color: #fff;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menus-move-left:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f341";
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menus-move-right:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f345";
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.reordering .menu-item .item-controls,
|
|
|
|
.reordering .menu-item .item-type {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reordering .menu-item-reorder-nav {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control input.menu-name-field {
|
|
|
|
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item .item-edit {
|
|
|
|
position: absolute;
|
|
|
|
right: -19px;
|
|
|
|
top: 2px;
|
|
|
|
display: block;
|
|
|
|
width: 30px;
|
|
|
|
height: 38px;
|
|
|
|
margin-right: 0 !important;
|
2015-11-13 16:47:27 +01:00
|
|
|
box-shadow: none;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
outline: none;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
2017-03-31 18:51:45 +02:00
|
|
|
text-align: center;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-item-settings p.description {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-settings dl {
|
|
|
|
margin: 12px 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-settings .checkbox-input {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-settings .menu-theme-locations {
|
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-top: 1px solid #c3c4c7;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .menu-settings {
|
|
|
|
margin-top: 36px;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
.wp-customizer .menu-location-settings {
|
|
|
|
margin-top: 12px;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .control-section-nav_menu .menu-location-settings {
|
|
|
|
margin-top: 24px;
|
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-top: 1px solid #dcdcde;
|
2017-10-11 21:38:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .control-section-nav_menu .menu-location-settings,
|
|
|
|
.customize-control-nav_menu_auto_add {
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
padding-top: 12px;
|
|
|
|
}
|
|
|
|
|
2017-11-11 00:01:48 +01:00
|
|
|
.menu-location-settings .customize-control-checkbox .theme-location-set {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2017-10-11 01:45:51 +02:00
|
|
|
.customize-control-nav_menu_auto_add label {
|
|
|
|
vertical-align: top;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2017-10-11 21:38:50 +02:00
|
|
|
.menu-location-settings .new-menu-locations-widget-note {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.customize-control-menu {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle {
|
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: #50575e;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Screen Options */
|
|
|
|
.customize-screen-options-toggle {
|
|
|
|
background: none;
|
|
|
|
border: 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: #50575e;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
cursor: pointer;
|
2015-07-24 19:24:24 +02:00
|
|
|
margin: 0;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
padding: 20px;
|
|
|
|
position: absolute;
|
2015-07-30 01:25:25 +02:00
|
|
|
right: 0;
|
2015-07-29 22:23:26 +02:00
|
|
|
top: 30px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#customize-controls .customize-info .customize-help-toggle {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-controls .customize-info .customize-help-toggle:before {
|
2015-07-30 01:25:25 +02:00
|
|
|
padding: 4px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.customize-screen-options-toggle:hover,
|
|
|
|
.customize-screen-options-toggle:active,
|
|
|
|
.customize-screen-options-toggle:focus,
|
|
|
|
.active-menu-screen-options .customize-screen-options-toggle,
|
|
|
|
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover,
|
|
|
|
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active,
|
|
|
|
#customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle: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: #2271b1;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.customize-screen-options-toggle:focus,
|
|
|
|
#customize-controls .customize-info .customize-help-toggle:focus {
|
2020-07-04 12:44:03 +02:00
|
|
|
/* Only visible in Windows High Contrast mode */
|
|
|
|
outline: 1px solid transparent;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.customize-screen-options-toggle:before {
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
border: none;
|
|
|
|
content: "\f111";
|
|
|
|
display: block;
|
2015-09-05 21:57:25 +02:00
|
|
|
font: 18px/1 dashicons;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none !important;
|
|
|
|
text-indent: 0;
|
2015-07-27 17:43:25 +02:00
|
|
|
left: 6px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
position: absolute;
|
2015-07-27 17:43:25 +02:00
|
|
|
top: 6px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2015-07-29 23:51:24 +02:00
|
|
|
.customize-screen-options-toggle:focus:before,
|
|
|
|
#customize-controls .customize-info .customize-help-toggle:focus:before {
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.wp-customizer #screen-options-wrap {
|
|
|
|
display: none;
|
|
|
|
background: #fff;
|
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-top: 1px solid #dcdcde;
|
2015-10-09 20:05:24 +02:00
|
|
|
padding: 4px 15px 15px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-customizer .metabox-prefs label {
|
|
|
|
display: block;
|
|
|
|
padding-right: 0;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
2015-10-15 20:53:25 +02:00
|
|
|
/* rework the arrow indicator implementation for NVDA bug same as #32715 */
|
|
|
|
.wp-customizer .toggle-indicator {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
2015-10-16 02:58:25 +02:00
|
|
|
.rtl .wp-customizer .toggle-indicator {
|
|
|
|
text-indent: 1px; /* account for the dashicon alignment */
|
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
|
|
|
|
#available-menu-items .accordion-section-title .toggle-indicator:before {
|
2015-10-15 20:53:25 +02:00
|
|
|
content: "\f140";
|
2017-04-19 23:14:44 +02:00
|
|
|
display: block;
|
|
|
|
padding: 1px 2px 1px 0px;
|
2020-10-26 03:25:09 +01:00
|
|
|
speak: never;
|
2015-10-15 20:53:25 +02:00
|
|
|
border-radius: 50%;
|
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: #787c82;
|
2015-10-15 20:53:25 +02:00
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-decoration: none !important;
|
|
|
|
}
|
|
|
|
|
2016-11-30 19:01:43 +01:00
|
|
|
.control-section-nav_menu .field-link-target,
|
|
|
|
.control-section-nav_menu .field-title-attribute,
|
|
|
|
.control-section-nav_menu .field-css-classes,
|
|
|
|
.control-section-nav_menu .field-xfn,
|
|
|
|
.control-section-nav_menu .field-description {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-11-30 19:01:43 +01:00
|
|
|
.control-section-nav_menu.field-link-target-active .field-link-target,
|
|
|
|
.control-section-nav_menu.field-title-attribute-active .field-title-attribute,
|
|
|
|
.control-section-nav_menu.field-css-classes-active .field-css-classes,
|
|
|
|
.control-section-nav_menu.field-xfn-active .field-xfn,
|
|
|
|
.control-section-nav_menu.field-description-active .field-description {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* WARNING: The 20px factor is hard-coded in JS. */
|
|
|
|
.menu-item-depth-0 { margin-left: 0; }
|
|
|
|
.menu-item-depth-1 { margin-left: 20px; }
|
|
|
|
.menu-item-depth-2 { margin-left: 40px; }
|
|
|
|
.menu-item-depth-3 { margin-left: 60px; }
|
|
|
|
.menu-item-depth-4 { margin-left: 80px; }
|
|
|
|
.menu-item-depth-5 { margin-left: 100px; }
|
|
|
|
.menu-item-depth-6 { margin-left: 120px; }
|
|
|
|
.menu-item-depth-7 { margin-left: 140px; }
|
|
|
|
.menu-item-depth-8 { margin-left: 160px; } /* Not likely to be used or useful beyond this depth */
|
|
|
|
.menu-item-depth-9 { margin-left: 180px; }
|
|
|
|
.menu-item-depth-10 { margin-left: 200px; }
|
|
|
|
.menu-item-depth-11 { margin-left: 220px; }
|
|
|
|
|
|
|
|
/* @todo handle .menu-item-settings width */
|
|
|
|
.menu-item-depth-0 > .menu-item-bar { margin-right: 0; }
|
|
|
|
.menu-item-depth-1 > .menu-item-bar { margin-right: 20px; }
|
|
|
|
.menu-item-depth-2 > .menu-item-bar { margin-right: 40px; }
|
|
|
|
.menu-item-depth-3 > .menu-item-bar { margin-right: 60px; }
|
|
|
|
.menu-item-depth-4 > .menu-item-bar { margin-right: 80px; }
|
|
|
|
.menu-item-depth-5 > .menu-item-bar { margin-right: 100px; }
|
|
|
|
.menu-item-depth-6 > .menu-item-bar { margin-right: 120px; }
|
|
|
|
.menu-item-depth-7 > .menu-item-bar { margin-right: 140px; }
|
|
|
|
.menu-item-depth-8 > .menu-item-bar { margin-right: 160px; }
|
|
|
|
.menu-item-depth-9 > .menu-item-bar { margin-right: 180px; }
|
|
|
|
.menu-item-depth-10 > .menu-item-bar { margin-right: 200px; }
|
|
|
|
.menu-item-depth-11 > .menu-item-bar { margin-right: 220px; }
|
|
|
|
|
|
|
|
/* Submenu left margin. */
|
|
|
|
.menu-item-depth-0 .menu-item-transport { margin-left: 0; }
|
|
|
|
.menu-item-depth-1 .menu-item-transport { margin-left: -20px; }
|
|
|
|
.menu-item-depth-3 .menu-item-transport { margin-left: -60px; }
|
|
|
|
.menu-item-depth-4 .menu-item-transport { margin-left: -80px; }
|
|
|
|
.menu-item-depth-2 .menu-item-transport { margin-left: -40px; }
|
|
|
|
.menu-item-depth-5 .menu-item-transport { margin-left: -100px; }
|
|
|
|
.menu-item-depth-6 .menu-item-transport { margin-left: -120px; }
|
|
|
|
.menu-item-depth-7 .menu-item-transport { margin-left: -140px; }
|
|
|
|
.menu-item-depth-8 .menu-item-transport { margin-left: -160px; }
|
|
|
|
.menu-item-depth-9 .menu-item-transport { margin-left: -180px; }
|
|
|
|
.menu-item-depth-10 .menu-item-transport { margin-left: -200px; }
|
|
|
|
.menu-item-depth-11 .menu-item-transport { margin-left: -220px; }
|
|
|
|
|
|
|
|
/* WARNING: The 20px factor is hard-coded in JS. */
|
|
|
|
.reordering .menu-item-depth-0 { margin-left: 0; }
|
|
|
|
.reordering .menu-item-depth-1 { margin-left: 15px; }
|
|
|
|
.reordering .menu-item-depth-2 { margin-left: 30px; }
|
|
|
|
.reordering .menu-item-depth-3 { margin-left: 45px; }
|
|
|
|
.reordering .menu-item-depth-4 { margin-left: 60px; }
|
|
|
|
.reordering .menu-item-depth-5 { margin-left: 75px; }
|
|
|
|
.reordering .menu-item-depth-6 { margin-left: 90px; }
|
|
|
|
.reordering .menu-item-depth-7 { margin-left: 105px; }
|
|
|
|
.reordering .menu-item-depth-8 { margin-left: 120px; } /* Not likely to be used or useful beyond this depth */
|
|
|
|
.reordering .menu-item-depth-9 { margin-left: 135px; }
|
|
|
|
.reordering .menu-item-depth-10 { margin-left: 150px; }
|
|
|
|
.reordering .menu-item-depth-11 { margin-left: 165px; }
|
|
|
|
|
|
|
|
.reordering .menu-item-depth-0 > .menu-item-bar { margin-right: 0; }
|
|
|
|
.reordering .menu-item-depth-1 > .menu-item-bar { margin-right: 15px; }
|
|
|
|
.reordering .menu-item-depth-2 > .menu-item-bar { margin-right: 30px; }
|
|
|
|
.reordering .menu-item-depth-3 > .menu-item-bar { margin-right: 45px; }
|
|
|
|
.reordering .menu-item-depth-4 > .menu-item-bar { margin-right: 60px; }
|
|
|
|
.reordering .menu-item-depth-5 > .menu-item-bar { margin-right: 75px; }
|
|
|
|
.reordering .menu-item-depth-6 > .menu-item-bar { margin-right: 90px; }
|
|
|
|
.reordering .menu-item-depth-7 > .menu-item-bar { margin-right: 105px; }
|
|
|
|
.reordering .menu-item-depth-8 > .menu-item-bar { margin-right: 120px; }
|
|
|
|
.reordering .menu-item-depth-9 > .menu-item-bar { margin-right: 135px; }
|
|
|
|
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
|
|
|
|
.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section-nav_menu.menu .menu-item-edit-active {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section-nav_menu.menu .sortable-placeholder {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
max-width: calc(100% - 2px);
|
|
|
|
float: left;
|
|
|
|
display: list-item;
|
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-color: #a7aaad;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2015-07-01 18:20:26 +02:00
|
|
|
.menu-item-transport li.customize-control {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2016-09-24 00:23:30 +02:00
|
|
|
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-10-20 22:15:26 +02:00
|
|
|
/**
|
|
|
|
* Add-menu-items mode
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
*/
|
2015-10-20 22:15:26 +02:00
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.adding-menu-items .control-section {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.adding-menu-items .control-panel.control-section,
|
|
|
|
.adding-menu-items .control-section.open {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .item-delete {
|
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: #d63638;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: -19px;
|
|
|
|
width: 30px;
|
|
|
|
height: 38px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .item-delete:before {
|
|
|
|
content: "\f335";
|
|
|
|
position: absolute;
|
|
|
|
top: 9px;
|
|
|
|
left: 5px;
|
2015-10-15 20:53:25 +02:00
|
|
|
border-radius: 50%;
|
|
|
|
font: normal 20px/1 dashicons;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-bar .item-delete:hover,
|
|
|
|
.menu-item-bar .item-delete:focus {
|
2015-11-13 16:47:27 +01:00
|
|
|
box-shadow: none;
|
|
|
|
outline: 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: #d63638;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.adding-menu-items .menu-item-bar .item-edit {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.adding-menu-items .menu-item-bar .item-delete {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-01-13 23:36:26 +01:00
|
|
|
/**
|
|
|
|
* Styles for menu-item addition panel
|
|
|
|
*/
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
|
2015-07-30 01:40:25 +02:00
|
|
|
#available-menu-items.opening {
|
|
|
|
overflow-y: hidden; /* avoid scrollbar jitter with animating heights */
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items #available-menu-items-search.open {
|
|
|
|
height: 100%;
|
|
|
|
border-bottom: none;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .accordion-section-title {
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
background: #fff;
|
2015-10-05 17:27:24 +02:00
|
|
|
transition: background-color 0.15s;
|
2016-09-22 16:59:30 +02:00
|
|
|
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
|
|
|
|
-webkit-user-select: auto;
|
|
|
|
user-select: auto;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2015-07-30 01:40:25 +02:00
|
|
|
#available-menu-items .open .accordion-section-title,
|
|
|
|
#available-menu-items #available-menu-items-search .accordion-section-title {
|
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: #f0f0f1;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2015-07-24 22:28:25 +02:00
|
|
|
/* rework the arrow indicator implementation for NVDA bug see #32715 */
|
|
|
|
#available-menu-items .accordion-section-title:after {
|
|
|
|
content: none !important;
|
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
|
|
|
|
#available-menu-items .button-link:hover .toggle-indicator:before,
|
|
|
|
#available-menu-items .button-link:focus .toggle-indicator: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: #1d2327;
|
2015-07-24 22:28:25 +02:00
|
|
|
}
|
|
|
|
|
2017-04-19 23:14:44 +02:00
|
|
|
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
|
2015-09-10 22:22:25 +02:00
|
|
|
content: "\f142";
|
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: #1d2327;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
|
|
|
#available-menu-items .available-menu-items-list {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2015-06-19 19:24:24 +02:00
|
|
|
#available-menu-items .accordion-section-title button {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
display: block;
|
|
|
|
width: 28px;
|
2015-07-24 22:28:25 +02:00
|
|
|
height: 35px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
2015-06-19 19:24:24 +02:00
|
|
|
right: 5px;
|
2015-11-13 16:47:27 +01:00
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
2015-07-24 22:28:25 +02:00
|
|
|
cursor: pointer;
|
2017-03-31 18:51:45 +02:00
|
|
|
text-align: center;
|
2015-06-19 19:24:24 +02:00
|
|
|
}
|
|
|
|
|
2015-07-19 02:06:24 +02:00
|
|
|
#available-menu-items .accordion-section-title .no-items,
|
2015-07-24 22:28:25 +02:00
|
|
|
#available-menu-items .cannot-expand .accordion-section-title .spinner,
|
|
|
|
#available-menu-items .cannot-expand .accordion-section-title > button {
|
2015-07-19 02:06:24 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-07-24 22:28:25 +02:00
|
|
|
#available-menu-items-search.cannot-expand .accordion-section-title .spinner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2015-07-19 02:06:24 +02:00
|
|
|
#available-menu-items .cannot-expand .accordion-section-title .no-items {
|
2016-01-13 23:36:26 +01:00
|
|
|
float: right;
|
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: #50575e;
|
2016-06-17 20:37:28 +02:00
|
|
|
font-weight: 400;
|
2015-07-19 02:06:24 +02:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
#available-menu-items .accordion-section-content {
|
|
|
|
max-height: 290px;
|
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .accordion-section-content .available-menu-items-list {
|
|
|
|
margin: 0 0 45px 0;
|
|
|
|
padding: 1px 15px 15px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#new-custom-menu-item .accordion-section-content {
|
|
|
|
padding: 0 15px 15px 15px;
|
|
|
|
}
|
|
|
|
|
2015-07-10 00:00:25 +02:00
|
|
|
#available-menu-items .menu-item-tpl {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
#custom-menu-item-name.invalid,
|
2015-07-03 22:47:25 +02:00
|
|
|
#custom-menu-item-url.invalid,
|
2017-10-03 05:43:47 +02:00
|
|
|
.edit-menu-item-url.invalid,
|
2015-07-03 22:47:25 +02:00
|
|
|
.menu-name-field.invalid,
|
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
|
|
|
.menu-name-field.invalid:focus,
|
|
|
|
#available-menu-items .new-content-item .create-item-input.invalid,
|
|
|
|
#available-menu-items .new-content-item .create-item-input.invalid: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
|
|
|
border: 1px solid #d63638;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle .item-type {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle .item-title {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle {
|
|
|
|
box-shadow: none;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle:hover {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .item-title h4 {
|
|
|
|
padding: 0 0 5px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .item-add {
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
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;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
width: 30px;
|
|
|
|
height: 38px;
|
2015-11-13 16:47:27 +01:00
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
cursor: pointer;
|
2017-03-31 18:51:45 +02:00
|
|
|
text-align: center;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle .item-add: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: #1d2327;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .item-add:before {
|
2015-07-10 00:09:25 +02:00
|
|
|
content: "\f543";
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
position: relative;
|
|
|
|
left: 2px;
|
2015-07-10 00:09:25 +02:00
|
|
|
top: 3px;
|
2015-10-15 20:53:25 +02:00
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 50%;
|
|
|
|
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
#available-menu-items .menu-item-handle.item-added .item-type,
|
|
|
|
#available-menu-items .menu-item-handle.item-added .item-title,
|
|
|
|
#available-menu-items .menu-item-handle.item-added:hover .item-add,
|
|
|
|
#available-menu-items .menu-item-handle.item-added .item-add: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: #8c8f94;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .menu-item-handle.item-added .item-add:before {
|
|
|
|
content: "\f147";
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items .accordion-section-title.loading .spinner,
|
|
|
|
#available-menu-items-search.loading .accordion-section-title .spinner {
|
|
|
|
visibility: visible;
|
|
|
|
margin: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items-search .spinner {
|
|
|
|
position: absolute;
|
2016-10-03 18:28:31 +02:00
|
|
|
top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
|
|
|
|
right: 21px;
|
2016-06-10 23:22:28 +02:00
|
|
|
margin: 0 !important;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2016-01-13 23:36:26 +01:00
|
|
|
/* search results list */
|
|
|
|
#available-menu-items #available-menu-items-search .accordion-section-content {
|
|
|
|
position: absolute;
|
2016-10-03 18:28:31 +02:00
|
|
|
left: 0;
|
2016-01-13 23:36:26 +01:00
|
|
|
top: 60px; /* below title div / search input */
|
|
|
|
bottom: 0px; /* 100% height that still triggers lazy load */
|
|
|
|
max-height: none;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
width: 100%;
|
2016-01-13 23:36:26 +01:00
|
|
|
padding: 1px 15px 15px;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2016-10-03 18:28:31 +02:00
|
|
|
#available-menu-items-search .nothing-found {
|
|
|
|
/* Compensate the 1px top padding of the container. */
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
#available-menu-items-search .accordion-section-title:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items-search .accordion-section-content:empty {
|
|
|
|
min-height: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items-search.loading .accordion-section-content div {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#available-menu-items-search.loading.loading-more .accordion-section-content div {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customize-preview {
|
|
|
|
transition: all 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-menu-items #available-menu-items {
|
|
|
|
left: 0;
|
2015-07-08 23:21:25 +02:00
|
|
|
visibility: visible;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-menu-items .wp-full-overlay-main {
|
|
|
|
left: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.adding-menu-items #customize-preview {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
|
2016-12-09 07:16:40 +01:00
|
|
|
body.adding-menu-items #customize-preview iframe {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
.menu-item-handle .spinner {
|
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
margin: 0 8px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu-inserted-item-loading .spinner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu-inserted-item-loading .menu-item-handle .item-type {
|
|
|
|
padding: 0 0 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-menu-inserted-item-loading .menu-item-handle,
|
|
|
|
.added-menu-item .menu-item-handle.loading {
|
|
|
|
padding: 10px 15px 10px 8px;
|
|
|
|
cursor: default;
|
|
|
|
opacity: .5;
|
|
|
|
background: #fff;
|
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: #787c82;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.added-menu-item .menu-item-handle {
|
|
|
|
transition-property: opacity, background, color;
|
|
|
|
transition-duration: 1.25s;
|
|
|
|
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Add/delete Menus */
|
|
|
|
|
2016-09-14 18:15:29 +02:00
|
|
|
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
|
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-bottom-color: #dcdcde;
|
2016-09-14 18:15:29 +02:00
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
/* @todo update selector */
|
|
|
|
#accordion-section-add_menu {
|
|
|
|
margin: 15px 12px;
|
2017-10-11 07:28:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#accordion-section-add_menu h3 {
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
text-align: right;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
#accordion-section-add_menu h3,
|
|
|
|
#accordion-section-add_menu .customize-add-menu-button {
|
|
|
|
margin: 0;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
#accordion-section-add_menu .customize-add-menu-button {
|
2018-04-29 13:37:21 +02:00
|
|
|
font-weight: 400;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#create-new-menu-submit {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-delete-item {
|
|
|
|
float: left;
|
|
|
|
padding: 1em 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
.assigned-menu-locations-title p {
|
|
|
|
margin: 0 0 8px 0;
|
|
|
|
}
|
|
|
|
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
li.assigned-to-menu-location .menu-delete-item {
|
2015-10-01 00:55:26 +02:00
|
|
|
display: none;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
li.assigned-to-menu-location .add-new-menu-item {
|
2015-10-01 00:55:26 +02:00
|
|
|
margin-bottom: 1em;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-handle {
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
|
|
|
.ui-sortable-disabled .menu-item-handle {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-handle:hover {
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
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: #2271b1;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-handle:hover .item-type,
|
|
|
|
.menu-item-handle:hover .item-edit,
|
|
|
|
#available-menu-items .menu-item-handle:hover .item-add {
|
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: #2271b1;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item-edit-active .menu-item-handle {
|
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-color: #8c8f94;
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-nav_menu_item {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
Customize: Improve the menu creation flow.
Often, folks run into two issues when they create new menus: they click "Add a Menu" thinking it will add a new page to their menu, or they forget to assign their new menu to a location, and then wonder why it doesn't show up on their site.
This commit rearranges the order of items in the menu panel, and updates the flow for creating a menu by breaking it up into steps. Additionally, more help text has been added to guide people through the process of creating a menu.
Also adds default `type` lookups for Panel and Section instances. See #30741.
Props bpayton, obenland, westonruter, celloexpessions, afercia, melchoyce, zoonini, michelleweber.
Fixes #40104.
Built from https://develop.svn.wordpress.org/trunk@41768
git-svn-id: http://core.svn.wordpress.org/trunk@41602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-05 04:22:49 +02:00
|
|
|
.customize-control-nav_menu .new-menu-item-invitation {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.customize-control-nav_menu .customize-control-nav_menu-buttons {
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
|
2016-01-13 23:36:26 +01:00
|
|
|
/**
|
|
|
|
* box-shadows
|
|
|
|
*/
|
|
|
|
|
|
|
|
.wp-customizer .menu-item .submitbox .submitdelete:focus,
|
|
|
|
.customize-screen-options-toggle:focus:before,
|
|
|
|
#customize-controls .customize-info .customize-help-toggle:focus:before,
|
2017-04-19 23:14:44 +02:00
|
|
|
.wp-customizer button:focus .toggle-indicator:before,
|
2016-01-13 23:36:26 +01:00
|
|
|
.menu-delete:focus,
|
|
|
|
.menu-item-bar .item-delete:focus:before,
|
|
|
|
#available-menu-items .item-add:focus:before {
|
|
|
|
box-shadow:
|
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
|
|
|
0 0 0 1px #4f94d4,
|
|
|
|
0 0 2px 1px rgba(79, 148, 212, 0.8);
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|
|
|
|
|
2016-01-13 23:36:26 +01:00
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 782px) {
|
2015-08-14 23:23:27 +02:00
|
|
|
#available-menu-items #available-menu-items-search .accordion-section-content {
|
|
|
|
top: 63px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 08:41:52 +01:00
|
|
|
@media screen and (max-width: 640px) {
|
2015-08-14 23:23:27 +02:00
|
|
|
#available-menu-items #available-menu-items-search .accordion-section-content {
|
2016-10-03 18:28:31 +02:00
|
|
|
top: 130px;
|
2016-06-10 23:22:28 +02:00
|
|
|
}
|
Add menu management to the Customizer.
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/.
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576.
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 00:08:26 +02:00
|
|
|
}
|