2016-10-26 16:03:32 -04:00
|
|
|
.customize-partial-refreshing {
|
|
|
|
opacity: 0.25;
|
|
|
|
-webkit-transition: opacity 0.25s;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
cursor: progress;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Override highlight when refreshing */
|
|
|
|
.customize-partial-refreshing.widget-customizer-highlighted-widget {
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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: right;
|
|
|
|
width: 1px; /* required to have a size to be focusable in Safari */
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px -1px 0 0;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
color: transparent;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-box-shadow: none;
|
2016-10-26 16:03:32 -04:00
|
|
|
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
|
|
|
right: -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;
|
2016-11-15 04:08:31 -05:00
|
|
|
line-height: 1em !important;
|
2016-10-26 16:03:32 -04:00
|
|
|
font-size: 18px;
|
|
|
|
z-index: 5;
|
2016-11-15 04:14:31 -05:00
|
|
|
background: #0085ba !important;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-border-radius: 50%;
|
2016-10-26 16:03:32 -04:00
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid #fff;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-box-shadow: 0 2px 1px rgba(46,68,83,0.15);
|
2016-10-26 16:03:32 -04:00
|
|
|
box-shadow: 0 2px 1px rgba(46,68,83,0.15);
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2016-11-14 14:12:30 -05:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2016-11-09 15:55:33 -05:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 3px;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-fill-mode: both;
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-fill-mode: both;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-duration: .4s;
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-duration: .4s;
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
text-shadow: 0 -1px 1px #006799,
|
|
|
|
-1px 0 1px #006799,
|
|
|
|
0 1px 1px #006799,
|
|
|
|
1px 0 1px #006799;
|
|
|
|
}
|
2016-11-14 13:41:32 -05:00
|
|
|
.wp-custom-header .customize-partial-edit-shortcut button {
|
|
|
|
right: 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 {
|
2016-11-15 04:14:31 -05:00
|
|
|
background: #008ec2 !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 {
|
2016-11-14 14:12:30 -05:00
|
|
|
-webkit-box-shadow: 0 0 0 2px #008ec2;
|
2016-11-14 13:49:30 -05:00
|
|
|
box-shadow: 0 0 0 2px #008ec2;
|
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-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-name: customize-partial-edit-shortcut-bounce-appear;
|
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-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-name: customize-partial-edit-shortcut-bounce-disappear;
|
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;
|
|
|
|
}
|
|
|
|
|
2016-11-04 13:18:57 -04:00
|
|
|
@-webkit-keyframes customize-partial-edit-shortcut-bounce-appear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
|
|
|
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: scale3d(.3, .3, .3);
|
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
-webkit-transform: scale3d(.9, .9, .9);
|
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
-webkit-transform: scale3d(.97, .97, .97);
|
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: scale3d(1, 1, 1);
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-26 16:03:32 -04:00
|
|
|
@keyframes customize-partial-edit-shortcut-bounce-appear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.3, .3, .3);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
20% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
40% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.9, .9, .9);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
80% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.97, .97, .97);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1, 1, 1);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-04 13:18:57 -04:00
|
|
|
@-webkit-keyframes customize-partial-edit-shortcut-bounce-disappear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
|
|
|
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: scale3d(1, 1, 1);
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
-webkit-transform: scale3d(.97, .97, .97);
|
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
opacity: 1;
|
|
|
|
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
-webkit-transform: scale3d(.9, .9, .9);
|
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: scale3d(.3, .3, .3);
|
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-26 16:03:32 -04:00
|
|
|
@keyframes customize-partial-edit-shortcut-bounce-disappear {
|
|
|
|
from, 20%, 40%, 60%, 80%, to {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
2016-10-26 16:03:32 -04:00
|
|
|
animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1, 1, 1);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
20% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.97, .97, .97);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.97, .97, .97);
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
opacity: 1;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1.03, 1.03, 1.03);
|
|
|
|
}
|
|
|
|
60% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.9, .9, .9);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.9, .9, .9);
|
|
|
|
}
|
|
|
|
80% {
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(1.1, 1.1, 1.1);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
2016-11-04 13:18:57 -04:00
|
|
|
-webkit-transform: scale3d(.3, .3, .3);
|
2016-10-26 16:03:32 -04:00
|
|
|
transform: scale3d(.3, .3, .3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@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 {
|
|
|
|
right: -32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width:320px) {
|
2016-11-14 19:15:30 -05:00
|
|
|
body.customize-partial-edit-shortcuts-shown .site-title {
|
2016-11-11 04:47:43 -05:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
2016-11-14 19:15:30 -05:00
|
|
|
body.customize-partial-edit-shortcuts-shown .widget-area .widget {
|
2016-11-11 04:47:43 -05:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
right: -30px;
|
2016-10-26 16:03:32 -04:00
|
|
|
}
|
|
|
|
}
|