Author: hnategh
New Revision: 55022
URL: http://svn.stylite.de/viewvc/egroupware?rev=55022&view=rev
Log:
Fix searchbox button occupies so much space
Modified:
trunk/etemplate/js/et2_widget_textbox.js
trunk/etemplate/templates/default/etemplate2.css
trunk/pixelegg/css/mobile.css
trunk/pixelegg/css/mobile.less
— trunk/etemplate/js/et2_widget_textbox.js (original)
+++ trunk/etemplate/js/et2_widget_textbox.js Tue Feb 16 14:46:16 2016
@@ -428,7 +428,9 @@
this.value = “”;
this.div = jQuery(document.createElement(‘div’))
.addClass(‘et2_searchbox’);
-
this.flex = jQuery(document.createElement('div'))
-
.addClass('flex')
-
.appendTo(this.div);
this._super.apply(this, arguments);
this.setDOMNode(this.div[0]);
this._createWidget();
@@ -481,7 +483,7 @@
if (event.target.type == ‘span’) event.stopImmidatePropagation();
}
});
@@ -501,7 +503,7 @@
self._show_hide(false);
}
})
-
jQuery(this.search.getDOMNode()).toggleClass('hide',!_stat);
-
jQuery('span.clear',this.div).toggleClass('hide',!_stat);
— trunk/etemplate/templates/default/etemplate2.css (original)
+++ trunk/etemplate/templates/default/etemplate2.css Tue Feb 16 14:46:16 2016
@@ -2231,9 +2231,6 @@
.et2_searchbox {
position: relative;
padding: 0 0 0 0px;
- margin-right: 15px;
- margin-left: 15px;
- width: 200px;
z-index: 100;
white-space: nowrap;
}
@@ -2251,7 +2248,7 @@
position: absolute;
top: 5px;
height: 18px;
- width: 80%;
- width: 100%;
}
.et2_searchbox span.ui-icon.clear{
display: inline-block;
@@ -2261,6 +2258,11 @@
right: 5px;
top: 6px;
}
+.et2_searchbox .flex {
- width:200px;
- position: absolute;
- display: inline-block;
+}
.et2_searchbox .hide {
display: none !important;
}
— trunk/pixelegg/css/mobile.css (original)
+++ trunk/pixelegg/css/mobile.css Tue Feb 16 14:46:16 2016
@@ -8207,4 +8207,7 @@
right: 80px;
top: 14px;
}
-}
- body .et2_searchbox.expanded .flex {
- width: 100%;
- }
+}
— trunk/pixelegg/css/mobile.less (original)
+++ trunk/pixelegg/css/mobile.less Tue Feb 16 14:46:16 2016
@@ -1796,6 +1796,9 @@
right:80px;
top:14px;
}
-
.flex{
-
width:100%;
-
}
}
}
}
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs