Changeset 30002
- Timestamp:
- 10/24/2014 01:20:42 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/edit.css
r29832 r30002 1433 1433 } 1434 1434 1435 a.wp-switch-editor {1435 button.wp-switch-editor { 1436 1436 font-size: 16px; 1437 1437 line-height: 1em; 1438 margin: 3px 0 0 7px;1439 padding: 12px 15px;1438 margin: 7px 0 0 7px; 1439 padding: 8px 12px; 1440 1440 } 1441 1441 -
trunk/src/wp-admin/edit-form-advanced.php
r29671 r30002 505 505 'dfw' => true, 506 506 'drag_drop_upload' => true, 507 'tabfocus_elements' => ' insert-media-button,save-post',507 'tabfocus_elements' => 'content-html,save-post', 508 508 'editor_height' => 300, 509 509 'tinymce' => array( -
trunk/src/wp-includes/class-wp-editor.php
r29994 r30002 178 178 } 179 179 180 $buttons .= '< a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</a>\n";181 $buttons .= '< a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";180 $buttons .= '<button type="button" id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</button>\n"; 181 $buttons .= '<button type="button" id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . _x( 'Text', 'Name for the Text editor tab (formerly HTML)' ) . "</button>\n"; 182 182 } 183 183 -
trunk/src/wp-includes/css/editor.css
r29773 r30002 828 828 829 829 .wp-switch-editor { 830 float: left; 831 box-sizing: content-box; 832 position: relative; 833 top: 1px; 830 834 background: #ebebeb; 831 border: 1px solid #dedede;832 835 color: #777; 833 836 cursor: pointer; 834 float: right;835 837 font: 13px/19px "Open Sans", sans-serif; 836 height: 19px;838 height: 20px; 837 839 margin: 5px 0 0 5px; 838 840 padding: 3px 8px 4px; 839 position: relative; 840 top: 1px; 841 border: 1px solid #e5e5e5; 842 } 843 844 .wp-switch-editor:focus { 845 -webkit-box-shadow: 846 0 0 0 1px #5b9dd9, 847 0 0 2px 1px rgba(30, 140, 190, .8); 848 box-shadow: 849 0 0 0 1px #5b9dd9, 850 0 0 2px 1px rgba(30, 140, 190, .8); 851 outline: none; 852 color: #222; 853 } 854 855 .wp-switch-editor:active, 856 .html-active .switch-html:focus, 857 .tmce-active .switch-tmce:focus { 858 -webkit-box-shadow: none; 859 box-shadow: none; 841 860 } 842 861 843 862 .wp-switch-editor:active { 844 background-color: #f1f1f1; 845 } 846 847 .wp-switch-editor:hover { 848 text-decoration: none !important; 849 background: #fff; 863 background-color: #f5f5f5; 864 -webkit-box-shadow: none; 865 box-shadow: none; 850 866 } 851 867 … … 862 878 background: #f5f5f5; 863 879 color: #555; 864 height: 20px; 865 border-bottom: none; 880 border-bottom-color: #f5f5f5; 866 881 } 867 882
Note: See TracChangeset
for help on using the changeset viewer.