WordPress.org

Make WordPress Core

Changeset 22245


Ignore:
Timestamp:
10/16/2012 03:42:34 PM (8 years ago)
Author:
koopersmith
Message:

Add a down arrow button. see #21598, #21390, #21813.

File:
1 edited

Legend:

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

    r22242 r22245  
    2828 3.0 - Primary Button Style
    2929 4.0 - Button Groups
     30 5.0 - Icon Buttons
    3031
    3132---------------------------------------------------------------------------- */
     
    258259    border-radius: 0 3px 3px 0;
    259260}
     261
     262/* ----------------------------------------------------------------------------
     263  5.0 - Icon Buttons
     264
     265  A button with a class of .down-arrow cannot have any input, and cannot have
     266  any other content.
     267---------------------------------------------------------------------------- */
     268.button.down-arrow:after {
     269    content: '\25BE';
     270    display: inline-block;
     271    font-size: 16px;
     272    opacity: 0.8;
     273    margin: 0 -0.25em;
     274    text-align: center;
     275    vertical-align: middle;
     276}
Note: See TracChangeset for help on using the changeset viewer.