Making WordPress.org

Changeset 2476


Ignore:
Timestamp:
02/06/2016 04:55:17 PM (8 years ago)
Author:
ocean90
Message:

WordPress.org Themes: Update colors of rating stars and invert half stars for RTL sites.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style-rtl.css

    r2337 r2476  
    599599
    600600.rating span[class]:before {
    601     color: #e6b800;
     601    color: #ffb900;
    602602    content: "\f154";
    603603    display: inline-block;
     
    606606    vertical-align: top;
    607607}
     608
    608609/* Half stars */
    609610.rating-10 span.one:before,
     
    614615    content: "\f459";
    615616}
     617
     618.rtl .rating-10 span.one:before,
     619.rtl .rating-30 span.two:before,
     620.rtl .rating-50 span.three:before,
     621.rtl .rating-70 span.four:before,
     622.rtl .rating-90 span.five:before {
     623    -webkit-transform: rotateY(180deg);
     624    -ms-transform: rotateY(180deg);
     625    transform: rotateY(180deg);
     626}
     627
    616628/* Full stars */
    617629.rating-20 span.one:before {
     
    679691    float: right;
    680692    margin-left: 5px;
    681     min-width: 40px;
     693    min-width: 58px;
    682694}
    683695.theme-ratings .counter-back,
     
    688700.theme-ratings .counter-back {
    689701    background-color: #ececec;
    690     width: 70%;
    691     width: -webkit-calc(100% - 60px);
    692     width: calc(100% - 70px);
     702    width: 64%;
     703    width: -webkit-calc(100% - 88px);
     704    width: calc(100% - 88px);
    693705}
    694706.theme-ratings .counter-bar {
    695     background-color: #fddb5a;
     707    background-color: #ffc733;
    696708}
    697709.theme-ratings .counter-count {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css

    r2337 r2476  
    599599
    600600.rating span[class]:before {
    601     color: #e6b800;
     601    color: #ffb900;
    602602    content: "\f154";
    603603    display: inline-block;
     
    606606    vertical-align: top;
    607607}
     608
    608609/* Half stars */
    609610.rating-10 span.one:before,
     
    614615    content: "\f459";
    615616}
     617
     618.rtl .rating-10 span.one:before,
     619.rtl .rating-30 span.two:before,
     620.rtl .rating-50 span.three:before,
     621.rtl .rating-70 span.four:before,
     622.rtl .rating-90 span.five:before {
     623    -webkit-transform: rotateY(180deg);
     624    -ms-transform: rotateY(180deg);
     625    transform: rotateY(180deg);
     626}
     627
    616628/* Full stars */
    617629.rating-20 span.one:before {
     
    679691    float: left;
    680692    margin-right: 5px;
    681     min-width: 40px;
     693    min-width: 58px;
    682694}
    683695.theme-ratings .counter-back,
     
    688700.theme-ratings .counter-back {
    689701    background-color: #ececec;
    690     width: 70%;
    691     width: -webkit-calc(100% - 60px);
    692     width: calc(100% - 70px);
     702    width: 64%;
     703    width: -webkit-calc(100% - 88px);
     704    width: calc(100% - 88px);
    693705}
    694706.theme-ratings .counter-bar {
    695     background-color: #fddb5a;
     707    background-color: #ffc733;
    696708}
    697709.theme-ratings .counter-count {
Note: See TracChangeset for help on using the changeset viewer.