Closed rveitch closed 8 years ago
bradenfcc@2703aa9e12c7214d48d1285222643abb58b0ba60
I'd like to make sure the individual segments and their corresponding links are clearly understood by the end user. How about something along the lines of this:
Here is a .zip file containing an SVG of the icon in the Northland Outdoors colors. I've also included a base64 encoding, which may be a leaner route for CSS. Whatever works best, adjust as needed.
/* file size: 0.5ko | optimized file size: 0.5ko | base64 size: 0.7ko */
.norad-play-button {
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiI+PHBhdGggZmlsbD0iI2QxNzcyOCIgZD0iTTM2IDE4YzAgOS45NDEtOC4wNTkgMTgtMTggMThzLTE4LTguMDU5LTE4LTE4YzAtOS45NDEgOC4wNTktMTggMTgtMThzMTggOC4wNTkgMTggMTh6Ij48L3BhdGg+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTEzLjc4NiAyNy4wMDFsMi4zNzQtOS4wMDEtMi4zNzQtOS4wMDEgMTAuMjg4IDkuMDAxLTEwLjI4OCA5LjAwMXoiPjwvcGF0aD48L3N2Zz4=);
background-size: 36px 36px
}
Here is an icon we can use to replace the "listen live" text link on the Stations
page.
/* file size: 0.9ko | optimized file size: 0.9ko | base64 size: 1.2ko */
.norad-listen-live {
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURP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ktMS43NjggMC4zMS0wLjg1MyAwLjQ3OS0xLjc3MyAwLjQ3OS0yLjczMnoiPjwvcGF0aD48L3N2Zz4=);
}
Default-Collapsed:
Expanded:
Mobile Gif:
Desktop:
@rveitch Reminder that this code needs to be reviewed
Closed by #28
radio-podcasts.php
layout update (see basic mockup below)/includes/css/fcc_norad.css
folder and fileif ( ! is_admin() ) { add_action( enqueue css on the front only ); }