mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Small GUI fixes (#1014)
This commit is contained in:
parent
f64b63c549
commit
3215c5f8d3
13 changed files with 73 additions and 48 deletions
|
|
@ -19,14 +19,9 @@
|
|||
right: 0;
|
||||
left: 0;
|
||||
height: 30px;
|
||||
padding: 10px 10px 0 @rlLowMargin;
|
||||
padding: 10px 0 0 @rlLowMargin;
|
||||
color: #fff;
|
||||
z-index: 101;
|
||||
|
||||
html.rl-left-panel-enabled &{
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.b-footer {
|
||||
|
|
@ -137,7 +132,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
&.system {
|
||||
cursor: default;
|
||||
color: grey;
|
||||
|
|
@ -237,7 +231,29 @@
|
|||
/**/
|
||||
}
|
||||
|
||||
.btn {
|
||||
.btn-text-wrp {
|
||||
padding-left: 7px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
&.buttonCompose {
|
||||
width: calc(~'100% - 85px');
|
||||
max-width: fit-content;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
html.rl-left-panel-disabled, html.rl-left-panel-short {
|
||||
.buttonComposeText{
|
||||
display: none;
|
||||
}
|
||||
.btn.buttonCompose {
|
||||
width: auto;
|
||||
}
|
||||
.btn.buttonContacts {
|
||||
margin-top: 10px !important;
|
||||
margin-left: 0 !important;
|
||||
|
|
|
|||
|
|
@ -91,6 +91,35 @@ select {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.btn.btn-transparent {
|
||||
background: none !important;
|
||||
border-color: transparent !important;
|
||||
text-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
opacity: .6;
|
||||
|
||||
[class^="icon-"] {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
line-height: 20px;
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group.open .btn.btn-transparent.dropdown-toggle {
|
||||
color: #BD362F;
|
||||
.caret {
|
||||
border-top-color: #BD362F;
|
||||
}
|
||||
[class^="icon-"]:before {
|
||||
color: #BD362F;
|
||||
}
|
||||
}
|
||||
|
||||
.btn.btn-narrow {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
|
|
|
|||
|
|
@ -63,18 +63,10 @@
|
|||
this.isInboxStarred = ko.computed(function () {
|
||||
return FolderStore.currentFolder() &&
|
||||
FolderStore.currentFolder().isInbox() &&
|
||||
'is:flagged' === MessageStore.messageListSearch()
|
||||
-1 < Utils.trim(MessageStore.messageListSearch()).indexOf('is:flagged')
|
||||
;
|
||||
});
|
||||
|
||||
this.displayNewText = ko.observable(false);
|
||||
this.displayNewMessageText = ko.observable(false);
|
||||
|
||||
Globals.leftPanelWidth.subscribe(function(v){
|
||||
this.displayNewText(170 < v && 230 >= v);
|
||||
this.displayNewMessageText(230 < v);
|
||||
}, this);
|
||||
|
||||
kn.constructorEnd(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue