mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 17:13:38 +08:00
Fix mobile gui
This commit is contained in:
parent
b0ffd84ac6
commit
116de6fd45
6 changed files with 13 additions and 13 deletions
|
@ -244,6 +244,7 @@
|
|||
overflow: hidden;
|
||||
height: 19px;
|
||||
display: inline-block;
|
||||
margin-top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -258,7 +259,7 @@ html.rl-left-panel-disabled, html.rl-left-panel-short {
|
|||
margin-top: 10px !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
#rl-left {
|
||||
&.rl-mobile #rl-left {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -371,16 +371,17 @@ html.rl-ctrl-key-pressed {
|
|||
}
|
||||
|
||||
html.rl-mobile .hide-on-mobile {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.show-on-mobile {
|
||||
display: none;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
html.rl-mobile .show-on-mobile {
|
||||
display: initial;
|
||||
display: initial !important;
|
||||
}
|
||||
|
||||
html.rl-mobile .width100-on-mobile {
|
||||
width: 100%;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
|
|
@ -66,8 +66,6 @@
|
|||
this.folderList = FolderStore.folderList;
|
||||
|
||||
this.composeInEdit = AppStore.composeInEdit;
|
||||
this.allowComposer = !!Settings.capa(Enums.Capa.Composer);
|
||||
|
||||
this.leftPanelDisabled = Globals.leftPanelDisabled;
|
||||
|
||||
this.selectorMessageSelected = MessageStore.selectorMessageSelected;
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
data-bind="css: {'message-selected': isMessageSelected, 'message-focused': !messageListFocused(), 'loading': messageListCompleteLoadingThrottle, 'hideMessageListCheckbox': !useCheckboxesInList() }">
|
||||
<div class="toolbar">
|
||||
<div class="btn-toolbar">
|
||||
<div class="btn-group show-on-mobile" data-bind="visible: leftPanelDisabled">
|
||||
<div class="btn-group" data-bind="visible: mobile && leftPanelDisabled()">
|
||||
<a class="btn single" data-bind="click: showLeft">
|
||||
<i class="icon-right-middle"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group show-on-mobile" data-bind="visible: !leftPanelDisabled()" style="margin-left: -1px">
|
||||
<div class="btn-group" data-bind="visible: mobile && !leftPanelDisabled()" style="margin-left: -1px">
|
||||
<a class="btn single" data-bind="click: hideLeft">
|
||||
<i class="icon-left-middle"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group show-on-mobile"> </div>
|
||||
<div class="btn-group show-on-mobile" data-bind="visible: allowComposer">
|
||||
<div class="btn-group" data-bind="visible: mobile && allowComposer">
|
||||
<a class="btn single buttonCompose" data-tooltip-join="top" data-bind="click: composeClick, tooltip: 'FOLDER_LIST/BUTTON_NEW_MESSAGE', css: {'btn-warning': composeInEdit, 'btn-success': !composeInEdit()}">
|
||||
<i class="icon-paper-plane"></i>
|
||||
</a>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<tbody data-bind="template: { name: 'SettingsFolderItem', foreach: folderList }"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="span4 show-on-mobile" style="position: relative" data-bind="visible: '' !== folderListHelp()">
|
||||
<div class="span4 hide-on-mobile" style="position: relative" data-bind="visible: '' !== folderListHelp()">
|
||||
<div class="alert alert-info" style="position: fixed">
|
||||
<span data-bind="text: folderListHelp"></span>
|
||||
</div>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<div class="b-settings b-settins-right">
|
||||
<div class="b-toolbar" style="padding-left: 0">
|
||||
<div class="btn-toolbar" style="margin-top: 2px;">
|
||||
<div class="btn-group show-on-mobile" data-bind="visible: leftPanelDisabled">
|
||||
<div class="btn-group" data-bind="visible: mobile && leftPanelDisabled()">
|
||||
<a class="btn single" data-bind="click: showLeft">
|
||||
<i class="icon-right-middle"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="btn-group show-on-mobile" data-bind="visible: !leftPanelDisabled()" style="margin-left: -1px">
|
||||
<div class="btn-group" data-bind="visible: mobile && !leftPanelDisabled()" style="margin-left: -1px">
|
||||
<a class="btn single" data-bind="click: hideLeft">
|
||||
<i class="icon-left-middle"></i>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue