Browse Source

center previously centered text on single line dialog panels

Andrew Dolgov 11 months ago
parent
commit
607ede512f
9 changed files with 20 additions and 10 deletions
  1. 3 3
      classes/dlg.php
  2. 4 1
      css/default.css
  3. 1 1
      css/default.css.map
  4. 1 1
      css/prefs.less
  5. 4 0
      css/tt-rss.less
  6. 1 1
      plugins/mailto/init.php
  7. 1 1
      plugins/share/init.php
  8. 4 1
      themes/night.css
  9. 1 1
      themes/night.css.map

+ 3 - 3
classes/dlg.php

@@ -40,7 +40,7 @@ class Dlg extends Handler_Protected {
 
 		print __("Your Public OPML URL is:");
 
-		print "<div class='panel'>";
+		print "<div class='panel text-center'>";
 		print "<a id='pub_opml_url' href='$url_path' target='_blank'>$url_path</a>";
 		print "</div>";
 
@@ -91,7 +91,7 @@ class Dlg extends Handler_Protected {
 	}
 
 	function printTagCloud() {
-		print "<div class='panel'>";
+		print "<div class='panel text-center'>";
 
 		// from here: http://www.roscripts.com/Create_tag_cloud-71.html
 
@@ -167,7 +167,7 @@ class Dlg extends Handler_Protected {
 
 		print "<div>".T_sprintf("%s can be accessed via the following secret URL:", $feed_title)."</div>";
 
-		print "<div class='panel'>";
+		print "<div class='panel text-center'>";
 		print "<a id='gen_feed_url' href='$url_path' target='_blank'>$url_path</a>";
 		print "</div>";
 

+ 4 - 1
css/default.css

@@ -1033,6 +1033,9 @@ body.ttrss_main ul.list {
 body.ttrss_main ul.list-unstyled {
   list-style-type: none;
 }
+body.ttrss_main .text-center {
+  text-align: center;
+}
 ::selection {
   background: #257aa7;
   color: #ffffff;
@@ -1471,7 +1474,7 @@ body.ttrss_prefs table.prefPluginsList label {
   white-space: nowrap;
 }
 body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
-  color: #69C671;
+  color: #69c671;
 }
 body.ttrss_prefs table.prefPluginsList label img {
   vertical-align: middle;

File diff suppressed because it is too large
+ 1 - 1
css/default.css.map


+ 1 - 1
css/prefs.less

@@ -81,7 +81,7 @@ body.ttrss_prefs {
 		}
 
 		i.plugin-enabled {
-			color : #69C671;
+			color : @color-checked;
 		}
 	}
 

+ 4 - 0
css/tt-rss.less

@@ -1226,6 +1226,10 @@ body.ttrss_main {
 		list-style-type : none;
 	}
 
+	.text-center {
+		text-align : center;
+	}
+
 }
 
 ::selection {

+ 1 - 1
plugins/mailto/init.php

@@ -72,7 +72,7 @@ class MailTo extends Plugin {
 
 		print __("Clicking the following link to invoke your mail client:");
 
-		print "<div class='panel'>";
+		print "<div class='panel text-center'>";
 		print "<a target=\"_blank\" href=\"$mailto_link\">".
 			__("Forward selected article(s) by email.")."</a>";
 		print "</div>";

+ 1 - 1
plugins/share/init.php

@@ -107,7 +107,7 @@ class Share extends Plugin {
 			$url_path = get_self_url_prefix();
 			$url_path .= "/public.php?op=share&key=$uuid";
 
-			print "<div class='panel'>";
+			print "<div class='panel text-center'>";
 			print "<a id='gen_article_url' href='$url_path' target='_blank' rel='noopener noreferrer'>$url_path</a>";
 			print "</div>";
 

+ 4 - 1
themes/night.css

@@ -1033,6 +1033,9 @@ body.ttrss_main ul.list {
 body.ttrss_main ul.list-unstyled {
   list-style-type: none;
 }
+body.ttrss_main .text-center {
+  text-align: center;
+}
 ::selection {
   background: #b87d2c;
   color: #333333;
@@ -1471,7 +1474,7 @@ body.ttrss_prefs table.prefPluginsList label {
   white-space: nowrap;
 }
 body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
-  color: #69C671;
+  color: #69c671;
 }
 body.ttrss_prefs table.prefPluginsList label img {
   vertical-align: middle;

File diff suppressed because it is too large
+ 1 - 1
themes/night.css.map