diff --git a/dev/Styles/@Admin.less b/dev/Styles/@Admin.less index 712aa9d44..ceec2c40d 100644 --- a/dev/Styles/@Admin.less +++ b/dev/Styles/@Admin.less @@ -15,7 +15,6 @@ @import "../../vendors/bootstrap/less/button-groups.less"; @import "../../vendors/bootstrap/less/alerts.less"; @import "../../vendors/bootstrap/less/utilities.less"; -@import "../../vendors/bootstrap/less/wells.less"; @import "_FontasticToBoot.less"; @import "_BootstrapFix.less"; diff --git a/dev/Styles/Admin/Packages.less b/dev/Styles/Admin/Packages.less index 19ea1bf72..b45934782 100644 --- a/dev/Styles/Admin/Packages.less +++ b/dev/Styles/Admin/Packages.less @@ -10,33 +10,32 @@ opacity: 0.5; } -} + table { -.b-admin-packages-list-table { + width: 700px; - width: 700px; - - .package-img { - font-size: 12px; - margin-right: 2px; + div:first-child { + display: flex; + } } + .package-name { + flex-grow: 1; + } .package-name.core { font-weight: bold; } .package-desc { - color: #999; font-size: 12px; + opacity: 0.7; } - .package-release, .package-actions { + td + td { text-align: center; - } - .package-actions { vertical-align: middle; } - .package-configure, .package-active { + a { cursor: pointer; margin-right: 1em; } diff --git a/dev/Styles/Animations.less b/dev/Styles/Animations.less index c94920d64..e7101212d 100644 --- a/dev/Styles/Animations.less +++ b/dev/Styles/Animations.less @@ -16,29 +16,21 @@ transition: left 0.3s ease-out, right 0.3s ease-out; } -@media screen and (min-width: 1000px) { - - html.rl-started-trigger .LoginView { - /*transform: scale(1.1);*/ - transform: translateY(-20px); - opacity: 0.5; - } - - .LoginView .errorAnimated { - animation: login-form-shake 400ms ease-in-out; - } - - .LoginView .errorAnimated .buttonLogin { - color: #b94a48; - font-weight: bold; - } - - .LoginView { - transition: all 0.3s ease-out; - } - - .button-delete-transitions { - transition: all 0.2s linear; - } - +html.rl-started-trigger .LoginView { + /*transform: scale(1.1);*/ + transform: translateY(-20px); + opacity: 0.5; +} + +.LoginView .errorAnimated { + animation: login-form-shake 400ms ease-in-out; +} + +.LoginView .errorAnimated .buttonLogin { + color: #b94a48; + font-weight: bold; +} + +.LoginView { + transition: all 0.3s ease-out; } diff --git a/dev/Styles/Ui.less b/dev/Styles/Ui.less index f625192b6..4e3492ab1 100644 --- a/dev/Styles/Ui.less +++ b/dev/Styles/Ui.less @@ -76,6 +76,7 @@ textarea + .settings-save-trigger { } .button-confirm-delete { + transition: all 0.2s linear; white-space: nowrap; } .button-confirm-delete:not(.delete-access) { diff --git a/dev/Styles/User/Animations.less b/dev/Styles/User/Animations.less index eb366ed8a..da155da61 100644 --- a/dev/Styles/User/Animations.less +++ b/dev/Styles/User/Animations.less @@ -12,10 +12,6 @@ @media screen and (min-width: 1000px) { - .button-delete-transitions { - transition: all 0.2s linear; - } - .b-folders li .anim-action-class { animation: highlight-folder-row 0.5s linear; } diff --git a/dev/Styles/User/MessageList.less b/dev/Styles/User/MessageList.less index 149912df6..0460f6d90 100644 --- a/dev/Styles/User/MessageList.less +++ b/dev/Styles/User/MessageList.less @@ -31,6 +31,7 @@ html.rl-no-preview-pane { flex-direction: column; .b-footer { + display: flex; flex-shrink: 0; padding: 7px; @@ -51,6 +52,11 @@ html.rl-no-preview-pane { } } + .b-footer nav { + flex-grow: 1; + text-align: right; + } + .btn.buttonMoreSearch { font-size: 11px; padding-left: 8px; @@ -58,6 +64,7 @@ html.rl-no-preview-pane { } .second-toolbar { + display: flex; flex-shrink: 0; padding: 10px 8px 10px 11px; white-space: nowrap; @@ -68,26 +75,35 @@ html.rl-no-preview-pane { border-top-right-radius: @rlMainBorderRadius; border-top-left-radius: @rlMainBorderRadius; border-bottom: 1px solid #bbb; + } - .checkboxCheckAll { - cursor: pointer; - vertical-align: middle - } + .checkboxCheckAll { + cursor: pointer; + margin: 0.5em 0.5em 0 0; + } - .input-append { - margin-left: 14px; - text-align: right; - width: calc(100% - 30px); + .search-input-wrp { + flex-grow: 1; + position: relative; + text-align: right; + } - .close-input-wrp { - width: 90%; - min-width: 200px; - max-width: 300px; - } + .inputSearch { + display: inline-block; + max-width: 300px; + width: 100%; + } - .inputSearch { - width: 100%; - } + .closeSearch { + position: absolute; + right: 0; + top: 5px; + margin: 0 7px; + z-index: 100; + vertical-align: middle; + opacity: .4; + &:hover { + opacity: .6; } } diff --git a/dev/Styles/User/Settings.less b/dev/Styles/User/Settings.less index 2f306babd..aaca64723 100644 --- a/dev/Styles/User/Settings.less +++ b/dev/Styles/User/Settings.less @@ -80,10 +80,6 @@ border-radius: @rlMainBorderRadius; } -html.rl-mobile #rl-settings-subscreen > * { - margin-right: 15px; -} - .firefox-drag #rl-settings-subscreen, .firefox-drag .modal-body { overflow: hidden; diff --git a/dev/Styles/User/SettingsAccounts.less b/dev/Styles/User/SettingsAccounts.less index a9b755cee..6bced7529 100644 --- a/dev/Styles/User/SettingsAccounts.less +++ b/dev/Styles/User/SettingsAccounts.less @@ -26,10 +26,10 @@ } td + td { - width: 150px; + text-align: right; } td + td + td { - width: 1%; + width: 1em; } .delete { diff --git a/dev/Styles/User/SettingsFolders.less b/dev/Styles/User/SettingsFolders.less index 14a05e0a8..c523d94c0 100644 --- a/dev/Styles/User/SettingsFolders.less +++ b/dev/Styles/User/SettingsFolders.less @@ -10,6 +10,7 @@ } td + td { + white-space: nowrap; width: 1em; } diff --git a/dev/Styles/User/SquireUI.less b/dev/Styles/User/SquireUI.less index f181f205f..b42f94701 100644 --- a/dev/Styles/User/SquireUI.less +++ b/dev/Styles/User/SquireUI.less @@ -93,7 +93,7 @@ blockquote { border: 0; - border-left: solid 2px #444; + border-left: 2px solid #444; margin: 5px 0 5px 5px; padding-left: 5px; } diff --git a/dev/Styles/_BootstrapFix.less b/dev/Styles/_BootstrapFix.less index 5baec6bc6..805f721f4 100644 --- a/dev/Styles/_BootstrapFix.less +++ b/dev/Styles/_BootstrapFix.less @@ -59,25 +59,3 @@ label.inline, span.inline { } } } - -.close-input-wrp { - display: inline-block; - position: relative; - - input { - padding-right: 15px; - } - - .close { - position: absolute; - right: 0; - top: 5px; - margin: 0 7px; - z-index: 100; - vertical-align: middle; - opacity: .4; - &:hover { - opacity: .6; - } - } -} diff --git a/plugins/two-factor-auth/templates/TwoFactorAuthSettings.html b/plugins/two-factor-auth/templates/TwoFactorAuthSettings.html index ba3dee0d1..25aaf7fcc 100644 --- a/plugins/two-factor-auth/templates/TwoFactorAuthSettings.html +++ b/plugins/two-factor-auth/templates/TwoFactorAuthSettings.html @@ -1,94 +1,92 @@ -
+
+
-
-
-
-
-
-
-
-     - +
+
+
+
+     +
-
- -
- -
-
-

-
-
-
-
-
-
- ... - -
-
-
- -
- -    - -
-
+
+
+ +
+ +
-

-
- - - -
-
-
- -
-

-					
-
-

+

- - - - - - - - - - - - - - +
+
+ ... + +
+
+
+ +
+ +    + +
+
+
+

+
+ + + +
+
+
+ +
+

+				
+
+

+
+
+
+ + + + + + + + + + + + + +
diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php index a7d24f4c4..fa779367c 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/UserAuth.php @@ -294,7 +294,7 @@ trait UserAuth $this->ClearSignMeData($oAccount); $uuid = \SnappyMail\UUID::generate(); - $salt = \sha1(\microtime(true)); + $salt = \sha1(\random_bytes(16)); Utils::SetCookie(self::AUTH_SIGN_ME_TOKEN_KEY, Utils::EncodeKeyValuesQ(array( 'e' => $oAccount->Email(), 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 f7ee1ed13..97008cbfb 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 @@ -30,7 +30,7 @@ (alias) - diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsGeneral.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsGeneral.html index ba0254809..3cb63ac2d 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsGeneral.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsGeneral.html @@ -101,7 +101,7 @@

- + PHP:   diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackages.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackages.html index e27f8ce7b..7fba341ea 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackages.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackages.html @@ -8,7 +8,7 @@
-
+
@@ -20,7 +20,7 @@
-
+
  () @@ -29,13 +29,13 @@
-
+

-
+

diff --git a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackagesTable.html b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackagesTable.html index 43a53b216..9be69323c 100644 --- a/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackagesTable.html +++ b/snappymail/v/0.0.0/app/templates/Views/Admin/AdminSettingsPackagesTable.html @@ -1,4 +1,4 @@ - +
@@ -7,17 +7,19 @@ - - + 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 f299c4a84..1eecf7163 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 @@ -1,41 +1,82 @@ -
-
- -

-
-
- - + @@ -57,7 +57,7 @@ - + @@ -24,7 +24,7 @@
- - - - +
+ + + + +
- + +   - 🗑 + 🗑
-
+
+
-
- diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html index 66e9335af..6ced15c76 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsAccounts.html @@ -16,7 +16,7 @@ - @@ -42,7 +42,7 @@ - diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsFilters.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsFilters.html index 2063093bb..825ca0526 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsFilters.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsFilters.html @@ -15,7 +15,7 @@
- diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsFolderItem.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsFolderItem.html index f977124be..9b785e126 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsFolderItem.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsFolderItem.html @@ -6,10 +6,10 @@ data-bind="value: nameForEdit, visible: edited, hasfocus: edited, onEnter: function () { $root.folderEditOnEnter($data); }, onEsc: function () { $root.folderEditOnEsc($data); }" />   - + 🗑 diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsOpenPGP.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsOpenPGP.html index 323207ef3..1e4240ad8 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsOpenPGP.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsOpenPGP.html @@ -30,7 +30,7 @@
-
@@ -47,7 +47,7 @@ () - diff --git a/snappymail/v/0.0.0/themes/SquaresDark/styles.css b/snappymail/v/0.0.0/themes/SquaresDark/styles.css index b05797d15..6724fd903 100644 --- a/snappymail/v/0.0.0/themes/SquaresDark/styles.css +++ b/snappymail/v/0.0.0/themes/SquaresDark/styles.css @@ -71,11 +71,11 @@ border-top-color: var(--main-color); } -.well, #rl-popups > dialog, #rl-settings-subscreen, .messageList, .messageView, +.alert-info, #V-PopupsCompose .b-attachment-place { background-color: #000; border-color: #555; diff --git a/vendors/bootstrap/less/utilities.less b/vendors/bootstrap/less/utilities.less index 64c03f051..61e38562a 100644 --- a/vendors/bootstrap/less/utilities.less +++ b/vendors/bootstrap/less/utilities.less @@ -7,9 +7,6 @@ .pull-right { float: right; } -.pull-left { - float: left; -} // Toggling content .show { diff --git a/vendors/bootstrap/less/wells.less b/vendors/bootstrap/less/wells.less deleted file mode 100644 index 0f0894963..000000000 --- a/vendors/bootstrap/less/wells.less +++ /dev/null @@ -1,12 +0,0 @@ -// -// Wells -// -------------------------------------------------- - - -// Base class -.well { - background-color: @wellBackground; - border: 1px solid darken(@wellBackground, 7%); - border-radius: 4px; - padding: 9px; -}