Tidy up player edit screen and add custom menu icons

This commit is contained in:
Brian Miyaji
2014-02-18 19:33:06 +11:00
parent f07f60d593
commit 1b30d3a4ce
19 changed files with 293 additions and 209 deletions

View File

@@ -1,5 +1,50 @@
/* SportsPress admin styles */
@font-face {
font-family: 'sportspress';
src:url('../fonts/sportspress.eot?ofuus8');
src:url('../fonts/sportspress.eot?#iefixofuus8') format('embedded-opentype'),
url('../fonts/sportspress.woff?ofuus8') format('woff'),
url('../fonts/sportspress.ttf?ofuus8') format('truetype'),
url('../fonts/sportspress.svg?ofuus8#sportspress') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'sportspress';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-sportspress:before {
content: "\f111";
}
.icon-megaphone:before {
content: "\f155";
}
.icon-calendar:before {
content: "\f145";
}
.icon-shield:before {
content: "\f334";
}
#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_sponsor .menu-icon-sp_sponsor div.wp-menu-image:before {
font-family: sportspress, dashicons !important;
}
.sportspress-message {
border-left-color: #6bc2a5 !important;
}
@@ -7,7 +52,7 @@
.sportspress-message a.button-primary,
.sportspress-message a.button-secondary {
background: #6bc2a5;
border-color: #3bad87;
border-color: #409e7f;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
color: #fff;
@@ -164,8 +209,23 @@ table.widefat td.column-sp_number .sp-flag {
color: #a00;
}
.chosen-container {
margin: 1px;
.chosen-container-single .chosen-single {
-webkit-border-radius: 3px;
border-radius: 3px;
color: #555;
border-color: #ccc;
background: #f7f7f7;
-webkit-box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
}
.chosen-container-active.chosen-with-drop .chosen-single {
background: #fff;
}
.chosen-container-single .chosen-drop {
-webkit-border-radius: 0 0 3px 3px;
border-radius: 0 0 3px 3px;
}
.chosen-container-multi .chosen-choices {