Make WordPress Core

Ticket #32287: 32287.patch

File 32287.patch, 2.6 KB (added by afercia, 10 years ago)
  • src/wp-admin/css/common.css

     
    737737}
    738738
    739739/* @todo can we combine these into a class or use an existing dashicon one? */
    740 #welcome-panel.welcome-panel .welcome-panel-close:before,
     740.welcome-panel .welcome-panel-close:before,
    741741.tagchecklist span a:before,
    742742#bulk-titles div a:before,
    743743.notice-dismiss:before {
     
    744744        background: none;
    745745        color: #b4b9be;
    746746        content: '\f153';
    747         display: block !important;
     747        display: block;
    748748        font: normal 16px/1 'dashicons';
    749749        speak: none;
    750         height: 20px;
     750        height: 16px;
    751751        text-align: center;
    752752        width: 20px;
    753         -webkit-font-smoothing: antialiased !important;
     753        -webkit-font-smoothing: antialiased;
     754        -moz-osx-font-smoothing: grayscale;
    754755}
    755756
    756 #welcome-panel.welcome-panel .welcome-panel-close:before {
     757.welcome-panel .welcome-panel-close:before {
    757758        margin: 0;
    758759}
    759760
     
    762763        margin: 2px 0;
    763764}
    764765
    765 #welcome-panel.welcome-panel .welcome-panel-close:hover:before,
     766.welcome-panel .welcome-panel-close:hover:before,
     767.welcome-panel .welcome-panel-close:focus:before,
    766768.tagchecklist span a:hover:before,
    767769#bulk-titles div a:hover:before {
    768770        color: #c00;
  • src/wp-admin/css/dashboard.css

     
    146146
    147147.welcome-panel .welcome-panel-close {
    148148        position: absolute;
    149         top: 5px;
     149        top: 10px;
    150150        right: 10px;
    151         padding: 20px 15px 0 3px;
     151        padding: 10px 15px 10px 21px;
    152152        font-size: 13px;
     153        line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
    153154        text-decoration: none;
    154         line-height: 1;
    155155}
    156156
    157 #welcome-panel.welcome-panel .welcome-panel-close:before {
     157.welcome-panel .welcome-panel-close:before {
    158158        position: absolute;
    159         left: -18px;
    160         margin-top: -2px;
     159        top: 10px;
     160        left: 0;
    161161        -webkit-transition: all .1s ease-in-out;
    162162        transition: all .1s ease-in-out;
    163163}
     
    10951095        /* Keep the close icon from overlapping the Welcome text. */
    10961096        .welcome-panel .welcome-panel-close {
    10971097                overflow: hidden;
    1098                 text-indent: 100%;
     1098                text-indent: 40px;
    10991099                white-space: nowrap;
    11001100                width: 20px;
    11011101                height: 20px;
    1102                 right: 0;
    11031102                padding: 5px;
     1103                top: 5px;
     1104                right: 5px;
    11041105        }
    11051106
    11061107        /* Make the close icon larger for tappability. */
    1107         #welcome-panel.welcome-panel .welcome-panel-close:before {
     1108        .welcome-panel .welcome-panel-close:before {
    11081109                font-size: 20px;
    1109                 margin: 0;
     1110                top: 5px;
     1111                left: -35px;
    11101112        }
    11111113}