css: insensitive -> text-muted

This commit is contained in:
Andrew Dolgov 2019-03-08 10:11:57 +03:00
parent cf6f867feb
commit 19f162dbe3
13 changed files with 31 additions and 31 deletions

View File

@ -408,7 +408,7 @@ class Feeds extends Handler_Protected {
if (!$offset && $message) { if (!$offset && $message) {
$reply['content'] = "<div class='whiteBox'>$message"; $reply['content'] = "<div class='whiteBox'>$message";
$reply['content'] .= "<p><span class=\"insensitive\">"; $reply['content'] .= "<p><span class=\"text-muted\">";
$sth = $this->pdo->prepare("SELECT " . SUBSTRING_FOR_DATE . "(MAX(last_updated), 1, 19) AS last_updated FROM ttrss_feeds $sth = $this->pdo->prepare("SELECT " . SUBSTRING_FOR_DATE . "(MAX(last_updated), 1, 19) AS last_updated FROM ttrss_feeds
WHERE owner_uid = ?"); WHERE owner_uid = ?");
@ -428,7 +428,7 @@ class Feeds extends Handler_Protected {
if ($num_errors > 0) { if ($num_errors > 0) {
$reply['content'] .= "<br/>"; $reply['content'] .= "<br/>";
$reply['content'] .= "<a class=\"insensitive\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">" . $reply['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">" .
__('Some feeds have update errors (click for details)') . "</a>"; __('Some feeds have update errors (click for details)') . "</a>";
} }
$reply['content'] .= "</span></p></div>"; $reply['content'] .= "</span></p></div>";
@ -585,7 +585,7 @@ class Feeds extends Handler_Protected {
$reply['headlines']['content'] = "<div class='whiteBox'>".__('No feed selected.'); $reply['headlines']['content'] = "<div class='whiteBox'>".__('No feed selected.');
$reply['headlines']['content'] .= "<p><span class=\"insensitive\">"; $reply['headlines']['content'] .= "<p><span class=\"text-muted\">";
$sth = $this->pdo->prepare("SELECT ".SUBSTRING_FOR_DATE."(MAX(last_updated), 1, 19) AS last_updated FROM ttrss_feeds $sth = $this->pdo->prepare("SELECT ".SUBSTRING_FOR_DATE."(MAX(last_updated), 1, 19) AS last_updated FROM ttrss_feeds
WHERE owner_uid = ?"); WHERE owner_uid = ?");
@ -605,7 +605,7 @@ class Feeds extends Handler_Protected {
if ($num_errors > 0) { if ($num_errors > 0) {
$reply['headlines']['content'] .= "<br/>"; $reply['headlines']['content'] .= "<br/>";
$reply['headlines']['content'] .= "<a class=\"insensitive\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">". $reply['headlines']['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">".
__('Some feeds have update errors (click for details)')."</a>"; __('Some feeds have update errors (click for details)')."</a>";
} }
$reply['headlines']['content'] .= "</span></p>"; $reply['headlines']['content'] .= "</span></p>";

View File

@ -613,7 +613,7 @@ class Handler_Public extends Handler {
<fieldset> <fieldset>
<button dojoType='dijit.form.Button' class="alt-primary" type="submit"><?php echo __('Share') ?></button> <button dojoType='dijit.form.Button' class="alt-primary" type="submit"><?php echo __('Share') ?></button>
<button dojoType='dijit.form.Button' onclick="return window.close()"><?php echo __('Cancel') ?></button> <button dojoType='dijit.form.Button' onclick="return window.close()"><?php echo __('Cancel') ?></button>
<span class="insensitive small"><?php echo __("Shared article will appear in the Published feed.") ?></span> <span class="text-muted small"><?php echo __("Shared article will appear in the Published feed.") ?></span>
</fieldset> </fieldset>
</form> </form>

View File

@ -1487,7 +1487,7 @@ class Pref_Feeds extends Handler_Protected {
"onclick=\"CommonDialogs.editFeed(".$line["id"].")\">". "onclick=\"CommonDialogs.editFeed(".$line["id"].")\">".
htmlspecialchars($line["title"])."</a>"; htmlspecialchars($line["title"])."</a>";
print "</td><td class='insensitive' align='right'>"; print "</td><td class='text-muted' align='right'>";
print make_local_datetime($line['last_article'], false); print make_local_datetime($line['last_article'], false);
print "</td>"; print "</td>";
print "</tr>"; print "</tr>";
@ -1544,7 +1544,7 @@ class Pref_Feeds extends Handler_Protected {
"onclick=\"CommonDialogs.editFeed(".$line["id"].")\">". "onclick=\"CommonDialogs.editFeed(".$line["id"].")\">".
htmlspecialchars($line["title"])."</a>: "; htmlspecialchars($line["title"])."</a>: ";
print "<span class=\"insensitive\">"; print "<span class=\"text-muted\">";
print htmlspecialchars($line["last_error"]); print htmlspecialchars($line["last_error"]);
print "</span>"; print "</span>";

View File

@ -148,7 +148,7 @@ class Pref_Filters extends Handler_Protected {
$tmp = "<li><span class='title'>" . $line["title"] . "</span><br/>" . $tmp = "<li><span class='title'>" . $line["title"] . "</span><br/>" .
"<span class='feed'>" . $line['feed_title'] . "</span>, <span class='date'>" . mb_substr($line["date_entered"], 0, 16) . "</span>" . "<span class='feed'>" . $line['feed_title'] . "</span>, <span class='date'>" . mb_substr($line["date_entered"], 0, 16) . "</span>" .
"<div class='preview insensitive'>" . $content_preview . "</div>" . "<div class='preview text-muted'>" . $content_preview . "</div>" .
"</li>"; "</li>";
array_push($rv, $tmp); array_push($rv, $tmp);

View File

@ -685,7 +685,7 @@ class Pref_Prefs extends Handler_Protected {
} }
if ($item['help_text']) if ($item['help_text'])
print "<div class='help-text insensitive'><label for='CB_$pref_name'>".$item['help_text']."</label></div>"; print "<div class='help-text text-muted'><label for='CB_$pref_name'>".$item['help_text']."</label></div>";
print "</fieldset>"; print "</fieldset>";
} }
@ -785,7 +785,7 @@ class Pref_Prefs extends Handler_Protected {
print "<fieldset class='prefs plugin'> print "<fieldset class='prefs plugin'>
<label>$name:</label> <label>$name:</label>
<label class='checkbox description insensitive' id='PLABEL-$name'> <label class='checkbox description text-muted' id='PLABEL-$name'>
<input disabled='1' <input disabled='1'
dojoType='dijit.form.CheckBox' $checked type='checkbox'> dojoType='dijit.form.CheckBox' $checked type='checkbox'>
".htmlspecialchars($about[1]). "</label>"; ".htmlspecialchars($about[1]). "</label>";
@ -824,7 +824,7 @@ class Pref_Prefs extends Handler_Protected {
print "<fieldset class='prefs plugin'> print "<fieldset class='prefs plugin'>
<label>$name:</label> <label>$name:</label>
<label class='checkbox description insensitive' id='PLABEL-$name'> <label class='checkbox description text-muted' id='PLABEL-$name'>
<input name='plugins[]' value='$name' dojoType='dijit.form.CheckBox' $checked $disabled type='checkbox'> <input name='plugins[]' value='$name' dojoType='dijit.form.CheckBox' $checked $disabled type='checkbox'>
".htmlspecialchars($about[1])."</label>"; ".htmlspecialchars($about[1])."</label>";

View File

@ -1013,8 +1013,8 @@ body.ttrss_utility hr {
border: 0px solid #ccc; border: 0px solid #ccc;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
body.ttrss_main .insensitive, body.ttrss_main .text-muted,
body.ttrss_utility .insensitive { body.ttrss_utility .text-muted {
color: #555; color: #555;
} }
body.ttrss_main .small, body.ttrss_main .small,

View File

@ -1191,7 +1191,7 @@ body.ttrss_main, body.ttrss_utility {
border-bottom-width: 1px; border-bottom-width: 1px;
} }
.insensitive { .text-muted {
color : @default-text; color : @default-text;
} }

View File

@ -275,9 +275,9 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio
if ($(label)) if ($(label))
if (checkbox.checked) if (checkbox.checked)
$(label).removeClassName('insensitive'); $(label).removeClassName('text-muted');
else else
$(label).addClassName('insensitive'); $(label).addClassName('text-muted');
}, },
execute: function () { execute: function () {

View File

@ -98,7 +98,7 @@ class Af_Psql_Trgm extends Plugin {
print "</div>"; print "</div>";
print "<div style='text-align : right' class='insensitive'>" . smart_date_time(strtotime($line["updated"])) . "</div>"; print "<div style='text-align : right' class='text-muted'>" . smart_date_time(strtotime($line["updated"])) . "</div>";
print "</li>"; print "</li>";
} }

View File

@ -153,13 +153,13 @@
?> ?>
</div> </div>
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom"> <div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
<a class="insensitive" target="_blank" href="http://tt-rss.org/"> <a class="text-muted" target="_blank" href="http://tt-rss.org/">
Tiny Tiny RSS</a> Tiny Tiny RSS</a>
<?php if (!defined('HIDE_VERSION')) { ?> <?php if (!defined('HIDE_VERSION')) { ?>
v<?php echo VERSION ?> v<?php echo VERSION ?>
<?php } ?> <?php } ?>
&copy; 2005-<?php echo date('Y') ?> &copy; 2005-<?php echo date('Y') ?>
<a class="insensitive" target="_blank" <a class="text-muted" target="_blank"
href="http://fakecake.org/">Andrew Dolgov</a> href="http://fakecake.org/">Andrew Dolgov</a>
</div> <!-- footer --> </div> <!-- footer -->
</div> </div>

View File

@ -1014,8 +1014,8 @@ body.ttrss_utility hr {
border: 0px solid #ccc; border: 0px solid #ccc;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
body.ttrss_main .insensitive, body.ttrss_main .text-muted,
body.ttrss_utility .insensitive { body.ttrss_utility .text-muted {
color: #ccc; color: #ccc;
} }
body.ttrss_main .small, body.ttrss_main .small,
@ -1969,7 +1969,7 @@ body.flat.ttrss_main .dijitCheckBox:not(.dijitChecked)::before {
color: #999999; color: #999999;
background: #222; background: #222;
} }
body.flat.ttrss_main .insensitive { body.flat.ttrss_main .text-muted {
color: #999999; color: #999999;
} }
body.flat.ttrss_main .dijitAccordionInnerContainerSelected .dijitAccordionTitle { body.flat.ttrss_main .dijitAccordionInnerContainerSelected .dijitAccordionTitle {

View File

@ -12,7 +12,7 @@
@default-text: #ccc; @default-text: #ccc;
@fg-insensitive: darken(@default-text, 20%); @fg-text-muted: darken(@default-text, 20%);
@fg-light : lighten(@default-text, 10%); @fg-light : lighten(@default-text, 10%);
body.flat.ttrss_main.ttrss_prefs { body.flat.ttrss_main.ttrss_prefs {
@ -26,7 +26,7 @@ body.flat.ttrss_main.ttrss_prefs {
td.filename, td.filename,
div.prefHelp { div.prefHelp {
color : @fg-insensitive; color : @fg-text-muted;
} }
} }
@ -157,7 +157,7 @@ body.flat.ttrss_main {
} }
.author { .author {
color : @fg-insensitive; color : @fg-text-muted;
} }
.updated, .content { .updated, .content {
@ -198,12 +198,12 @@ body.flat.ttrss_main {
} }
.dijitCheckBox:not(.dijitChecked)::before { .dijitCheckBox:not(.dijitChecked)::before {
color : @fg-insensitive; color : @fg-text-muted;
background: @color-panel-bg; background: @color-panel-bg;
} }
.insensitive { .text-muted {
color : @fg-insensitive; color : @fg-text-muted;
} }
.dijitAccordionInnerContainerSelected .dijitAccordionTitle { .dijitAccordionInnerContainerSelected .dijitAccordionTitle {

View File

@ -1014,8 +1014,8 @@ body.ttrss_utility hr {
border: 0px solid #ccc; border: 0px solid #ccc;
border-bottom-width: 1px; border-bottom-width: 1px;
} }
body.ttrss_main .insensitive, body.ttrss_main .text-muted,
body.ttrss_utility .insensitive { body.ttrss_utility .text-muted {
color: #ccc; color: #ccc;
} }
body.ttrss_main .small, body.ttrss_main .small,
@ -1969,7 +1969,7 @@ body.flat.ttrss_main .dijitCheckBox:not(.dijitChecked)::before {
color: #999999; color: #999999;
background: #222; background: #222;
} }
body.flat.ttrss_main .insensitive { body.flat.ttrss_main .text-muted {
color: #999999; color: #999999;
} }
body.flat.ttrss_main .dijitAccordionInnerContainerSelected .dijitAccordionTitle { body.flat.ttrss_main .dijitAccordionInnerContainerSelected .dijitAccordionTitle {