Ticket #27320: 27320.2.diff
File 27320.2.diff, 5.4 KB (added by , 11 years ago) |
---|
-
src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
348 348 dom.setAttrib( node, 'data-wp-imgselect', 1 ); 349 349 rectangle = dom.getRect( node ); 350 350 351 toolbarHtml = '<div class="dashicons dashicons-edit edit" data-mce-bogus="1"></div> 351 toolbarHtml = '<div class="dashicons dashicons-edit edit" data-mce-bogus="1"></div>' + 352 352 '<div class="dashicons dashicons-no-alt remove" data-mce-bogus="1"></div>'; 353 353 354 354 toolbar = dom.create( 'div', { -
src/wp-includes/js/tinymce/skins/wordpress/wp-content.css
115 115 border-top: 3px dotted #bbb; 116 116 } 117 117 118 /* Gallery, audio, v udeo placeholders */118 /* Gallery, audio, video placeholders */ 119 119 .mce-content-body img.wp-media { 120 120 border: 1px solid #aaa; 121 121 background-color: #f2f2f2; … … 149 149 background-image: url("images/playlist-video.png"); 150 150 } 151 151 152 #wp-image-toolbar {153 position: absolute;154 background-color: #333;155 }156 157 #wp-image-toolbar .dashicons {158 color: white;159 cursor: pointer;160 }161 162 152 /* Image resize handles */ 163 153 .mce-content-body div.mce-resizehandle { 164 154 border-color: #777; … … 216 206 /** 217 207 * Media previews 218 208 */ 219 .wpview-type-gallery, 220 .wpview-type-audio, 221 .wpview-type-video { 209 .wpview-wrap { 222 210 position: relative; 223 211 margin-bottom: 16px; 224 cursor: pointer;225 212 border: 1px solid transparent; 226 213 } 227 214 … … 252 239 clear: both; 253 240 } 254 241 255 .wpview-type-gallery.selected, 256 .wpview-type-audio, 257 .wpview-type-video { 258 background-color: #f2f8ff; 259 border-color: #777; 260 } 261 262 .wpview-type-gallery .toolbar, 263 .wpview-type-audio .toolbar, 264 .wpview-type-video .toolbar { 242 .wpview-wrap .toolbar { 265 243 position: absolute; 266 244 top: 0; 267 245 right: 0; 268 background-color: #333;269 color: white;270 246 display: none; 271 247 z-index: 100; 272 248 } 273 249 274 .wpview-type-video .toolbar div, 275 .wpview-type-gallery .toolbar div, 250 #wp-image-toolbar { 251 position: absolute; 252 } 253 254 .wpview-wrap .toolbar div, 276 255 #wp-image-toolbar div { 277 margin: 5px; 256 margin-top: 7px; 257 margin-right: 7px; 258 padding: 2px; 259 width: 40px; 260 height: 40px; 261 box-shadow: 0 1px 3px rgba(0,0,0,0.5); 262 background-color: #000; 263 background-color: rgba(0,0,0,0.9); 264 cursor: pointer; 265 color: white; 266 font-size: 40px; 278 267 } 279 268 280 .wpview-type-audio .toolbar div { 281 margin: 2px 5px; 269 .wpview-wrap .toolbar div:hover, 270 #wp-image-toolbar div:hover { 271 box-shadow: 0 1px 3px rgba(0,0,0,0.8); 272 background-color: #000; 273 color: #2ea2cc; 282 274 } 283 275 276 /* temporary overrides; still pending styling */ 277 .wpview-type-audio .toolbar div, 278 .wont-play .toolbar div { 279 margin: 0; 280 padding: 3px; 281 width: 20px; 282 height: 20px; 283 box-shadow: none; 284 font-size: 20px; 285 } 286 287 .wpview-wrap.selected .toolbar, 284 288 .wpview-type-audio .toolbar, 285 .wpview-type-video .toolbar, 286 .wpview-type-gallery.selected .toolbar { 289 .wpview-type-video .toolbar { 287 290 display: block; 288 291 } 289 292 290 .wpview-type-audio .toolbar span, 291 .wpview-type-video .toolbar span, 292 .wpview-type-gallery .toolbar span { 293 cursor: pointer; 293 .wpview-type-gallery.selected, 294 .wpview-type-audio, 295 .wpview-type-video { 296 background-color: #f2f8ff; 297 border-color: #777; 294 298 } 295 299 296 300 .gallery img[data-mce-selected]:focus { -
src/wp-includes/media-template.php
941 941 </script> 942 942 <script type="text/html" id="tmpl-editor-gallery"> 943 943 <div class="toolbar"> 944 <div class="dashicons dashicons-edit edit"></div> 945 <div class="dashicons dashicons-no-alt remove"></div> 944 <div class="dashicons dashicons-edit edit"></div><div class="dashicons dashicons-no-alt remove"></div> 946 945 </div> 947 946 <div class="gallery gallery-columns-{{{ data.columns }}}"> 948 947 <# _.each( data.attachments, function( attachment, index ) { #> … … 964 963 965 964 <script type="text/html" id="tmpl-editor-audio"> 966 965 <div class="toolbar"> 967 <div class="dashicons dashicons- format-audioedit"></div>966 <div class="dashicons dashicons-edit edit"></div> 968 967 <div class="dashicons dashicons-no-alt remove"></div> 969 968 </div> 970 969 <?php wp_underscore_audio_template() ?> … … 972 971 973 972 <script type="text/html" id="tmpl-editor-video"> 974 973 <div class="toolbar"> 975 <div class="dashicons dashicons- format-videoedit"></div>974 <div class="dashicons dashicons-edit edit"></div> 976 975 <div class="dashicons dashicons-no-alt remove"></div> 977 976 </div> 978 977 <?php wp_underscore_video_template() ?> -
src/wp-includes/version.php
4 4 * 5 5 * @global string $wp_version 6 6 */ 7 $wp_version = '3.9-beta1-276 15-src';7 $wp_version = '3.9-beta1-27625-src'; 8 8 9 9 /** 10 10 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. … … 18 18 * 19 19 * @global string $tinymce_version 20 20 */ 21 $tinymce_version = '4020-20140319 ';21 $tinymce_version = '4020-20140319a'; 22 22 23 23 /** 24 24 * Holds the required PHP version