From 358c11edb15ed7e4999c7f7f0fbd3d69b1d087e4 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 18 May 2016 14:26:47 +0200 Subject: [PATCH] Give today button in datepicker a reasonable size --- api/templates/default/etemplate2.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 5dd5d60313..00f5d841df 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -466,12 +466,13 @@ span.et2_date_duration input.et2_date_duration{ } .ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] { position: absolute; - top: -2px; - right: 24px; - width: 23px; - height: 23px; + top: 0px; + right: 28px; + width: 16px; + height: 16px; overflow: hidden; background-color: white; + background-repeat:no-repeat; margin-left: 3px; text-indent: 20px; background-size: contain; @@ -2003,9 +2004,9 @@ div.ui-dialog div.ui-dialog-content > div[id] { background-size: 16px; } .et2_toolbar-dropdown button:hover{ - color: none !important; + color: transparent !important; border: none !important; - background-color: none !important; + background-color: transparent !important; vertical-align: bottom !important; }