25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

260 satır
6.3 KiB

  1. .customize-partial-refreshing {
  2. opacity: 0.25;
  3. -webkit-transition: opacity 0.25s;
  4. transition: opacity 0.25s;
  5. cursor: progress;
  6. }
  7. /* Override highlight when refreshing */
  8. .customize-partial-refreshing.widget-customizer-highlighted-widget {
  9. -webkit-box-shadow: none;
  10. box-shadow: none;
  11. }
  12. /* Make shortcut buttons essentially invisible */
  13. .widget .customize-partial-edit-shortcut,
  14. .customize-partial-edit-shortcut {
  15. position: absolute;
  16. float: left;
  17. width: 1px; /* required to have a size to be focusable in Safari */
  18. height: 1px;
  19. padding: 0;
  20. margin: -1px 0 0 -1px;
  21. border: 0;
  22. background: transparent;
  23. color: transparent;
  24. -webkit-box-shadow: none;
  25. box-shadow: none;
  26. outline: none;
  27. z-index: 5;
  28. }
  29. /**
  30. * Styles for the actual shortcut
  31. *
  32. * Note that some properties are overly verbose to prevent theme interference.
  33. */
  34. .widget .customize-partial-edit-shortcut button,
  35. .customize-partial-edit-shortcut button {
  36. position: absolute;
  37. left: -30px;
  38. top: 2px;
  39. color: #fff;
  40. width: 30px;
  41. height: 30px;
  42. min-width: 30px;
  43. min-height: 30px;
  44. line-height: 1em !important;
  45. font-size: 18px;
  46. z-index: 5;
  47. background: #0085ba !important;
  48. -webkit-border-radius: 50%;
  49. border-radius: 50%;
  50. border: 2px solid #fff;
  51. -webkit-box-shadow: 0 2px 1px rgba(46,68,83,0.15);
  52. box-shadow: 0 2px 1px rgba(46,68,83,0.15);
  53. text-align: center;
  54. cursor: pointer;
  55. -webkit-box-sizing: border-box;
  56. -moz-box-sizing: border-box;
  57. box-sizing: border-box;
  58. padding: 3px;
  59. -webkit-animation-fill-mode: both;
  60. animation-fill-mode: both;
  61. -webkit-animation-duration: .4s;
  62. animation-duration: .4s;
  63. opacity: 0;
  64. pointer-events: none;
  65. text-shadow: 0 -1px 1px #006799,
  66. 1px 0 1px #006799,
  67. 0 1px 1px #006799,
  68. -1px 0 1px #006799;
  69. }
  70. .wp-custom-header .customize-partial-edit-shortcut button {
  71. left: 2px
  72. }
  73. .customize-partial-edit-shortcut button svg {
  74. fill: #fff;
  75. min-width: 20px;
  76. min-height: 20px;
  77. width: 20px;
  78. height: 20px;
  79. margin: auto;
  80. }
  81. .customize-partial-edit-shortcut button:hover {
  82. background: #008ec2 !important; /* matches primary buttons */
  83. }
  84. .customize-partial-edit-shortcut button:focus {
  85. -webkit-box-shadow: 0 0 0 2px #008ec2;
  86. box-shadow: 0 0 0 2px #008ec2;
  87. }
  88. body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {
  89. -webkit-animation-name: customize-partial-edit-shortcut-bounce-appear;
  90. animation-name: customize-partial-edit-shortcut-bounce-appear;
  91. pointer-events: auto;
  92. }
  93. body.customize-partial-edit-shortcuts-hidden .customize-partial-edit-shortcut button {
  94. -webkit-animation-name: customize-partial-edit-shortcut-bounce-disappear;
  95. animation-name: customize-partial-edit-shortcut-bounce-disappear;
  96. pointer-events: none;
  97. }
  98. .page-sidebar-collapsed .customize-partial-edit-shortcut button,
  99. .customize-partial-edit-shortcut-hidden .customize-partial-edit-shortcut button {
  100. visibility: hidden;
  101. }
  102. @-webkit-keyframes customize-partial-edit-shortcut-bounce-appear {
  103. from, 20%, 40%, 60%, 80%, to {
  104. -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  105. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  106. }
  107. 0% {
  108. opacity: 0;
  109. -webkit-transform: scale3d(.3, .3, .3);
  110. transform: scale3d(.3, .3, .3);
  111. }
  112. 20% {
  113. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  114. transform: scale3d(1.1, 1.1, 1.1);
  115. }
  116. 40% {
  117. -webkit-transform: scale3d(.9, .9, .9);
  118. transform: scale3d(.9, .9, .9);
  119. }
  120. 60% {
  121. opacity: 1;
  122. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  123. transform: scale3d(1.03, 1.03, 1.03);
  124. }
  125. 80% {
  126. -webkit-transform: scale3d(.97, .97, .97);
  127. transform: scale3d(.97, .97, .97);
  128. }
  129. to {
  130. opacity: 1;
  131. -webkit-transform: scale3d(1, 1, 1);
  132. transform: scale3d(1, 1, 1);
  133. }
  134. }
  135. @keyframes customize-partial-edit-shortcut-bounce-appear {
  136. from, 20%, 40%, 60%, 80%, to {
  137. -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  138. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  139. }
  140. 0% {
  141. opacity: 0;
  142. -webkit-transform: scale3d(.3, .3, .3);
  143. transform: scale3d(.3, .3, .3);
  144. }
  145. 20% {
  146. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  147. transform: scale3d(1.1, 1.1, 1.1);
  148. }
  149. 40% {
  150. -webkit-transform: scale3d(.9, .9, .9);
  151. transform: scale3d(.9, .9, .9);
  152. }
  153. 60% {
  154. opacity: 1;
  155. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  156. transform: scale3d(1.03, 1.03, 1.03);
  157. }
  158. 80% {
  159. -webkit-transform: scale3d(.97, .97, .97);
  160. transform: scale3d(.97, .97, .97);
  161. }
  162. to {
  163. opacity: 1;
  164. -webkit-transform: scale3d(1, 1, 1);
  165. transform: scale3d(1, 1, 1);
  166. }
  167. }
  168. @-webkit-keyframes customize-partial-edit-shortcut-bounce-disappear {
  169. from, 20%, 40%, 60%, 80%, to {
  170. -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  171. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  172. }
  173. 0% {
  174. opacity: 1;
  175. -webkit-transform: scale3d(1, 1, 1);
  176. transform: scale3d(1, 1, 1);
  177. }
  178. 20% {
  179. -webkit-transform: scale3d(.97, .97, .97);
  180. transform: scale3d(.97, .97, .97);
  181. }
  182. 40% {
  183. opacity: 1;
  184. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  185. transform: scale3d(1.03, 1.03, 1.03);
  186. }
  187. 60% {
  188. -webkit-transform: scale3d(.9, .9, .9);
  189. transform: scale3d(.9, .9, .9);
  190. }
  191. 80% {
  192. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  193. transform: scale3d(1.1, 1.1, 1.1);
  194. }
  195. to {
  196. opacity: 0;
  197. -webkit-transform: scale3d(.3, .3, .3);
  198. transform: scale3d(.3, .3, .3);
  199. }
  200. }
  201. @keyframes customize-partial-edit-shortcut-bounce-disappear {
  202. from, 20%, 40%, 60%, 80%, to {
  203. -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  204. animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  205. }
  206. 0% {
  207. opacity: 1;
  208. -webkit-transform: scale3d(1, 1, 1);
  209. transform: scale3d(1, 1, 1);
  210. }
  211. 20% {
  212. -webkit-transform: scale3d(.97, .97, .97);
  213. transform: scale3d(.97, .97, .97);
  214. }
  215. 40% {
  216. opacity: 1;
  217. -webkit-transform: scale3d(1.03, 1.03, 1.03);
  218. transform: scale3d(1.03, 1.03, 1.03);
  219. }
  220. 60% {
  221. -webkit-transform: scale3d(.9, .9, .9);
  222. transform: scale3d(.9, .9, .9);
  223. }
  224. 80% {
  225. -webkit-transform: scale3d(1.1, 1.1, 1.1);
  226. transform: scale3d(1.1, 1.1, 1.1);
  227. }
  228. to {
  229. opacity: 0;
  230. -webkit-transform: scale3d(.3, .3, .3);
  231. transform: scale3d(.3, .3, .3);
  232. }
  233. }
  234. @media screen and (max-width:800px) {
  235. .widget .customize-partial-edit-shortcut button,
  236. .customize-partial-edit-shortcut button {
  237. left: -32px;
  238. }
  239. }
  240. @media screen and (max-width:320px) {
  241. .widget .customize-partial-edit-shortcut button,
  242. .customize-partial-edit-shortcut button {
  243. left: -30px;
  244. }
  245. }