فهرست منبع

Amélioration esthétique pour l'actualisation des flux

Marien Fressinaud 13 سال پیش
والد
کامیت
5768d0fc7f
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 2
      app/views/javascript/actualize.phtml
  2. 3 2
      public/theme/freshrss.css

+ 1 - 2
app/views/javascript/actualize.phtml

@@ -6,9 +6,8 @@ feeds.push ("<?php echo Url::display (array ('c' => 'feed', 'a' => 'actualize',
 function initProgressBar (init) {
 	if (init) {
 		$("body").after ("\<div id=\"actualizeProgress\" class=\"actualizeProgress\">\
-			Actualisation :\
+			Actualisation <span class=\"progress\">0 / " + feeds.length + "</span><br />\
 			<progress id=\"actualizeProgressBar\" value=\"0\" max=\"" + feeds.length + "\"></progress>\
-			<span class=\"progress\">0 / " + feeds.length + "</span>\
 		</div>");
 	} else {
 		window.location.reload ();

+ 3 - 2
public/theme/freshrss.css

@@ -383,8 +383,8 @@
 
 .actualizeProgress {
 	position: fixed;
-	top: 0; left: 33%; right: 33%;
-	width: 33%;
+	top: 0; left: 25%; right: 25%;
+	width: 50%;
 	padding: 5px;
 	background: #fff;
 	text-align: center;
@@ -393,6 +393,7 @@
 	border-radius: 0 0 5px 5px;
 }
 	.actualizeProgress progress {
+		max-width: 100%;
 		vertical-align: middle;
 	}
 	.actualizeProgress .progress {