mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:45:55 +00:00
center previously centered text on single line dialog panels
This commit is contained in:
@@ -40,7 +40,7 @@ class Dlg extends Handler_Protected {
|
|||||||
|
|
||||||
print __("Your Public OPML URL is:");
|
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 "<a id='pub_opml_url' href='$url_path' target='_blank'>$url_path</a>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ class Dlg extends Handler_Protected {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function printTagCloud() {
|
function printTagCloud() {
|
||||||
print "<div class='panel'>";
|
print "<div class='panel text-center'>";
|
||||||
|
|
||||||
// from here: http://www.roscripts.com/Create_tag_cloud-71.html
|
// 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>".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 "<a id='gen_feed_url' href='$url_path' target='_blank'>$url_path</a>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
|||||||
@@ -1033,6 +1033,9 @@ body.ttrss_main ul.list {
|
|||||||
body.ttrss_main ul.list-unstyled {
|
body.ttrss_main ul.list-unstyled {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
body.ttrss_main .text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
::selection {
|
::selection {
|
||||||
background: #257aa7;
|
background: #257aa7;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
@@ -1471,7 +1474,7 @@ body.ttrss_prefs table.prefPluginsList label {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
|
body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
|
||||||
color: #69C671;
|
color: #69c671;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs table.prefPluginsList label img {
|
body.ttrss_prefs table.prefPluginsList label img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -81,7 +81,7 @@ body.ttrss_prefs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
i.plugin-enabled {
|
i.plugin-enabled {
|
||||||
color : #69C671;
|
color : @color-checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1226,6 +1226,10 @@ body.ttrss_main {
|
|||||||
list-style-type : none;
|
list-style-type : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-center {
|
||||||
|
text-align : center;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class MailTo extends Plugin {
|
|||||||
|
|
||||||
print __("Clicking the following link to invoke your mail client:");
|
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\">".
|
print "<a target=\"_blank\" href=\"$mailto_link\">".
|
||||||
__("Forward selected article(s) by email.")."</a>";
|
__("Forward selected article(s) by email.")."</a>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ class Share extends Plugin {
|
|||||||
$url_path = get_self_url_prefix();
|
$url_path = get_self_url_prefix();
|
||||||
$url_path .= "/public.php?op=share&key=$uuid";
|
$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 "<a id='gen_article_url' href='$url_path' target='_blank' rel='noopener noreferrer'>$url_path</a>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
|||||||
@@ -1033,6 +1033,9 @@ body.ttrss_main ul.list {
|
|||||||
body.ttrss_main ul.list-unstyled {
|
body.ttrss_main ul.list-unstyled {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
body.ttrss_main .text-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
::selection {
|
::selection {
|
||||||
background: #b87d2c;
|
background: #b87d2c;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@@ -1471,7 +1474,7 @@ body.ttrss_prefs table.prefPluginsList label {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
|
body.ttrss_prefs table.prefPluginsList i.plugin-enabled {
|
||||||
color: #69C671;
|
color: #69c671;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs table.prefPluginsList label img {
|
body.ttrss_prefs table.prefPluginsList label img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user