Editor scrolling:

- Pin the TinyMCE statusbar (elements path) to the bottom.
- Add support for pinning the menu when present.
- Add borders from CSS.
- Optimize getting most elements outerHeight.
Part props avryl, fixes #29293, see #28328.
Built from https://develop.svn.wordpress.org/trunk@29579


git-svn-id: http://core.svn.wordpress.org/trunk@29353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2014-08-24 05:11:16 +00:00
parent 09c3fd98d0
commit 61292620c5
15 changed files with 218 additions and 103 deletions

View File

@@ -406,6 +406,38 @@ td.plugin-title p {
}
/* end editor-expand.js override */
.wp-editor-expand #wp-content-editor-tools {
z-index: 1000;
border-bottom: 1px solid #e5e5e5;
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.wp-editor-expand #wp-content-editor-container {
border-bottom: 0 none;
}
.wp-editor-expand div.mce-statusbar {
z-index: 1;
}
.wp-editor-expand #post-status-info {
border-top: 1px solid #e5e5e5;
}
.wp-editor-expand div.mce-toolbar-grp {
z-index: 999;
}
#wp-content-editor-tools {
background-color: #f1f1f1;
padding-top: 20px;
}
#poststuff #post-body.columns-2 #side-sortables {
width: 280px;
}

View File

@@ -406,6 +406,38 @@ td.plugin-title p {
}
/* end editor-expand.js override */
.wp-editor-expand #wp-content-editor-tools {
z-index: 1000;
border-bottom: 1px solid #e5e5e5;
}
.wp-editor-expand #wp-content-editor-container {
-webkit-box-shadow: none;
box-shadow: none;
margin-top: -1px;
}
.wp-editor-expand #wp-content-editor-container {
border-bottom: 0 none;
}
.wp-editor-expand div.mce-statusbar {
z-index: 1;
}
.wp-editor-expand #post-status-info {
border-top: 1px solid #e5e5e5;
}
.wp-editor-expand div.mce-toolbar-grp {
z-index: 999;
}
#wp-content-editor-tools {
background-color: #f1f1f1;
padding-top: 20px;
}
#poststuff #post-body.columns-2 #side-sortables {
width: 280px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long