actions dropdown: use material menu icon

This commit is contained in:
Andrew Dolgov 2019-03-06 09:20:06 +03:00
parent 6d0c9bb784
commit 83650fffa4
8 changed files with 37 additions and 7 deletions

View File

@ -181,6 +181,12 @@ body.ttrss_main .notify.notify_error i.icon-notify,
body.ttrss_main .notify.notify_error i.icon-close { body.ttrss_main .notify.notify_error i.icon-close {
color: white; color: white;
} }
body.ttrss_main .action-chooser .action-button .dijitButtonText {
vertical-align: unset;
}
body.ttrss_main .action-chooser .action-button .dijitArrowButtonInner {
display: none;
}
body.ttrss_main .hl { body.ttrss_main .hl {
border: 0px solid #ddd; border: 0px solid #ddd;
border-bottom-width: 1px; border-bottom-width: 1px;

File diff suppressed because one or more lines are too long

View File

@ -206,6 +206,17 @@ body.ttrss_main {
} }
} }
.action-chooser {
.action-button {
.dijitButtonText {
vertical-align : unset;
}
.dijitArrowButtonInner {
display : none;
}
}
}
.hl { .hl {
border: 0px solid @border-default; border: 0px solid @border-default;
border-bottom-width: 1px; border-bottom-width: 1px;

View File

@ -180,10 +180,11 @@
<!-- <option value="noscores"><?php echo __('Ignore Scoring') ?></option> --> <!-- <option value="noscores"><?php echo __('Ignore Scoring') ?></option> -->
</select> </select>
<select title="<?php echo __('Sort articles') ?>" <select title="<?php echo __('Sort articles') ?>"
onchange="App.onViewModeChanged()" onchange="App.onViewModeChanged()"
dojoType="dijit.form.Select" name="order_by"> dojoType="dijit.form.Select" name="order_by">
<option selected="selected" value="default"><?php echo __('Default') ?></option>
<option selected="selected" value="default"><?php echo __('Default') ?></option>
<option value="feed_dates"><?php echo __('Newest first') ?></option> <option value="feed_dates"><?php echo __('Newest first') ?></option>
<option value="date_reverse"><?php echo __('Oldest first') ?></option> <option value="date_reverse"><?php echo __('Oldest first') ?></option>
<option value="title"><?php echo __('Title') ?></option> <option value="title"><?php echo __('Title') ?></option>
@ -214,8 +215,8 @@
} }
?> ?>
<div dojoType="dijit.form.DropDownButton"> <div dojoType="dijit.form.DropDownButton" class="action-button" title="<?php echo __('Actions...') ?>">
<span><?php echo __('Actions...') ?></span> <span><i class="material-icons">menu</i></span>
<div dojoType="dijit.Menu" style="display: none"> <div dojoType="dijit.Menu" style="display: none">
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcPrefs')"><?php echo __('Preferences...') ?></div> <div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcPrefs')"><?php echo __('Preferences...') ?></div>
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcSearch')"><?php echo __('Search...') ?></div> <div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcSearch')"><?php echo __('Search...') ?></div>

View File

@ -182,6 +182,12 @@ body.ttrss_main .notify.notify_error i.icon-notify,
body.ttrss_main .notify.notify_error i.icon-close { body.ttrss_main .notify.notify_error i.icon-close {
color: white; color: white;
} }
body.ttrss_main .action-chooser .action-button .dijitButtonText {
vertical-align: unset;
}
body.ttrss_main .action-chooser .action-button .dijitArrowButtonInner {
display: none;
}
body.ttrss_main .hl { body.ttrss_main .hl {
border: 0px solid #222; border: 0px solid #222;
border-bottom-width: 1px; border-bottom-width: 1px;

File diff suppressed because one or more lines are too long

View File

@ -182,6 +182,12 @@ body.ttrss_main .notify.notify_error i.icon-notify,
body.ttrss_main .notify.notify_error i.icon-close { body.ttrss_main .notify.notify_error i.icon-close {
color: white; color: white;
} }
body.ttrss_main .action-chooser .action-button .dijitButtonText {
vertical-align: unset;
}
body.ttrss_main .action-chooser .action-button .dijitArrowButtonInner {
display: none;
}
body.ttrss_main .hl { body.ttrss_main .hl {
border: 0px solid #222; border: 0px solid #222;
border-bottom-width: 1px; border-bottom-width: 1px;

File diff suppressed because one or more lines are too long