Improve CSV importer close #50

This commit is contained in:
Brian Miyaji
2014-08-26 02:17:00 +10:00
parent a72c045a5b
commit 6b4a421ec2
15 changed files with 903 additions and 811 deletions

View File

@@ -106,6 +106,15 @@
margin: 0;
}
.sportspress table.form-table .forminp-radio ul li {
display: inline;
margin-right: 20px;
}
.sportspress table.form-table .forminp-radio ul li label.post-format-icon {
margin-top: 0 !important;
}
.sportspress table.form-table fieldset {
margin-top: 4px;
}
@@ -483,6 +492,44 @@ table.sp_status_table td mark.yes {
color: #7ad03a;
}
/* Importers */
#import-upload-form table.form-table th,
#import-upload-form table.form-table td {
padding-bottom: 0;
}
#import-upload-form table.form-table tbody tr:last-child td {
padding-bottom: 20px;
}
.sp-import-table th,
.sp-import-table td {
padding-right: 0;
}
.sp-import-table th:last-child,
.sp-import-table td:last-child {
padding-right: 10px;
}
.sp-import-table tbody tr:nth-child(2n-1) {
background: #f9f9f9;
}
.sp-import-table select {
max-width: 100%;
}
.sp-import-table .sp-actions-column {
width: 40px;
text-align: right;
}
.sp-import-table .sp-add-row {
line-height: 1.5;
}
.sp-import-table .sp-delete-row {
font-size: 16px;
line-height: 1.5;
color: #a00;
}
.sp-import-table .sp-delete-row:hover {
color: #f00;
}
/* Media Queries */
@media only screen and (max-width: 782px) {

View File

@@ -60,6 +60,9 @@
.sp-icon-smile:before {
content: "\f328";
}
.sp-icon-trash:before {
content: "\f153";
}
#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,
@@ -84,12 +87,15 @@
box-shadow: none;
}
.sp-prefs .button input[type=checkbox]:before {
font: 400 14px/22px sportspress, dashicons;
width: 22px;
}
.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;
@@ -99,11 +105,9 @@
}
/* TinyMCE */
.mce-toolbar i.mce-i-sp_shortcodes_button, .mce-toolbar span.mce_sp_shortcodes_button {
margin-right: -5px;
}
i.mce-i-sp_shortcodes_button:before, span.mce_sp_shortcodes_button:before {
font-family: 'sportspress';
speak: none;