Changeset 27193
- Timestamp:
- 02/19/2014 03:50:09 AM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r27159 r27193 325 325 'paste_remove_styles' => true, 326 326 327 // limit the preview styles in the menu/toolbar328 // 'preview_styles' => 'font-family font-weight font-style text-decoration text-transform color background-color border',327 // Limit the preview styles in the menu/toolbar 328 'preview_styles' => 'font-family font-size font-weight font-style text-decoration text-transform', 329 329 330 330 'wpeditimage_disable_captions' => $no_captions, -
trunk/src/wp-includes/css/editor.css
r27190 r27193 18 18 19 19 .mce-window { 20 -webkit-border-radius: 0; 20 21 border-radius: 0; 22 -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7); 21 23 box-shadow: 0 5px 15px rgba(0,0,0,0.7); 22 24 z-index: 160000 !important; /* Overwrite inline style added by TinyMCE. */ … … 56 58 font: normal 20px/2 'dashicons'; 57 59 text-align: center; 58 color: # 888;60 color: #666; 59 61 width: 40px; 60 62 height: 40px; … … 63 65 64 66 .mce-window .mce-window-head .mce-close:hover:before { 65 color: # 555;67 color: #2ea2cc; 66 68 } 67 69 68 70 .mce-window .mce-window-head .mce-dragh { 71 width: -webkit-calc( 100% - 40px ); 69 72 width: calc( 100% - 40px ); 70 73 } … … 72 75 .mce-textbox { 73 76 border: 1px solid #ddd; 77 -webkit-border-radius: 0; 74 78 border-radius: 0; 75 79 -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07); … … 90 94 .mce-floatpanel.mce-popover { 91 95 border-color: rgba(0,0,0,0.15); 96 -webkit-border-radius: 0; 92 97 border-radius: 0; 98 -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); 93 99 box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); 94 100 } … … 154 160 -webkit-box-shadow: none; 155 161 box-shadow: none; 162 text-shadow: none; 156 163 } 157 164 … … 215 222 } 216 223 224 /* mce listbox */ 225 .mce-toolbar .mce-btn-group .mce-btn.mce-listbox { 226 -webkit-border-radius: 0; 227 border-radius: 0; 228 direction: ltr; 229 background: #fff; 230 border: 1px solid #ddd; 231 -webkit-box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); 232 box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, .2); 233 } 234 235 .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover { 236 background-image: none; 237 border-color: #bbb; 238 } 239 240 241 .mce-toolbar .mce-btn .mce-caret { 242 border: none; 243 margin: 0 0 0 -5px; 244 width: 16px; 245 } 246 247 .mce-toolbar .mce-listbox .mce-caret { 248 margin-top: 0; 249 padding: 2px 0 0; 250 right: 0; 251 top: 0; 252 width: 16px; 253 } 254 255 .mce-toolbar .mce-listbox .mce-caret:before { 256 margin-left: -6px; 257 } 258 259 .mce-toolbar .mce-splitbtn:hover .mce-open { 260 border-right-color: transparent; 261 } 262 263 .mce-toolbar .mce-splitbtn .mce-open.mce-active{ 264 -webkit-box-shadow: none; 265 box-shadow: none; 266 } 267 268 .mce-menu .mce-menu-item-normal.mce-active { 269 background-color: #e5e5e5; 270 -webkit-filter: none; 271 filter: none; 272 } 273 274 .mce-menu .mce-menu-item:hover, 275 .mce-menu .mce-menu-item.mce-selected, 276 .mce-menu .mce-menu-item:focus { 277 color: #000; 278 background-color: #bbb; 279 background-image: none; 280 -webkit-filter: none; 281 filter: none; 282 } 283 284 .mce-menu .mce-menu-item:hover .mce-ico, 285 .mce-menu .mce-menu-item.mce-selected .mce-ico, 286 .mce-menu .mce-menu-item:focus .mce-ico, 287 .mce-menu .mce-menu-item:hover .mce-text, 288 .mce-menu .mce-menu-item.mce-active:hover .mce-text, 289 .mce-menu .mce-menu-item.mce-selected .mce-text { 290 color: #000; 291 } 292 293 /* Menubar */ 217 294 .mce-menubar { 218 295 border-color: #e5e5e5; … … 228 305 } 229 306 307 .mce-menubtn span { 308 margin-right: 0; 309 padding-left: 3px; 310 } 311 230 312 /* Buttons in modals */ 313 .mce-primary button, 314 .mce-primary button i { 315 text-align: center; 316 color: #fff; 317 text-shadow: none; 318 } 319 231 320 .mce-window .mce-btn { 232 321 color: #555; … … 336 425 337 426 /* TinyMCE tooltips */ 338 339 427 .mce-tooltip { 340 428 margin-top: 2px; … … 342 430 343 431 .mce-tooltip-inner { 432 -webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); 344 433 box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.2 ); 345 434 color: #fff; … … 541 630 } 542 631 543 .mce-toolbar .mce-btn .mce-caret {544 border: none;545 margin: 0 0 0 -5px;546 width: 16px;547 }548 549 .mce-menubtn span {550 margin-right: 0;551 padding-left: 3px;552 }553 554 .mce-toolbar .mce-listbox .mce-caret {555 margin-top: 0;556 padding: 2px 3px;557 right: 0;558 top: 0;559 width: 10px;560 }561 562 .mce-toolbar .mce-listbox:hover .mce-caret,563 .mce-toolbar .mce-listbox.mce-active .mce-caret {564 border-left: 1px solid #bdbdbd;565 }566 567 .mce-toolbar .mce-listbox .mce-caret:before {568 margin-left: -6px;569 }570 571 .mce-toolbar .mce-splitbtn:hover .mce-open {572 border-right-color: transparent;573 }574 575 .mce-toolbar .mce-splitbtn .mce-open.mce-active{576 -webkit-box-shadow: none;577 box-shadow: none;578 }579 580 632 /* Editors */ 581 633 .wp-editor-wrap {
Note: See TracChangeset
for help on using the changeset viewer.