Add Events widget

This commit is contained in:
Brian Miyaji
2014-02-03 05:51:09 +11:00
parent eca5c08d16
commit 39d7bbac7f
18 changed files with 323 additions and 30 deletions

View File

@@ -1,5 +1,21 @@
/* SportsPress admin styles */
.widget[id*="sp_events-"] .widget-title h4:before,
.widget[id*="sp_calendar-"] .widget-title h4:before,
.widget[id*="sp_table-"] .widget-title h4:before {
font-family: 'themeboy';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
content: "\e600";
margin-right: 0.5em;
}
.postbox .inside .sp-data-table-container {
overflow: auto;
}

31
assets/css/themeboy.css Executable file
View File

@@ -0,0 +1,31 @@
@font-face {
font-family: 'themeboy';
src:url('../fonts/themeboy.eot');
src:url('../fonts/themeboy.eot?#iefix') format('embedded-opentype'),
url('../fonts/themeboy.woff') format('woff'),
url('../fonts/themeboy.ttf') format('truetype'),
url('../fonts/themeboy.svg#themeboy') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'themeboy';
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-themeboy:before {
content: "\e600";
}
.icon-themeboy-alt:before {
content: "\e601";
}

BIN
assets/fonts/themeboy.eot Executable file

Binary file not shown.

12
assets/fonts/themeboy.svg Executable file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="themeboy" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" d="" horiz-adv-x="512" />
<glyph unicode="&#xe600;" d="M970.3 532l-22.1 12.8h23.1v-12.8h-1zM903.9 570.3h67.4v-12.8h-45.3l-22.1 12.8zM859.7 595.8h111.6v-12.8h-89.5l-22.1 12.8zM815.4 621.4h155.9v-12.8h-133.7l-22.2 12.8zM771.2 646.9h200.1c0-0.5 0.1-0.9 0.1-1.4v-11.4h-178l-22.2 12.8zM726.6 672.6h240.6c1.2-4.3 2.2-8.5 2.9-12.8h-221.4l-22.1 12.8zM682.3 698.2h274.3c2.2-4.2 4.2-8.4 6-12.8h-258.2l-22.1 12.8zM638.1 723.7h301.2c3.5-4 6.7-8.3 9.8-12.8h-288.9l-22.1 12.8zM593.8 749.2h313.6l6-3.4c4.5-2.6 8.8-5.8 13.1-9.3h-310.6l-22.1 12.7zM549.6 774.8h313.6l22.1-12.8h-313.6l-22.1 12.8zM510.5 797.3l-16.9-9.8h-313.6l22.1 12.8h616.8l22.1-12.8h-313.5l-17 9.8zM246.4 825.8h528.2l22.1-12.8h-572.4l22.1 12.8zM290.7 851.3h439.7l22.1-12.8h-484l22.2 12.8zM334.9 876.9h351.2l22.1-12.8h-395.4l22.1 12.8zM379.2 902.4h262.7l22.1-12.8h-307l22.2 12.8zM423.4 927.9h174.2l22.1-12.8h-218.4l22.1 12.8zM452.6 944.8c6.3 3.6 13.4 6.5 21 8.7h73.9c7.6-2.2 14.7-5.1 21-8.7l7-4.1h-129.9l7 4.1zM449.3 762h-313.6l22.1 12.8h313.6l-22.1-12.8zM405.1 736.5h-310.5c4.2 3.6 8.6 6.7 13.1 9.3l6 3.4h313.6l-22.2-12.7zM360.8 710.9h-288.8c3 4.5 6.3 8.8 9.7 12.8h301.2l-22.1-12.8zM358.5 709.6l152-87.7-155.7-89.9h-305v12.8h308.8v12.8h-308.9v12.8h308.8v12.8h-308.8v12.8h308.8v12.8h-308.8v12.8h308.8v12.8h-308.8v11.4c0 0.4 0.1 0.9 0.1 1.4h308.7v13h-307.6c0.7 4.2 1.7 8.5 2.9 12.8h304.6v12.8h-300c1.8 4.3 3.8 8.6 6 12.8h294.2v11zM310.5 506.5h-260.8v12.8h282.9l-22.1-12.8zM266.3 480.9h-216.6v12.8h238.7l-22.1-12.8zM222 455.4h-172.3v12.8h194.4l-22.1-12.8zM177.8 429.9h-128.1v12.8h150.2l-22.1-12.8zM133.5 404.3h-83.8v12.8h106l-22.2-12.8zM89.3 378.8h-39.6v12.8h61.7l-22.1-12.8zM49.7 356v10h17.5l-17.5-10zM662.5 534.2l156.7-90.4 152 87.7v-178.2h-4.7l-22.1-12.8h26.9v-12.8h-49l-22.2-12.7h71.2v-12.8h-93.3l-22.5-13h115.8v-12.8h-138l-14.1-8.1-14.1 8.1h-285.2l-22.1-12.8h473.5v-12.8h-495.6l-22.1-12.8h517.2c-0.5-4.2-1.2-8.5-2.2-12.8h-537.2l-22.1-12.8h555.4c-1.6-4.3-3.4-8.6-5.4-12.8h-572.1l-22.2-12.5h587.2c-2.7-4.4-5.7-8.7-8.8-12.8h-600.5l-22.1-12.8h611.3c-5.1-4.9-10.5-9.2-16.1-12.8h-617.3l-22.2-12.7h617.6l-22.1-12.7h-617.6l-22.1-12.8h617.6l-22.1-12.8h-617.6l-8.4-4.9-94.1 54.3c-31.9 18.4-57.9 63.5-57.9 100.2v108.7l152-87.7 460.7 265.9zM672 353.3h-19l-22.1-12.8h63.3l-22.2 12.8zM716.3 327.7h-107.5l-22.2-12.7h151.7l-22 12.7zM783 289.2l-22.5 13h-196l-22.5-13h241zM783.5 72.2h-546l-22.1 12.8h590.2l-22.1-12.8zM739.2 46.7h-457.4l-22.1 12.8h501.7l-22.2-12.8zM695 21.1h-368.9l-22.1 12.8h413.1l-22.1-12.8zM650.7-4.4h-280.4l-22.1 12.8h324.6l-22.1-12.8zM606.4-29.9h-191.8l-22.1 12.8h236.1l-22.2-12.8zM568.4-51.8c-2.3-1.3-4.7-2.5-7.1-3.6h-101.6c-2.5 1.1-4.8 2.3-7.1 3.6l-15.9 9.2h147.6l-15.9-9.2z" />
<glyph unicode="&#xe601;" d="M971.3 544.8v-12.8h-1l0.9-0.5-152-87.7-156.7 90.4-460.8-266-152 87.8v10h17.5l22.1 12.8h-39.6v12.8h61.7l22.1 12.8h-83.8v12.8h106l22.1 12.8h-128.1v12.8h150.2l22.1 12.8h-172.3v12.8h194.4l22.1 12.8h-216.5v12.8h238.7l22.1 12.8h-260.8v12.8h282.9l22.1 12.8h-305v12.8h308.8v-10.6l152 87.7-152 87.7 2.3 1.3h-288.8c3 4.5 6.3 8.8 9.7 12.8h301.2l22.1 12.8h-310.4c4.2 3.6 8.6 6.7 13.1 9.3l6 3.4h313.6l22.1 12.8h-313.7l22.1 12.8h313.6l22.1 12.8h-313.5l22.1 12.8h616.8l22.1-12.8h-313.5l22.1-12.8h313.6l22.1-12.8h-313.6l22.1-12.8h313.6l6-3.4c4.5-2.6 8.8-5.8 13.1-9.3h-310.6l22.1-12.8h301.2c3.5-4 6.7-8.3 9.8-12.8h-288.8l22.1-12.8h274.3c2.2-4.2 4.2-8.4 6-12.8h-258.2l22.1-12.8h240.6c1.2-4.3 2.2-8.5 2.9-12.8h-221.3l22.5-13h200.1c0-0.5 0.1-0.9 0.1-1.4v-11.4h-178l22.1-12.8h155.9v-12.8h-133.8l22.1-12.8h111.6v-12.8h-89.5l22.1-12.8h67.4v-12.8h-45.3l22.1-12.8h23.2zM246.4 825.8h528.2l22.1-12.8h-572.4l22.1 12.8zM290.7 851.3h439.7l22.1-12.8h-484l22.2 12.8zM334.9 876.9h351.2l22.1-12.8h-395.4l22.1 12.8zM379.2 902.4h262.7l22.1-12.8h-307l22.2 12.8zM423.4 927.9h174.2l22.1-12.8h-218.4l22.1 12.8zM452.6 944.8c6.3 3.6 13.4 6.5 21 8.7h73.9c7.6-2.2 14.7-5.1 21-8.7l7-4.1h-129.9l7 4.1zM358.5 685.4h-300.1c1.8 4.3 3.8 8.6 6 12.8h294.2v-12.8zM358.5 659.9h-307.6c0.7 4.2 1.7 8.5 2.9 12.8h304.6v-12.8zM358.5 634.1h-308.8v11.4c0 0.4 0.1 0.9 0.1 1.4h308.7v-12.8zM358.5 608.6h-308.8v12.8h308.8v-12.8zM358.5 583.1h-308.8v12.8h308.8v-12.8zM358.5 557.5h-308.8v12.8h308.8v-12.8zM849.9 110.5l-22.1-12.8h-617.6l22.1 12.8h617.6zM783.5 72.2h-546l-22.1 12.8h590.2l-22.1-12.8zM739.2 46.7h-457.4l-22.1 12.8h501.7l-22.2-12.8zM695 21.1h-368.9l-22.1 12.8h413.1l-22.1-12.8zM650.7-4.4h-280.4l-22.1 12.8h324.6l-22.1-12.8zM606.4-29.9h-191.8l-22.1 12.8h236.1l-22.2-12.8zM568.4-51.8c-2.3-1.3-4.7-2.5-7.1-3.6h-101.6c-2.5 1.1-4.8 2.3-7.1 3.6l-15.9 9.2h147.6l-15.9-9.2zM276.5 136h617.6l-22.1-12.7h-617.6l22.1 12.7zM320.8 161.6h611.3c-5.1-4.9-10.5-9.2-16.1-12.8h-617.3l22.1 12.8zM365 187.1h587.2c-2.7-4.4-5.7-8.7-8.8-12.8h-600.5l22.1 12.8zM409.3 212.6h555.4c-1.6-4.3-3.4-8.6-5.4-12.8h-572.1l22.1 12.8zM453.5 238.2h517.2c-0.5-4.2-1.2-8.5-2.2-12.8h-537.1l22.1 12.8zM805.1 276.5h-285.2l22.1 12.8h241l22.1-12.8zM760.5 302.2h-196l22.1 12.8h151.7l22.2-12.8zM672 353.3h-19l9.5 5.5 9.5-5.5zM716.3 327.7h-107.5l22.1 12.8h63.3l22.1-12.8zM971.3 250.9h-495.6l22.1 12.8h473.5v-12.8zM971.3 276.5h-138l22.1 12.8h115.8l0.1-12.8zM971.3 302.2h-93.3l22.1 12.8h71.2v-12.8zM971.2 353.3h-4.7l4.7 2.7v-2.7zM971.3 327.7h-49l22.1 12.8h26.9v-12.8z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
assets/fonts/themeboy.ttf Executable file

Binary file not shown.

BIN
assets/fonts/themeboy.woff Executable file

Binary file not shown.