Ticket #47318: 47318.3.diff
File 47318.3.diff, 2.6 KB (added by , 5 years ago) |
---|
-
src/wp-admin/css/common.css
206 206 background: #fff; 207 207 } 208 208 209 .no-js .wp-editor-container { 210 background: transparent; 211 } 212 209 213 /* general */ 210 214 html, 211 215 body { -
src/wp-admin/css/edit.css
47 47 cursor: text; 48 48 } 49 49 50 .no-js #titlediv label { 51 cursor: auto; 52 } 53 50 54 #titlediv div.inside { 51 55 margin: 0; 52 56 } … … 72 76 position: absolute; 73 77 font-size: 1.7em; 74 78 padding: 11px 10px; 79 pointer-events: none; 75 80 } 76 81 82 .no-js #titlediv #title-prompt-text.screen-reader-text { 83 position: static; 84 -webkit-clip-path: none; 85 clip-path: none; 86 display: inline-block; 87 width: auto; 88 height: auto; 89 margin: 0; 90 padding: 6px 0; 91 font-size: inherit; 92 color: inherit; 93 pointer-events: auto; 94 cursor: auto; 95 } 96 97 .wp-editor-content-label { 98 display: none; 99 } 100 101 .no-js .wp-editor-content-label { 102 display: inline-block; 103 padding: 6px 0; 104 cursor: auto; 105 } 106 77 107 input#link_description, 78 108 input#link_url { 79 109 width: 98%; -
src/wp-includes/class-wp-editor.php
263 263 'the_editor', 264 264 '<div id="wp-' . $editor_id_attr . '-editor-container" class="wp-editor-container">' . 265 265 $quicktags_toolbar . 266 '<label for="' . $editor_id_attr . '" class="wp-editor-content-label">' . __( 'Content' ) . '</label>' . 266 267 '<textarea' . $editor_class . $height . $tabindex . $autocomplete . ' cols="40" name="' . esc_attr( $set['textarea_name'] ) . '" ' . 267 268 'id="' . $editor_id_attr . '">%s</textarea></div>' 268 269 ); -
src/wp-includes/css/editor.css
1085 1085 border: 1px solid #e5e5e5; 1086 1086 } 1087 1087 1088 .no-js .wp-editor-container { 1089 border: none; 1090 } 1091 1092 .no-js .wp-editor-container textarea { 1093 border: 1px solid #e5e5e5; 1094 } 1095 1096 .no-js .wp-editor-container textarea:focus { 1097 border-color: #5b9dd9; 1098 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8); 1099 /* Only visible in Windows High Contrast mode */ 1100 outline: 2px solid transparent; 1101 } 1102 1088 1103 .wp-editor-area { 1089 1104 font-family: Consolas, Monaco, monospace; 1090 1105 font-size: 13px;