Make WordPress Core

Ticket #21206: customizer-layout.diff

File customizer-layout.diff, 1.5 KB (added by mattwiebe, 13 years ago)

Fix the color picker layout in the customizer. This was missed in r22030

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

     
    6565        margin-left: 5px;
    6666}
    6767
    68 .customize-section input[type="text"].color-picker-hex,
    69 .customize-control-color .farbtastic-placeholder {
     68.customize-section input[type="text"].color-picker-hex {
    7069        float: right;
    7170}
    7271
  • wp-admin/css/customize-controls.css

     
    312312/*
    313313 * Color Picker
    314314 */
    315 .customize-control-color .color-picker-hex,
    316 .customize-control-color .farbtastic-placeholder {
     315.customize-control-color .color-picker-hex {
    317316        display: none;
    318317}
    319318
    320 .customize-control-color.open .color-picker-hex,
    321 .customize-control-color.open .farbtastic-placeholder {
     319.customize-control-color.open .color-picker-hex {
    322320        display: block;
    323321}
    324322
     
    337335}
    338336
    339337.customize-section input[type="text"].color-picker-hex {
    340         float: left;
    341         width: 85px;
     338        width: 65px;
    342339        font-family: monospace;
    343340        text-align: center;
    344341}
     
    351348        color: #999;
    352349}
    353350
    354 .customize-control-color .farbtastic-placeholder {
    355         width: 100%;
    356         margin: 5px 0 10px;
    357         float: left;
    358 }
    359 
    360 .customize-control-color .farbtastic {
    361         margin: 0 auto;
    362 }
    363 
    364351/*
    365352 * Image Picker
    366353 */