From 8960ca33f1e3c8badc956917a2d49a506dff5fc9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 6 Nov 2017 18:31:43 +0100 Subject: [PATCH] Attachment preview on mobile (#61) --- skins/elastic/styles/widgets/jqueryui.less | 6 +++ skins/elastic/styles/widgets/toolbar.less | 3 ++ skins/elastic/templates/includes/layout.html | 10 ++--- skins/elastic/templates/login.html | 2 +- skins/elastic/templates/messagepart.html | 34 ++++++++------- skins/elastic/ui.js | 44 ++++++++++---------- 6 files changed, 56 insertions(+), 43 deletions(-) diff --git a/skins/elastic/styles/widgets/jqueryui.less b/skins/elastic/styles/widgets/jqueryui.less index 123747809..5e5af896c 100644 --- a/skins/elastic/styles/widgets/jqueryui.less +++ b/skins/elastic/styles/widgets/jqueryui.less @@ -31,6 +31,12 @@ border-radius: 0; box-shadow: none; + &.no-titlebar { + .ui-dialog-titlebar { + display: none; + } + } + .ui-dialog-titlebar { height: @layout-header-height; border-bottom: 1px solid @color-dialog-header-border; diff --git a/skins/elastic/styles/widgets/toolbar.less b/skins/elastic/styles/widgets/toolbar.less index 1735ccf11..3d99bab34 100644 --- a/skins/elastic/styles/widgets/toolbar.less +++ b/skins/elastic/styles/widgets/toolbar.less @@ -187,6 +187,9 @@ &.qrcode:before { content: @fa-var-qrcode; } + &.properties:before { + content: @fa-var-file; + } } &:not(.popupmenu) span.inner { diff --git a/skins/elastic/templates/includes/layout.html b/skins/elastic/templates/includes/layout.html index f9195c600..19aad3b9f 100644 --- a/skins/elastic/templates/includes/layout.html +++ b/skins/elastic/templates/includes/layout.html @@ -17,15 +17,15 @@ - - + + - - + + - + "> diff --git a/skins/elastic/templates/login.html b/skins/elastic/templates/login.html index ea9dd615b..3fe31341c 100644 --- a/skins/elastic/templates/login.html +++ b/skins/elastic/templates/login.html @@ -2,7 +2,7 @@

-
+
diff --git a/skins/elastic/templates/messagepart.html b/skins/elastic/templates/messagepart.html index aa06b3641..8b75ea8eb 100644 --- a/skins/elastic/templates/messagepart.html +++ b/skins/elastic/templates/messagepart.html @@ -1,9 +1,10 @@ -

:

+