From 6bbdc2ee11b8ff503994260e34851acb3a971652 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 28 Sep 2017 21:47:24 +0200 Subject: [PATCH] Small dialog improvements for new_user_dialog plugin --- skins/elastic/styles/widgets/forms.less | 5 +++++ skins/elastic/styles/widgets/jqueryui.less | 1 + skins/elastic/ui.js | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/skins/elastic/styles/widgets/forms.less b/skins/elastic/styles/widgets/forms.less index 7bad014b7..155c1c118 100644 --- a/skins/elastic/styles/widgets/forms.less +++ b/skins/elastic/styles/widgets/forms.less @@ -119,6 +119,11 @@ html.ms .propform { .nav-tabs { margin-bottom: 1rem; } + + .hint { + margin-bottom: 1em; + font-style: italic; + } } @media screen and (max-width: @screen-width-mini) { diff --git a/skins/elastic/styles/widgets/jqueryui.less b/skins/elastic/styles/widgets/jqueryui.less index 628390308..e77a79db9 100644 --- a/skins/elastic/styles/widgets/jqueryui.less +++ b/skins/elastic/styles/widgets/jqueryui.less @@ -84,6 +84,7 @@ .ui-dialog-title { line-height: @layout-touch-header-height; font-size: @layout-touch-header-font-size; + padding: 0 1rem; } .ui-dialog-content { diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index cb6d50fee..03668cdf1 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -530,7 +530,7 @@ function rcube_elastic_ui() $('.toolbarmenu select', context).addClass('form-control'); if (context != document) { - $('select,input:not([type="checkbox"],[type="radio"])', context).addClass('form-control'); + $('select,textarea,input:not([type="checkbox"],[type="radio"])', context).addClass('form-control'); } // Make message-objects alerts pretty (the same as UI alerts)