mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Bugfix and cleanup CSS even more
This commit is contained in:
parent
badf422178
commit
e3e0474be2
24 changed files with 88 additions and 192 deletions
|
|
@ -301,11 +301,9 @@ export class FolderModel extends AbstractModel {
|
|||
|
||||
canBeDeleted: () => !folder.isSystemFolder() && !folder.subFolders.length,
|
||||
|
||||
selectableForFolderList: () => !folder.isSystemFolder() && folder.selectable,
|
||||
canBeSubscribed: () => !folder.isSystemFolder() && folder.selectable && rl.settings.app('useImapSubscribe'),
|
||||
|
||||
canBeSubscribed: () => !folder.isSystemFolder() && folder.selectable,
|
||||
|
||||
canBeChecked: () => !folder.isSystemFolder() && folder.selectable,
|
||||
canBeSelected: () => !folder.isSystemFolder() && folder.selectable,
|
||||
|
||||
localName: () => {
|
||||
let name = folder.name();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import ko from 'ko';
|
|||
|
||||
import { Notification } from 'Common/Enums';
|
||||
import { ClientSideKeyName } from 'Common/EnumsUser';
|
||||
import { getNotification, i18n } from 'Common/Translator';
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
||||
import { removeFolderFromCacheList } from 'Common/Cache';
|
||||
|
||||
|
|
@ -24,8 +24,6 @@ export class FoldersUserSettings {
|
|||
this.folderListOptimized = FolderStore.folderListOptimized;
|
||||
this.folderListError = FolderStore.folderListError;
|
||||
|
||||
this.folderListHelp = ko.observable('').extend({ throttle: 100 });
|
||||
|
||||
this.loading = ko.computed(() => {
|
||||
const loading = FolderStore.foldersLoading(),
|
||||
creating = FolderStore.foldersCreating(),
|
||||
|
|
@ -38,8 +36,6 @@ export class FoldersUserSettings {
|
|||
this.folderForDeletion = ko.observable(null).deleteAccessHelper();
|
||||
|
||||
this.folderForEdit = ko.observable(null).extend({ toggleSubscribeProperty: [this, 'edited'] });
|
||||
|
||||
this.useImapSubscribe = !!rl.settings.app('useImapSubscribe');
|
||||
}
|
||||
|
||||
folderEditOnEnter(folder) {
|
||||
|
|
@ -70,17 +66,10 @@ export class FoldersUserSettings {
|
|||
onShow() {
|
||||
FolderStore.folderListError('');
|
||||
}
|
||||
|
||||
/*
|
||||
onBuild(oDom) {
|
||||
oDom.addEventListener('mouseover', event => {
|
||||
const eqs = s => event.target.closestWithin(s, oDom);
|
||||
eqs('.delete-folder-parent') && this.folderListHelp(i18n('SETTINGS_FOLDERS/HELP_DELETE_FOLDER'));
|
||||
eqs('.subscribe-folder-parent') && this.folderListHelp(i18n('SETTINGS_FOLDERS/HELP_SHOW_HIDE_FOLDER'));
|
||||
eqs('.check-folder-parent') && this.folderListHelp(i18n('SETTINGS_FOLDERS/HELP_CHECK_FOR_NEW_MESSAGES'));
|
||||
});
|
||||
oDom.addEventListener('mouseout', () => this.folderListHelp(''));
|
||||
}
|
||||
|
||||
*/
|
||||
createFolder() {
|
||||
showScreenPopup(FolderCreatePopupView);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,13 +104,5 @@
|
|||
.b-settings-content {
|
||||
padding: 20px;
|
||||
padding-left: 30px;
|
||||
|
||||
.legend {
|
||||
width: 670px;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
width: 670px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@
|
|||
|
||||
.e-item {
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.domain-name {
|
||||
display: inline-block;
|
||||
word-break: break-all;
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@
|
|||
font-size: 12px;
|
||||
}
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.package-release-parent, .package-actions-parent {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,10 +7,6 @@
|
|||
}
|
||||
|
||||
.e-item {
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.plugin-img {
|
||||
font-size: 12px;
|
||||
margin-right: 2px;
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@
|
|||
transparent 75%, transparent);
|
||||
}
|
||||
|
||||
&.focused .b-content {
|
||||
}
|
||||
|
||||
.b-folders-user {
|
||||
.e-link.print-count.system .badge {
|
||||
display: none !important;
|
||||
|
|
|
|||
|
|
@ -112,10 +112,6 @@
|
|||
.b-settings-content {
|
||||
padding: 20px;
|
||||
padding-left: 30px;
|
||||
|
||||
.legend {
|
||||
width: 600px;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
|
|
@ -127,7 +123,3 @@
|
|||
html.rl-mobile .rl-settings-view-model {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
html.rl-mobile .b-settings-content .legend {
|
||||
width: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
.list-table {
|
||||
|
||||
width: 600px;
|
||||
|
||||
.account-img, .identity-img {
|
||||
font-size: 12px;
|
||||
margin-right: 5px;
|
||||
|
|
@ -41,10 +39,6 @@
|
|||
|
||||
white-space: nowrap;
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.delete-account {
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
|
|
@ -55,10 +49,6 @@
|
|||
|
||||
white-space: nowrap;
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.delete-identity {
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
|
|
|
|||
|
|
@ -13,11 +13,6 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.b-filter-script .e-action,
|
||||
.b-settings-filters .e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.filter-item .delete-filter {
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
|
|
|
|||
|
|
@ -1,24 +1,12 @@
|
|||
|
||||
.b-settings-folders {
|
||||
|
||||
&.ignore-folder-subscribe {
|
||||
.subscribe-folder, .unsubscribe-folder {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.folders-list-error {
|
||||
width: 550px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.list-table {
|
||||
|
||||
width: 600px;
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
margin-top: 40px;
|
||||
|
||||
.folder-padding {
|
||||
display: inline-block;
|
||||
|
|
@ -31,27 +19,17 @@
|
|||
white-space: pre-wrap;
|
||||
box-sizing: border-box;
|
||||
margin-left: 7px;
|
||||
line-height: 22px;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.folder-system-name {
|
||||
display: inline-block;
|
||||
line-height: 22px;
|
||||
color: #999;
|
||||
cursor: default;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.folder-name.can-be-edited:hover {
|
||||
border-bottom: 1px dashed #333;
|
||||
text-decoration-style: dashed;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.folder-name-input {
|
||||
border-width: 1px;
|
||||
margin-bottom: 0;
|
||||
margin-left: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
.folder-item {
|
||||
|
|
@ -60,6 +38,11 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
input {
|
||||
border-width: 1px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.button-delete {
|
||||
margin-right: 15px;
|
||||
margin-top: 5px;
|
||||
|
|
@ -67,33 +50,24 @@
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
.delete-folder, .subscribe-folder, .unsubscribe-folder, .check-folder, .uncheck-folder {
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.unsubscribe-folder {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.uncheck-folder {
|
||||
.unsubscribed-folder, .unchecked-folder {
|
||||
opacity: 0.2;
|
||||
}
|
||||
}
|
||||
|
||||
.folder-padding.deep-1 {
|
||||
width: 15px * 1 + 10px;
|
||||
width: 25px;
|
||||
}
|
||||
.folder-padding.deep-2 {
|
||||
width: 15px * 2 + 10px;
|
||||
width: 40px;
|
||||
}
|
||||
.folder-padding.deep-3 {
|
||||
width: 15px * 3 + 10px;
|
||||
width: 55px;
|
||||
}
|
||||
.folder-padding.deep-4 {
|
||||
width: 15px * 4 + 10px;
|
||||
width: 70px;
|
||||
}
|
||||
.folder-padding.deep-5 {
|
||||
width: 15px * 5 + 10px;
|
||||
width: 85px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
.list-table {
|
||||
|
||||
width: 750px;
|
||||
|
||||
.open-pgp-key-img {
|
||||
margin-right: 10px;
|
||||
vertical-align: top;
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
.list-table {
|
||||
|
||||
width: 600px;
|
||||
|
||||
.template-img {
|
||||
font-size: 12px;
|
||||
margin-right: 5px;
|
||||
|
|
@ -26,10 +24,6 @@
|
|||
|
||||
.template-item {
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.delete-template {
|
||||
cursor: pointer;
|
||||
opacity: 0.5;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
|
||||
/*
|
||||
.g-ui-user-select-none {
|
||||
// webkit-touch-callout: none;
|
||||
// user-select: none;
|
||||
// standard-user-select: none;
|
||||
// touch-callout: none;
|
||||
webkit-touch-callout: none;
|
||||
user-select: none;
|
||||
standard-user-select: none;
|
||||
touch-callout: none;
|
||||
}
|
||||
*/
|
||||
|
||||
.g-ui-link {
|
||||
color: #369;
|
||||
|
|
@ -155,6 +156,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.e-action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.list-table {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
html.mobile .hide-mobile {
|
||||
display:none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -278,11 +278,6 @@ select {
|
|||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.list-table {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.form-horizontal {
|
||||
.control-group {
|
||||
.control-label {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
font-size: 18px;
|
||||
margin-top: -1px;
|
||||
margin-left: -1px;
|
||||
width: 17px;
|
||||
}
|
||||
|
||||
.iconsize24 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue