Small improvements

pull/5742/merge
Aleksander Machniak 7 years ago
parent e1571ce4c4
commit 3986f18190

@ -238,7 +238,7 @@ html.iframe body {
}
body > #layout > div > .header {
&.with-search {
&.with-search:not(.no-toolbar) {
.searchfilterbar {
right: (@layout-touch-icon-width * 2);
}

@ -5,7 +5,7 @@
<!-- inline address book -->
<div class="sidebar listbox" role="region" aria-labelledby="aria-label-composecontacts">
<div class="header">
<div class="header no-toolbar">
<a class="button icon back-content-button" href="#content" data-hidden="big"><span class="inner"><roundcube:label name="back" /></span></a>
<span id="aria-label-composecontacts" class="header-title"><roundcube:label name="contacts" /></span>
<roundcube:object name="searchform" id="searchform" wrapper="searchbar toolbar"
@ -98,7 +98,7 @@
<span class="header-title"><roundcube:label name="compose" /></span>
<!-- toolbar -->
<div id="messagetoolbar" class="toolbar" role="toolbar" aria-labelledby="aria-label-toolbar">
<a class="button settings" href="#options" onclick="UI.show_list()" data-hidden="big">
<a class="button settings" href="#options" onclick="UI.show_list(true)" data-hidden="big">
<span class="inner"><roundcube:label name="composeoptions"></span>
</a>
<a class="button addressbook" href="#contacts" onclick="UI.show_sidebar()" data-hidden="big">

@ -941,7 +941,7 @@ function rcube_elastic_ui()
screen_resize_headers();
};
function show_list()
function show_list(scroll)
{
if (!layout.list.length && !layout.sidebar.length) {
history.back();
@ -954,6 +954,10 @@ function rcube_elastic_ui()
if (mode == 'small' || mode == 'phone') {
hide_content();
}
if (scroll) {
layout.list.children('.scroller').scrollTop(0);
}
}
screen_resize_headers();

Loading…
Cancel
Save