Twenty Seventeen: Make border colors for panels match WordPress UI

Also, fixes the visibility of the borders for panels after the header videos commit.

Props celloexpressions.

Fixes #38408.
See #38172.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy 2016-10-27 23:24:32 +00:00
parent 1ccea74e32
commit 69c8c4ede0
2 changed files with 7 additions and 18 deletions

View File

@ -2941,7 +2941,7 @@ object {
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
border: 2px dashed;
border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
bottom: 1em;
content: "";
display: block;
@ -2949,7 +2949,11 @@ object {
position: absolute;
right: 1em;
top: 1em;
z-index: -1; /* Prevent :after from preventing interactions within the section */
z-index: 1;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .panel-content {
z-index: 2; /* Prevent :after from preventing interactions within the section */
}
/* Used for placeholder text */
@ -2969,21 +2973,6 @@ object {
border: none;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(2):after {
border-color: #b569a2;
color: #b569a2;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(3):after {
border-color: #8f68bd;
color: #8f68bd;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(4):after {
border-color: #575ebd;
color: #575ebd;
}
.twentyseventeen-front-page.twentyseventeen-customizer #primary article.panel-placeholder {
border: 0;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38987';
$wp_version = '4.7-alpha-38988';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.