WordPress.org

Make WordPress Core

Changeset 38988


Ignore:
Timestamp:
10/27/2016 11:23:45 PM (4 years ago)
Author:
davidakennedy
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r38986 r38988  
    29422942
    29432943.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
    2944     border: 2px dashed;
     2944    border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
    29452945    bottom: 1em;
    29462946    content: "";
     
    29502950    right: 1em;
    29512951    top: 1em;
    2952     z-index: -1; /* Prevent :after from preventing interactions within the section */
     2952    z-index: 1;
     2953}
     2954
     2955.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .panel-content {
     2956    z-index: 2; /* Prevent :after from preventing interactions within the section */
    29532957}
    29542958
     
    29682972.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(1):after {
    29692973    border: none;
    2970 }
    2971 
    2972 .highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(2):after {
    2973     border-color: #b569a2;
    2974     color: #b569a2;
    2975 }
    2976 
    2977 .highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(3):after {
    2978     border-color: #8f68bd;
    2979     color: #8f68bd;
    2980 }
    2981 
    2982 .highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:nth-of-type(4):after {
    2983     border-color: #575ebd;
    2984     color: #575ebd;
    29852974}
    29862975
Note: See TracChangeset for help on using the changeset viewer.