move all status icons like net-alert together on the toolbar

This commit is contained in:
Andrew Dolgov 2018-12-10 11:54:19 +03:00
parent 7e5c999146
commit 7915706946
6 changed files with 15 additions and 20 deletions

View File

@ -737,11 +737,11 @@ body.ttrss_main #toolbar-frame #toolbar .dijitDropDownButton .dijitButtonNode,
body.ttrss_main #toolbar-frame #toolbar .dijitComboButton .dijitButtonNode { body.ttrss_main #toolbar-frame #toolbar .dijitComboButton .dijitButtonNode {
border: 0px; border: 0px;
} }
body.ttrss_main #toolbar-frame #toolbar .net-alert i, body.ttrss_main #toolbar-frame #toolbar i.net-alert,
body.ttrss_main #toolbar-frame #toolbar .left i.icon-error { body.ttrss_main #toolbar-frame #toolbar .left i.icon-error {
color: red; color: red;
} }
body.ttrss_main #toolbar-frame #toolbar .log-alert i { body.ttrss_main #toolbar-frame #toolbar i.log-alert {
color: #ddba1c; color: #ddba1c;
} }
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines { body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines {

File diff suppressed because one or more lines are too long

View File

@ -866,11 +866,11 @@ body.ttrss_main {
border : 0px; border : 0px;
} }
.net-alert i, .left i.icon-error { i.net-alert, .left i.icon-error {
color : red; color : red;
} }
.log-alert i { i.log-alert {
color : #ddba1c; color : #ddba1c;
} }

View File

@ -161,15 +161,14 @@
<div id="toolbar-frame" dojoType="dijit.layout.ContentPane" region="top"> <div id="toolbar-frame" dojoType="dijit.layout.ContentPane" region="top">
<div id="toolbar" dojoType="dijit.Toolbar"> <div id="toolbar" dojoType="dijit.Toolbar">
<div class="net-alert" style="display : none" <i class="material-icons net-alert" style="display : none"
title="<?php echo __("Communication problem with server.") ?>"> title="<?php echo __("Communication problem with server.") ?>">error_outline</i>
<i class="material-icons">error_outline</i>
</div>
<div class="log-alert" style="display : none" <i class="material-icons log-alert" style="display : none"
title="<?php echo __("Recent entries found in event log.") ?>"> title="<?php echo __("Recent entries found in event log.") ?>">warning</i>
<i class="material-icons">warning</i>
</div> <i id="updates-available" class="material-icons icon-new-version" style="display : none"
title="<?php echo __('Updates are available from Git.') ?>">new_releases</i>
<?php <?php
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) { foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) {
@ -257,10 +256,6 @@
<?php } ?> <?php } ?>
</div> </div>
</div> </div>
<i id="updates-available" class="material-icons icon-new-version"
style="display : none" title="<?php echo __('Updates are available from Git.') ?>">new_releases</i>
</div> </div>
</div> <!-- toolbar --> </div> <!-- toolbar -->
</div> <!-- toolbar pane --> </div> <!-- toolbar pane -->

View File

@ -737,11 +737,11 @@ body.ttrss_main #toolbar-frame #toolbar .dijitDropDownButton .dijitButtonNode,
body.ttrss_main #toolbar-frame #toolbar .dijitComboButton .dijitButtonNode { body.ttrss_main #toolbar-frame #toolbar .dijitComboButton .dijitButtonNode {
border: 0px; border: 0px;
} }
body.ttrss_main #toolbar-frame #toolbar .net-alert i, body.ttrss_main #toolbar-frame #toolbar i.net-alert,
body.ttrss_main #toolbar-frame #toolbar .left i.icon-error { body.ttrss_main #toolbar-frame #toolbar .left i.icon-error {
color: red; color: red;
} }
body.ttrss_main #toolbar-frame #toolbar .log-alert i { body.ttrss_main #toolbar-frame #toolbar i.log-alert {
color: #ddba1c; color: #ddba1c;
} }
body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines { body.ttrss_main #toolbar-frame #toolbar #toolbar-headlines {

File diff suppressed because one or more lines are too long