Split admin css assets for customise and widgets

This commit is contained in:
Brian Miyaji
2014-04-10 00:51:32 +10:00
parent fe994e1dfd
commit 88b7505f3b
6 changed files with 72 additions and 43 deletions

View File

@@ -242,32 +242,6 @@ table.widefat select.sp-outcome {
height: 320px;
}
.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;
}
/* Chosen */
.chosen-container-single .chosen-single {
-webkit-border-radius: 3px;
@@ -328,7 +302,6 @@ table.widefat select.sp-outcome {
}
/* TipTip */
.tips {
cursor: help;
}

20
assets/css/customize.css Normal file
View File

@@ -0,0 +1,20 @@
#available-widgets [class*=sp_] .widget-title:before {
font-family: 'sportspress';
}
#available-widgets [class*=sp_countdown] .widget-title:before {
content: "\f469";
}
#available-widgets [class*=sp_event_calendar] .widget-title:before,
#available-widgets [class*=sp_event_list] .widget-title:before {
content: "\f145";
}
#available-widgets [class*=sp_league_table] .widget-title:before {
content: "\f334";
}
#available-widgets [class*=sp_player_list] .widget-title:before,
#available-widgets [class*=sp_player_gallery] .widget-title:before {
content: "\f307";
}
#available-widgets [class*=sp_countdown] .widget-title:before {
content: "\f469";
}

25
assets/css/widgets.css Normal file
View File

@@ -0,0 +1,25 @@
.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;
}