WordPress.org

Make WordPress Core

Ticket #29158: 29158.borders.1.diff

File 29158.borders.1.diff, 3.5 KB (added by celloexpressions, 6 years ago)

refresh

  • src/wp-admin/css/customize-controls.css

     
    4848
    4949#customize-controls .customize-info {
    5050        border: none;
    51         border-top: 1px solid #ddd;
    5251        border-bottom: 1px solid #ddd;
    5352        margin-bottom: 15px;
    5453}
     
    166165#customize-controls .control-section .accordion-section-title:hover,
    167166#customize-controls .control-section.open .accordion-section-title,
    168167#customize-controls .control-section .accordion-section-title:focus {
    169         color: #23282d;
     168        color: #191e23;
    170169        background: #f5f5f5;
     170        border-bottom: 1px solid #ccc;
     171        border-top: 1px solid #ccc;
     172        margin-top: -1px;
    171173}
    172174
     175.in-sub-panel #customize-theme-controls > ul > .control-section:hover > .accordion-section-title,
     176.in-sub-panel #customize-theme-controls > ul > .control-section.open > .accordion-section-title,
     177.in-themes-panel #customize-controls .control-section:hover > .accordion-section-title {
     178        margin-top: 0;
     179}
     180
     181+#accordion-section-themes + .control-section {
     182        border-top: 1px solid #ddd;
     183}
     184
    173185.js .control-section:hover .accordion-section-title,
    174186.js .control-section .accordion-section-title:hover,
    175187.js .control-section.open .accordion-section-title,
     
    182194#customize-theme-controls .control-section.open .accordion-section-title:after,
    183195#customize-theme-controls .control-section .accordion-section-title:focus:after {
    184196        color: #23282d;
     197        content: "\f344";
     198        right: 14px;
    185199}
    186200
    187201#customize-theme-controls .control-section.open {
     
    356370#customize-controls .panel-meta.customize-info .accordion-section-title:hover {
    357371        background: #fff;
    358372        color: #555;
     373        border-top: none;
     374        border-bottom: none;
     375        margin-top: 0;
    359376}
    360377
    361378.customize-controls-close:focus,
     
    376393.customize-section-back:focus {
    377394        color: #23282d;
    378395        background: #f5f5f5;
     396        border-right: 1px solid #ccc;
    379397        outline: none;
    380398        -webkit-box-shadow: none;
    381399        box-shadow: none;
     
    389407        left: 13px;
    390408}
    391409
     410.customize-panel-back:hover:before,
     411.customize-panel-back:focus:before,
     412.customize-section-back:hover:before,
     413.customize-section-back:focus:before {
     414        content: "\f340";
     415        left: 17px;
     416}
     417
    392418.customize-panel-back:before,
    393419.customize-section-back:before {
    394420        font: normal 20px/69px dashicons;
     
    10081034        animation: customize-reload .75s;
    10091035}
    10101036
    1011 .control-section-themes .accordion-section-title {
     1037#customize-theme-controls .control-section-themes .accordion-section-title:hover, /* Not a focusable element. */
     1038#customize-theme-controls .control-section-themes .accordion-section-title {
    10121039        cursor: default;
     1040        background: #fff;
     1041        color: #555;
     1042        border-top: 1px solid #ddd;
     1043        border-bottom: 1px solid #ddd;
     1044        margin-top: 0;
    10131045}
    10141046
    1015 #customize-theme-controls .control-section-themes .accordion-section-title:hover,
    1016 #customize-theme-controls .control-section-themes .accordion-section-title:focus {
    1017         color: #555;
    1018         background-color: #fff;
     1047#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
     1048#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
     1049        border-top: 0;
    10191050}
    10201051
    1021 .control-section-themes .accordion-section-title {
     1052#customize-theme-controls .control-section-themes > .accordion-section-title:hover, /* Not a focusable element. */
     1053#customize-theme-controls .control-section-themes > .accordion-section-title {
    10221054        margin: 15px 0;
    10231055}
    10241056