Changeset 43309 for trunk/src/wp-includes/css/customize-preview.css
- Timestamp:
- 05/23/2018 10:04:22 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/css/customize-preview.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/customize-preview.css
r41062 r43309 53 53 box-sizing: border-box; 54 54 padding: 3px; 55 -webkit-animation-fill-mode: both;56 55 animation-fill-mode: both; 57 -webkit-animation-duration: .4s;58 56 animation-duration: .4s; 59 57 opacity: 0; … … 86 84 87 85 body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button { 88 -webkit-animation-name: customize-partial-edit-shortcut-bounce-appear;89 86 animation-name: customize-partial-edit-shortcut-bounce-appear; 90 87 pointer-events: auto; 91 88 } 92 89 body.customize-partial-edit-shortcuts-hidden .customize-partial-edit-shortcut button { 93 -webkit-animation-name: customize-partial-edit-shortcut-bounce-disappear;94 90 animation-name: customize-partial-edit-shortcut-bounce-disappear; 95 91 pointer-events: none; … … 101 97 } 102 98 103 @ -webkit-keyframes customize-partial-edit-shortcut-bounce-appear {99 @keyframes customize-partial-edit-shortcut-bounce-appear { 104 100 from, 20%, 40%, 60%, 80%, to { 105 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);106 101 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 107 102 } 108 103 0% { 109 104 opacity: 0; 110 -webkit-transform: scale3d(.3, .3, .3);111 105 transform: scale3d(.3, .3, .3); 112 106 } 113 107 20% { 114 -webkit-transform: scale3d(1.1, 1.1, 1.1);115 108 transform: scale3d(1.1, 1.1, 1.1); 116 109 } 117 110 40% { 118 -webkit-transform: scale3d(.9, .9, .9);119 111 transform: scale3d(.9, .9, .9); 120 112 } 121 113 60% { 122 114 opacity: 1; 123 -webkit-transform: scale3d(1.03, 1.03, 1.03);124 115 transform: scale3d(1.03, 1.03, 1.03); 125 116 } 126 117 80% { 127 -webkit-transform: scale3d(.97, .97, .97);128 118 transform: scale3d(.97, .97, .97); 129 119 } 130 120 to { 131 121 opacity: 1; 132 -webkit-transform: scale3d(1, 1, 1);133 122 transform: scale3d(1, 1, 1); 134 }135 }136 137 @keyframes customize-partial-edit-shortcut-bounce-appear {138 from, 20%, 40%, 60%, 80%, to {139 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);140 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);141 }142 0% {143 opacity: 0;144 -webkit-transform: scale3d(.3, .3, .3);145 transform: scale3d(.3, .3, .3);146 }147 20% {148 -webkit-transform: scale3d(1.1, 1.1, 1.1);149 transform: scale3d(1.1, 1.1, 1.1);150 }151 40% {152 -webkit-transform: scale3d(.9, .9, .9);153 transform: scale3d(.9, .9, .9);154 }155 60% {156 opacity: 1;157 -webkit-transform: scale3d(1.03, 1.03, 1.03);158 transform: scale3d(1.03, 1.03, 1.03);159 }160 80% {161 -webkit-transform: scale3d(.97, .97, .97);162 transform: scale3d(.97, .97, .97);163 }164 to {165 opacity: 1;166 -webkit-transform: scale3d(1, 1, 1);167 transform: scale3d(1, 1, 1);168 }169 }170 171 @-webkit-keyframes customize-partial-edit-shortcut-bounce-disappear {172 from, 20%, 40%, 60%, 80%, to {173 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);174 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);175 }176 0% {177 opacity: 1;178 -webkit-transform: scale3d(1, 1, 1);179 transform: scale3d(1, 1, 1);180 }181 20% {182 -webkit-transform: scale3d(.97, .97, .97);183 transform: scale3d(.97, .97, .97);184 }185 40% {186 opacity: 1;187 -webkit-transform: scale3d(1.03, 1.03, 1.03);188 transform: scale3d(1.03, 1.03, 1.03);189 }190 60% {191 -webkit-transform: scale3d(.9, .9, .9);192 transform: scale3d(.9, .9, .9);193 }194 80% {195 -webkit-transform: scale3d(1.1, 1.1, 1.1);196 transform: scale3d(1.1, 1.1, 1.1);197 }198 to {199 opacity: 0;200 -webkit-transform: scale3d(.3, .3, .3);201 transform: scale3d(.3, .3, .3);202 123 } 203 124 } … … 205 126 @keyframes customize-partial-edit-shortcut-bounce-disappear { 206 127 from, 20%, 40%, 60%, 80%, to { 207 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);208 128 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); 209 129 } 210 130 0% { 211 131 opacity: 1; 212 -webkit-transform: scale3d(1, 1, 1);213 132 transform: scale3d(1, 1, 1); 214 133 } 215 134 20% { 216 -webkit-transform: scale3d(.97, .97, .97);217 135 transform: scale3d(.97, .97, .97); 218 136 } 219 137 40% { 220 138 opacity: 1; 221 -webkit-transform: scale3d(1.03, 1.03, 1.03);222 139 transform: scale3d(1.03, 1.03, 1.03); 223 140 } 224 141 60% { 225 -webkit-transform: scale3d(.9, .9, .9);226 142 transform: scale3d(.9, .9, .9); 227 143 } 228 144 80% { 229 -webkit-transform: scale3d(1.1, 1.1, 1.1);230 145 transform: scale3d(1.1, 1.1, 1.1); 231 146 } 232 147 to { 233 148 opacity: 0; 234 -webkit-transform: scale3d(.3, .3, .3);235 149 transform: scale3d(.3, .3, .3); 236 150 }
Note: See TracChangeset
for help on using the changeset viewer.