Code Editors: Minor style improvements.

props melchoyce.
see #42214.

Built from https://develop.svn.wordpress.org/trunk@41882


git-svn-id: http://core.svn.wordpress.org/trunk@41716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2017-10-16 21:36:48 +00:00
parent af960204b6
commit bb66a52a14
5 changed files with 51 additions and 31 deletions

View File

@ -2215,7 +2215,7 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
}
#template > div {
margin-left: 190px;
margin-left: 16em;
}
#template .notice {
margin-top: 1em;
@ -3033,27 +3033,33 @@ img {
#template textarea,
#template .CodeMirror {
width: 97%;
height: calc( 100vh - 280px );
width: 100%;
min-height: 60vh;
height: calc( 100vh - 295px );
border: 1px solid #ddd;
}
#templateside > h2 {
padding-top: 6px;
padding-bottom: 6px;
padding-bottom: 7px;
margin: 0;
border-bottom: solid 1px #ccc;
}
#templateside ol,
#templateside ul {
margin: .5em 0;
margin: 0;
padding: 0;
}
#templateside > ul {
box-sizing: border-box;
margin-top: 0;
overflow: auto;
padding: 2px;
height: calc(100vh - 280px);
padding: 0;
min-height: calc(60vh + 2px);
height: calc(100vh - 293px);
background-color: #f7f7f7;
border: 1px solid #ddd;
border-right: none;
}
#templateside ul ul {
padding-right: 12px;
@ -3101,7 +3107,7 @@ img {
}
[role="treeitem"].hover,
[role="treeitem"] .folder-label.hover {
background-color: #DDDDDD;
background-color: #eaeaea;
}
.tree-folder {
@ -3150,7 +3156,7 @@ img {
.tree-folder > .current-file::before {
right: 4px;
height: 15px;
width: 6px;
width: 0px;
border-right: none;
top: 3px;
}
@ -3213,7 +3219,7 @@ img {
}
#templateside {
float: left;
width: 190px;
width: 16em;
word-wrap: break-word;
}
@ -3232,10 +3238,14 @@ img {
#templateside li a,
.theme-editor-php .highlight {
display: block;
padding: 3px 12px 3px 3px;
padding: 3px 12px 3px 0;
text-decoration: none;
}
#templateside li > a:first-of-type {
padding-top: 0;
}
.theme-editor-php .highlight {
margin: -3px -12px -3px 3px;
}
@ -3710,7 +3720,7 @@ img {
}
.wp-responsive-open #wpbody {
left: -190px;
left: -16em;
}
code {

File diff suppressed because one or more lines are too long

View File

@ -2215,7 +2215,7 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
}
#template > div {
margin-right: 190px;
margin-right: 16em;
}
#template .notice {
margin-top: 1em;
@ -3033,27 +3033,33 @@ img {
#template textarea,
#template .CodeMirror {
width: 97%;
height: calc( 100vh - 280px );
width: 100%;
min-height: 60vh;
height: calc( 100vh - 295px );
border: 1px solid #ddd;
}
#templateside > h2 {
padding-top: 6px;
padding-bottom: 6px;
padding-bottom: 7px;
margin: 0;
border-bottom: solid 1px #ccc;
}
#templateside ol,
#templateside ul {
margin: .5em 0;
margin: 0;
padding: 0;
}
#templateside > ul {
box-sizing: border-box;
margin-top: 0;
overflow: auto;
padding: 2px;
height: calc(100vh - 280px);
padding: 0;
min-height: calc(60vh + 2px);
height: calc(100vh - 293px);
background-color: #f7f7f7;
border: 1px solid #ddd;
border-left: none;
}
#templateside ul ul {
padding-left: 12px;
@ -3101,7 +3107,7 @@ img {
}
[role="treeitem"].hover,
[role="treeitem"] .folder-label.hover {
background-color: #DDDDDD;
background-color: #eaeaea;
}
.tree-folder {
@ -3150,7 +3156,7 @@ img {
.tree-folder > .current-file::before {
left: 4px;
height: 15px;
width: 6px;
width: 0px;
border-left: none;
top: 3px;
}
@ -3213,7 +3219,7 @@ img {
}
#templateside {
float: right;
width: 190px;
width: 16em;
word-wrap: break-word;
}
@ -3232,10 +3238,14 @@ img {
#templateside li a,
.theme-editor-php .highlight {
display: block;
padding: 3px 3px 3px 12px;
padding: 3px 0 3px 12px;
text-decoration: none;
}
#templateside li > a:first-of-type {
padding-top: 0;
}
.theme-editor-php .highlight {
margin: -3px 3px -3px -12px;
}
@ -3710,7 +3720,7 @@ img {
}
.wp-responsive-open #wpbody {
right: -190px;
right: -16em;
}
code {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta2-41881';
$wp_version = '4.9-beta2-41882';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.