Browse Source

Attempting to account for breaking changes in Echo 1.28 branch

Tom Hutchison 8 năm trước cách đây
mục cha
commit
3767ae8f57
3 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 1 0
      Foreground.skin.php
  2. 1 0
      assets/scripts/foreground.js
  3. 2 2
      assets/stylesheets/foreground.css

+ 1 - 0
Foreground.skin.php

@@ -176,6 +176,7 @@ class foregroundTemplate extends BaseTemplate {
 					<div id="echo-notifications">
 					<div id="echo-notifications-alerts"></div>
 					<div id="echo-notifications-messages"></div>
+					<div id="echo-notifications-notice"></div>
 					</div>
 					<?php endif; ?>
 				<!--[if lt IE 9]>

+ 1 - 0
assets/scripts/foreground.js

@@ -14,6 +14,7 @@ jQuery(document).ready(function() {
   jQuery("#pt-notifications").prependTo("#echo-notifications-alerts");
   jQuery("#pt-notifications-message").prependTo("#echo-notifications-messages");
   jQuery("#pt-notifications-alert").prependTo("#echo-notifications-alerts");
+  jQuery("#pt-notifications-notice").prependTo("#echo-notifications-notice");
   
   // Append font-awesome icons
   jQuery('[id^=ca-nstab] a').prepend('<div class="drop-icon"><i class="fa fa-file fa-fw"></i></div>')

+ 2 - 2
assets/stylesheets/foreground.css

@@ -1715,9 +1715,9 @@ div.mw-htmlform-field-HTMLCheckField div.mw-label {
 	height: 23px;
 }
 #pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-message .mw-echo-notifications-badge {
-	background-size: 1.6em !important;
+	background-size: 1.4em !important;
 	display: inline !important;
-	font-size: 1.2em;
+	font-size: 1.1em;
 	filter: invert(25%);
 	color: transparent;
 }