center previously centered text on single line dialog panels

This commit is contained in:
Andrew Dolgov 2018-12-09 16:27:29 +03:00
parent 57e30bd9bc
commit 607ede512f
9 changed files with 20 additions and 10 deletions

View File

@ -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>";

View File

@ -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 one or more lines are too long

View File

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

View File

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

View File

@ -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>";

View File

@ -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>";

View File

@ -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 one or more lines are too long