Changeset 864322
- Timestamp:
- 02/24/2014 09:19:14 PM (12 years ago)
- Location:
- wp-symposium-toolbar/trunk
- Files:
-
- 10 edited
-
css/wp-symposium-toolbar_admin.css (modified) (2 diffs)
-
fonts/WPST-icons.eot (modified) (previous)
-
fonts/WPST-icons.svg (modified) (2 diffs)
-
fonts/WPST-icons.ttf (modified) (previous)
-
fonts/WPST-icons.woff (modified) (previous)
-
readme.txt (modified) (2 diffs)
-
wp-symposium-toolbar.php (modified) (2 diffs)
-
wp-symposium-toolbar_admin.php (modified) (10 diffs)
-
wp-symposium-toolbar_admin_functions.php (modified) (3 diffs)
-
wp-symposium-toolbar_functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-symposium-toolbar/trunk/css/wp-symposium-toolbar_admin.css
r863430 r864322 201 201 } 202 202 203 #wpadminbar .wpst-tb-item > .ab-item:before { 204 display: none; 205 } 206 203 207 /* Force the display of these icons, whenever screen width permits */ 204 208 @media screen and (max-width: 782px) { … … 206 210 #wp-admin-bar-top-secondary #wp-admin-bar-symposium-toolbar-notifications-friendship { 207 211 display: block; 212 } 213 #wpadminbar .wpst-tb-item { 214 display: block; 215 } 216 #wpadminbar .wpst-tb-item > .ab-item { 217 text-indent: 100%; 218 white-space: nowrap; 219 overflow: hidden; 220 width: 52px; 221 padding: 0; 222 position: relative; /* */ 223 } 224 #wpadminbar .wpst-tb-item > .ab-item:before { 225 display: block; 226 font-family: WPST-icons !important; 227 content: '\e604'; 228 font-size: 46px; 229 text-indent: 0; 230 text-align: center; 231 line-height: 53px; 232 height: 46px !important; 233 top: -4px; 234 width: 52px; /* */ 208 235 } 209 236 } -
wp-symposium-toolbar/trunk/fonts/WPST-icons.svg
r862478 r864322 12 12 <glyph unicode="" d="M894.041 160.636v382.041q-15.919-17.908-34.325-32.831-133.316-102.474-211.913-168.137-25.37-21.39-41.287-33.329t-43.029-24.126-50.988-12.188h-0.995q-23.878 0-50.988 12.188t-43.029 24.126-41.289 33.329q-78.597 65.663-211.913 168.137-18.406 14.923-34.325 32.831v-382.041q0-6.467 4.726-11.193t11.193-4.726h732.245q6.467 0 11.193 4.726t4.726 11.193zM894.041 683.455v12.188t-0.249 6.467-1.492 6.218-2.737 4.478-4.477 3.731-6.965 1.244h-732.245q-6.467 0-11.193-4.726t-4.726-11.193q0-83.572 73.125-141.276 96.007-75.612 199.478-157.691 2.985-2.489 17.411-14.675t22.883-18.654 22.137-15.669 25.121-13.68 21.39-4.477h0.994q9.95 0 21.39 4.477t25.121 13.68 22.137 15.669 22.883 18.654 17.411 14.675q103.469 82.079 199.478 157.691 26.862 21.39 49.994 57.456t23.131 65.415zM957.715 701.861v-541.225q0-32.831-23.38-56.212t-56.212-23.38h-732.245q-32.831 0-56.212 23.38t-23.38 56.212v541.225q0 32.831 23.38 56.212t56.212 23.38h732.245q32.831 0 56.212-23.38t23.38-56.212z" /> 13 13 <glyph unicode="" d="M831.978 940.8h-639.956c-88.012 0-160.022-71.985-160.022-159.992v-639.99c0-88.009 72.009-160.018 160.022-160.018h639.958c88.067 0 160.020 72.009 160.020 160.018v639.99c0 88.007-71.953 159.992-160.022 159.992zM272 700.8h480c8.567 0 16.879-1.839 24.51-5.308l-264.51-308.595-264.51 308.597c7.631 3.465 15.943 5.306 24.51 5.306zM212 280.8v360c0 1.256 0.053 2.505 0.131 3.75l175.935-205.256-173.998-174c-1.354 5.004-2.068 10.206-2.068 15.506zM752 220.8h-480c-5.301 0-10.502 0.714-15.506 2.068l170.736 170.736 84.771-98.902 84.773 98.901 170.734-170.736c-5.006-1.352-10.206-2.066-15.506-2.066zM812 280.8c0-5.301-0.714-10.5-2.068-15.506l-173.998 173.998 175.935 205.258c0.079-1.245 0.131-2.494 0.131-3.75v-360z" /> 14 <glyph unicode="" d="M801.076 812.202q8.843 8.843 14.894 6.052t6.052-14.894v-685.116q0-12.101-6.052-14.894t-14.894 6.052l-330.457 330.457q-3.723 4.189-6.051 8.843v-330.457q0-12.101-6.052-14.894t-14.894 6.052l-330.457 330.457q-8.843 8.843-8.843 20.945t8.843 20.945l330.457 330.457q8.843 8.843 14.894 6.052t6.052-14.894v-330.457q2.327 5.12 6.051 8.843z" horiz-adv-x="951" /> 15 <glyph unicode="" d="M128.955 109.398q-8.843-8.843-14.894-6.052t-6.051 14.894v685.116q0 12.101 6.051 14.894t14.894-6.052l330.457-330.457q3.723-3.723 6.052-8.843v330.457q0 12.101 6.051 14.894t14.894-6.052l330.457-330.457q8.843-8.843 8.843-20.945t-8.843-20.945l-330.457-330.457q-8.843-8.843-14.894-6.052t-6.051 14.894v330.457q-2.327-4.654-6.052-8.843z" horiz-adv-x="951" /> 16 <glyph unicode="" d="M938.035 485.325l-382.054 253.44c-29.338 19.558-53.402 5.171-53.402-31.949v-491.981c0-37.171 24.064-51.558 53.402-31.949l382.054 253.389c0 0 14.285 10.24 14.285 24.525s-14.285 24.525-14.285 24.525zM473.395 485.325l-368.845 253.491c-29.286 19.507-53.299 5.12-53.299-32v-491.981c0-37.171 24.013-51.558 53.35-31.949l368.845 253.389c0 0 14.285 10.24 14.285 24.525s-14.336 24.525-14.336 24.525z" /> 17 <glyph unicode="" d="M71.629 460.8c0-14.285 14.285-24.525 14.285-24.525l382.106-253.389c29.286-19.61 53.35-5.222 53.35 31.949v491.981c0 37.171-24.064 51.507-53.35 32l-382.106-253.44c0.051-0.051-14.285-10.291-14.285-24.576zM536.32 460.8c0-14.285 14.285-24.525 14.285-24.525l368.794-253.389c29.338-19.61 53.35-5.222 53.35 31.949v491.981c0 37.171-24.013 51.507-53.35 32l-368.794-253.44c0-0.051-14.285-10.291-14.285-24.576z" /> 14 <glyph unicode="" d="M784.607 536.777q0-13.408-9.798-23.207l-231.040-231.040q-9.798-9.798-23.207-9.798t-23.207 9.798l-231.040 231.040q-9.798 9.798-9.798 23.207t9.798 23.207 23.207 9.798h462.080q13.408 0 23.207-9.798t9.798-23.207z" horiz-adv-x="1020" /> 18 15 <glyph unicode="" d="M368.874 130.329h-155.344v517.815h155.344v-517.815zM938.471 130.329h-155.344v276.617c0 72.079-25.684 107.965-76.585 107.965-40.338 0-65.918-20.092-78.759-60.326 0-65.348 0-324.256 0-324.256h-155.344c0 0 2.071 466.034 0 517.815h122.62l9.476-103.563h3.21c31.845 51.781 82.746 86.89 152.548 86.89 53.076 0 96.003-14.758 128.781-51.833 32.986-37.126 49.401-86.941 49.401-156.898v-292.411zM371.462 777.598c0-42.896-35.935-77.673-80.261-77.673s-80.261 34.775-80.261 77.673c0 42.896 35.935 77.673 80.261 77.673 44.326 0 80.261-34.775 80.261-77.673z" /> 19 16 <glyph unicode="" d="M628.627 8.925h-158.096v421.875h-105.469v145.39l105.469 0.048-0.172 85.654c0 118.612 32.163 190.783 171.879 190.783h116.326v-145.418h-72.699c-54.409 0-57.024-20.316-57.024-58.241l-0.217-72.777h130.757l-15.412-145.39-115.236-0.048-0.107-421.875z" /> … … 40 37 <glyph unicode="" d="M540.295 927.744c-257.889 0-466.944-209.055-466.944-466.944s209.055-466.944 466.944-466.944 466.944 209.055 466.944 466.944-209.055 466.944-466.944 466.944zM540.295 568.538c-14.252 0-25.828-11.577-25.828-25.779v-154.092c0-60.46-49.321-109.732-109.975-109.732-60.605 0-109.975 49.273-109.975 109.732v64.496h84.099v-64.496c0-14.203 11.577-25.731 25.828-25.731s25.828 11.527 25.828 25.731v154.092c0.048 60.508 49.418 109.683 110.023 109.683s109.975-49.223 109.975-109.732v-29.379l-50.586-16.198-33.513 16.198v29.427c-0.048 14.202-11.625 25.779-25.876 25.779zM786.073 388.667c0-60.46-49.369-109.732-109.975-109.732-60.654 0-109.975 49.273-109.975 109.732v65.809l33.513-16.197 50.586 16.197v-65.859c0-14.202 11.577-25.731 25.828-25.731s25.779 11.527 25.779 25.731v64.496h84.147v-64.448z" /> 41 38 <glyph unicode="" d="M538.947 922.88c-255.199 0-462.080-206.881-462.080-462.080s206.881-462.080 462.080-462.080 462.080 206.881 462.080 462.080-206.881 462.080-462.080 462.080zM365.667 229.76c-31.9 0-57.76 25.86-57.76 57.76s25.86 57.76 57.76 57.76 57.76-25.86 57.76-57.76-25.86-57.76-57.76-57.76zM524.507 229.76c0 119.433-97.167 216.6-216.6 216.6v86.64c167.208 0 303.24-136.032 303.24-303.24h-86.64zM697.787 229.76c0 104.139-40.555 202.048-114.194 275.687-73.638 73.638-171.545 114.193-275.686 114.193v86.64c127.283 0 246.948-49.567 336.952-139.569 90.001-90.003 139.568-209.667 139.568-336.949h-86.64z" /> 42 <glyph unicode="" d="M428.075 320h-68.267v221.824h68.267v-221.824zM393.941 570.283c-24.619 0-36.949 11.392-36.949 34.133 0 9.515 3.499 17.579 10.667 24.192 7.083 6.613 15.829 9.941 26.283 9.941 24.619 0 36.949-11.435 36.949-34.176s-12.288-34.091-36.949-34.091zM681.259 320h-69.675v123.733c0 32.213-11.435 48.341-34.176 48.341-18.005 0-29.824-9.003-35.584-27.008-1.835-2.859-2.816-8.576-2.816-17.067v-128h-69.675v150.741c0 34.133-0.512 57.813-1.408 71.083h59.733l4.267-29.824c15.659 23.723 38.4 35.541 69.675 35.541 23.765 0 42.923-8.277 57.6-24.875 14.763-16.597 22.101-40.533 22.101-71.851v-130.816zM512 76.8c-211.755 0-384 172.245-384 384s172.245 384 384 384 384-172.245 384-384-172.245-384-384-384zM512 759.467c-164.651 0-298.667-134.016-298.667-298.667s134.016-298.667 298.667-298.667 298.667 134.016 298.667 298.667-134.016 298.667-298.667 298.667z" /> 43 <glyph unicode="" d="M783.104 732.843c-74.667 74.283-165.888 111.957-271.104 111.957-106.197 0-197.675-37.717-271.915-112-74.368-74.283-112.085-165.845-112.085-272 0-105.173 37.675-196.395 111.957-271.104 74.283-74.923 165.803-112.896 272.043-112.896 105.259 0 196.48 37.973 271.189 112.768 74.88 74.795 112.811 166.059 112.811 271.232 0 106.155-37.973 197.717-112.896 272.043zM722.859 249.899c-48.512-48.597-103.936-76.288-168.192-84.693v210.261h85.333v85.333h-85.333v59.733c0 14.123 11.477 25.6 25.643 25.6h59.691v85.333h-59.605c-31.659 0-58.069-11.648-79.232-35.072-21.163-23.339-31.829-51.84-31.829-85.675v-49.92h-85.333v-85.333h85.333v-210.347c-64.939 8.32-120.576 36.053-168.832 84.651-58.667 59.051-87.168 128.085-87.168 211.029 0 83.883 28.459 153.088 87.125 211.627 58.453 58.581 127.659 87.040 211.541 87.040 82.987 0 151.979-28.501 210.987-87.168 59.008-58.539 87.68-127.744 87.68-211.499 0-82.816-28.715-151.851-87.808-210.901z" /> 44 <glyph unicode="" d="M651.904 534.059c15.275 9.429 25.472 22.229 30.421 38.571-14.891-7.936-29.739-13.312-44.587-16.341-13.312 14.336-30.208 21.632-50.432 21.632-19.797 0-36.48-6.955-50.133-20.437-13.525-13.568-20.395-30.123-20.395-49.408 0-5.845 0.725-11.093 2.219-15.531-58.368 2.048-106.624 26.197-144.683 72.789-6.443-11.392-9.685-22.997-9.685-34.987 0-24.661 10.411-44.203 31.147-58.581-11.819 0.981-22.229 4.011-31.147 8.917 0-17.621 5.163-32.341 15.573-45.312 10.368-12.8 23.765-20.992 40.064-24.448-5.931-1.536-12.16-2.261-18.56-2.261-5.973 0-10.112 0.512-12.629 1.579 4.437-14.379 12.629-25.984 24.491-34.901 11.819-8.96 25.472-13.653 40.832-14.080-25.216-19.84-54.144-29.611-86.827-29.611-8.021 0-13.653 0.085-17.067 0.725 32.171-20.864 68.011-31.275 107.563-31.275 40.576 0 76.459 10.283 107.605 30.848 31.147 20.437 54.229 45.653 68.992 75.392 14.848 29.653 22.229 60.544 22.229 92.757v8.917c14.336 10.795 25.984 22.955 34.901 36.437-12.715-5.675-26.069-9.472-39.893-11.392zM512 76.8c-106.24 0-197.76 37.973-272.043 112.896-74.283 74.709-111.957 165.931-111.957 271.104 0 106.155 37.717 197.717 112.085 272 74.24 74.283 165.717 112 271.915 112 105.216 0 196.437-37.675 271.104-111.957 74.923-74.325 112.896-165.888 112.896-272.043 0-105.173-37.931-196.437-112.811-271.232-74.709-74.795-165.931-112.768-271.189-112.768zM512 759.467c-83.883 0-153.088-28.459-211.541-87.040-58.667-58.539-87.125-127.744-87.125-211.627 0-82.944 28.501-151.979 87.168-210.987 58.539-59.008 127.701-87.68 211.499-87.68 82.901 0 151.893 28.715 210.859 87.765 59.093 59.051 87.808 128.085 87.808 210.901 0 83.755-28.672 152.96-87.68 211.499-59.008 58.667-128 87.168-210.987 87.168z" /> 45 <glyph unicode="" d="M896 375.467h-256c-23.595 0-42.667 19.115-42.667 42.667s19.072 42.667 42.667 42.667h256c23.595 0 42.667-19.115 42.667-42.667s-19.072-42.667-42.667-42.667zM768 247.467c-23.595 0-42.667 19.115-42.667 42.667v256c0 23.552 19.072 42.667 42.667 42.667s42.667-19.115 42.667-42.667v-256c0-23.552-19.072-42.667-42.667-42.667zM384 716.8c70.571 0 128-57.429 128-128s-57.429-128-128-128-128 57.429-128 128 57.429 128 128 128zM384 802.133c-117.931 0-213.333-95.488-213.333-213.333s95.403-213.333 213.333-213.333 213.333 95.488 213.333 213.333-95.403 213.333-213.333 213.333zM384 247.467c86.229 0 140.843-32.896 161.408-61.653-29.141-11.093-84.011-23.68-161.408-23.68-84.651 0-136.789 13.013-162.901 23.125 19.584 30.507 75.819 62.208 162.901 62.208zM384 332.8c-160 0-256-85.333-256-170.667 0-42.667 96-85.333 256-85.333 150.101 0 256 42.667 256 85.333s-100.437 170.667-256 170.667z" /> 46 <glyph unicode="" d="M613.419 307.627v52.651c-17.024-11.435-33.621-17.067-49.749-17.067-7.595 0-16.085 2.432-25.6 7.083-5.717 3.84-9.003 8.064-9.984 12.843-2.816 5.675-4.267 18.005-4.267 36.992v83.883h78.251v52.608h-78.251v83.925h-45.483c-3.797-19.925-7.595-34.133-11.392-42.667-4.693-10.411-12.288-19.925-22.741-28.416-10.453-8.576-21.333-14.72-32.725-18.517v-46.976h35.541v-115.2c0-13.269 1.877-24.576 5.717-34.091 2.816-7.595 8.491-15.147 17.067-22.741 6.571-6.656 16.085-12.331 28.416-17.067 15.147-3.84 28.416-5.675 39.851-5.675 13.269 0 25.6 1.408 36.949 4.267 13.312 2.859 26.112 7.595 38.4 14.165zM512 76.8c-211.755 0-384 172.245-384 384s172.245 384 384 384 384-172.245 384-384-172.245-384-384-384zM512 759.467c-164.651 0-298.667-134.016-298.667-298.667s134.016-298.667 298.667-298.667 298.667 134.016 298.667 298.667-134.016 298.667-298.667 298.667z" /> 47 <glyph unicode="" d="M512 76.8c-211.755 0-384 172.245-384 384s172.245 384 384 384 384-172.245 384-384-172.245-384-384-384zM512 759.467c-164.651 0-298.667-134.016-298.667-298.667s134.016-298.667 298.667-298.667 298.667 134.016 298.667 298.667-134.016 298.667-298.667 298.667zM526.293 631.467c-105.301 0-158.379-75.52-158.379-138.411 0-38.187 14.421-72.021 45.355-84.651 5.077-2.091 9.643-0.085 11.136 5.504 0.981 3.925 3.413 13.739 4.48 17.835 1.493 5.504 0.896 7.467-3.157 12.331-8.917 10.496-14.677 24.149-14.677 43.477 0 55.979 41.899 106.112 109.141 106.112 59.563 0 92.203-36.395 92.203-84.907 0-63.915-28.245-117.845-70.229-117.845-23.168 0-40.533 19.157-34.987 42.709 6.656 28.075 19.584 58.368 19.584 78.635 0 18.176-9.771 33.237-29.867 33.237-23.723 0-42.752-24.491-42.752-57.344 0-20.907 7.083-35.072 7.083-35.072s-24.277-102.741-28.544-120.747c-8.448-35.84-1.237-79.787-0.64-84.224 0.341-2.645 3.712-3.285 5.248-1.28 2.219 2.859 30.421 37.76 40.021 72.533 2.731 9.813 15.616 60.885 15.616 60.885 7.68-14.677 30.165-27.563 54.101-27.563 71.253 0 119.595 64.896 119.595 151.893-0.043 65.621-55.723 126.891-140.331 126.891z" /> 39 <glyph unicode="" d="M439.714 296.577h-79.623v258.724h79.623v-258.724zM399.901 588.496c-28.715 0-43.096 13.287-43.096 39.811 0 11.098 4.081 20.503 12.441 28.216 8.261 7.713 18.462 11.595 30.655 11.595 28.715 0 43.096-13.338 43.096-39.861s-14.333-39.762-43.096-39.762zM735.015 296.577h-81.265v144.316c0 37.572-13.338 56.382-39.861 56.382-21.001 0-34.785-10.501-41.503-31.5-2.141-3.334-3.284-10.002-3.284-19.906v-149.293h-81.265v175.817c0 39.811-0.597 67.431-1.642 82.907h69.669l4.977-34.785c18.264 27.669 44.787 41.454 81.265 41.454 27.719 0 50.063-9.655 67.182-29.013 17.219-19.359 25.777-47.276 25.777-83.804v-152.577zM537.6 12.921c-246.981 0-447.879 200.899-447.879 447.879s200.899 447.879 447.879 447.879 447.879-200.899 447.879-447.879-200.899-447.879-447.879-447.879zM537.6 809.151c-192.041 0-348.351-156.309-348.351-348.351s156.309-348.351 348.351-348.351 348.351 156.309 348.351 348.351-156.309 348.351-348.351 348.351z" /> 40 <glyph unicode="" d="M853.803 778.098c-87.088 86.64-193.483 130.581-316.203 130.581-123.862 0-230.559-43.992-317.148-130.632-86.739-86.64-130.731-193.434-130.731-317.247 0-122.668 43.942-229.066 130.581-316.203 86.64-87.386 193.384-131.677 317.298-131.677 122.769 0 229.164 44.291 316.301 131.527 87.336 87.238 131.577 193.683 131.577 316.352 0 123.814-44.291 230.607-131.677 317.298zM783.536 214.816c-56.582-56.681-121.225-88.978-196.171-98.782v245.238h99.528v99.528h-99.528v69.669c0 16.472 13.386 29.858 29.909 29.858h69.621v99.528h-69.52c-36.925 0-67.728-13.585-92.413-40.906-24.683-27.221-37.123-60.463-37.123-99.927v-58.224h-99.528v-99.528h99.528v-245.339c-75.742 9.704-140.634 42.051-196.918 98.733-68.426 68.875-101.668 149.392-101.668 246.134 0 97.837 33.194 178.554 101.619 246.831 68.176 68.325 148.896 101.519 246.732 101.519 96.793 0 177.261-33.242 246.085-101.668 68.824-68.277 102.266-148.994 102.266-246.682 0-96.593-33.492-177.112-102.415-245.984z" /> 41 <glyph unicode="" d="M700.777 546.246c17.816 10.997 29.709 25.927 35.481 44.987-17.368-9.257-34.686-15.527-52.004-19.059-15.527 16.721-35.234 25.231-58.821 25.231-23.091 0-42.548-8.112-58.473-23.837-15.775-15.825-23.787-35.134-23.787-57.626 0-6.818 0.845-12.939 2.588-18.114-68.078 2.388-124.361 30.555-168.752 84.898-7.515-13.287-11.297-26.822-11.297-40.806 0-28.763 12.143-51.556 36.328-68.325-13.785 1.144-25.927 4.678-36.328 10.4 0-20.552 6.022-37.721 18.164-52.849 12.093-14.929 27.719-24.484 46.729-28.515-6.918-1.792-14.183-2.637-21.647-2.637-6.966 0-11.794 0.597-14.731 1.841 5.176-16.772 14.731-30.307 28.565-40.707 13.785-10.451 29.709-15.924 47.624-16.422-29.411-23.14-63.152-34.536-101.271-34.536-9.355 0-15.924 0.099-19.906 0.845 37.522-24.335 79.325-36.478 125.456-36.478 47.326 0 89.178 11.994 125.504 35.98 36.328 23.837 63.249 53.247 80.468 87.934 17.318 34.586 25.927 70.616 25.927 108.187v10.4c16.721 12.591 30.307 26.774 40.707 42.499-14.829-6.619-30.405-11.048-46.529-13.287zM537.6 12.921c-123.914 0-230.657 44.291-317.298 131.677-86.64 87.137-130.581 193.534-130.581 316.203 0 123.814 43.992 230.607 130.731 317.247 86.589 86.64 193.284 130.632 317.148 130.632 122.719 0 229.115-43.942 316.203-130.581 87.386-86.689 131.677-193.483 131.677-317.298 0-122.668-44.24-229.115-131.577-316.352-87.137-87.238-193.534-131.527-316.301-131.527zM537.6 809.151c-97.837 0-178.554-33.194-246.732-101.519-68.426-68.277-101.619-148.994-101.619-246.831 0-96.741 33.242-177.261 101.668-246.085 68.277-68.824 148.944-102.266 246.682-102.266 96.692 0 177.16 33.492 245.936 102.364 68.923 68.875 102.415 149.392 102.415 245.984 0 97.687-33.441 178.405-102.266 246.682-68.824 68.426-149.293 101.668-246.085 101.668z" /> 42 <glyph unicode="" d="M655.891 282.146v61.409c-19.856-13.338-39.215-19.906-58.024-19.906-8.859 0-18.761 2.837-29.858 8.261-6.668 4.479-10.501 9.405-11.644 14.98-3.284 6.619-4.977 21.001-4.977 43.145v97.837h91.267v61.36h-91.267v97.886h-53.049c-4.428-23.24-8.859-39.811-13.287-49.765-5.474-12.143-14.333-23.24-26.524-33.143-12.192-10.002-24.882-17.169-38.168-21.598v-54.791h41.454v-134.363c0-15.476 2.189-28.664 6.668-39.762 3.284-8.859 9.903-17.666 19.906-26.524 7.664-7.763 18.761-14.382 33.143-19.906 17.666-4.479 33.143-6.619 46.48-6.619 15.476 0 29.858 1.642 43.096 4.977 15.527 3.334 30.456 8.859 44.787 16.522zM537.6 12.921c-246.981 0-447.879 200.899-447.879 447.879s200.899 447.879 447.879 447.879 447.879-200.899 447.879-447.879-200.899-447.879-447.879-447.879zM537.6 809.151c-192.041 0-348.351-156.309-348.351-348.351s156.309-348.351 348.351-348.351 348.351 156.309 348.351 348.351-156.309 348.351-348.351 348.351z" /> 43 <glyph unicode="" d="M537.6 12.921c-246.981 0-447.879 200.899-447.879 447.879s200.899 447.879 447.879 447.879 447.879-200.899 447.879-447.879-200.899-447.879-447.879-447.879zM537.6 809.151c-192.041 0-348.351-156.309-348.351-348.351s156.309-348.351 348.351-348.351 348.351 156.309 348.351 348.351-156.309 348.351-348.351 348.351zM554.271 659.857c-122.818 0-184.725-88.083-184.725-161.436 0-44.54 16.82-84.002 52.9-98.733 5.921-2.439 11.247-0.099 12.988 6.42 1.144 4.578 3.981 16.024 5.225 20.802 1.742 6.42 1.045 8.709-3.682 14.382-10.4 12.241-17.118 28.166-17.118 50.709 0 65.291 48.868 123.764 127.297 123.764 69.472 0 107.541-42.449 107.541-99.032 0-74.547-32.944-137.448-81.912-137.448-27.022 0-47.276 22.343-40.806 49.814 7.763 32.745 22.842 68.078 22.842 91.717 0 21.2-11.396 38.765-34.836 38.765-27.669 0-49.864-28.565-49.864-66.883 0-24.384 8.261-40.906 8.261-40.906s-28.316-119.832-33.292-140.834c-9.854-41.802-1.443-93.059-0.746-98.235 0.398-3.085 4.329-3.832 6.121-1.493 2.588 3.334 35.481 44.041 46.678 84.599 3.185 11.445 18.214 71.013 18.214 71.013 8.957-17.118 35.183-32.148 63.1-32.148 83.106 0 139.489 75.692 139.489 177.16-0.049 76.538-64.993 147.999-163.676 147.999z" /> 48 44 </font></defs></svg> -
wp-symposium-toolbar/trunk/readme.txt
r863430 r864322 151 151 * Bugfix: in RTL, correct display for the User Menu 152 152 * Bugfix: Styles, preview doesn't like 3-digits colors that can actually be used by colorpickers 153 * Bugfix: Import, failed import of style leads to no CSS stored 153 154 * Change: WP 3.8, add the option to show social icons and share the site with: LinkedIn, Facebook, Twitter, Google Plus, Stumble Upon 154 155 * Bugfix: add the plugin build number to CSS and JS files, to ensure that the correct version of the files is always sent to the client regardless of caching … … 159 160 * Bugfix: security, strip tags from Import feature 160 161 * Bugfix: WPMS, Styles, default CSS now loaded at all subsites so that the Toolbar reflects the default admin color scheme 162 * Change: add the option to display custom menus in responsive mode (under 783px width, instead of being hidden by WordPress 161 163 162 164 = 0.26.0. = -
wp-symposium-toolbar/trunk/wp-symposium-toolbar.php
r863430 r864322 11 11 Tested up to: 3.8 12 12 Stable tag: 0.26.0 13 Version: 0.26.4 513 Version: 0.26.46 14 14 License: GPLv2 or later 15 15 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 // Increase Build nr at each version 24 24 global $wpst_buildnr; 25 $wpst_buildnr = 264 5;25 $wpst_buildnr = 2646; 26 26 27 27 -
wp-symposium-toolbar/trunk/wp-symposium-toolbar_admin.php
r863430 r864322 778 778 global $wpst_roles_all_incl_visitor, $wpst_roles_all, $wpst_roles_author, $wpst_roles_new_content, $wpst_roles_comment, $wpst_roles_updates, $wpst_roles_administrator, $wpst_locations; 779 779 global $is_wpst_network_admin; 780 global $wp_version; 780 781 781 782 // Get data to show … … 797 798 echo '<td>'; 798 799 799 echo '<table class="widefat">'; 800 echo '<thead><tr>'; 801 echo '<th>'.__( 'Menu Name', 'wp-symposium-toolbar' ).'</th>'; 802 echo '<th>'.__( 'Location', 'wp-symposium-toolbar' ).'</th>'; 803 echo '<th>'.__( 'Custom Icon', 'wp-symposium-toolbar' ).'</th>'; 804 echo '</tr></thead>'; 805 806 echo '<tbody>'; 807 $color = $color_odd = '#FBFBFB'; 808 $color_even = '#F8F8F8'; 800 $color = $color_odd = '#F8F8F8'; 801 $color_even = '#F0F0F0'; 809 802 $count = 0; 810 803 811 804 if ( $all_custom_menus ) foreach ( $all_custom_menus as $custom_menu ) { 805 echo '<table class="widefat" style="margin-bottom: 20px; ">'; 812 806 echo '<tr style="background-color: '.$color.';">'; 813 807 814 808 // Draw the list of menus and select it 815 echo '<td style="border-bottom-color: '.$color.';">'; 809 echo '<td style="border-top-color: 555555; border-bottom-color: '.$color.';">'; 810 echo '<span>' . __( 'Menu Name', 'wp-symposium-toolbar' ) . '</span><br />'; 816 811 if ( $all_navmenus ) { 817 812 … … 835 830 echo '</select>'; 836 831 837 } else 832 } else { 838 833 echo '<div style="text-align:center;">'.__( 'No available NavMenu!', 'wp-symposium-toolbar' ) . '</div><span class="description"> ' . __( 'Please go to the NavMenus page, and create some...', 'wp-symposium-toolbar' ) . '</span>'; 834 } 839 835 echo '</td>'; 840 836 841 837 // Draw the list of locations and select it 842 echo '<td style="border-bottom-color: '.$color.';">'; 838 echo '<td style="border-top-color: 555555; border-bottom-color: '.$color.';">'; 839 echo '<span>' . __( 'Location', 'wp-symposium-toolbar' ) . '</span><br />'; 843 840 if ( $wpst_locations ) { 844 841 echo '<select class="wpst-admin" id="display_custom_menu_location_'.$count.'" name="display_custom_menu_location['.$count.']">'; … … 854 851 855 852 // Point to a custom icon 856 echo '<td style="border-bottom-color: '.$color.';">'; 853 echo '<td style="border-top-color: 555555; border-bottom-color: '.$color.';">'; 854 echo '<span>' . __( 'Custom Icon', 'wp-symposium-toolbar' ) . '</span><br />'; 857 855 echo '<input type="text" style="min-width:170px; width:95%;" name="display_custom_menu_icon['.$count.']" id="display_custom_menu_icon['.$custom_menu[0].'_'.$custom_menu[1].']"'; 858 856 if ( isset( $custom_menu[3] ) ) if ( is_string( $custom_menu[3] ) && !empty( $custom_menu[3] ) ) echo ' value="'.$custom_menu[3].'"';// site_url().'/url/to/my/icon.png"'; … … 863 861 // List the roles and pick the ones that can see this menu at this location 864 862 echo '<tr style="background-color: '.$color.';">'; 865 echo '<td colspan="3" style="border- bottom-color: '.$color.'; border-top-color: '.$color.';">';863 echo '<td colspan="3" style="border-top-color: '.$color.'; border-bottom-color: '.$color.';">'; 866 864 echo symposium_toolbar_add_roles_to_item( 'display_custom_menu_'.$count, $custom_menu[2], $wpst_roles_all_incl_visitor ); 867 865 echo '</td>'; … … 871 869 if ( $is_wpst_network_admin ) { 872 870 echo '<tr style="background-color: '.$color.';">'; 873 echo '<td colspan="3" style="border-top-color: '.$color.'; ">';871 echo '<td colspan="3" style="border-top-color: '.$color.'; border-bottom-color: '.$color.';">'; 874 872 echo '<input type="checkbox" id="display_custom_menu_network_'.$count.'" name="display_custom_menu_network_'.$count.'" class="wpst-admin"'; 875 873 if ( isset( $custom_menu[4] ) && $custom_menu[4] ) { echo ' CHECKED'; } 876 874 echo '><span> '.__( 'Make this menu a Network Menu', 'wp-symposium-toolbar' ).'</span>'; 875 echo '</td>'; 876 echo '</tr>'; 877 } 878 879 // Option to force the display of the menu icon in responsive mode 880 if ( version_compare( $wp_version, '3.8-alpha', '>' ) ) { 881 echo '<tr style="background-color: '.$color.';">'; 882 echo '<td colspan="3" style="border-top-color: '.$color.'; border-bottom-color: #555555">'; 883 echo '<input type="checkbox" id="display_custom_menu_responsive_'.$count.'" name="display_custom_menu_responsive_'.$count.'" class="wpst-admin"'; 884 if ( isset( $custom_menu[5] ) && $custom_menu[5] ) { echo ' CHECKED'; } 885 echo '><span> '.__( 'Display this menu in responsive mode (for devices with screen width smaller than 783px)', 'wp-symposium-toolbar' ).'</span>'; 886 echo '<br /><span class="description">'.__( 'Note: Only for locations "At the right of the New Content menu" and "At the left of the WP User Menu"', 'wp-symposium-toolbar' ).'</span>'; 877 887 echo '</td>'; 878 888 echo '</tr>'; … … 892 902 $color = ( $color == $color_odd ) ? $color_even : $color_odd; 893 903 $count = $count + 1; 904 905 echo '</table>'; 894 906 } 895 907 896 908 // Add new menu 909 echo '<table class="widefat">'; 897 910 echo '<tr style="background-color: '.$color.';">'; 898 911 echo '<td style="border-bottom-color: '.$color.';">'; 912 echo '<span>' . __( 'Menu Name', 'wp-symposium-toolbar' ) . '</span><br />'; 899 913 if ( $all_navmenus ) { 900 914 echo '<select name="new_custom_menu_slug" class="wpst-admin">'; … … 908 922 echo '</td>'; 909 923 echo '<td style="border-bottom-color: '.$color.';">'; 924 echo '<span>' . __( 'Location', 'wp-symposium-toolbar' ) . '</span><br />'; 910 925 if ( $wpst_locations ) { 911 926 echo '<select name="new_custom_menu_location" class="wpst-admin">'; … … 918 933 echo '</td>'; 919 934 echo '<td style="border-bottom-color: '.$color.';">'; 935 echo '<span>' . __( 'Custom Icon', 'wp-symposium-toolbar' ) . '</span><br />'; 920 936 echo '<input type="text" style="min-width:170px; width:95%;" name="new_custom_menu_icon" id="new_custom_menu_icon" />'; 921 937 echo '</td>'; … … 938 954 } 939 955 940 echo '</tbody></table>'; 956 // Option to force the display of the menu icon in responsive mode 957 if ( version_compare( $wp_version, '3.8-alpha', '>' ) ) { 958 echo '<tr style="background-color: '.$color.';">'; 959 echo '<td colspan="3" style="border-top-color: '.$color.'; border-bottom-color: #555555">'; 960 echo '<input type="checkbox" id="new_custom_menu_responsive" name="new_custom_menu_responsive" class="wpst-admin"'; 961 echo '><span> '.__( 'Display this menu in responsive mode (for devices with screen width smaller than 783px)', 'wp-symposium-toolbar' ).'</span>'; 962 echo '<br /><span class="description">'.__( 'Note: Only for locations "At the right of the New Content menu" and "At the left of the WP User Menu"', 'wp-symposium-toolbar' ).'</span>'; 963 echo '</td>'; 964 echo '</tr>'; 965 } 966 967 echo '</table>'; 941 968 942 969 // Build the array of error messages when the same menu being displayed for each role on different locations -
wp-symposium-toolbar/trunk/wp-symposium-toolbar_admin_functions.php
r863430 r864322 707 707 ( isset( $_POST['display_custom_menu_'.$key.'_roles'] ) ) ? $_POST['display_custom_menu_'.$key.'_roles'] : array(), 708 708 filter_var( trim ( $_POST['display_custom_menu_icon'][$key] ), FILTER_SANITIZE_URL ), 709 ( is_multisite() && is_main_site() ) ? ( isset( $_POST['display_custom_menu_network_'.$key] ) ) : false 709 ( is_multisite() && is_main_site() ) ? ( isset( $_POST['display_custom_menu_network_'.$key] ) ) : false, 710 isset( $_POST['display_custom_menu_responsive_'.$key] ) 710 711 ); 711 712 } … … 720 721 ( $_POST['new_custom_menu_roles'] ) ? $_POST['new_custom_menu_roles'] : array(), 721 722 filter_var( trim ( $_POST['new_custom_menu_icon'] ), FILTER_SANITIZE_URL ), 722 ( is_multisite() && is_main_site() ) ? ( isset( $_POST['new_custom_menu_network'] ) ) : false 723 ( is_multisite() && is_main_site() ) ? ( isset( $_POST['new_custom_menu_network'] ) ) : false, 724 isset( $_POST['new_custom_menu_responsive'] ) 723 725 ); 724 726 } … … 1825 1827 if ( $icon_color . $font_shadow != "" ) 1826 1828 if ( get_option( 'wpst_toolbar_search_field', array() ) != array() ) $style_saved .= '#wpadminbar li #adminbarsearch:before, '; 1827 $style_saved .= '#wpadminbar #wp-admin-bar-root-default .ab-icon, #wpadminbar #wp-admin-bar-top-secondary .ab-icon, #wpadminbar .ab-item span:before, #wpadminbar .ab-top-menu > li > .ab-item:before, #wpadminbar .ab-top-menu > li.menupop > .ab-item:before, #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon, #wpadminbar li > .ab-item > .ab-icon:before { '.$icon_color . $font_shadow.'} '; 1829 $style_saved .= '#wpadminbar .ab-item span:before, #wpadminbar .ab-item span:after,'; 1830 // wp-admin\css\colors\***\colors.css:176 1831 $style_saved .= '#wpadminbar .ab-icon, #wpadminbar .ab-icon:before, #wpadminbar .ab-item:before, #wpadminbar .ab-item:after { '.$icon_color . $font_shadow.'} '; 1832 // $style_saved .= '#wpadminbar #wp-admin-bar-root-default .ab-icon, #wpadminbar #wp-admin-bar-top-secondary .ab-icon, #wpadminbar .ab-item span:before, #wpadminbar .ab-top-menu > li > .ab-item:before, #wpadminbar .ab-top-menu > li.menupop > .ab-item:before, #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon, #wpadminbar li > .ab-item > .ab-icon:before { '.$icon_color . $font_shadow.'} '; 1833 // TODO 1828 1834 1829 1835 // Add icon colour as border to Toolbar Avatar -
wp-symposium-toolbar/trunk/wp-symposium-toolbar_functions.php
r863430 r864322 549 549 550 550 // Any other Toplevel menu item 551 } else 551 } else { 552 552 $menu_item_parent = $custom_menu[1]; // location slug 553 } 553 554 554 555 } else { … … 560 561 } else 561 562 $menu_item_parent = $menu_item['menu_item_parent']; 563 } 564 565 if ( isset( $custom_menu[5] ) && $custom_menu[5] && in_array( $menu_item_parent, array( '', 'top-secondary' ) ) ) { 566 // $title = '<span class="ab-icon"></span><span class="ab-label">'.$title.'</span>'; // title 567 $meta['class'] .= ( $meta['class'] != '' ) ? ' wpst-tb-item' : 'wpst-tb-item'; // custom class for responsiveness 562 568 } 563 569
Note: See TracChangeset
for help on using the changeset viewer.