actions dropdown: use material menu icon

master
Andrew Dolgov 6 years ago
parent 6d0c9bb784
commit 83650fffa4

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

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

@ -183,6 +183,7 @@
<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>
@ -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>

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

@ -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
Loading…
Cancel
Save