Plugin Directory

Changeset 1700625


Ignore:
Timestamp:
07/22/2017 04:03:46 AM (9 years ago)
Author:
imaginarymedia
Message:

Minor updates to image assets and CSS

Location:
wp-notice-bar
Files:
3 added
7 edited

Legend:

Unmodified
Added
Removed
  • wp-notice-bar/assets/icon.svg

    r1699571 r1700625  
    1 <svg xmlns="http://www.w3.org/2000/svg" width="512" height="513" viewBox="0 0 512 513">
    2   <g fill="none" transform="translate(0 1)">
    3     <circle cx="256" cy="256" r="256" fill="#BC1300"/>
    4     <path fill="#FFF" d="M126.875,25.375 C112.799805,25.375 101.5,36.6748047 101.5,50.75 L101.5,228.375 L71.5654297,188.330078 C66.609375,181.788086 58.6796875,177.625 50.3535156,177.625 C36.4765625,177.625 25.375,189.321289 25.375,203 C25.375,208.550781 27.1591797,213.90332 30.5292969,218.264648 L106.654297,319.764648 C111.412109,326.108398 118.945313,329.875 126.875,329.875 L269.212891,329.875 C274.961914,329.875 280.116211,325.910156 281.503906,320.359375 L299.742188,247.40625 C302.914063,234.71875 304.5,221.833008 304.5,208.947266 L304.5,165.928711 C304.5,155.421875 296.37207,145.90625 285.46875,145.90625 C274.961914,145.90625 266.4375,154.430664 266.4375,164.9375 L260.09375,164.9375 L260.09375,152.844727 C260.09375,140.355469 250.578125,130.046875 237.890625,130.046875 C225.599609,130.046875 215.6875,139.958984 215.6875,152.25 L215.6875,164.9375 L209.34375,164.9375 L209.34375,147.095703 C209.34375,132.822266 198.44043,120.53125 183.96875,120.53125 C169.893555,120.53125 158.59375,131.831055 158.59375,145.90625 L158.59375,164.9375 L152.25,164.9375 L152.25,51.9394531 C152.25,37.6660156 141.34668,25.375 126.875,25.375 Z M126.875,0 C155.223633,0 177.625,23.7890625 177.625,51.9394531 L177.625,95.5527344 C179.805664,95.3544922 181.788086,95.15625 183.96875,95.15625 C196.854492,95.15625 208.947266,100.112305 218.264648,108.834961 C224.410156,106.05957 231.150391,104.671875 237.890625,104.671875 C252.164063,104.671875 265.446289,111.015625 274.367188,121.918945 C278.133789,120.927734 281.702148,120.53125 285.46875,120.53125 C310.447266,120.53125 329.875,141.34668 329.875,165.928711 L329.875,208.947266 C329.875,223.81543 328.09082,238.881836 324.324219,253.551758 L306.085938,326.504883 C301.922852,343.355469 286.658203,355.25 269.212891,355.25 L126.875,355.25 C111.015625,355.25 95.7509766,347.518555 86.2353516,335.029297 L10.1103516,233.529297 C3.56835938,224.806641 0,213.90332 0,203 C0,175.246094 22.5996094,152.25 50.3535156,152.25 C59.4726563,152.25 68.3935547,154.628906 76.125,159.188477 L76.125,50.75 C76.125,22.7978516 98.9228516,0 126.875,0 Z M152.25,279.125 L152.25,203 L145.90625,203 L145.90625,279.125 L152.25,279.125 Z M203,279.125 L203,203 L196.65625,203 L196.65625,279.125 L203,279.125 Z M253.75,279.125 L253.75,203 L247.40625,203 L247.40625,279.125 L253.75,279.125 Z" transform="rotate(54 159.005 312.065)"/>
    5   </g>
    6 </svg>
     1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 513"><g fill="none" transform="translate(0 1)"><circle cx="256" cy="256" r="256" fill="#D70026"/><path fill="#FFF" d="M372.057 117.56c-8.274-11.388-24.057-13.888-35.444-5.615L192.91 216.35l14.803-47.755c2.38-7.854 1.087-16.717-3.807-23.453-8.157-11.226-24.145-13.333-35.21-5.293-4.492 3.26-7.774 7.85-9.32 13.14l-37.37 121.24c-2.337 7.58-.956 15.88 3.705 22.3l83.67 115.15c3.38 4.65 9.62 6.49 14.93 4.35l69.74-28.13c12.13-4.89 23.49-11.18 33.91-18.76l34.81-25.29c8.5-6.18 11.42-18.35 5.01-27.17-6.17-8.5-18.08-10.39-26.58-4.21l-3.72-5.14 9.78-7.11c10.11-7.34 12.85-21.1 5.4-31.364-7.22-9.94-21.07-12.134-31.01-4.91l-10.263 7.46-3.73-5.13 14.43-10.484c11.546-8.39 15.08-24.434 6.574-36.14-8.276-11.387-24.06-13.887-35.446-5.61l-15.394 11.19-3.73-5.13 91.41-66.414c11.55-8.39 15.084-24.437 6.58-36.145zm20.528-14.916c16.663 22.935 10.585 55.04-12.19 71.587l-35.283 25.64c1.442 1.65 2.767 3.14 4.05 4.9 7.573 10.43 10.672 23.12 9.092 35.79 5.857 3.34 10.942 7.98 14.903 13.43 8.39 11.55 11.065 26.02 7.488 39.65 3.015 2.47 5.434 5.12 7.648 8.17 14.682 20.21 9.26 48.16-10.626 62.61l-34.803 25.28c-12.03 8.74-25.266 16.15-39.35 21.73l-69.74 28.13c-16.08 6.54-34.674 1.18-44.928-12.93l-83.664-115.16c-9.322-12.83-12.04-29.72-7.528-44.76l37.37-121.24c3.21-10.42 9.935-19.715 18.756-26.124 22.453-16.313 54.34-11.546 70.654 10.907 5.36 7.38 8.68 15.994 9.535 24.93l87.72-63.74c22.61-16.44 54.45-11.393 70.88 11.22zm-210.9 184.594l61.585-44.745-3.73-5.132-61.585 44.75 3.73 5.13zm29.83 41.058L273.1 283.55l-3.73-5.13-61.585 44.744 3.73 5.132zm29.83 41.058l61.585-44.745-3.73-5.14-61.585 44.74 3.73 5.13z"/></g></svg>
  • wp-notice-bar/trunk/notice.php

    r1699471 r1700625  
    44 * Plugin URI: https://jmr.codes/
    55 * Description: A site-wide notification bar plugin with scheduling.
    6  * Version: 0.1
     6 * Version: 0.1.1
    77 * Author: James Robinson
    88 * Author URI: https://jmr.codes/
     
    9797            $css .= '</style>';
    9898        } else {
    99             $css = '<style>.notice{background-color:#c00;color:#fff;display:none;font-size:1.25rem;padding:2em 2vw;text-align:center;width:100%}.notice .notice-content{display:block;margin:0 auto}.notice h1{font-size:1.4em;font-weight:700;margin:0 0 0.25em}.notice p{font-size:1.2em;margin:0}.notice a{color:#fff;text-decoration:underline}.notice a:hover{color:#00c}</style>';
     99            $css = '<style>.notice{background-color:#c00;color:#fff;display:none;font-size:1.25rem;padding:2em 2vw;position:relative;text-align:center;width:100%;z-index:100}.notice .notice-content{display:block;margin:0 auto}.notice h1{font-size:1.2rem;font-weight:700;margin:0 0 0.25em}.notice p{font-size:1rem;margin:0}.notice a{color:#fff;text-decoration:underline}.notice a:hover{color:#00c}
     100</style>';
    100101        }
    101102
  • wp-notice-bar/trunk/readme.txt

    r1699571 r1700625  
    1212== Description ==
    1313
    14 The plugin allows you to display a notification bar at the top of every page, similar to the Squarespace announcement bar. The notice can include a heading, message, and link. Notices can also be scheduled to appear at a specific time.
     14The plugin allows to to show a notification bar at the top of every page. The notice can include a heading, message and link. Notices can also be scheduled to appear at a specific time.
    1515
    1616Developed by [James Robinson](https://jmr.codes).
     
    2424== Changelog ==
    2525
     26= 0.1.1 =
     27Updated the image assets, made small changes to the default CSS to better handle z-index issues. Modified the font size to use rem units.
     28
    2629= 0.1 =
    2730
Note: See TracChangeset for help on using the changeset viewer.