Make WordPress Core

Changeset 24223


Ignore:
Timestamp:
05/09/2013 08:08:39 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.

Location:
trunk/wp-content/themes/twentythirteen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/css/ie.css

    r24197 r24223  
    1111.date a:before:hover,
    1212.entry-meta .author a:before:hover,
    13 .format-audio .entry-content:before:hover,
     13.format-audio .entry-media:before:hover,
    1414.comments-link a:before:hover,
    1515.tags-links a:first-child:before:hover,
     
    284284    padding: 0;
    285285}
     286
     287/* RTL for Internet Explorer 7 & 8 */
     288.rtl .format-audio .entry-media:before,
     289.rtl .comment-reply-link:before,
     290.rtl .comment-reply-login:before {
     291    -ms-filter: "FlipH";
     292    filter: FlipH;
     293}
  • trunk/wp-content/themes/twentythirteen/rtl.css

    r24202 r24223  
    7777
    7878/**
    79  * 2.0 Repeatable patterns
    80  * ----------------------------------------------------------------------------
    81  */
    82 
    83 .genericon:after,
    84 .menu-toggle:before,
    85 .featured-post:after,
    86 .date a:after,
    87 .entry-meta .author a:after,
    88 .format-audio .entry-content:after,
    89 .comments-link a:after,
    90 .tags-links a:first-child:after,
    91 .categories-links a:first-child:after,
    92 .edit-link a:after,
    93 .attachment .entry-title:after,
    94 .attachment-meta:after,
    95 .attachment-meta a:after,
    96 .comment-awaiting-moderation:after,
    97 .comment-reply-link:after,
    98 #reply-title small a:after,
    99 .bypostauthor > .comment-body .fn:after,
    100 .error404 .page-title:after {
    101     -webkit-font-smoothing: antialiased;
    102     display: inline-block;
    103     font: normal 16px/1 Genericons;
    104     vertical-align: text-bottom;
    105 }
    106 
    107 
    108 /**
    10979 * 4.0 Header
    11080 * ----------------------------------------------------------------------------
     
    210180
    211181.featured-post:before {
    212     content: normal;
    213     margin-right: auto;
    214 }
    215 
    216 .featured-post:after {
    217     content: "\f308";
     182    margin-right: auto;
    218183    margin-left: 2px;
    219184}
    220185
    221186.entry-meta .date a:before {
    222     content: normal;
    223 }
    224 
    225 .entry-meta .date a:after {
    226     content: "\f303";
     187    margin-left: 2px;
    227188}
    228189
    229190.comments-link a:before {
    230     content: normal;
    231     margin-left: auto;
    232     top: auto;
    233 }
    234 
    235 .comments-link a:after {
    236     content: "\f300";
    237191    margin-left: 2px;
    238     top: -1px;
    239     position: relative;
    240 }
    241 
    242 .entry-meta .author a:before {
    243     content: normal;
    244     top: auto;
    245 }
    246 
    247 .entry-meta .author a:after {
    248     content: "\f304";
    249     top: -1px;
    250     position: relative;
    251 }
    252 
    253 .categories-links a:first-child:before {
    254     content: normal;
    255 }
    256 
    257 .categories-links a:first-child:after {
    258     content: "\f301";
     192    margin-right: auto;
    259193}
    260194
    261195.tags-links a:first-child:before {
    262     content: normal;
    263     top: auto;
    264 }
    265 
    266 .tags-links a:first-child:after {
    267     content: "\f302";
    268     top: -1px;
    269     position: relative;
     196    margin-left: 2px;
    270197}
    271198
    272199.edit-link a:before {
    273     content: normal;
    274     top: auto;
    275 }
    276 
    277 .edit-link a:after {
    278     content: "\f411";
    279     top: -1px;
    280     position: relative;
     200    margin-left: 2px;
    281201}
    282202
     
    340260
    341261.format-audio .entry-media:before {
    342     -ms-filter: "FlipH";
    343     filter: FlipH;
    344262    float: right;
    345263    -webkit-transform: scaleX(-1);
    346264    -moz-transform:    scaleX(-1);
     265    -ms-transform:     scaleX(-1);
    347266    -o-transform:      scaleX(-1);
    348267    transform:         scaleX(-1);
     
    363282
    364283.format-chat .entry-meta .date a:before {
    365     content: normal;
    366     margin-right: auto;
    367 }
    368 
    369 .format-chat .entry-meta .date a:after {
    370     content: "\f108";
    371     margin-left: 2px;
     284    margin-right: auto;
     285    margin-left: 4px;
    372286}
    373287
     
    428342}
    429343
    430 .format-status .entry-meta .date a:before {
    431     content: normal;
    432 }
    433 
    434 .format-status .entry-meta .date a:after {
    435     content: "\f105";
    436 }
    437 
    438344.format-quote .quote {
    439345    padding-left: 0;
     
    460366
    461367.attachment .entry-title:before {
    462     content: normal;
    463     font-size: inherit;
    464     margin-right: auto;
    465 }
    466 
    467 .attachment .entry-title:after {
    468     content: "\f416";
    469     font-size: 32px;
    470368    margin-left: 10px;
     369    margin-right: auto;
    471370}
    472371
    473372.attachment .entry-meta {
    474373    float: left;
    475 }
    476 
    477 .attachment-meta:before,
    478 .full-size-link a:before {
    479     content: normal;
    480 }
    481 
    482 .attachment-meta:after {
    483     content: "\f307";
    484 }
    485 
    486 .full-size-link a:after {
    487     content: "\f402";
    488 }
    489 
    490 .full-size-link:after {
    491     content: normal;
    492374}
    493375
     
    613495}
    614496
    615 .bypostauthor > .comment-body .fn:before {
    616     content: normal;
    617     vertical-align: inherit;
    618 }
    619 
    620 .bypostauthor > .comment-body .fn:after {
    621     content: "\f408";
    622     vertical-align: text-top;
    623 }
    624 
    625497.comment-list .edit-link {
    626498    margin-left: auto;
     
    636508
    637509.comment-awaiting-moderation:before {
    638     content: normal;
    639     margin-right: auto;
    640     top: auto;
    641 }
    642 
    643 .comment-awaiting-moderation:after {
    644     content: "\f414";
    645510    margin-left: 5px;
    646     position: relative;
    647     top: -2px;
    648 }
    649 
    650 .comment-reply-link:before {
    651     content: normal;
    652     margin-right: auto;
    653 }
    654 
    655 .comment-reply-link:after {
    656     content: "\f412";
     511    margin-right: auto;
     512}
     513
     514.comment-reply-link:before,
     515.comment-reply-login:before {
    657516    margin-left: 3px;
     517    margin-right: auto;
     518    -webkit-transform: scaleX(-1);
     519    -moz-transform:    scaleX(-1);
     520    -ms-transform:     scaleX(-1);
     521    -o-transform:      scaleX(-1);
     522    transform:         scaleX(-1);
    658523}
    659524
    660525#reply-title small a {
    661526    float: left;
    662     height: auto;
    663     overflow: visible;
    664     width: auto;
    665 }
    666 
    667 #reply-title small a:before {
    668     content: normal;
    669527}
    670528
     
    855713    }
    856714
    857     .menu-toggle:before {
    858         content: "\f502";
    859         font-size: 12px;
     715    .menu-toggle:after {
     716        padding-left: auto;
    860717        padding-right: 8px;
    861         vertical-align: -webkit-calc(-4px);
    862         vertical-align:         calc(-4px);
    863     }
    864 
    865     .menu-toggle:after {
    866         content: normal;
    867         font-size: 12px;
    868         padding-left: auto;
    869         vertical-align: baseline;
    870     }
    871 
    872     .toggled-on .menu-toggle:before {
    873         content: "\f500";
    874         vertical-align: -webkit-calc(2px);
    875         vertical-align:         calc(2px);
    876     }
    877 
    878     .toggled-on .menu-toggle:after {
    879         content: normal;
    880         vertical-align: baseline;
    881718    }
    882719
Note: See TracChangeset for help on using the changeset viewer.