Plugin Directory

Changeset 410524


Ignore:
Timestamp:
07/16/2011 02:27:28 AM (15 years ago)
Author:
JohnONolan
Message:

New: Support for custom post formats with custom icons

Location:
ui-labs/trunk
Files:
6 added
1 edited

Legend:

Unmodified
Added
Removed
  • ui-labs/trunk/1-poststatuses.css

    r410513 r410524  
    1 /*------------------------------------------------------------------------------
    2 
    3 
    4 Hello, this is the main UI Labs CSS File
    5 Crazy experiments and stuff happen in here
    6 
    7 
    8 TABLE OF CONTENTS:
    9 ------------------
    10  1.0 - Post Statuses
    11 
    12 
    13 ------------------------------------------------------------------------------*/
    14 
    15 
    16 
    171/*------------------------------------------------------------------------------
    182  1.0 - Post Statuses
     
    150134    padding-bottom:6px;
    151135}
     136
     137
     138/*------------------------------------------------------------------------------
     139  1.1 - Post Formats
     140------------------------------------------------------------------------------*/
     141
     142/* Image */
     143.format-image .post-state-format {
     144    position:relative;
     145    top:1px;
     146    left:-2px;
     147    padding-left:20px;
     148    background:url(images/postformat-image.png) top left no-repeat;
     149}
     150
     151/* Quote */
     152.format-quote .post-state-format {
     153    position:relative;
     154    top:1px;
     155    left:-2px;
     156    padding-left:20px;
     157    background:url(images/postformat-quote.png) top left no-repeat;
     158}
     159
     160/* Aside */
     161.format-aside .post-state-format {
     162    position:relative;
     163    top:-1px;
     164    left:-2px;
     165    padding-left:20px;
     166    background:url(images/postformat-aside.png) top left no-repeat;
     167}
     168
     169/* Gallery */
     170.format-gallery .post-state-format {
     171    position:relative;
     172    top:1px;
     173    left:-2px;
     174    padding-left:20px;
     175    background:url(images/postformat-gallery.png) top left no-repeat;
     176}
     177
     178/* Status */
     179.format-status .post-state-format {
     180    position:relative;
     181    top:0;
     182    left:-2px;
     183    padding-left:20px;
     184    background:url(images/postformat-status.png) top left no-repeat;
     185}
     186
     187/* Link */
     188.format-link .post-state-format {
     189    position:relative;
     190    top:1px;
     191    left:-2px;
     192    padding-left:20px;
     193    background:url(images/postformat-link.png) top left no-repeat;
     194}
Note: See TracChangeset for help on using the changeset viewer.