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-16 18:08:26 -04:00
|
|
|
.customize-partial-refreshing {
|
|
|
|
opacity: 0.25;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
cursor: progress;
|
|
|
|
}
|
2016-02-19 13:41:28 -05:00
|
|
|
|
|
|
|
/* Override highlight when refreshing */
|
|
|
|
.customize-partial-refreshing.widget-customizer-highlighted-widget {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2016-10-26 16:03:32 -04:00
|
|
|
|
|
|
|
/* Make shortcut buttons essentially invisible */
|
2016-11-04 13:16:26 -04:00
|
|
|
.widget .customize-partial-edit-shortcut,
|
2016-10-26 16:03:32 -04:00
|
|
|
.customize-partial-edit-shortcut {
|
2016-11-04 13:16:26 -04:00
|
|
|
position: absolute;
|
2016-10-26 16:03:32 -04:00
|
|
|
float: left;
|
|
|
|
width: 1px; /* required to have a size to be focusable in Safari */
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px 0 0 -1px;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
outline: none;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
2016-11-11 04:47:43 -05:00
|
|
|
/**
|
|
|
|
* Styles for the actual shortcut
|
|
|
|
*
|
|
|
|
* Note that some properties are overly verbose to prevent theme interference.
|
|
|
|
*/
|
2016-11-04 13:16:26 -04:00
|
|
|
.widget .customize-partial-edit-shortcut button,
|
|
|
|
.customize-partial-edit-shortcut button {
|
2016-10-26 16:03:32 -04:00
|
|
|
position: absolute;
|
2016-11-11 04:47:43 -05:00
|
|
|
left: -30px;
|
|
|
|
top: 2px;
|
2016-10-26 16:03:32 -04:00
|
|
|
color: #fff;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2016-11-04 13:16:26 -04:00
|
|
|
min-width: 30px;
|
|
|
|
min-height: 30px;
|
2019-05-30 08:34:52 -04:00
|
|
|
line-height: 1 !important;
|
2016-10-26 16:03:32 -04:00
|
|
|
font-size: 18px;
|
|
|
|
z-index: 5;
|
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 13:54:59 -05:00
|
|
|
background: #3582c4 !important;
|
2016-10-26 16:03:32 -04:00
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid #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 13:54:59 -05:00
|
|
|
box-shadow: 0 2px 1px rgba(60, 67, 74, 0.15);
|
2016-10-26 16:03:32 -04:00
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2016-11-09 15:55:33 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 3px;
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-fill-mode: both;
|
|
|
|
animation-duration: .4s;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
2019-01-17 02:41:52 -05:00
|
|
|
text-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 13:54:59 -05:00
|
|
|
0 -1px 1px #135e96,
|
|
|
|
1px 0 1px #135e96,
|
|
|
|
0 1px 1px #135e96,
|
|
|
|
-1px 0 1px #135e96;
|
2016-10-26 16:03:32 -04:00
|
|
|
}
|
2016-11-14 13:41:32 -05:00
|
|
|
.wp-custom-header .customize-partial-edit-shortcut button {
|
|
|
|
left: 2px
|
|
|
|
}
|
2016-10-26 16:03:32 -04:00
|
|
|
|
2016-11-04 13:16:26 -04:00
|
|
|
.customize-partial-edit-shortcut button svg {
|
|
|
|
fill: #fff;
|
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2016-11-14 13:49:30 -05:00
|
|
|
.customize-partial-edit-shortcut button:hover {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
background: #4f94d4 !important; /* matches primary buttons */
|
2016-11-14 13:49:30 -05:00
|
|
|
}
|
|
|
|
|
2016-11-04 13:16:26 -04:00
|
|
|
.customize-partial-edit-shortcut button:focus {
|
Administration: Standardize colors used in CSS to a single palette.
This is part of a larger project in cleaning up core's admin CSS. This collapses all colors used in the CSS to one of 12 blues, greens, reds, and yellows, 13 grays, pure black, and pure white. The colors are perceptually uniform from light to dark, half of each range has a 4.5 or higher contrast against white, the other half has a 4.5 or higher contrast against black.
Standardizing on this set of colors will help contributors make consistent, accessible design decisions. The full color palette can be seen here: https://codepen.io/ryelle/full/WNGVEjw
Props notlaura, danfarrow, kburgoine, drw158, audrasjb, Joen, hedgefield, ibdz, melchoyce.
See #49999.
Built from https://develop.svn.wordpress.org/trunk@50025
git-svn-id: http://core.svn.wordpress.org/trunk@49726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-26 13:54:59 -05:00
|
|
|
box-shadow: 0 0 0 2px #4f94d4;
|
2016-10-26 16:03:32 -04:00
|
|
|
}
|
|
|
|
|
2016-11-04 13:16:26 -04:00
|
|
|
body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-name: customize-partial-edit-shortcut-bounce-appear;
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
2016-11-04 13:16:26 -04:00
|
|
|
body.customize-partial-edit-shortcuts-hidden .customize-partial-edit-shortcut button {
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-name: customize-partial-edit-shortcut-bounce-disappear;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2016-11-04 13:16:26 -04:00
|
|
|
.page-sidebar-collapsed .customize-partial-edit-shortcut button,
|
|
|
|
.customize-partial-edit-shortcut-hidden .customize-partial-edit-shortcut button {
|
2016-10-26 16:03:32 -04:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes customize-partial-edit-shortcut-bounce-appear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes customize-partial-edit-shortcut-bounce-disappear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 800px) {
|
2016-11-11 04:47:43 -05:00
|
|
|
.widget .customize-partial-edit-shortcut button,
|
|
|
|
.customize-partial-edit-shortcut button {
|
|
|
|
left: -32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 02:41:52 -05:00
|
|
|
@media screen and (max-width: 320px) {
|
2016-11-11 04:47:43 -05:00
|
|
|
.widget .customize-partial-edit-shortcut button,
|
2016-11-04 13:16:26 -04:00
|
|
|
.customize-partial-edit-shortcut button {
|
2016-11-11 04:47:43 -05:00
|
|
|
left: -30px;
|
2016-10-26 16:03:32 -04:00
|
|
|
}
|
|
|
|
}
|