WordPress.org

Make WordPress Core

Changeset 32068


Ignore:
Timestamp:
04/07/2015 06:43:11 PM (4 years ago)
Author:
helen
Message:

Dismissible notices: more precise positioning across browsers.

props valendesigns.
fixes #31233.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r32051 r32068  
    12901290}
    12911291
    1292 .notice.is-dismissible {
     1292.wp-core-ui .notice.is-dismissible {
    12931293    padding-right: 38px;
    12941294    position: relative;
     
    12961296
    12971297.notice-dismiss {
    1298     height: 38px;
    1299     width: 38px;
    13001298    position: absolute;
    13011299    top: 0;
    1302     right: 0;
     1300    right: 1px;
    13031301    border: none;
    13041302    margin: 0;
    1305     padding: 11px;
     1303    padding: 9px;
    13061304    background: none;
    13071305    color: #b4b9be;
    13081306    cursor: pointer;
     1307}
     1308
     1309.notice-dismiss:before {
     1310    position: relative;
     1311    top: 0;
     1312    left: 0;
     1313    line-height: 20px;
    13091314}
    13101315
     
    13151320}
    13161321
    1317 .notice-dismiss:active,
    13181322.notice-dismiss:focus {
    13191323    outline: none;
     
    31773181    }
    31783182
    3179     .notice.is-dismissible {
     3183    .wp-core-ui .notice.is-dismissible {
    31803184        padding-right: 46px;
    31813185    }
    31823186
    31833187    .notice-dismiss {
    3184         height: 46px;
    3185         width: 46px;
    3186         padding: 16px;
     3188        padding: 13px;
    31873189    }
    31883190
Note: See TracChangeset for help on using the changeset viewer.