WordPress.org

Make WordPress Core

Changeset 22707


Ignore:
Timestamp:
11/20/2012 11:26:26 AM (8 years ago)
Author:
koopersmith
Message:

Buttons: Remove unused button arrows and dropdowns. see #21598, #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/css/buttons.css

    r22704 r22707  
    2828 3.0 - Primary Button Style
    2929 4.0 - Button Groups
    30  5.0 - Icon Buttons
    3130
    3231---------------------------------------------------------------------------- */
     
    288287    border-radius: 0 3px 3px 0;
    289288}
    290 
    291 /* ----------------------------------------------------------------------------
    292   5.0 - Icon Buttons
    293 
    294   A button with a class of .down-arrow cannot have any input, and cannot have
    295   any other content.
    296 ---------------------------------------------------------------------------- */
    297 .button.down-arrow:after {
    298     content: '\25BE';
    299     display: inline-block;
    300     font-size: 16px;
    301     opacity: 0.9;
    302     margin: 0 -0.25em;
    303     text-align: center;
    304     vertical-align: middle;
    305 }
    306 
    307 .button .dropdown {
    308     display: none;
    309     position: absolute;
    310     top: 100%;
    311     left: 0;
    312     margin: 5px 0;
    313     padding: 0.8em 1em;
    314     border-radius: 3px;
    315 
    316     background: #f5f5f5;
    317     color: #333;
    318     text-shadow: none;
    319     box-shadow:
    320         0 0 0 1px rgba( 0, 0, 0, 0.3 ),
    321         1px 1px 2px rgba( 0, 0, 0, 0.1 );
    322 }
    323 
    324 .button.active .dropdown {
    325     display: block;
    326 }
    327 
    328 .dropdown-flip-x .dropdown {
    329     left: auto;
    330     right: 0;
    331 }
    332 
    333 .dropdown-flip-y .dropdown {
    334     top: auto;
    335     bottom: 100%;
    336 }
Note: See TracChangeset for help on using the changeset viewer.