Add table style to settings pages

This commit is contained in:
Brian Miyaji
2015-05-17 00:15:30 +10:00
parent bbb2c033e4
commit ac8c3a184d
6 changed files with 80 additions and 20 deletions

View File

@@ -323,6 +323,54 @@ table.widefat.sp-sortable-table tbody tr .icon {
clear: both;
}
.sp-settings-section {
margin-top: 20px;
position: relative;
max-width: 1050px;
border: 1px solid #e5e5e5;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0,0,0,.04);
background: #fff;
}
.sp-settings-section h3 {
font-size: 14px;
padding: 8px 12px;
margin: 0;
line-height: 1.4;
border-bottom: 1px solid #e1e1e1;
}
.sp-settings-section > .form-table > tbody > tr > th {
padding: 13px 15px;
font-size: 13px;
line-height: 1.4em;
background: #f9f9f9;
width: 24%;
border-top: 1px solid #e1e1e1;
}
.sp-settings-section > .form-table > tbody > tr > td {
border-left: 1px solid #e1e1e1;
border-top: 1px solid #e1e1e1;
padding: 10px 15px;
font-size: 13px;
line-height: 1.4em;
}
.sp-settings-section > .form-table > tbody > tr:first-child > th,
.sp-settings-section > .form-table > tbody > tr:first-child > td {
border-top: none;
}
.sp-settings-section > p {
border-bottom: 1px solid #e1e1e1;
padding: 13px 15px;
font-size: 13px;
background: #f9f9f9;
margin: 0;
}
.sp-admin-config-table th,
.sp-admin-config-table td {
padding: 8px 10px;
@@ -424,6 +472,10 @@ table.widefat.sp-sortable-table tbody tr .icon {
color: #aaa;
}
.sp-desc-active:before {
color: #7ad03a;
}
#tiptip_holder {
display: none;
position: absolute;
@@ -549,7 +601,7 @@ table.widefat.sp-sortable-table tbody tr .icon {
padding: 10px;
clear: both;
border-top: 1px solid #ddd;
background: #f5f5f5;
background: #f9f9f9;
margin: 0 -14px -10px;
text-align: right;
}
@@ -820,23 +872,13 @@ table.sp-status-table td mark.yes {
display: block;
}
/* ThemeBoy */
.toplevel_page_themeboy #wpbody {
margin-left: -20px;
padding-bottom: 100%;
}
.toplevel_page_themeboy .themeboy-container {
padding-bottom: 100%;
}
.toplevel_page_themeboy .themeboy-container iframe {
border: 0;
width: 100%;
height: 100%;
position: absolute;
display: block;
/* Media Queries */
@media only screen and (max-width: 960px) {
.sportspress_page_sportspress-more iframe {
/*padding-left: 36px;*/
}
}
/* Media Queries */
@media only screen and (max-width: 850px) {
.sp-modules-wrapper {
margin-right: 0;
@@ -868,9 +910,27 @@ table.sp-status-table td mark.yes {
width: 100%;
}
.sp-settings-section > .form-table > tbody > tr > th {
width: auto;
}
.sp-settings-section > .form-table > tbody > tr > td,
.sp-settings-section > .form-table > tbody > tr:first-child > td {
border-left: none;
border-top: 1px solid #e1e1e1;
}
.sp-settings-section .sp-configure-sport {
margin-top: 10px;
}
table.sp-modules-table td .button {
margin: -3px -7px -3px 10px;
}
.sportspress_page_sportspress-more iframe {
/*padding-left: 0;*/
}
}
@media only screen and (max-width: 600px) {

View File

@@ -107,9 +107,6 @@
.sp-icon-availability:before {
content: "\f508";
}
.sp-icon-tutorials:before {
content: "\f118";
}
.sp-icon-popup:before {
content: "\f504";
}
@@ -125,6 +122,9 @@
.sp-icon-edit:before {
content: "\f464";
}
.sp-icon-copy:before {
content: "\f105";
}
#adminmenu #toplevel_page_sportspress .toplevel_page_sportspress div.wp-menu-image:before,
#adminmenu #toplevel_page_themeboy .toplevel_page_themeboy div.wp-menu-image:before,

Binary file not shown.

View File

@@ -8,10 +8,10 @@
<missing-glyph horiz-adv-x="512" />
<glyph unicode="&#x20;" d="" horiz-adv-x="256" />
<glyph unicode="&#xf102;" d="M485.651 278.8v-6.4h-0.5l0.45-0.25-76-43.85-78.35 45.2-230.4-133-76 43.9v5h8.751l11.050 6.4h-19.8v6.4h30.851l11.051 6.4h-41.9v6.4h53l11.049 6.4h-64.050v6.4h75.1l11.049 6.4h-86.15v6.4h97.2l11.050 6.4h-108.251v6.4h119.35l11.050 6.4h-130.4v6.4h141.45l11.050 6.4h-152.5v6.4h154.4v-5.3l76 43.851-76 43.85 1.15 0.65h-144.4c1.5 2.25 3.151 4.4 4.85 6.4h150.6l11.050 6.4h-155.2c2.1 1.8 4.3 3.35 6.55 4.65l3 1.7h156.8l11.050 6.4h-156.851l11.050 6.4h156.8l11.050 6.4h-156.75l11.050 6.4h308.4l11.050-6.4h-156.75l11.050-6.4h156.8l11.050-6.4h-156.8l11.050-6.4h156.8l3-1.7c2.25-1.3 4.4-2.9 6.55-4.65h-155.3l11.050-6.4h150.6c1.75-2 3.351-4.151 4.9-6.4h-144.4l11.050-6.4h137.151c1.1-2.1 2.1-4.2 3-6.4h-129.1l11.050-6.4h120.3c0.6-2.151 1.1-4.25 1.45-6.4h-110.651l11.25-6.5h100.050c0-0.25 0.050-0.45 0.050-0.7v-5.7h-89l11.050-6.4h77.95v-6.4h-66.9l11.050-6.4h55.8v-6.4h-44.75l11.050-6.4h33.7v-6.4h-22.651l11.050-6.4h11.6zM123.2 419.3h264.1l11.050-6.4h-286.2l11.049 6.4zM145.351 432.050h219.851l11.050-6.4h-242l11.1 6.4zM167.451 444.849h175.6l11.050-6.4h-197.7l11.050 6.4zM189.6 457.6h131.351l11.050-6.4h-153.5l11.1 6.4zM211.7 470.349h87.1l11.050-6.4h-109.2l11.050 6.4zM226.3 478.8c3.15 1.8 6.7 3.25 10.5 4.351h36.95c3.8-1.1 7.351-2.55 10.5-4.351l3.5-2.050h-64.951l3.5 2.050zM179.25 349.1h-150.050c0.9 2.15 1.9 4.3 3 6.4h147.1v-6.4zM179.25 336.35h-153.8c0.351 2.1 0.851 4.25 1.45 6.4h152.3v-6.4zM179.25 323.45h-154.4v5.7c0 0.2 0.050 0.451 0.050 0.7h154.351v-6.4zM179.25 310.7h-154.4v6.4h154.4v-6.4zM179.25 297.95h-154.4v6.4h154.4v-6.4zM179.25 285.149h-154.4v6.4h154.4v-6.4zM424.95 61.649l-11.050-6.4h-308.8l11.050 6.4h308.8zM391.75 42.5h-273l-11.050 6.4h295.1l-11.050-6.4zM369.6 29.749h-228.7l-11.050 6.4h250.851l-11.1-6.4zM347.5 16.95h-184.451l-11.050 6.4h206.55l-11.050-6.4zM325.351 4.2h-140.2l-11.050 6.4h162.3l-11.050-6.4zM303.2-8.55h-95.9l-11.050 6.4h118.049l-11.1-6.4zM284.2-19.5c-1.151-0.651-2.351-1.25-3.55-1.8h-50.8c-1.25 0.55-2.4 1.151-3.55 1.8l-7.951 4.6h73.8l-7.95-4.6zM138.25 74.4h308.8l-11.050-6.351h-308.8l11.050 6.351zM160.4 87.2h305.651c-2.55-2.45-5.25-4.6-8.050-6.4h-308.649l11.050 6.4zM182.5 99.95h293.6c-1.351-2.2-2.851-4.351-4.4-6.4h-300.25l11.050 6.4zM204.65 112.7h277.7c-0.8-2.149-1.7-4.3-2.7-6.4h-286.050l11.050 6.4zM226.75 125.5h258.6c-0.25-2.1-0.6-4.25-1.1-6.4h-268.55l11.050 6.4zM402.55 144.649h-142.6l11.050 6.4h120.5l11.050-6.4zM380.25 157.5h-98l11.050 6.4h75.851l11.1-6.4zM336 183.049h-9.5l4.75 2.75 4.75-2.75zM358.151 170.249h-53.75l11.050 6.4h31.649l11.050-6.4zM485.651 131.849h-247.8l11.050 6.4h236.75v-6.4zM485.651 144.649h-69l11.050 6.4h57.9l0.050-6.4zM485.651 157.5h-46.651l11.050 6.4h35.6v-6.4zM485.6 183.049h-2.351l2.351 1.351v-1.351zM485.651 170.249h-24.5l11.050 6.4h13.45v-6.4z" />
<glyph unicode="&#xf105;" d="M179.2 205.2h-76.8v204.8h153.6v-77.6h51.2v111.2c0 6.16-11.44 17.6-25.6 17.6h-204.8c-14.16 0-25.6-11.44-25.6-25.6v-256c0-14.16 11.44-25.6 25.6-25.6h102.4zM256 50.8h153.6v204.8h-153.6v-204.8zM435.2 306.8c14.16 0 25.6-11.44 25.6-25.6v-256c0-14.16-11.44-25.6-25.6-25.6h-204.8c-14.16 0-25.6 11.44-25.6 25.6v256c0 14.16 11.44 25.6 25.6 25.6h204.8z" />
<glyph unicode="&#xf108;" d="M409.6 435.2h-307.2c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h307.2c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM179.2 76.8h-51.2v51.2h51.2v-51.2zM179.2 153.6h-51.2v51.2h51.2v-51.2zM179.2 230.4h-51.2v51.2h51.2v-51.2zM281.6 76.8h-51.2v51.2h51.2v-51.2zM281.6 153.6h-51.2v51.2h51.2v-51.2zM281.6 230.4h-51.2v51.2h51.2v-51.2zM384 76.8h-51.2v51.2h51.2v-51.2zM384 153.6h-51.2v51.2h51.2v-51.2zM384 230.4h-51.2v51.2h51.2v-51.2zM384 332.8h-256v51.2h256v-51.2z" />
<glyph unicode="&#xf111;" d="M484.88 328.96l-30.72-222.64c-7.68-54.32-36.72-80.64-92.72-80.64h-264.32c-55.92 0-77.84 26.32-70.16 80.64l30.72 222.64c8.24 54.32 37.28 80.64 93.2 80.64h264.32c56-0.080 77.92-26.4 69.68-80.64zM206.88 359.040c-42.88 0-67.44-30.080-73.28-74.48l-4.88-36c-6.32-44.4 10.4-69.68 53.36-69.68h100.16c13.52 0 11.2-11.84 11.2-11.84-1.44-8.8-6.32-13.2-15.12-13.2h-166.96l-10.080-76.96h201.6c42.88 0 65.84 20.48 72.16 64.88l7.28 49.6c6.32 44.4-10.72 64.88-53.6 64.88h-100.72c-8.8 0-12.64 4.4-11.68 13.2 0 0-0.56 11.84 14.8 11.84h166.4l10.88 77.76h-201.52z" />
<glyph unicode="&#xf116;" d="M435.2 25.6h-358.4c-14.16 0-25.6 11.44-25.6 25.6v358.4c0 14.16 11.44 25.6 25.6 25.6h358.4c14.16 0 25.6-11.44 25.6-25.6v-358.4c0-14.16-11.44-25.6-25.6-25.6zM409.6 384h-307.2v-76.8h307.2v76.8zM409.6 256h-307.2v-179.2h307.2v179.2zM179.2 332.8h-51.2v25.6h51.2v-25.6zM230.4 332.8h-25.6v25.6h25.6v-25.6zM281.6 332.8h-25.6v25.6h25.6v-25.6zM332.8 332.8h-25.6v25.6h25.6v-25.6zM384 332.8h-25.6v25.6h25.6v-25.6z" />
<glyph unicode="&#xf118;" d="M84.531 173.107c11.879-48.103 26.983-69.145 77.363-91.187 50.406-22.016 74.343-46.080 94.106-46.080 19.738 0 42.189 21.043 92.57 43.111 50.406 22.041 36.941 28.749 48.819 76.851l-141.389-68.762-171.469 86.067zM499.481 298.599l-213.12 119.347c-16.691 9.344-44.032 9.344-60.723 0l-213.145-119.347c-16.691-9.344-16.691-24.653 0-33.997l213.12-119.347c16.691-9.344 44.032-9.344 60.723 0l137.779 77.159-149.401 34.995c-5.76-1.408-12.083-2.201-18.714-2.201-26.931 0-48.743 12.953-48.743 28.953 0 16.051 21.837 29.005 48.743 29.005 20.889 0 38.656-7.859 45.568-18.791l158.259-51.942 39.654 22.195c16.665 9.319 16.665 24.627 0 33.971zM434.355 72.448c-1.664-9.856 32.845-26.061 36.121 2.739 14.822 129.843-10.649 167.194-10.649 167.194l-35.712-19.994c0 0.026 30.285-28.8 10.24-149.939z" />
<glyph unicode="&#xf145;" d="M384 435.2h-51.2v-51.2h51.2v51.2zM435.2 435.2h-25.6v-76.8h-102.4v76.8h-102.4v-76.8h-102.4v76.8h-25.6c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v230.4h307.2v-230.4zM179.2 435.2h-51.2v-51.2h51.2v51.2zM281.6 256h-51.2v-51.2h51.2v51.2zM358.4 256h-51.2v-51.2h51.2v51.2zM204.8 179.2h-51.2v-51.2h51.2v51.2zM204.8 256h-51.2v-51.2h51.2v51.2zM281.6 179.2h-51.2v-51.2h51.2v51.2zM358.4 179.2h-51.2v-51.2h51.2v51.2z" />
<glyph unicode="&#xf147;" d="M256 426.667c-92.805 0-185.597-66.375-256-199.111 70.403-132.736 163.195-199.111 256-199.111s185.597 66.375 256 199.111c-70.403 132.736-163.195 199.111-256 199.111zM256 85.334c-67.486 0-135.945 51.43-190.667 142.222 54.722 90.792 123.18 142.222 190.667 142.222s135.945-51.43 190.667-142.222c-54.722-90.792-123.18-142.222-190.667-142.222zM312.889 227.556c0-31.417-25.472-56.889-56.889-56.889s-56.889 25.472-56.889 56.889 25.472 56.889 56.889 56.889 56.889-25.472 56.889-56.889z" />
<glyph unicode="&#xf163;" d="M153.6 332.8h51.2v-51.2h-51.2v51.2zM153.6 256h51.2v-51.2h-51.2v51.2zM153.6 179.2h51.2v-51.2h-51.2v51.2zM256 179.2h102.4v-51.2h-102.4v51.2zM435.2 435.2h-358.4c-14.16 0-25.6-11.44-25.6-25.6v-358.4c0-14.16 11.44-25.6 25.6-25.6h358.4c14.16 0 25.6 11.44 25.6 25.6v358.4c0 14.16-11.44 25.6-25.6 25.6zM409.6 76.8h-307.2v307.2h307.2v-307.2zM256 256h102.4v-51.2h-102.4v51.2zM256 332.8h102.4v-51.2h-102.4v51.2z" />

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Binary file not shown.