WordPress.org

Make WordPress Core

Changeset 26970


Ignore:
Timestamp:
01/17/2014 03:48:50 AM (7 years ago)
Author:
nacin
Message:

Add a contrasting border to admin feature pointers.

props iammattthomas.
see #26689.

File:
1 edited

Legend:

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

    r26797 r26970  
    44    font-size: 13px;
    55    background: #fff;
    6     border: none;
     6    border: 1px solid #dfdfdf;
    77    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.075);
    88    box-shadow:         0 3px 6px rgba(0,0,0,0.075);
     
    1111.wp-pointer-content h3 {
    1212    position: relative;
    13     margin: 0 0 5px;
     13    margin: -1px -1px 5px;
    1414    padding: 15px 18px 14px 60px;
     15    border: 1px solid #3592b6;
     16    border-bottom: none;
    1517    line-height: 1.4em;
    1618    font-size: 14px;
     
    127129.wp-pointer-undefined .wp-pointer-arrow {
    128130    top: 0;
    129     border-width: 0 17px 15px 17px;
     131    border-width: 0 13px 13px 13px;
     132    border-bottom-color: #3592b6;
     133}
     134
     135.wp-pointer-top .wp-pointer-arrow:before,
     136.wp-pointer-undefined .wp-pointer-arrow:before {
     137    margin-left: -13px;
     138    margin-top: -11px;
     139    border: 13px solid transparent;
    130140    border-bottom-color: #2ea2cc;
     141    display: block;
     142    content: ' ';
    131143}
    132144
    133145.wp-pointer-bottom .wp-pointer-arrow {
    134146    bottom: 0;
    135     border-width: 15px 17px 0 17px;
     147    border-width: 13px 13px 0 13px;
     148    border-top-color: #ccc;
     149}
     150
     151.wp-pointer-bottom .wp-pointer-arrow:before {
     152    margin-left: -13px;
     153    margin-top: -14px;
     154    border: 13px solid transparent;
    136155    border-top-color: #fff;
     156    display: block;
     157    content: ' ';
    137158}
    138159
     
    140161.wp-pointer-left .wp-pointer-arrow {
    141162    left: 0;
    142     border-width: 17px 15px 17px 0;
     163    border-width: 13px 13px 13px 0;
     164    border-right-color: #ccc;
     165}
     166
     167.wp-pointer-left .wp-pointer-arrow:before {
     168    margin-left: -12px;
     169    margin-top: -13px;
     170    border: 13px solid transparent;
    143171    border-right-color: #fff;
     172    display: block;
     173    content: ' ';
    144174}
    145175
     
    147177.wp-pointer-right .wp-pointer-arrow {
    148178    right:0;
    149     border-width: 17px 0 17px 15px;
     179    border-width: 13px 0 13px 13px;
     180    border-left-color: #ccc;
     181}
     182
     183.wp-pointer-right .wp-pointer-arrow:before {
     184    margin-left: -14px;
     185    margin-top: -13px;
     186    border: 13px solid transparent;
    150187    border-left-color: #fff;
     188    display: block;
     189    content: ' ';
    151190}
    152191
Note: See TracChangeset for help on using the changeset viewer.