From bf19f72a6b42c19e4aee6dec5f858ab52484a52e Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Fri, 28 Jan 2022 12:23:05 +0100 Subject: [PATCH] Reduce more HTML elements thanks to data-icon="" attribute --- dev/Styles/User/FolderList.less | 4 --- dev/Styles/_FontasticToBoot.less | 1 - .../Views/Admin/AdminSettingsDomains.html | 10 ++----- .../Views/Admin/AdminSettingsSecurity.html | 6 ++-- .../templates/Views/Admin/PopupsDomain.html | 10 ++----- .../Views/Admin/PopupsDomainAlias.html | 5 +--- .../templates/Views/Admin/PopupsPlugin.html | 10 ++----- .../app/templates/Views/Common/PopupsAsk.html | 10 ++----- .../templates/Views/User/MailMessageList.html | 12 +++----- .../templates/Views/User/MailMessageView.html | 26 ++++++------------ .../Views/User/PopupsAdvancedSearch.html | 5 +--- .../templates/Views/User/PopupsContacts.html | 5 +--- .../templates/Views/User/PopupsFilter.html | 10 ++----- .../Views/User/PopupsOpenPgpImport.html | 6 +--- .../Views/User/PopupsSieveScript.html | 15 ++-------- .../Views/User/PopupsViewOpenPgpKey.html | 10 ++----- .../templates/Views/User/SettingsFilters.html | 10 ++----- .../templates/Views/User/SettingsFolders.html | 5 +--- .../templates/Views/User/SettingsOpenPGP.html | 12 ++------ .../templates/Views/User/SettingsPane.html | 5 +--- .../templates/Views/User/SettingsThemes.html | 4 +-- vendors/fontastic/fonts/snappymail.woff | Bin 10072 -> 9936 bytes vendors/fontastic/fonts/snappymail.woff2 | Bin 8076 -> 7924 bytes vendors/fontastic/icons-reference.html | 4 --- vendors/fontastic/styles.css | 6 ++-- 25 files changed, 42 insertions(+), 149 deletions(-) diff --git a/dev/Styles/User/FolderList.less b/dev/Styles/User/FolderList.less index 9e8623f84..92b322453 100644 --- a/dev/Styles/User/FolderList.less +++ b/dev/Styles/User/FolderList.less @@ -2,10 +2,6 @@ @folderItemPadding: 7px; @subPadding: 15px; -.sortFolder [data-icon]::before { - width: 2.5em; -} - .b-folders { > * { diff --git a/dev/Styles/_FontasticToBoot.less b/dev/Styles/_FontasticToBoot.less index 5b5623eb0..dc4518231 100644 --- a/dev/Styles/_FontasticToBoot.less +++ b/dev/Styles/_FontasticToBoot.less @@ -10,7 +10,6 @@ display: inline-block; width: 1em; height: 1em; - line-height: 1; vertical-align: text-top; .disabled &, diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html index 869c7f70f..8fd3f7626 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsDomains.html @@ -2,15 +2,9 @@ - - - - +    - - - - +

diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html index 24819f045..4a8439015 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html @@ -49,10 +49,8 @@ data-bind="textInput: adminTOTP" />
- - 🔑 - - +
diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/PopupsDomain.html b/snappymail/v/0.0.0/app/templates/Views/Admin/PopupsDomain.html index e31172593..582a7a8c1 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/PopupsDomain.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/PopupsDomain.html @@ -174,10 +174,7 @@
- +