Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: radgeek/occupysandy
base: f2a682821e
...
head fork: radgeek/occupysandy
compare: 52da302b00
  • 19 commits
  • 5 files changed
  • 0 commit comments
  • 3 contributors
Commits on Nov 17, 2012
Charles Johnson Merge pull request #1 from radgeek/master
State filter, basic working model
74cef4d
Erica Heinz energy7 isotope menu tweak
Signed-off-by: Erica <e@energy7.com>
a6eec1b
Erica Heinz energy7 fix weather class names
Signed-off-by: Erica <e@energy7.com>
883dfdc
Erica Heinz energy7 fix syntax error in responsive styling
Signed-off-by: Erica <e@energy7.com>
a0eaf57
Erica Heinz energy7 Merge pull request #2 from radgeek/master
Filter out irrelevant filters when drilling down or backing up for states and locales
102dd3c
Charles Johnson Merge pull request #3 from radgeek/master
Isotope Filters / Fix wonky sorting
98f633a
Erica Heinz energy7 style submenus and fix show/hide
Signed-off-by: Erica <e@energy7.com>
e7c3b10
Erica Heinz energy7 fix height
Signed-off-by: Erica <e@energy7.com>
ae888da
Commits on Nov 18, 2012
Charles Johnson Start off on some cache diagnostics. Shelve for the moment. e8abfad
Erica Heinz energy7 temp commit
Signed-off-by: Erica <e@energy7.com>
9d4fcef
Erica Heinz energy7 recompile less (stars not showing on home page)
Signed-off-by: Erica <e@energy7.com>
994f0ee
Erica Heinz energy7 reduce sidebar text/spacing
Signed-off-by: Erica <e@energy7.com>
dd7bf7f
Erica Heinz energy7 fix icon position on social media mashup
Signed-off-by: Erica <e@energy7.com>
1f6244c
Erica Heinz energy7 fix card styling on subpages
Signed-off-by: Erica <e@energy7.com>
5770e61
Commits on Nov 19, 2012
Erica Heinz energy7 style changes on location feeds, blog
Signed-off-by: Erica <e@energy7.com>
59003d6
Charles Johnson Merge branch 'master' of github.com:occupynet/sandy into http-caching 3b3cd84
Charles Johnson [location-cards] Shortcode / @with/@of and @using attributes -- allow…
… alternate templates, and allow some more or less direct SQL query access.
65b9597
Charles Johnson FusionTables / Do a lil bit of error checking in the templates. cb9bfb8
Charles Johnson [location-cards] Shortcode / @with/@of bugfix -- use = for singleton …
…arrays, allowing for ROWID queries. Google's sub-SQL dialect apparently can't handle sending ROWID through an IN operator?
52da302
12 card.php
View
@@ -1,6 +1,16 @@
<?php
// Prepare data for use in template.
$card = get_the_occupy_sandy_card();
+
+if (is_wp_error($card)) :
+?>
+<div class="card error <?php print $card->get_error_code(); ?>">
+<h5 class="cardType">Back-End Error</h5>
+<p><?php print $card->get_error_message(); ?></p>
+</div>
+
+<?php
+else :
$classes = array('card', $card->get_card_class());
$state = $card->get_state();
$address = $card->get_address();
@@ -64,4 +74,6 @@
<?php endif; ?>
</div>
+<?php
+endif;
275 css/style.css
View
@@ -1,274 +1 @@
-@import 'stateface.css';
-body{width:100%;*zoom:1;zoom:1;}body:before,body:after{content:"";display:table;}
-body:after{clear:both;}
-body:before{content:"\0020";display:block;height:0;overflow:hidden;}
-body:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both;}
-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}
-:focus{outline:0;}
-body{line-height:1;}
-ol,ul{list-style:none;}
-table{border-collapse:separate;border-spacing:0;}
-caption,th,td{font-weight:normal;text-align:left;}
-blockquote:before,blockquote:after,q:before,q:after{content:"";}
-blockquote,q{quotes:"" "";}
-a img{border:0;}
-article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
-*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
-@font-face{font-family:'LeagueGothicRegular';src:url('../fonts/League_Gothic-webfont.eot');src:url('../fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/League_Gothic-webfont.woff') format('woff'),url('../fonts/League_Gothic-webfont.ttf') format('truetype'),url('../fonts/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'entypo';src:url('../fonts/entypo.eot');src:url('../fonts/entypo.eot?#iefix') format('embedded-opentype'),url('../fonts/entypo.woff') format('woff'),url('../fonts/entypo.ttf') format('truetype'),url('../fonts/entypo.svg#entypo') format('svg');font-weight:normal;font-style:normal;}@font-face{font-family:'entypo-social';src:url('../fonts/entypo-social.eot');src:url('../fonts/entypo-social.eot?#iefix') format('embedded-opentype'),url('../fonts/entypo-social.woff') format('woff'),url('../fonts/entypo-social.ttf') format('truetype'),url('../fonts/entypo-social.svg#entypo-social') format('svg');font-weight:normal;font-style:normal;}.left{float:left;}
-.right{float:right;}
-.nodisplay{display:none!important;}
-.leader{margin-bottom:.2em;}
-.follower{margin-top:.2em;}
-.stalker{margin-top:0;}
-.inlineBlock{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;}
-.fixer{content:"\0020";display:block;height:0;overflow:hidden;}
-.clearfix{zoom:1;}.clearfix:before{content:"\0020";display:block;height:0;overflow:hidden;}
-.clearfix:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both;}
-.clear-shadow{-moz-box-shadow:0 0 0 0 #000000;-webkit-box-shadow:0 0 0 0 #000000;box-shadow:0 0 0 0 #000000;behavior:url(../js/PIE.htc);}
-.ellipsis{text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
-.ir{display:block;text-indent:-999em;overflow:hidden;background-repeat:no-repeat;text-align:left;direction:ltr;}
-.condensed{font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;}
-.sans{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;}
-.pictogram{font-family:"entypo";}
-.socialgram{font-family:"entypo-social";}
-body,input,textarea{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;color:#222222;font-size:14px;line-height:1.5em;font-weight:400;}
-body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,caption,pre,table,address,blockquote{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px;line-height:1.5em;margin:0;padding:0;text-align:left;color:#222222;}
-h1,h2,h3,h4,h5,h6,dl,ol,ul,pre,table,address,blockquote{margin:1em 0 .5em;}
-p{margin:.5em 0 .5em;}
-h1{font-size:36px;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;}
-h2{font-size:22px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;}
-h3{font-size:18px;}
-h4{font-size:14px;}
-h5{font-size:13px;}
-h6{font-size:12px;}
-p,label,li{font-size:15px;}
-.small{font-size:12px;}
-.caps{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;}
-.alertText,.alertText a{color:#da521f;}
-blockquote{font-size:18px;font-style:normal;color:#000000;background:#ffffff;margin-top:1.5em;padding:25px 50px;border-top:1px solid #BBB;border-bottom:1px solid #BBB;margin-bottom:2em;position:relative;}blockquote:before,blockquote:after{font-family:"entypo";content:"★";font-size:60px;color:#ffcd67;}
-blockquote:before{position:absolute;left:5px;top:25px;text-indent:0;}
-blockquote:after{position:absolute;right:5px;top:25px;text-indent:0;}
-blockquote p{font-size:18px;margin:0;}
-.home blockquote{border-bottom:0;margin-bottom:.5em;}
-cite{font-size:12px;text-align:right;}
-abbr,acronym,dfn{border-bottom:1px dotted #666;cursor:help;}
-address{display:block;margin:0 0 1.5em;}
-ins{background:#eeeeee;text-decoration:none;}
-sup,sub{font-size:10px;height:0;line-height:1;position:relative;vertical-align:baseline;}
-sup{bottom:1ex;}
-sub{top:.5ex;}
-pre{background:#eeeeee;font:13px "Courier 10 Pitch",Courier,monospace;line-height:1.5em;margin-bottom:1.5em;padding:0.75em 1.5em;}
-.currentNeeds{padding:15px;background:#eeeeee;}
-.entry-content h2{margin-top:1.5em;}
-a,a:active,a:visited{color:#0085bf;text-decoration:none;cursor:pointer;}a:hover,a:active:hover,a:visited:hover,a:focus,a:active:focus,a:visited:focus{color:#222222;}
-a img{border:0;}
-button,.button,.button:active,.button:visited{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;-moz-box-shadow:0 0 0 0 #000000;-webkit-box-shadow:0 0 0 0 #000000;box-shadow:0 0 0 0 #000000;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;behavior:url(../js/PIE.htc);font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;padding:10px 15px;text-align:center;font-weight:bold;background:#222222;color:#eeeeee;border:0;text-decoration:none;cursor:pointer;-webkit-transition-property:background-color,color;-webkit-transition-duration:100ms;}button:hover,.button:hover,.button:active:hover,.button:visited:hover{background:#aaaaaa;color:#ffffff;}
-.btnAlert,.btnAlert:active,.btnAlert:visited{background:#da521f;color:#ffffff;}
-.btnSmall,.btnSmall:active,.btnSmall:visited{background:#0085bf;color:#ffffff;width:auto!important;padding:8px 12px;font-size:12px;}
-.edit-link{float:right;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;border-bottom:2px solid #0085bf;display:block;margin-left:15px;}
-#respond{background:#eeeeee;padding:5px 15px;margin-top:30px;}#respond #reply-title{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;}
-#respond textarea{width:100%;}
-#respond .form-allowed-tags{font-size:13px;}
-#respond input[type="button"],#respond input[type="submit"],#respond input[type="reset"]{background:#0085bf;color:#ffffff;width:auto!important;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;behavior:url(../js/PIE.htc);border:0;}
-ul{list-style:square;}
-ol{list-style-type:decimal;}
-ol ol{list-style:upper-alpha;}
-ol ol ol{list-style:lower-roman;}
-ol ol ol ol{list-style:lower-alpha;}
-ul ul,ol ol,ul ol,ol ul{margin-bottom:0;}
-dl{margin:0;}
-dt{font-weight:400;}
-#content ol,#content ul,#mw_content ol,#mw_content ul{margin:0 25px 25px;}
-#content ol{margin:2em 50px!important;}#content ol li{margin-bottom:.5em;}
-ol.counter{counter-reset:li;margin:2em 25px!important;}ol.counter li{position:relative;padding-left:24px;border-bottom:1px dotted #DDD;list-style:none;padding-top:.75em;padding-bottom:1em;margin:0!important;}
-ol.counter li:first-child{border-top:1px dotted #DDD;}
-ol.counter li:before{content:counter(li);counter-increment:li;position:absolute;top:12px;left:0;font-size:22px;line-height:20px;font-weight:bold;color:#BBB;}
-.form-item{margin-top:2em;line-height:1.5em;}
-.gfield_required{color:#da521f;}
-input[type="checkbox"],input[type="radio"]{margin-left:15px;}
-.edit-value{margin-top:.25em;}.edit-value label{white-space:nowrap;font-weight:normal;}
-.content.description{font-style:italic;margin-top:.5em;}
-input#submit,input.form-submit{background:#0085bf;color:#ffffff;width:auto!important;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;behavior:url(../js/PIE.htc);border:0;}
-.menu{*zoom:1;zoom:1;width:100%;}.menu:before,.menu:after{content:"";display:table;}
-.menu:after{clear:both;}
-.menu:before{content:"\0020";display:block;height:0;overflow:hidden;}
-.menu:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both;}
-.menu li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;}
-.sub-menu{display:none;float:left;margin:0;position:absolute;top:44px;left:0;width:188px;z-index:99999;background:#eeeeee;}.sub-menu li{margin:0;}
-.sub-menu a{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;border-bottom:1px solid #dddddd;font-size:15px;line-height:1em;padding:10px;width:150px;}
-.sub-menu li:hover a{background:#aaaaaa;}
-hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.4em;}
-#page{width:100%;overflow:hidden;}
-#main{clear:both;}
-#primary{width:100%;background:#ffffff;padding:20px 30px 40px;}
-.layout-1c #primary{padding:0;}
-.layout-1c .entry-header,.layout-1c .entry-content{padding:0 25px;max-width:900px;}
-.layout-1c .entry-title{margin-top:.5em;margin-bottom:-0.5em;}
-.layout-1c .entry-content p{margin-top:1.5em;}
-.layout-2cl #primary{width:75%;float:right;}
-#secondary{width:25%;padding:0 15px;margin-top:35px;background:#ffffff;border-right:1px solid #dddddd;}#secondary .button{margin-bottom:10px;width:100%;}
-#secondary .stateface-nj{font-size:40px;line-height:33px;text-transform:lowercase;float:left;zoom:1;width:20px;margin-right:-30px;}
-#content{width:100%;}
-#branding{margin:0;background:#000000;}#branding hgroup{clear:both;height:164px;padding:7px;background:#333;}
-#menu-global-menu{padding:0 10px;margin:0;background:#000000;text-align:right;height:34px;overflow:hidden;}#menu-global-menu li{margin-left:0;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;line-height:34px;}
-#menu-global-menu a{color:#555555;display:block;padding:0 10px;}#menu-global-menu a:hover{color:#ffffff;}
-#menu-global-menu .globalLogo{float:left;margin-left:0;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-size:22px;}#menu-global-menu .globalLogo a{color:#ffffff;}
-#menu-global-menu .globalLogo span{color:#ffcd67;}
-#site-title{margin:0;font-size:48px;line-height:42px;position:relative;}#site-title span{position:absolute;text-align:center;text-shadow:0 0 10px rgba(0, 0, 0, 0.4);behavior:url(../js/PIE.htc);height:150px;width:150px;padding:12px 0 0;}
-#site-title a{color:#ffffff;}
-#carousel{height:150px;width:120%;overflow:hidden;}#carousel a{margin-right:5px;}
-#access{background:#bbbbbb;}
-#menu-local-menu{clear:both;margin:0;background:#999;}#menu-local-menu li{border-right:1px solid #BBB;margin:0 -4px 0 0;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-size:26px;line-height:44px;}
-#menu-local-menu a{color:#ffffff;display:block;padding:0 20px;-webkit-transition-property:background-color;-webkit-transition-duration:100ms;}
-#menu-local-menu a:hover,#menu-local-menu .current-menu-item a,#menu-local-menu .current-page-ancestor a{background:#ffcd67;}
-#menu-item-602 a,#menu-item-603 a,#menu-item-3094 a,#menu-item-3095 a{font-family:"entypo-social";font-size:40px;padding:0;width:44px;height:44px;line-height:40px;text-align:center;}
-.communities{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;font-size:14px;margin-top:0;}
-.page-title{font-size:48px;margin:0;color:#ffcd67;}
-.home .page-title,.home .entry-title{display:none;}
-.page-subtitle{margin-top:0;font-size:18px;}
-.entry-title{margin-top:3px;color:#222222;}
-.entry-date,.sep{font-style:italic;color:#aaaaaa;}
-.entry-summary{margin-bottom:2em;max-width:700px;}
-footer.entry-meta{color:#aaaaaa;font-size:12px;}
-.blog .entry-title,.single-post .entry-title{line-height:1.1em;margin-bottom:0;}
-.blog footer.entry-meta,.single-post footer.entry-meta{border-bottom:1px solid #DDD;margin-bottom:2em;padding-bottom:10px;}
-.blog .post-thumbnail,.single-post .post-thumbnail{float:right;margin:0 0 15px 25px;}
-.blog #author-avatar,.single-post #author-avatar{float:left;margin:0 20px 10px 0;}
-.single-post .entry-content{margin:1.5em 0;}.single-post .entry-content p{margin-bottom:1em;}
-.page-child .entry-title{margin-bottom:-10px;}
-.page-child .entry-content h1,.page-child .entry-content h2,.page-child .entry-content h3,.page-child .entry-content h4,.page-child .entry-content h5,.page-child .entry-content h6,.page-child .entry-content dl,.page-child .entry-content ol,.page-child .entry-content ul{margin-top:1.5em;}
-.widget-title{display:none;}
-.start-widget{margin-top:25px;border-top:1px dotted #666;padding:0 5px;}
-.startList{list-style:none;}.startList li{font-size:14px;border-top:1px dotted #EEE;padding-top:.5em;padding-bottom:.75em;}
-.startList span{font-size:22px;line-height:20px;margin-right:10px;font-weight:bold;color:#BBB;float:left;}
-.email-form{border-top:1px dotted #555555;padding:5px;margin-top:25px;text-align:left;}.email-form label{font-weight:400;padding:0 3px;}
-.email-form .edit-value{background:#eeeeee;padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;behavior:url(../js/PIE.htc);margin:3px 0 5px;}
-.email-form input[type="text"]{margin:0;width:100%;}
-.social-widget{border-top:1px dotted #555555;padding:15px 5px;}.social-widget a{font-size:40px;padding:10px;}
-.social-title{margin:0;}.social-title span{float:left;margin-right:10px;}
-.widget_polylang ul{margin:-10px 0 25px;list-style:none;}
-.widget_polylang li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;font-size:12px;margin-right:5px;line-height:1em;}
-#menu-local-menu .lang-item{display:none;}
-.twtr-widget,.twtr-doc{width:100%!important;margin-top:-20px;margin-bottom:-20px;}
-.twtr-hd,.twtr-ft{display:none;}
-.twtr-widget .twtr-tweet{border-bottom:1px solid #CCC;padding:0!important;}
-.twtr-user{display:none!important;}
-.tweet-url,.username{color:#999!important;}.tweet-url:hover,.username:hover{color:#0085bf !important;text-decoration:none!important;}
-.twtr-widget .twtr-tweet-text p{line-height:1.5em!important;}
-.twtr-widget em,.twtr-widget .twtr-new-results{font-size:12px!important;font-style:italic!important;}.twtr-widget em a,.twtr-widget .twtr-new-results a{color:#999!important;}.twtr-widget em a:hover,.twtr-widget .twtr-new-results a:hover{color:#0085bf !important;}
-.twtr-timestamp{font-weight:bold;}
-.twtr-widget .twtr-tweet-wrap{padding:15px 10px!important;}
-.twtr-img{height:25px;width:25px;margin-top:5px;}
-.twitter-timeline{border-top:1px solid #CCC;font-size:11px;padding:8px 10px 10px;display:block;color:#0085bf;}
-.footer-title{display:none;}
-.footer-widget-title{margin:0;line-height:1em;}
-.weather .twtr-widget,.weather .twtr-doc{margin-top:0;}
-.weather .twtr-tweet-wrap{padding:15px 0px!important;}
-.weather .twtr-fav,.weather .twtr-rt,.weather .twtr-reply{display:none;}
-.smm-item{border-bottom:1px solid #CCC;max-height:160px;overflow:hidden;overflow-y:scroll;padding:5px 50px 0!important;background-position:13px 12px!important;}.smm-item p{font-size:14px;}
-.smm-item .entry-meta{font-size:12px;font-style:italic;}.smm-item .entry-meta a{color:#999;}
-#interoccupy{clear:both;border-top:1px solid #bbbbbb;margin-top:25px;}#interoccupy p{font-size:14px;margin:0 0 1em;}
-#interoccupy .socialgram{font-size:30px;margin-left:5px;}
-#interoccupy .about{display:inline;float:left;width:47.91666666666667%;margin:0 1.0416666666666665%;padding:25px;}
-#interoccupy .events,#interoccupy .contact,#interoccupy .weather{display:inline;float:left;width:22.916666666666664%;margin:0 1.0416666666666665%;padding:25px 25px 25px 0;}#interoccupy .events dt,#interoccupy .contact dt,#interoccupy .weather dt{margin-top:.5em;}
-#interoccupy .footer-title{margin-top:0;}
-#interoccupy .footer-updated{font-style:italic;color:#AAA;}
-#colophon{clear:both;}
-#site-generator{background:#000000;color:#555555;padding:5px 25px 10px;font-size:12px;}#site-generator a{color:#555555;font-weight:400;}#site-generator a:hover{color:#ffffff;}
-.error404 #main #searchform{border-bottom:1px solid #ddd;margin:0 0 1.4em;padding:0 0 1.4em;}
-.error404 .hentry #s{width:60%;}
-.error404 .hentry .widget{background:transparent;border:none;padding:0;}
-.otherMaps{display:inline;float:left;width:14.583333333333334%;margin:0 1.0416666666666665%;float:right;}
-.legend{padding:25px;}
-.key{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;}
-.keyHub{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#da521f;}
-.keyDropoff{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#22b573;}
-.keyVolunteer{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#0085bf;}
-.keyBoth{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#00a99d;}
-.keyUnknown{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#aaaaaa;}
-.keyFood{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#ffcd67;}
-.volunteerPage .main,.mapsPage .main{display:inline;float:left;width:97.91666666666666%;margin:0 1.0416666666666665%;padding:0;}
-.basics{background:#ffffff;padding:25px;}
-.options-container{list-style:none;background:#eeeeee;margin:0!important;padding:10px 25px 0;}.options-container li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;margin-right:-4px;border-right:1px dotted #ffffff;}
-.options-container a{display:block;padding:4px 11px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;background:#0085bf;color:#ffffff;}
-.options-container a:hover{background:#555555;color:#ffffff;}
-.options-container .filter-class.selected{background-color:#222222;color:#ffffff;}
-.options-container+.options-container{margin-bottom:15px;}
-.container{*zoom:1;zoom:1;clear:both;background:#eeeeee;padding:25px 0;margin-bottom:-25px;width:100%;}.container:before,.container:after{content:"";display:table;}
-.container:after{clear:both;}
-.container:before{content:"\0020";display:block;height:0;overflow:hidden;}
-.container:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both;}
-.card{float:left;width:300px;margin:0 0 25px 25px;padding:0 15px 10px;background:#ffffff;box-shadow:3px 3px 25px -10px #000000;}.card h1,.card h2,.card h5,.card p{margin-bottom:10px;}
-.card span{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;color:#222222;}
-.card .stateface{float:right;color:#ffffff;font-size:27px;text-transform:none;margin-top:1px;margin-right:-5px;}
-.cardType{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:700;color:#ffffff;padding:0 15px;margin:0 -15px;height:32px;line-height:32px;background-repeat:no-repeat;background-position:right center;}
-.cardName{font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;line-height:1.1em;padding-top:4px;margin-top:10px;}
-.cardAddress{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;margin-top:-6px;}
-.cardUpdated{font-style:italic;margin-top:-6px;font-size:14px;}
-.cardStatus{color:#da521f;font-size:15px;}
-.cardDetails{color:#222222;font-size:14px;}
-.cardTimes,.cardContact,.cardLink{font-weight:bold;font-size:14px;}.cardTimes span,.cardContact span,.cardLink span{font-size:11px;}
-.cardLink a{color:#000000;text-decoration:underline;}.cardLink a:hover{color:#0085bf;}
-.cardButtons{*zoom:1;zoom:1;margin:12px 0 6px;}.cardButtons:before,.cardButtons:after{content:"";display:table;}
-.cardButtons:after{clear:both;}
-.cardButtons:before{content:"\0020";display:block;height:0;overflow:hidden;}
-.cardButtons:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both;}
-.cardButtons li{float:left;margin-right:10px;}
-.cardButtons a{color:#000000;font-size:45px;line-height:27px;display:block;width:30px;height:30px;text-align:center;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;behavior:url(../js/PIE.htc);border:1px solid #CCC;}.cardButtons a:hover{color:#0085bf;}
-.hub .cardType{background:#da521f !important;}
-.volunteer .cardType{background:#0085bf;}
-.dropoff .cardType{background:#22b573;}
-.dropoff.volunteer .cardType{background:#00a99d;}
-.unknown .cardType{background:#aaaaaa;}
-.food .cardType{background:#222222;}
-.tile-always-display .cardType{background:#ffcd67;}
-.isotope-item{z-index:2;}
-.isotope-hidden.isotope-item{pointer-events:none;z-index:1;}
-.isotope,.isotope .isotope-item{-webkit-transition-duration:0.8s;-moz-transition-duration:0.8s;-ms-transition-duration:0.8s;-o-transition-duration:0.8s;transition-duration:0.8s;}
-.isotope{-webkit-transition-property:height, width;-moz-transition-property:height, width;-ms-transition-property:height, width;-o-transition-property:height, width;transition-property:height, width;}
-.isotope .isotope-item{-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform,opacity;-ms-transition-property:-ms-transform,opacity;-o-transition-property:-o-transform,opacity;transition-property:transform, opacity;}
-.isotope.no-transition,.isotope.no-transition .isotope-item,.isotope .isotope-item.no-transition{-webkit-transition-duration:0s;-moz-transition-duration:0s;-ms-transition-duration:0s;-o-transition-duration:0s;transition-duration:0s;}
-.ui-widget{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px;}
-.ui-widget .ui-widget{font-size:14px;}
-.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px;}
-.ui-widget-content{border:0!important;background:#F9F9F9!important;color:#222222;}
-.ui-widget-content a{color:#222222;}
-.ui-widget-header{border:0;background:#999!important;color:#FFF;font-weight:bold;}
-.ui-widget-header a{color:#FFF;}
-.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:0;background:transparent!important;font-weight:normal;color:#ffffff;}
-.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#ffffff;text-decoration:none;background:transparent!important;}
-.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:0;background:#ffcd67;font-weight:normal;color:#ffffff;}
-.ui-state-hover a,.ui-state-hover a:hover{color:#ffffff;text-decoration:none;background:#ffcd67;}
-.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:0;background:#FFF;font-weight:normal;color:#ffffff;}
-.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#ffffff;text-decoration:none;}
-.ui-widget :active{outline:none;}
-.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:0;background:#ffcd67;color:#ffffff;}
-.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#ffffff;}
-.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:0;background:#FFF;color:#da521f;}
-.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#da521f;}
-.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#da521f;}
-.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold;}
-.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:alpha(opacity=70);font-weight:normal;}
-.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:alpha(opacity=35);background-image:none;}
-.ui-tabs{position:relative;padding:0;zoom:1;padding:0!important;}
-.ui-tabs .ui-tabs-nav{margin:0!important;padding:0!important;background-color:#999;height:36px;border:0!important;}
-.ui-tabs .ui-tabs-nav li{list-style:none;float:left;background-color:#999;position:relative;top:0;margin:0;border-bottom:0 !important;padding:0;white-space:nowrap;line-height:36px;font-size:24px;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;border-right:1px;}
-.ui-tabs .ui-tabs-nav li a{float:left;padding:0 25px!important;line-height:36px;text-decoration:none;color:#FFF;}
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:0;}
-.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;background:#ffcd67;color:#ffffff;}
-.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:0!important;background:#F9F9F9;}
-.ui-tabs .ui-tabs-hide{display:none !important;}
-.ui-accordion .ui-accordion-header{border-left:0;border-right:0;margin-top:-1px !important;}
-.ui-accordion-icons .ui-accordion-header a,.ui-accordion .ui-accordion-header a{font-size:15px;padding:10px 10px 12px 35px!important;font-weight:bold;}.ui-accordion-icons .ui-accordion-header a:hover,.ui-accordion .ui-accordion-header a:hover{background:#ffffff;}
-.ui-accordion .ui-state-hover a,.ui-accordion .ui-state-hover a:hover{background:#ffffff;}
-.ui-accordion .ui-accordion-content{margin-bottom:0;padding:10px 35px 15px 35px!important;}.ui-accordion .ui-accordion-content a{color:#0085BF;}
-.ui-corner-tl,.ui-corner-tr,.ui-corner-bl,.ui-corner-br,.ui-corner-top,.ui-corner-bottom,.ui-corner-right,.ui-corner-left,.ui-corner-all{-moz-border-radius:0!important;-webkit-border-radius:0!important;border-radius:0!important;}
-.sws-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.sws-tabs.ui-tabs .ui-tabs-nav li a:hover{color:white!important;border-radius:0;background:#ffcd67 !important;}
-.ui-tabs .ui-tabs-nav li{top:0!important;margin:0!important;border:0!important;padding:0!important;border-radius:0!important;}
-.ui-tabs iframe{margin-left:50px;}
-.sws-tabs.ui-tabs .ui-tabs-nav{height:auto;}
-.sws-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a{color:black;border-radius:0;}
-.ui-state-active,.ui-widget-content .ui-state-active{border-radius:5px 5px 0 0;border-bottom:none;}
-.ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom.ui-accordion-content-active{border-top:none;border-radius:0 0 5px 5px;}
-input::-moz-focus-inner{border:0;padding:0;}
-@media screen and (max-width:720px){.layout-2cl #primary,#secondary{width:100%;margin-bottom:1em;float:none;}}@media print{body{background:none !important;font-size:10pt;} footer.entry-meta a[rel=bookmark]:link:after,footer.entry-meta a[rel=bookmark]:visited:after{content:" [" attr(href) "] ";} #page{clear:both !important;display:block !important;float:none !important;max-width:100%;position:relative !important;}}.skip-link,.section-heading{display:none;}
+@import 'stateface.css';body{width:100%;*zoom:1;zoom:1}body:before,body:after{content:"";display:table}body:after{clear:both}body:before{content:"\0020";display:block;height:0;overflow:hidden}body:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}:focus{outline:0}body{line-height:1}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,th,td{font-weight:normal;text-align:left}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{quotes:"" ""}a img{border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}@font-face{font-family:'LeagueGothicRegular';src:url('../fonts/League_Gothic-webfont.eot');src:url('../fonts/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),url('../fonts/League_Gothic-webfont.woff') format('woff'),url('../fonts/League_Gothic-webfont.ttf') format('truetype'),url('../fonts/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');font-weight:normal;font-style:normal}@font-face{font-family:'entypo';src:url('../fonts/entypo.eot');src:url('../fonts/entypo.eot?#iefix') format('embedded-opentype'),url('../fonts/entypo.woff') format('woff'),url('../fonts/entypo.ttf') format('truetype'),url('../fonts/entypo.svg#entypo') format('svg');font-weight:normal;font-style:normal}@font-face{font-family:'entypo-social';src:url('../fonts/entypo-social.eot');src:url('../fonts/entypo-social.eot?#iefix') format('embedded-opentype'),url('../fonts/entypo-social.woff') format('woff'),url('../fonts/entypo-social.ttf') format('truetype'),url('../fonts/entypo-social.svg#entypo-social') format('svg');font-weight:normal;font-style:normal}.left{float:left}.right{float:right}.nodisplay{display:none!important}.leader{margin-bottom:.2em}.follower{margin-top:.2em}.stalker{margin-top:0}.inlineBlock{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline}.fixer{content:"\0020";display:block;height:0;overflow:hidden}.clearfix{zoom:1}.clearfix:before{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}.clear-shadow{-moz-box-shadow:0 0 0 0 #000;-webkit-box-shadow:0 0 0 0 #000;box-shadow:0 0 0 0 #000;behavior:url(../js/PIE.htc)}.ellipsis{text-overflow:ellipsis;-o-text-overflow:ellipsis;-webkit-text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ir{display:block;text-indent:-999em;overflow:hidden;background-repeat:no-repeat;text-align:left;direction:ltr}.condensed{font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px}.sans{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal}.pictogram{font-family:"entypo"}.socialgram{font-family:"entypo-social"}body,input,textarea{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;color:#222;font-size:14px;line-height:1.5em;font-weight:400}body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,caption,pre,table,address,blockquote{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px;line-height:1.5em;margin:0;padding:0;text-align:left;color:#222}h1,h2,h3,h4,h5,h6,dl,ol,ul,pre,table,address,blockquote{margin:1em 0 .5em}p{margin:.5em 0 .5em}h1{font-size:36px;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px}h2{font-size:22px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em}h3{font-size:18px}h4{font-size:14px}h5{font-size:13px}h6{font-size:12px}p,label,li{font-size:15px}.small{font-size:12px}.caps{text-transform:uppercase;letter-spacing:1px;line-height:1.2em}.alertText,.alertText a{color:#da521f}blockquote{font-size:18px;font-style:normal;color:#000;margin-top:1.5em;padding:25px 50px;border-top:1px solid #BBB;border-bottom:1px solid #BBB;margin-bottom:2em;position:relative}blockquote:before,blockquote:after{font-family:"entypo";content:"★";font-size:60px;color:#ffcd67}blockquote:before{position:absolute;left:5px;top:25px;text-indent:0}blockquote:after{position:absolute;right:5px;top:25px;text-indent:0}blockquote p{font-size:18px;margin:0}cite{font-size:12px;text-align:right}abbr,acronym,dfn{border-bottom:1px dotted #666;cursor:help}address{display:block;margin:0 0 1.5em}ins{background:#eee;text-decoration:none}sup,sub{font-size:10px;height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:1ex}sub{top:.5ex}pre{background:#eee;font:13px "Courier 10 Pitch",Courier,monospace;line-height:1.5em;margin-bottom:1.5em;padding:.75em 1.5em}.currentNeeds{padding:15px;background:#eee}.entry-content h2{margin-top:1.5em}a,a:active,a:visited{color:#0085bf;text-decoration:none;cursor:pointer}a:hover,a:active:hover,a:visited:hover,a:focus,a:active:focus,a:visited:focus{color:#222}a img{border:0}button,.button,.button:active,.button:visited{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;-moz-box-shadow:0 0 0 0 #000;-webkit-box-shadow:0 0 0 0 #000;box-shadow:0 0 0 0 #000;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;behavior:url(../js/PIE.htc);font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;padding:10px 15px;text-align:center;font-weight:bold;background:#222;color:#eee;border:0;text-decoration:none;text-shadow:none;cursor:pointer;-webkit-transition-property:background-color,color;-webkit-transition-duration:100ms}button:hover,.button:hover,.button:active:hover,.button:visited:hover{background:#555;color:#fff}.btnAlert,.btnAlert:active,.btnAlert:visited{background:#da521f;color:#fff}.btnSmall,.btnSmall:active,.btnSmall:visited{background:#0085bf;color:#fff;width:auto!important;padding:8px 12px;font-size:12px}.btnSmall:hover,.btnSmall:active:hover,.btnSmall:visited:hover{background:#555;color:#fff}.edit-link{float:right;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;border-bottom:2px solid #0085bf;display:block;margin-left:15px}#respond{background:#eee;padding:5px 15px;margin-top:30px}#respond #reply-title{text-transform:uppercase;letter-spacing:1px;line-height:1.2em}#respond textarea{width:100%}#respond .form-allowed-tags{font-size:13px}#respond input[type="button"],#respond input[type="submit"],#respond input[type="reset"]{background:#0085bf;color:#fff;width:auto!important;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;behavior:url(../js/PIE.htc);border:0}#respond input[type="button"]:hover,#respond input[type="submit"]:hover,#respond input[type="reset"]:hover{background:#555;color:#fff}ul{list-style:square}ol{list-style-type:decimal}ol ol{list-style:upper-alpha}ol ol ol{list-style:lower-roman}ol ol ol ol{list-style:lower-alpha}ul ul,ol ol,ul ol,ol ul{margin-bottom:0}dl{margin:0}dt{font-weight:400}#content ol,#content ul,#mw_content ol,#mw_content ul{margin:0 25px 25px}#content ol{margin:2em 50px!important}#content ol li{margin-bottom:.5em}ol.counter{counter-reset:li;margin:2em 25px!important}ol.counter li{position:relative;padding-left:24px;border-bottom:1px dotted #DDD;list-style:none;padding-top:.75em;padding-bottom:1em;margin:0!important}ol.counter li:first-child{border-top:1px dotted #DDD}ol.counter li:before{content:counter(li);counter-increment:li;position:absolute;top:12px;left:0;font-size:22px;line-height:20px;font-weight:bold;color:#BBB}.form-item{margin-top:2em;line-height:1.5em}.gfield_required{color:#da521f}input[type="checkbox"],input[type="radio"]{margin-left:15px}.edit-value{margin-top:.25em}.edit-value label{white-space:nowrap;font-weight:normal}.content.description{font-style:italic;margin-top:.5em}input#submit,input.form-submit{background:#0085bf;color:#fff;width:auto!important;padding:8px 12px;font-size:12px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;behavior:url(../js/PIE.htc);border:0}input#submit:hover,input.form-submit:hover{background:#555;color:#fff}.menu{*zoom:1;zoom:1;width:100%}.menu:before,.menu:after{content:"";display:table}.menu:after{clear:both}.menu:before{content:"\0020";display:block;height:0;overflow:hidden}.menu:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}.menu li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline}hr{background-color:#DDD;border:0;height:1px;margin:3em 0 1em}#page{width:100%;overflow:hidden}#main{clear:both}#primary{width:100%;background:#fff;padding:20px 30px 40px}.layout-1c #primary{padding:0}.layout-1c .entry-header,.layout-1c .entry-content{padding:0 25px;max-width:900px}.layout-1c .entry-title{margin-top:.5em;margin-bottom:-0.5em}.layout-1c .entry-content p{margin-top:1.5em}.layout-2cl #primary{width:75%;float:right}#secondary{width:25%;padding:0 15px;margin-top:35px;background:#fff;border-right:1px solid #ddd}#secondary p{font-size:14px}#secondary .button{margin-bottom:10px;width:100%}#secondary .button.form-submit{margin-bottom:0}#secondary .stateface-nj{font-size:40px;line-height:33px;text-transform:lowercase;float:left;zoom:1;width:20px;margin-right:-30px}#content{width:100%}#branding{margin:0;background:#000}#branding hgroup{clear:both;height:164px;padding:7px;background:#333}#menu-global-menu{padding:0 10px;margin:0;background:#000;text-align:right;height:34px;overflow:hidden}#menu-global-menu li{margin-left:0;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;line-height:34px}#menu-global-menu a{color:#555;display:block;padding:0 10px}#menu-global-menu a:hover{color:#fff}#menu-global-menu .globalLogo{float:left;margin-left:0;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-size:22px}#menu-global-menu .globalLogo a{color:#fff}#menu-global-menu .globalLogo span{color:#ffcd67}#site-title{margin:0;font-size:48px;line-height:42px;position:relative}#site-title span{position:absolute;text-align:center;text-shadow:0 0 10px rgba(0,0,0,0.4);behavior:url(../js/PIE.htc);height:150px;width:150px;padding:12px 0 0}#site-title a{color:#fff}#carousel{height:150px;width:120%;overflow:hidden}#carousel a{margin-right:5px}#access{background:#bbb}.menu-item ul.sub-menu{display:none;-webkit-transition:all 1000ms;-moz-transition:all 1000ms;-ms-transition:all 1000ms;-o-transition:all 1000ms;behavior:url(../js/PIE.htc)}.menu-item:hover ul.sub-menu{display:block}#menu-local-menu{clear:both;margin:0;background:#999}#menu-local-menu li{border-right:1px solid #BBB;margin:0 -4px 0 0;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-size:26px;line-height:44px;position:relative}#menu-local-menu a{color:#fff;display:block;padding:0 20px;-webkit-transition-property:background-color;-webkit-transition-duration:100ms}#menu-local-menu a:hover,#menu-local-menu .current-menu-item a,#menu-local-menu .current-page-ancestor a:hover{background:#ffcd67}#menu-local-menu .current-page-ancestor a{background:#bbb}#menu-local-menu .sub-menu{width:auto;z-index:99999;position:absolute;top:44px;margin:0;padding:0;background:#bbb}#menu-local-menu .sub-menu li{width:100%;margin:0;border:0;border-bottom:1px dotted #ddd}#menu-local-menu .sub-menu li:last-child{border:0}#menu-local-menu .sub-menu a{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px;line-height:1em;padding:8px 20px;width:100%;background:#bbb;white-space:nowrap}#menu-local-menu .sub-menu li:hover a{background:#ffcd67}#menu-item-602 a,#menu-item-603 a,#menu-item-3094 a,#menu-item-3095 a,#menu-item-3653 a,#menu-item-3654 a{font-family:"entypo-social";font-size:40px;padding:0;width:44px;height:44px;line-height:40px;text-align:center}.communities{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:bold;font-size:14px;margin-top:0}.page-title{font-size:48px;margin:0;color:#ffcd67}.home .page-title,.home .entry-title{display:none}.page-subtitle{margin-top:0;font-size:18px}.entry-title{margin-top:3px;color:#222}.entry-date,.sep{font-style:italic;color:#aaa}.entry-summary{margin-bottom:2em;max-width:700px}footer.entry-meta{color:#aaa;font-size:12px}.blog #primary,.single #primary{padding-top:30px}.blog .entry-content,.single .entry-content{margin:1.5em 0}.blog .entry-content p,.single .entry-content p{margin-bottom:1em}.blog .entry-title,.single .entry-title{line-height:1.1em;margin-bottom:0}.blog footer.entry-meta,.single footer.entry-meta{border-bottom:1px solid #DDD;margin-bottom:2em;padding-bottom:10px}.blog .post-thumbnail,.single .post-thumbnail{float:right;margin:0 0 15px 25px}.blog #author-avatar,.single #author-avatar{float:left;margin:0 20px 10px 0}#content .social-commentlist{margin:0 5px!important}#social .social-fn{text-align:left;font-size:14px;font-weight:bold}#social input#submit{background:#0085bf;color:#fff;width:auto!important;padding:8px 12px;font-size:12px;text-shadow:none;height:auto}#social input#submit:hover{background:#555;color:#fff}#social input#submit:hover{background:#555}.page-child .entry-title{margin-bottom:-10px}.page-child .entry-content h1,.page-child .entry-content h2,.page-child .entry-content h3,.page-child .entry-content h4,.page-child .entry-content h5,.page-child .entry-content h6,.page-child .entry-content dl,.page-child .entry-content ol,.page-child .entry-content ul{margin-top:1.5em}.widget-title{display:none}.start-widget{margin-top:25px;border-top:1px dotted #666;padding:0 5px}.startList{list-style:none}.startList li{font-size:14px;border-top:1px dotted #EEE;padding-top:.5em;padding-bottom:.75em}.startList span{font-size:22px;line-height:20px;margin-right:10px;font-weight:bold;color:#BBB;float:left}.email-form{border-top:1px dotted #555;padding:0 5px;margin-top:25px;text-align:left}.email-form label{font-weight:400;padding:0 3px}.email-form .edit-value{background:#eee;padding:4px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;behavior:url(../js/PIE.htc);margin:3px 0 5px}.email-form input[type="text"]{margin:0;width:100%;padding:1px 6px}.social-widget{border-top:1px dotted #555;padding:15px 5px}.social-widget a{font-size:40px;padding:10px}.social-title{margin:0}.social-title span{float:left;margin-right:10px}.widget_polylang ul{margin:-10px 0 25px;list-style:none}.widget_polylang li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;font-size:12px;margin-right:5px;line-height:1em}#menu-local-menu .lang-item{display:none}.twtr-widget,.twtr-doc{width:100%!important;margin-top:-20px;margin-bottom:-20px}.twtr-hd,.twtr-ft{display:none}.twtr-widget .twtr-tweet{border-bottom:1px solid #CCC;padding:0!important}.twtr-user{display:none!important}.tweet-url,.username{color:#999!important}.tweet-url:hover,.username:hover{color:#0085bf!important;text-decoration:none!important}.twtr-widget .twtr-tweet-text p{line-height:1.5em!important}.twtr-widget em,.twtr-widget .twtr-new-results{font-size:12px!important;font-style:italic!important}.twtr-widget em a,.twtr-widget .twtr-new-results a{color:#999!important}.twtr-widget em a:hover,.twtr-widget .twtr-new-results a:hover{color:#0085bf!important}.twtr-timestamp{font-weight:bold}.twtr-widget .twtr-tweet-wrap{padding:15px 10px!important}.twtr-img{height:25px;width:25px;margin-top:5px}.twitter-timeline{border-top:1px solid #CCC;font-size:11px;padding:8px 10px 10px;display:block;color:#0085bf}.twitter-local{width:330px;float:right;margin-left:20px}.twitter-local .ui-tabs-panel{margin-top:-1.5em}.page-child .twtr-widget .twtr-tweet-text p{font-size:14px!important}.footer-title{display:none}.footer-widget-title{margin:0 0 .9em 0;line-height:1em}#interoccupy .twtr-widget,#interoccupy .twtr-doc{margin-top:0}#interoccupy .twtr-tweet-wrap{padding:0!important}#interoccupy .twtr-widget .twtr-tweet{border:0}#interoccupy .twtr-reference-tweet+.twtr-tweet{display:block}#interoccupy .twtr-fav,#interoccupy .twtr-rt,#interoccupy .twtr-reply{display:none}.social-media-mashup{margin:0}.social-media-mashup .icons-grey .smm-item{border-bottom:1px solid #CCC;max-height:160px;overflow:hidden;overflow-y:scroll;padding:10px 50px 0!important;background-position:13px 12px!important}.social-media-mashup .icons-grey .smm-item p{font-size:14px}.social-media-mashup .icons-grey .smm-item .entry-meta{font-size:12px;font-style:italic;text-transform:lowercase}.social-media-mashup .icons-grey .smm-item .entry-meta a{color:#999}.social-media-mashup .icons-grey .smm-item .entry-meta a:hover{color:#0085bf}#interoccupy{clear:both;border-top:1px solid #bbb;margin-top:25px}#interoccupy p{font-size:14px;margin:0 0 .9em}#interoccupy .socialgram{font-size:30px;margin-left:5px}#interoccupy .about{display:inline;float:left;width:47.91666666666667%;margin:0 1.0416666666666665%;padding:25px}#interoccupy .events,#interoccupy .contact,#interoccupy .weather{display:inline;float:left;width:22.916666666666664%;margin:0 1.0416666666666665%;padding:25px 25px 25px 0}#interoccupy .events dt,#interoccupy .contact dt,#interoccupy .weather dt{margin-top:.5em}#interoccupy .footer-title{margin-top:0}#interoccupy .footer-updated{font-style:italic;color:#AAA}#colophon{clear:both}#site-generator{background:#000;color:#555;padding:5px 25px 10px;font-size:12px}#site-generator a{color:#555;font-weight:400}#site-generator a:hover{color:#fff}.error404 #main #searchform{border-bottom:1px solid #ddd;margin:0 0 1.4em;padding:0 0 1.4em}.error404 .hentry #s{width:60%}.error404 .hentry .widget{background:transparent;border:0;padding:0}.otherMaps{display:inline;float:left;width:14.583333333333334%;margin:0 1.0416666666666665%;float:right}.legend{padding:25px}.key{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em}.keyHub{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#da521f}.keyDropoff{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#22b573}.keyVolunteer{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#0085bf}.keyBoth{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#00a99d}.keyUnknown{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#aaa}.keyFood{margin-right:20px;font-weight:bold;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;color:#ffcd67}.volunteerPage .main,.mapsPage .main{display:inline;float:left;width:97.91666666666666%;margin:0 1.0416666666666665%;padding:0}.basics{background:#fff;padding:25px}.options-container{list-style:none;background:#eee;margin:0!important;padding:10px 25px 0}.options-container li{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;margin:0 -4px 0 0;border-right:1px dotted #fff}.options-container a{display:block;padding:4px 11px;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;background:#0085bf;color:#fff}.options-container a:hover{background:#555;color:#fff}.options-container .filter-class.selected{background-color:#222;color:#fff}.options-container+.options-container{margin-bottom:15px}.container{*zoom:1;zoom:1;clear:both;background:#eee;padding:25px 0;margin-bottom:-25px;width:100%}.container:before,.container:after{content:"";display:table}.container:after{clear:both}.container:before{content:"\0020";display:block;height:0;overflow:hidden}.container:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}.page-child .container{padding:25px 0 0 5px;width:auto;margin:0 -30px -65px}.card{float:left;width:300px;margin:0 0 25px 25px;padding:0 15px 10px;background:#fff;box-shadow:3px 3px 25px -10px #000}.card h1,.card h2,.card h5,.card p{margin-top:0!important;margin-bottom:10px!important}.card span{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-size:12px;color:#222}.card .stateface{float:right;color:#fff;font-size:27px;text-transform:none;margin-top:1px;margin-right:-5px}.page-child .card{width:250px}.cardType{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;font-weight:700;color:#fff;padding:0 15px;margin:0 -15px!important;height:32px;line-height:32px;background-repeat:no-repeat;background-position:right center}.cardName{font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;line-height:1.1em;padding-top:4px;margin-top:10px!important}.cardAddress{text-transform:uppercase;letter-spacing:1px;line-height:1.2em;margin-top:-6px}.cardUpdated{font-style:italic;margin-top:-6px;font-size:14px}.cardStatus{color:#da521f;font-size:15px}.cardDetails{color:#222;font-size:14px}.cardTimes,.cardContact,.cardLink{font-weight:bold;font-size:14px}.cardTimes span,.cardContact span,.cardLink span{font-size:11px}.cardLink a{color:#000;text-decoration:underline}.cardLink a:hover{color:#0085bf}.cardButtons{*zoom:1;zoom:1;margin:12px 0 6px}.cardButtons:before,.cardButtons:after{content:"";display:table}.cardButtons:after{clear:both}.cardButtons:before{content:"\0020";display:block;height:0;overflow:hidden}.cardButtons:after{content:"\0020";display:block;height:0;overflow:hidden;clear:both}.cardButtons li{float:left;margin-right:10px}.cardButtons a{color:#000;font-size:45px;line-height:27px;display:block;width:30px;height:30px;text-align:center;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;behavior:url(../js/PIE.htc);border:1px solid #CCC}.cardButtons a:hover{color:#0085bf}.hub .cardType{background:#da521f!important}.volunteer .cardType{background:#0085bf}.dropoff .cardType{background:#22b573}.dropoff.volunteer .cardType{background:#00a99d}.unknown .cardType{background:#aaa}.food .cardType{background:#222}.tile-always-display .cardType{background:#ffcd67}.isotope-item{z-index:2}.isotope-hidden.isotope-item{pointer-events:none;z-index:1}.isotope,.isotope .isotope-item{-webkit-transition-duration:.8s;-moz-transition-duration:.8s;-ms-transition-duration:.8s;-o-transition-duration:.8s;transition-duration:.8s}.isotope{-webkit-transition-property:height,width;-moz-transition-property:height,width;-ms-transition-property:height,width;-o-transition-property:height,width;transition-property:height,width}.isotope .isotope-item{-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform,opacity;-ms-transition-property:-ms-transform,opacity;-o-transition-property:-o-transform,opacity;transition-property:transform,opacity}.isotope.no-transition,.isotope.no-transition .isotope-item,.isotope .isotope-item.no-transition{-webkit-transition-duration:0s;-moz-transition-duration:0s;-ms-transition-duration:0s;-o-transition-duration:0s;transition-duration:0s}.ui-widget{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px}.ui-widget .ui-widget{font-size:14px}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:"Open Sans","Lucida Grande","Lucida Sans",sans-serif;font-weight:normal;font-style:normal;font-size:14px}.ui-widget-content{border:0!important;background:#f9f9f9!important;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:0;background:#999!important;color:#FFF;font-weight:bold}.ui-widget-header a{color:#FFF}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:0;background:transparent!important;font-weight:normal;color:#fff}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#fff;text-decoration:none;background:transparent!important}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:0;background:#ffcd67;font-weight:normal;color:#fff}.ui-state-hover a,.ui-state-hover a:hover{color:#fff;text-decoration:none;background:#ffcd67}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:0;background:#FFF;font-weight:normal;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-widget :active{outline:0}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:0;background:#ffcd67;color:#fff}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#fff}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:0;background:#FFF;color:#da521f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#da521f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#da521f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:alpha(opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:alpha(opacity=35);background-image:none}.ui-tabs{position:relative;padding:0;zoom:1;padding:0!important}.ui-tabs .ui-tabs-nav{margin:0!important;padding:0!important;background-color:#999;height:36px;border:0!important}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;background-color:#999;position:relative;top:0;margin:0;border-bottom:0!important;padding:0;white-space:nowrap;line-height:36px;font-size:24px;font-family:"LeagueGothicRegular","Arial Narrow","Lucida Grande","Lucida Sans",Arial,sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:1px;border-right:1px}.ui-tabs .ui-tabs-nav li a{float:left;padding:0 25px!important;line-height:36px;text-decoration:none;color:#FFF}.ui-tabs .ui-tabs-nav li.ui-tabs-selected{margin-bottom:0;padding-bottom:0}.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-state-processing a{cursor:text;background:#ffcd67;color:#fff}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:0!important;background:#f9f9f9}.ui-tabs .ui-tabs-hide{display:none!important}.ui-accordion .ui-accordion-header{border-left:0;border-right:0;margin-top:-1px!important}.ui-accordion-icons .ui-accordion-header a,.ui-accordion .ui-accordion-header a{font-size:15px;padding:10px 10px 12px 35px!important;font-weight:bold}.ui-accordion-icons .ui-accordion-header a:hover,.ui-accordion .ui-accordion-header a:hover{background:#fff}.ui-accordion .ui-state-hover a,.ui-accordion .ui-state-hover a:hover{background:#fff}.ui-accordion .ui-accordion-content{margin-bottom:0;padding:10px 35px 15px 35px!important}.ui-accordion .ui-accordion-content a{color:#0085bf}.ui-corner-tl,.ui-corner-tr,.ui-corner-bl,.ui-corner-br,.ui-corner-top,.ui-corner-bottom,.ui-corner-right,.ui-corner-left,.ui-corner-all{-moz-border-radius:0!important;-webkit-border-radius:0!important;border-radius:0!important}.sws-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a,.sws-tabs.ui-tabs .ui-tabs-nav li a:hover{color:white!important;border-radius:0;background:#ffcd67!important}.ui-tabs .ui-tabs-nav li{top:0!important;margin:0!important;border:0!important;padding:0!important;border-radius:0!important}.ui-tabs iframe{margin-left:50px}.sws-tabs.ui-tabs .ui-tabs-nav{height:auto}.sws-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a{color:black;border-radius:0}.ui-state-active,.ui-widget-content .ui-state-active{border-radius:5px 5px 0 0;border-bottom:0}.ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom.ui-accordion-content-active{border-top:0;border-radius:0 0 5px 5px}input::-moz-focus-inner{border:0;padding:0}@media screen and (max-width:720px){.layout-2cl #primary,.layout-2cl #secondary{width:100%;margin-bottom:1em;float:none}}@media print{body{background:none!important;font-size:10pt}footer.entry-meta a[rel=bookmark]:link:after,footer.entry-meta a[rel=bookmark]:visited:after{content:" [" attr(href) "] "}#page{clear:both!important;display:block!important;float:none!important;max-width:100%;position:relative!important}}.skip-link,.section-heading{display:none}
274 css/style.less
View
@@ -2,6 +2,8 @@
@import 'stateface.css';
+/******* MAKE CHANGES IN THE .LESS FILE, NOT THE .CSS *******/
+
/******* GRID *******/
/* from semantic.gs */
@@ -81,6 +83,7 @@ body #page {
@yellow: #FFCD67;
@red: #DA521F;
+@orange: (@yellow + @red);
@blue: #0085BF;
@green: #22B573;
@teal: #00A99D;
@@ -178,7 +181,7 @@ body #page {
behavior:url(../js/PIE.htc);
}
-.transition (@transition) {
+.transition (@transition: all 200ms) {
-webkit-transition: @transition;
-moz-transition: @transition;
-ms-transition: @transition;
@@ -263,7 +266,6 @@ blockquote {
font-size: 18px;
font-style: normal;
color: @black;
- background: @white;
margin-top: 1.5em;
padding: 25px 50px;
border-top: 1px solid #BBB;
@@ -294,10 +296,6 @@ blockquote {
}
}
-.home blockquote {
- border-bottom: 0;
- margin-bottom: .5em;
-}
cite {
@@ -377,12 +375,13 @@ button, .button,
background: @grayA;
color: @grayF;
border: 0;
- text-decoration: none;
+ text-decoration: none;
+ text-shadow: none;
cursor: pointer;
-webkit-transition-property: background-color, color;
-webkit-transition-duration: 100ms;
&:hover {
- background: @grayC;
+ background: @grayB;
color: @white;
}
}
@@ -400,6 +399,10 @@ button, .button,
width: auto!important;
padding: 8px 12px;
font-size: 12px;
+ &:hover {
+ background: @grayB;
+ color: @white;
+ }
}
.edit-link {
@@ -552,38 +555,12 @@ input#submit, input.form-submit {
}
}
-.sub-menu {
- display: none;
- float: left;
- margin: 0;
- position: absolute;
- top: 44px;
- left: 0;
- width: 188px;
- z-index: 99999;
- background: @grayF;
- li {
- margin: 0;
- }
- a {
- .sans;
- border-bottom: 1px solid @grayE;
- font-size: 15px;
- line-height: 1em;
- padding: 10px;
- width: 150px;
- }
- li:hover a {
- background: @grayC;
- }
-}
-
hr {
- background-color: #ccc;
+ background-color: #DDD;
border: 0;
height: 1px;
- margin-bottom: 1.4em;
+ margin: 3em 0 1em;
}
@@ -641,10 +618,16 @@ hr {
margin-top: 35px;
background: @white;
border-right: 1px solid @grayE;
+ p {
+ font-size: 14px;
+ }
.button {
margin-bottom: 10px;
width: 100%;
}
+ .button.form-submit {
+ margin-bottom: 0;
+ }
.stateface-nj {
font-size: 40px;
line-height: 33px;
@@ -746,6 +729,16 @@ hr {
background: @grayD;
}
+.menu-item ul.sub-menu{
+ display: none;
+ .transition(all 1000ms);
+}
+
+.menu-item:hover ul.sub-menu{
+ display: block;
+}
+
+
#menu-local-menu {
clear: both;
margin: 0;
@@ -756,6 +749,7 @@ hr {
.condensed;
font-size: 26px;
line-height: 44px;
+ position: relative;
}
a {
@@ -765,15 +759,52 @@ hr {
-webkit-transition-property: background-color;
-webkit-transition-duration: 100ms;
}
- a:hover, .current-menu-item a, .current-page-ancestor a {
+ a:hover,
+ .current-menu-item a,
+ .current-page-ancestor a:hover {
background: @yellow;
}
+ .current-page-ancestor a {
+ background: @grayD;
+ }
+ .sub-menu {
+ width: auto;
+ z-index: 99999;
+ position: absolute;
+ top: 44px;
+ margin: 0;
+ padding: 0;
+ background: @grayD;
+ li {
+ width: 100%;
+ margin: 0;
+ border: 0;
+ border-bottom: 1px dotted @grayE;
+ }
+ li:last-child {
+ border: 0;
+ }
+ a {
+ .sans;
+ font-size: 14px;
+ line-height: 1em;
+ padding: 8px 20px;
+ width: 100%;
+ background: @grayD;
+ white-space: nowrap;
+ }
+ li:hover a {
+ background: @yellow;
+ }
+ }
}
+/* twitter and facebook icons in local menu */
-#menu-item-602, #menu-item-603,
-#menu-item-3094, #menu-item-3095 {
+#menu-item-602, #menu-item-603, /* staging */
+#menu-item-3094, #menu-item-3095, /* production */
+#menu-item-3653, #menu-item-3654 /* pea's local */ {
a {
.socialgram;
font-size: 40px;
@@ -837,7 +868,18 @@ footer.entry-meta {
/* blog */
-.blog, .single-post {
+
+.blog,
+.single {
+ #primary {
+ padding-top: 30px;
+ }
+ .entry-content {
+ margin: 1.5em 0;
+ p {
+ margin-bottom: 1em;
+ }
+ }
.entry-title {
line-height: 1.1em;
margin-bottom: 0;
@@ -857,13 +899,26 @@ footer.entry-meta {
}
}
-.single-post .entry-content {
- margin: 1.5em 0;
- p {
- margin-bottom: 1em;
+#content .social-commentlist {
+ margin: 0 5px!important;
+}
+
+#social .social-fn {
+ text-align: left;
+ font-size: 14px;
+ font-weight: bold;
+}
+
+#social input#submit {
+ .btnSmall;
+ text-shadow: none;
+ height: auto;
+ &:hover {
+ background: @grayB;
}
}
+
/* community pages */
@@ -914,7 +969,7 @@ footer.entry-meta {
.email-form {
border-top: 1px dotted @grayB;
- padding: 5px;
+ padding: 0 5px;
margin-top: 25px;
text-align: left;
label {
@@ -930,6 +985,7 @@ footer.entry-meta {
input[type="text"] {
margin: 0;
width: 100%;
+ padding: 1px 6px;
}
}
@@ -1033,55 +1089,89 @@ footer.entry-meta {
color: @blue;
}
+/* subpage twitter widget */
-/* weather tweets in footer */
+.twitter-local {
+ width: 330px;
+ float: right;
+ margin-left: 20px;
+ .ui-tabs-panel {
+ margin-top: -1.5em;
+ }
+}
+
+.page-child .twtr-widget .twtr-tweet-text p {
+ font-size: 14px!important;
+}
+
+
+/* footer widgets */
.footer-title {
display: none;
}
.footer-widget-title { /* insert the title inside the widget so we can add links */
- margin: 0;
+ margin: 0 0 .9em 0;
line-height: 1em;
}
-.weather .twtr-widget, .weather .twtr-doc {
- margin-top: 0;
-}
+/* footer weather widget */
-.weather .twtr-tweet-wrap {
- padding: 15px 0px!important;
+#interoccupy {
+ .twtr-widget,
+ .twtr-doc {
+ margin-top: 0;
+ }
+ .twtr-tweet-wrap {
+ padding: 0!important;
+ }
+ .twtr-widget .twtr-tweet {
+ border: 0;
+ }
+ .twtr-reference-tweet + .twtr-tweet {
+ display: block;
+ }
+ .twtr-fav,
+ .twtr-rt,
+ .twtr-reply {
+ display: none;
+ }
}
-.weather .twtr-fav, .weather .twtr-rt, .weather .twtr-reply {
- display: none;
-
-}
/* home page all news feed */
-.smm-item {
- border-bottom: 1px solid #CCC;
- max-height: 160px;
- overflow: hidden;
- overflow-y: scroll;
- padding: 5px 50px 0!important;
- background-position: 13px 12px!important;
- p {
- font-size: 14px;
- }
- .entry-meta {
- font-size: 12px;
- font-style: italic;
- a {
- color: #999;
+.social-media-mashup {
+ margin: 0;
+ .icons-grey .smm-item {
+ border-bottom: 1px solid #CCC;
+ max-height: 160px;
+ overflow: hidden;
+ overflow-y: scroll;
+ padding: 10px 50px 0 !important;
+ background-position: 13px 12px !important;
+ p {
+ font-size: 14px;
+ }
+ .entry-meta {
+ font-size: 12px;
+ font-style: italic;
+ text-transform: lowercase;
+ a {
+ color: #999;
+ }
+ a:hover {
+ color: @blue;
+ }
}
}
}
+
/* footer */
#interoccupy {
@@ -1090,7 +1180,7 @@ footer.entry-meta {
margin-top: 25px;
p {
font-size: 14px;
- margin: 0 0 1em;
+ margin: 0 0 .9em;
}
.socialgram {
font-size: 30px;
@@ -1235,7 +1325,7 @@ footer.entry-meta {
padding: 10px 25px 0;
li {
.inlineBlock;
- margin-right: -4px;
+ margin: 0 -4px 0 0;
border-right: 1px dotted @white;
}
a {
@@ -1269,6 +1359,13 @@ footer.entry-meta {
width: 100%;
}
+.page-child .container {
+ padding: 25px 0 0 5px;
+ width: auto;
+ margin: 0 -30px -65px;
+}
+
+
.card {
float: left;
width: 300px;
@@ -1277,7 +1374,8 @@ footer.entry-meta {
background: @white;
box-shadow: 3px 3px 25px -10px black; /*MP*/
h1, h2, h5, p {
- margin-bottom: 10px;
+ margin-top: 0!important;
+ margin-bottom: 10px!important;
}
span {
.sans;
@@ -1295,12 +1393,16 @@ footer.entry-meta {
}
}
+.page-child .card {
+ width: 250px;
+}
+
.cardType {
.caps;
font-weight: 700;
color: @white;
padding: 0 15px;
- margin: 0 -15px;
+ margin: 0 -15px!important;
height: 32px;
line-height: 32px;
background-repeat: no-repeat;
@@ -1310,7 +1412,7 @@ footer.entry-meta {
.condensed;
line-height: 1.1em;
padding-top: 4px;
- margin-top: 10px;
+ margin-top: 10px!important;
}
.cardAddress {
.caps;
@@ -1593,17 +1695,19 @@ input::-moz-focus-inner {
@media screen and (max-width: 720px) {
- .layout-2cl #primary,
- #secondary {
- width: 100%;
- margin-bottom: 1em;
- float: none;
- }
-
- #menu-local-menu {
+ .layout-2cl {
+ #primary, #secondary {
+ width: 100%;
+ margin-bottom: 1em;
+ float: none;
+ }
+ #menu-local-menu {
+
+ }
}
-
+
+
}
26 extensions/fusion/occupysandybackend.php
View
@@ -6,7 +6,7 @@ class OccupySandyBackend {
function __construct () {
add_action( 'admin_menu', array(&$this, 'admin_menu') );
add_action( 'admin_init', array(&$this, 'admin_init') );
-
+
$apiKey = get_option('os_fusiontables_apikey', null);
$tableId = get_option('os_fusiontables_tableid', null);
@@ -20,14 +20,32 @@ function admin_menu () {
}
function admin_init () {
+ global $wpdb;
+
// Register FusionTables Backend settings
register_setting( 'os-fusiontables-settings', 'os_fusiontables_apikey' );
register_setting( 'os-fusiontables-settings', 'os_fusiontables_tableid' );
- }
+ register_setting( 'os-fusiontables-settings', 'os_fusiontables_wipe_querycache' );
+ } /* if */
function options_page () {
$apiKey = get_option('os_fusiontables_apikey', null);
$tableId = get_option('os_fusiontables_tableid', null);
+ $wipeCache = get_option('os_fusiontables_wipe_querycache', null);
+ $cacheOption = 'fusiontables_querycache_'.$apiKey;
+
+ // Request logged to wipe query cache?
+ if (strlen($wipeCache) > 0) :
+ echo "WIPE CACHE! WIPE CACHE!";
+ update_option('os_fusiontables_wipe_querycache', false);
+ $cacheSetting = 'fusiontables_querycache_'.$wipeCache;
+ update_option($cacheSetting, array());
+ var_dump($cacheSetting); var_dump($cacheOption); var_dump(strcmp($cacheSetting, $cacheOption));
+ endif;
+
+ $cache = get_option($cacheOption, array());
+
+
?>
<div class="wrap">
<div id="icon-options-general" class="icon32"><br/></div>
@@ -39,10 +57,14 @@ function options_page () {
<tr style="vertical-align: top"><th>API Key:</th> <td><input type="text" name="os_fusiontables_apikey" value="<?php echo esc_attr($apiKey); ?>" placeholder="API key" size="127" />
<p style="font-size: smaller; color: #333; max-width: 50em; font-style: italic;">From <a href="https://developers.google.com/fusiontables/docs/v1/using#auth">Fusion Tables documentation:</a> <q>Requests to the Fusion Tables API for public data must be accompanied by an identifier, which can be an API key or an auth token. To acquire an API key, visit the APIs Console. In the Services pane, activate the Fusion Tables API; if the Terms of Service appear, read and accept them. Next, go to the API Access pane. The API key is near the bottom of that pane, in the section titled <q>Simple API Access.</q></q></p></tr>
<tr><th>Default Table:</th> <td><input type="text" name="os_fusiontables_tableid" value="<?php echo esc_attr($tableId); ?>" placeholder="table_name" size="127" /></tr>
+
+ <tr><th>Wipe Cache:</th> <td><input type="checkbox" name="os_fusiontables_wipe_querycache" value="<?php echo esc_attr($apiKey); ?>" /> Wipe cache</td></tr>
</tbody>
</table>
<p class="submit"><input class="button-primary" type="submit" name="Submit" value="<?php print __('Save Changes'); ?>" /></p>
</form>
+ <h3>Cache Status</h3>
+ <pre><?php var_dump($cache); ?></pre>
<h3>Test Output</h3>
<?php
if ($this->has_data()) :
47 extensions/fusion/occupysandyfrontend.php
View
@@ -10,10 +10,13 @@ function __construct () {
function location_cards ($atts, $content) {
global $wpdb;
-
+
$atts = shortcode_atts(array(
"for" => null,
"type" => null,
+ "with" => null,
+ "of" => null,
+ "using" => 'inline',
), $atts);
$mm = array();
@@ -23,11 +26,25 @@ function location_cards ($atts, $content) {
if (!is_null($atts['type'])) :
$mm['type'] = $atts['type'];
endif;
+ if (!is_null($atts['with'])) :
+ if (!is_null($atts['of'])) :
+ $col = $atts['with'];
+
+ // Normalize & quote if necessary
+ if (preg_match('/[^A-Za-z0-9]/', $col)) :
+ $col = $wpdb->escape($col);
+ $col = "'${col}'";
+ endif;
+
+ $values = explode("/", $atts['of']);
+ $mm[$col] = $values;
+ endif;
+ endif;
ob_start();
the_occupy_sandy_cards(array(
"matches" => $mm,
- "template-class" => 'inline',
+ "template-class" => $atts['using'],
));
$html = ob_get_clean();
@@ -68,13 +85,35 @@ function the_occupy_sandy_cards ($params = array()) {
if (is_array($params['matches'])) :
$whereClauses = array();
- foreach ($params['matches'] as $col => $value):
- $whereClauses[] = "'".$col."' = '".$wpdb->escape($value)."'";
+ foreach ($params['matches'] as $col => $value) :
+ if (!is_array($value)) :
+ $value = array($value);
+ endif;
+
+ if (count($value) > 1) :
+ $operator = 'IN';
+ $operand = "(";
+ if (count($value) > 0) :
+ $operand .= "'" . implode("', '", array_map(function ($v) {
+ return $GLOBALS['wpdb']->escape(trim($v));
+ }, $value)) . "'";
+ endif;
+ $operand .= ")";
+ else :
+ $operator = '=';
+ $operand = "'".$wpdb->escape(reset($value))."'";
+ endif;
+
+ $whereClauses[] = "$col $operator $operand";
endforeach;
$params['where'] = implode(' AND ', $whereClauses);
endif;
$cards = get_occupy_sandy_cards($params);
+ if (is_wp_error($cards)) :
+ $cards = array($cards);
+ endif;
+
foreach ($cards as $card) :
$OccupySandyCard = $card;

No commit comments for this range

Something went wrong with that request. Please try again.