Make WordPress Core

Ticket #35126: 35126.3.patch

File 35126.3.patch, 4.6 KB (added by Cheffheid, 9 years ago)

Added .button-link to a number of places that remove text-decoration.

  • wp-admin/css/common.css

     
    428428        color: #666;
    429429}
    430430
    431 .subsubsub a {
     431.subsubsub a,
     432.subsubsub button.button-link {
    432433        line-height: 2;
    433434        padding: .2em;
    434435        text-decoration: none;
    435436}
    436437
     438.subsubsub button.button-link {
     439        line-height: 1.375; /* Squish it down to match anchor height more closely */
     440}
     441
    437442.subsubsub a .count,
    438443.subsubsub a.current .count {
    439444        color: #555d66; /* #f1f1f1 background */
     
    464469        word-wrap: break-word;
    465470}
    466471
    467 .widefat a {
     472.widefat a,
     473.widefat button.button-link {
    468474        text-decoration: none;
    469475}
    470476
     
    30573063}
    30583064
    30593065.handlediv,
     3066.postbox .handlediv.button-link,
    30603067.item-edit,
    30613068.sidebar-name-arrow,
    30623069.accordion-section-title:after {
     
    30713078.widget-action:focus,
    30723079.handlediv:hover,
    30733080.handlediv:focus,
     3081.postbox .handlediv.button-link:hover,
     3082.postbox .handlediv.button-link:focus,
    30743083.item-edit:hover,
    30753084.item-edit:focus,
    30763085.sidebar-name:hover .sidebar-name-arrow,
     
    33543363        }
    33553364}
    33563365
    3357 .my-sites li a {
     3366.my-sites li a,
     3367.my-sites li .button-link {
    33583368        text-decoration: none;
    33593369}
    33603370
  • wp-admin/css/customize-nav-menus.css

     
    771771        margin-bottom: 1em;
    772772}
    773773
    774 .menu-delete {
     774.button-link.menu-delete {
    775775        color: #a00;
    776776        cursor: pointer;
    777777        text-decoration: underline;
    778778}
    779779
    780 .menu-delete:hover,
    781 .menu-delete:focus {
     780.button-link.menu-delete:hover,
     781.button-link.menu-delete:focus {
    782782        color: #f00;
    783783        text-decoration: none;
    784784}
  • wp-admin/css/dashboard.css

     
    131131        color: #72777c;
    132132}
    133133
    134 .welcome-panel a {
     134.welcome-panel a,
     135.welcome-panel button.button-link {
    135136        text-decoration: none;
    136137}
    137138
     
    771772        min-width: 0;
    772773}
    773774
    774 #dashboard-widgets a {
     775#dashboard-widgets a,
     776#dashboard-widgets .button-link {
    775777        text-decoration: none;
    776778}
    777779
  • wp-admin/css/media.css

     
    825825        margin-bottom: 16px;
    826826}
    827827
    828 .attachment-info .actions a {
     828.attachment-info .actions a,
     829.attachment-info .actions .button-link {
    829830        display: inline;
    830831        text-decoration: none;
    831832}
  • wp-includes/css/buttons.css

     
    200200
    201201/* Buttons that look like links, for a cross of good semantics with the visual */
    202202.wp-core-ui .button-link {
     203        color: #0073aa;
    203204        margin: 0;
    204205        padding: 0;
    205206        -webkit-box-shadow: none;
     
    210211        background: none;
    211212        outline: none;
    212213        cursor: pointer;
     214        -webkit-transition-property: border, background, color;
     215        transition-property: border, background, color;
     216        -webkit-transition-duration: .05s;
     217        transition-duration: .05s;
     218        -webkit-transition-timing-function: ease-in-out;
     219        transition-timing-function: ease-in-out;
     220        text-decoration: underline;
    213221}
    214222
     223.wp-core-ui .button-link:hover,
     224.wp-core-ui .button-link:active {
     225        color: #00a0d2;
     226}
     227
    215228.wp-core-ui .button-link:focus {
    216229        outline: #5b9dd9 solid 1px;
     230        color: #124964;
     231        -webkit-box-shadow:
     232                0 0 0 1px #5b9dd9,
     233                0 0 2px 1px rgba(30, 140, 190, .8);
     234        box-shadow:
     235                0 0 0 1px #5b9dd9,
     236                0 0 2px 1px rgba(30, 140, 190, .8);
    217237}
    218238
    219239/* ----------------------------------------------------------------------------
  • wp-includes/css/media-views.css

     
    189189        transition: color .1s ease-in-out, background .1s ease-in-out;
    190190}
    191191
     192.media-modal-close.button-link {
     193        text-decoration: none;
     194}
     195
    192196.media-modal-close:active {
    193197        -webkit-box-shadow: none;
    194198        box-shadow: none;
  • wp-includes/css/wp-auth-check.css

     
    9292        height: 22px;
    9393        width: 22px;
    9494        color: #72777c;
     95        text-decoration: none;
    9596}
    9697
    9798#wp-auth-check-wrap .wp-auth-check-close:before {