Browse Source

fixes to define feature of addThis better with follow, some CSS accidental deletions added back in

Tom Hutchison 10 years ago
parent
commit
468195f9d6
2 changed files with 23 additions and 5 deletions
  1. 3 3
      Foreground.skin.php
  2. 20 2
      assets/stylesheets/foreground.css

+ 3 - 3
Foreground.skin.php

@@ -23,7 +23,7 @@ class Skinforeground extends SkinTemplate {
 			'navbarIcon' => false,
 			'navbarIcon' => false,
 			'IeEdgeCode' => 1,
 			'IeEdgeCode' => 1,
 			'showFooterIcons' => 0,
 			'showFooterIcons' => 0,
-			'addThisPUBID' => ''
+			'addThisFollowPUBID' => ''
 		);
 		);
 		foreach ($wgForegroundFeaturesDefaults as $fgOption => $fgOptionValue) {
 		foreach ($wgForegroundFeaturesDefaults as $fgOption => $fgOptionValue) {
 			if ( !isset($wgForegroundFeatures[$fgOption]) ) {
 			if ( !isset($wgForegroundFeatures[$fgOption]) ) {
@@ -215,10 +215,10 @@ class foregroundTemplate extends BaseTemplate {
 			<footer class="row">
 			<footer class="row">
 				<div id="footer">
 				<div id="footer">
 					<div class="social-footer large-12 small-12 columns">
 					<div class="social-footer large-12 small-12 columns">
-					<?php if ($wgForegroundFeatures['addThisPUBID'] != '') { ?>		
+					<?php if ($wgForegroundFeatures['addThisFollowPUBID'] != '') { ?>		
 						<!-- Go to www.addthis.com/dashboard to customize your tools -->
 						<!-- Go to www.addthis.com/dashboard to customize your tools -->
 						<div class="addthis_horizontal_follow_toolbox"></div>
 						<div class="addthis_horizontal_follow_toolbox"></div>
-						<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo $wgForegroundFeatures['addThisPUBID'];?>"></script>
+						<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo $wgForegroundFeatures['addThisFollowPUBID'];?>"></script>
 					<?php } ?>
 					<?php } ?>
 					</div>
 					</div>
 					<div id="footer-left" class="<?php echo $footerLeftClass;?>">
 					<div id="footer-left" class="<?php echo $footerLeftClass;?>">

+ 20 - 2
assets/stylesheets/foreground.css

@@ -488,8 +488,26 @@ button, .button {
 }
 }
 
 
 .top-bar .button.search {
 .top-bar .button.search {
-  top: 1px;
-  text-align: left;
+  top: 0px;
+}
+
+.top-bar .button.search {
+  margin-left: 10px;
+}
+
+.top-bar-section .has-form {
+  padding: 0 5px;
+}
+
+.top-bar input {
+  top: 0px;
+}
+
+@media only screen and (min-width: 768px) {
+.top-bar .button.search {
+  top: 1px; }
+.top-bar .button.search {
+  margin-left: -4px; }
 }
 }
 
 
 .top-bar-section .dropdown {
 .top-bar-section .dropdown {