From 876072aa1f24df9a693b3e6dbdbabc422890caa1 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 15 Feb 2016 18:38:24 +0000 Subject: [PATCH] Add ettemplate2 styles for searchbox --- etemplate/templates/default/etemplate2.css | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/etemplate/templates/default/etemplate2.css b/etemplate/templates/default/etemplate2.css index 7d5e20bcae..8d248a20ee 100644 --- a/etemplate/templates/default/etemplate2.css +++ b/etemplate/templates/default/etemplate2.css @@ -2227,3 +2227,40 @@ td.avatar { padding-top:0 !important; width:50px; } + +.et2_searchbox { + position: relative; + padding: 0 0 0 0px; + margin-right: 15px; + margin-left: 15px; + width: 200px; + z-index: 100; + white-space: nowrap; +} +.et2_searchbox button.et2_button { + height:24px; + background-image: url(images/search.png); + width:35px; + background-repeat: no-repeat; +} +.et2_searchbox button.et2_button.searched { + background-color: white; + box-shadow: inset 1px 1px 1px 1px gray !important; +} +.et2_searchbox input { + position: absolute; + top: 5px; + height: 18px; + width: 80%; +} +.et2_searchbox span.ui-icon.clear{ + display: inline-block; + background-position: -95px -126px; + position: absolute; + float: right; + right: 5px; + top: 6px; +} +.et2_searchbox .hide { + display: none !important; +} \ No newline at end of file