Synchronize star ratings of themes and plugins.
Makes themes ratings look like plugins ratings already do. Props helen. Fixes #32782. Built from https://develop.svn.wordpress.org/trunk@33073 git-svn-id: http://core.svn.wordpress.org/trunk@33044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1173,62 +1173,54 @@ body.show-upload-theme p.no-themes {
|
||||
}
|
||||
}
|
||||
|
||||
.rating {
|
||||
.theme-details .star-rating {
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
.rating span:before {
|
||||
color: #e6b800;
|
||||
|
||||
.theme-details .star-rating span:before {
|
||||
color: #ffb900;
|
||||
content: "\f154";
|
||||
display: inline-block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font: normal 20px/1 'dashicons';
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Half stars */
|
||||
.rating-10 span.one:before,
|
||||
.rating-30 span.two:before,
|
||||
.rating-50 span.three:before,
|
||||
.rating-70 span.four:before,
|
||||
.rating-90 span.five:before {
|
||||
.star-rating.rating-10 span.one:before,
|
||||
.star-rating.rating-30 span.two:before,
|
||||
.star-rating.rating-50 span.three:before,
|
||||
.star-rating.rating-70 span.four:before,
|
||||
.star-rating.rating-90 span.five:before {
|
||||
content: "\f459";
|
||||
}
|
||||
|
||||
/* Full stars */
|
||||
.rating-20 span.one:before {
|
||||
.star-rating.rating-20 span.one:before,
|
||||
.star-rating.rating-30 span.one:before,
|
||||
.star-rating.rating-40 span.one:before,
|
||||
.star-rating.rating-40 span.two:before,
|
||||
.star-rating.rating-50 span.one:before,
|
||||
.star-rating.rating-50 span.two:before,
|
||||
.star-rating.rating-60 span.one:before,
|
||||
.star-rating.rating-60 span.two:before,
|
||||
.star-rating.rating-60 span.three:before,
|
||||
.star-rating.rating-70 span.one:before,
|
||||
.star-rating.rating-70 span.two:before,
|
||||
.star-rating.rating-70 span.three:before,
|
||||
.star-rating.rating-80 span.one:before,
|
||||
.star-rating.rating-80 span.two:before,
|
||||
.star-rating.rating-80 span.three:before,
|
||||
.star-rating.rating-80 span.four:before,
|
||||
.star-rating.rating-90 span.one:before,
|
||||
.star-rating.rating-90 span.two:before,
|
||||
.star-rating.rating-90 span.three:before,
|
||||
.star-rating.rating-90 span.four:before,
|
||||
.star-rating.rating-100 > span:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-30 span.one:before,
|
||||
.rating-40 span.one:before,
|
||||
.rating-40 span.two:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-50 span.one:before,
|
||||
.rating-50 span.two:before,
|
||||
.rating-60 span.one:before,
|
||||
.rating-60 span.two:before,
|
||||
.rating-60 span.three:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-70 span.one:before,
|
||||
.rating-70 span.two:before,
|
||||
.rating-70 span.three:before,
|
||||
.rating-80 span.one:before,
|
||||
.rating-80 span.two:before,
|
||||
.rating-80 span.three:before,
|
||||
.rating-80 span.four:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-90 span.one:before,
|
||||
.rating-90 span.two:before,
|
||||
.rating-90 span.three:before,
|
||||
.rating-90 span.four:before,
|
||||
.rating-100 span.one:before,
|
||||
.rating-100 span.two:before,
|
||||
.rating-100 span.three:before,
|
||||
.rating-100 span.four:before,
|
||||
.rating-100 span.five:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating .ratings {
|
||||
|
||||
.theme-details .star-rating .ratings {
|
||||
display: block;
|
||||
line-height: 20px;
|
||||
color: #999;
|
||||
@@ -1675,11 +1667,6 @@ body.full-overlay-active {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.theme-details .star-rating {
|
||||
margin: 7px 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.theme-details .theme-description {
|
||||
float: right;
|
||||
color: #777;
|
||||
|
||||
@@ -1173,62 +1173,54 @@ body.show-upload-theme p.no-themes {
|
||||
}
|
||||
}
|
||||
|
||||
.rating {
|
||||
.theme-details .star-rating {
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
.rating span:before {
|
||||
color: #e6b800;
|
||||
|
||||
.theme-details .star-rating span:before {
|
||||
color: #ffb900;
|
||||
content: "\f154";
|
||||
display: inline-block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font: normal 20px/1 'dashicons';
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Half stars */
|
||||
.rating-10 span.one:before,
|
||||
.rating-30 span.two:before,
|
||||
.rating-50 span.three:before,
|
||||
.rating-70 span.four:before,
|
||||
.rating-90 span.five:before {
|
||||
.star-rating.rating-10 span.one:before,
|
||||
.star-rating.rating-30 span.two:before,
|
||||
.star-rating.rating-50 span.three:before,
|
||||
.star-rating.rating-70 span.four:before,
|
||||
.star-rating.rating-90 span.five:before {
|
||||
content: "\f459";
|
||||
}
|
||||
|
||||
/* Full stars */
|
||||
.rating-20 span.one:before {
|
||||
.star-rating.rating-20 span.one:before,
|
||||
.star-rating.rating-30 span.one:before,
|
||||
.star-rating.rating-40 span.one:before,
|
||||
.star-rating.rating-40 span.two:before,
|
||||
.star-rating.rating-50 span.one:before,
|
||||
.star-rating.rating-50 span.two:before,
|
||||
.star-rating.rating-60 span.one:before,
|
||||
.star-rating.rating-60 span.two:before,
|
||||
.star-rating.rating-60 span.three:before,
|
||||
.star-rating.rating-70 span.one:before,
|
||||
.star-rating.rating-70 span.two:before,
|
||||
.star-rating.rating-70 span.three:before,
|
||||
.star-rating.rating-80 span.one:before,
|
||||
.star-rating.rating-80 span.two:before,
|
||||
.star-rating.rating-80 span.three:before,
|
||||
.star-rating.rating-80 span.four:before,
|
||||
.star-rating.rating-90 span.one:before,
|
||||
.star-rating.rating-90 span.two:before,
|
||||
.star-rating.rating-90 span.three:before,
|
||||
.star-rating.rating-90 span.four:before,
|
||||
.star-rating.rating-100 > span:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-30 span.one:before,
|
||||
.rating-40 span.one:before,
|
||||
.rating-40 span.two:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-50 span.one:before,
|
||||
.rating-50 span.two:before,
|
||||
.rating-60 span.one:before,
|
||||
.rating-60 span.two:before,
|
||||
.rating-60 span.three:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-70 span.one:before,
|
||||
.rating-70 span.two:before,
|
||||
.rating-70 span.three:before,
|
||||
.rating-80 span.one:before,
|
||||
.rating-80 span.two:before,
|
||||
.rating-80 span.three:before,
|
||||
.rating-80 span.four:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating-90 span.one:before,
|
||||
.rating-90 span.two:before,
|
||||
.rating-90 span.three:before,
|
||||
.rating-90 span.four:before,
|
||||
.rating-100 span.one:before,
|
||||
.rating-100 span.two:before,
|
||||
.rating-100 span.three:before,
|
||||
.rating-100 span.four:before,
|
||||
.rating-100 span.five:before {
|
||||
content: "\f155";
|
||||
}
|
||||
.rating .ratings {
|
||||
|
||||
.theme-details .star-rating .ratings {
|
||||
display: block;
|
||||
line-height: 20px;
|
||||
color: #999;
|
||||
@@ -1675,11 +1667,6 @@ body.full-overlay-active {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.theme-details .star-rating {
|
||||
margin: 7px 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.theme-details .theme-description {
|
||||
float: left;
|
||||
color: #777;
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user