فهرست منبع

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

Tom Hutchison 11 سال پیش
والد
کامیت
468195f9d6
2فایلهای تغییر یافته به همراه23 افزوده شده و 5 حذف شده
  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,
 			'IeEdgeCode' => 1,
 			'showFooterIcons' => 0,
-			'addThisPUBID' => ''
+			'addThisFollowPUBID' => ''
 		);
 		foreach ($wgForegroundFeaturesDefaults as $fgOption => $fgOptionValue) {
 			if ( !isset($wgForegroundFeatures[$fgOption]) ) {
@@ -215,10 +215,10 @@ class foregroundTemplate extends BaseTemplate {
 			<footer class="row">
 				<div id="footer">
 					<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 -->
 						<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 } ?>
 					</div>
 					<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: 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 {