Make WordPress Core

Changeset 27495


Ignore:
Timestamp:
03/11/2014 02:35:04 AM (11 years ago)
Author:
azaozz
Message:

wpLink: set max-height to 500px (like before) and vertically center the modal (except in IE8), see #26952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/editor.css

    r27494 r27495  
    895895    position: fixed;
    896896    top: 30px;
     897    top: calc(50% - 130px);
     898    bottom: 30px;
     899    bottom: calc(50% - 130px);
     900    max-height: 260px;
    897901    left: 50%;
    898902    z-index: 100105;
     
    918922
    919923#wp-link-wrap.search-panel-visible {
    920     bottom: 30px;
     924    max-height: 500px;
     925    top: calc(50% - 250px);
     926    bottom: calc(50% - 250px);
    921927}
    922928
     
    924930    background: #fcfcfc;
    925931    border-bottom: 1px solid #dfdfdf;
    926     height: 42px;
    927     font-size: 22px;
     932    height: 36px;
     933    font-size: 20px;
    928934    font-weight: 600;
    929     line-height: 41px;
    930     padding: 0 42px 0 16px;
     935    line-height: 36px;
     936    padding: 0 36px 0 16px;
    931937    top: 0;
    932938    right: 0;
     
    941947    top: 0;
    942948    right: 0;
    943     width: 42px;
    944     height: 42px;
     949    width: 36px;
     950    height: 36px;
    945951    text-align: center;
    946952}
    947953
    948954#wp-link-close:before {
    949     font: normal 20px/42px 'dashicons';
     955    font: normal 20px/36px 'dashicons';
    950956    vertical-align: top;
    951957    speak: none;
    952958    -webkit-font-smoothing: antialiased;
    953959    -moz-osx-font-smoothing: grayscale;
    954     width: 42px;
    955     height: 42px;
     960    width: 36px;
     961    height: 36px;
    956962    content: '\f158';
    957963}
     
    969975    padding: 0 16px;
    970976    position: absolute;
    971     top: 42px;
     977    top: 36px;
    972978    left: 0;
    973979    right: 0;
     
    11491155    left: 0;
    11501156    right: 0;
     1157}
     1158
     1159#wp-link-cancel {
     1160    line-height: 25px;
    11511161}
    11521162
Note: See TracChangeset for help on using the changeset viewer.