Files
sportspress/assets/css/menu.css
2014-08-22 22:34:19 +10:00

119 lines
2.7 KiB
CSS

/* SportsPress menu styles */
@font-face {
font-family: 'sportspress';
src:url('../fonts/sportspress.eot?4gs85g');
src:url('../fonts/sportspress.eot?#iefix4gs85g') format('embedded-opentype'),
url('../fonts/sportspress.woff?4gs85g') format('woff'),
url('../fonts/sportspress.ttf?4gs85g') format('truetype'),
url('../fonts/sportspress.svg?4gs85g#sportspress') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="sp-icon-"], [class*=" sp-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;
}
.sp-icon-sportspress:before {
content: "\f111";
}
.sp-icon-calendar:before {
content: "\f145";
}
.sp-icon-shield:before {
content: "\f334";
}
.sp-icon-clock:before {
content: "\f469";
}
.sp-icon-clipboard:before {
content: "\f481";
}
.sp-icon-whistle:before {
content: "\f227";
}
.sp-icon-tshirt:before {
content: "\f307";
}
.sp-icon-megaphone:before {
content: "\f488";
}
.sp-icon-crown:before {
content: "\f313";
}
.sp-icon-list:before {
content: "\f163"
}
.sp-icon-blocks:before {
content: "\f164"
}
.sp-icon-smile:before {
content: "\f328";
}
#adminmenu #toplevel_page_sportspress .toplevel_page_sportspress 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,
#sp_formatdiv #post-formats-select .post-format-icon:before {
font-family: sportspress, dashicons !important;
width: 20px;
text-align: center;
}
/* Prefs */
.sp-prefs .button {
margin: 0 3px 4px 0;
padding: 0 7px 1px 5px;
}
.sp-prefs .button input[type=checkbox] {
background: transparent;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
}
.sp-prefs .button input[type=checkbox]:not(:checked):before {
float: left;
display: inline-block;
vertical-align: middle;
width: 16px;
font: 400 21px/1 dashicons;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: '\f335';
margin: -3px 0 0 -4px;
color: #a00;
}
/* TinyMCE */
i.mce-i-sp_shortcodes_button:before, span.mce_sp_shortcodes_button:before {
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;
text-align: center;
content: "\f111";
font-size: 20px;
}