Update custom post type format icons

This commit is contained in:
Brian Miyaji
2014-03-14 12:37:20 +11:00
parent 4fdcdaab48
commit 77624cc73f
7 changed files with 36 additions and 14 deletions

View File

@@ -38,30 +38,36 @@
content: "\f307";
}
.sp-icon-megaphone:before {
content: "\f155";
content: "\f322";
}
.sp-icon-crown:before {
content: "\f313";
}
.sp-icon-trophy:before {
content: "\f325";
}
.sp-icon-smile:before {
content: "\f328";
}
.sp-icon-trophy:before {
content: "\f313";
}
#adminmenu #toplevel_page_sportspress .menu-icon-generic div.wp-menu-image:before,
#adminmenu #menu-posts-sp_event .menu-icon-sp_event div.wp-menu-image:before,
#adminmenu #menu-posts-sp_team .menu-icon-sp_team div.wp-menu-image:before,
#adminmenu #menu-posts-sp_player .menu-icon-sp_player div.wp-menu-image:before,
#adminmenu #menu-posts-sp_sponsor .menu-icon-sp_sponsor div.wp-menu-image:before,
.post-format-icon:before {
#sp_formatdiv .post-format-icon:before {
font-family: sportspress, dashicons !important;
width: 20px;
text-align: center;
}
.post-state-format.post-format-league:before, .post-format-icon.post-format-league:before, a.post-state-format.format-league:before {
content: "\f227";
content: "\f313";
}
.post-state-format.post-format-tournament:before, .post-format-icon.post-format-tournament:before, a.post-state-format.format-tournament:before {
content: "\f313";
content: "\f325";
font-family: dashicons !important;
}
.post-state-format.post-format-friendly:before, .post-format-icon.post-format-friendly:before, a.post-state-format.format-friendly:before {
@@ -72,6 +78,10 @@
content: "\f163";
}
.post-state-format.post-format-positions:before, .post-format-icon.post-format-positions:before, a.post-state-format.format-positions:before {
content: "\f164";
}
.widefat .column-sp_team strong {
background: #bbb;
color: #fff;
@@ -86,8 +96,8 @@
border-radius: 2px;
}
.fixed .column-sp_datetime {
width: 10%;
.fixed .column-sp_time {
width: 6%;
}
#sportspress_dashboard_status .inside {
@@ -529,7 +539,18 @@ table.widefat td.sp-outcome .chosen-container {
}
/* Media Queries */
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 782px) {
.fixed .column-sp_time,
.fixed .column-sp_team,
.fixed .column-sp_league,
.fixed .column-sp_season,
.fixed .column-sp_venue,
.fixed .column-sp_views,
.fixed .column-sp_position,
.fixed .column-sp_player {
display: none;
}
.form-field .sp-location-picker {
width: 99%;