Author: hnategh
New Revision: 55019
URL: http://svn.stylite.de/viewvc/egroupware?rev=55019&view=rev
Log:
Mobile theme W.I.P.:
- Add some styling for searchbox
- Fix contextmenu is not coming on trees
- Add back handler for context menu in order to close it
Modified:
trunk/etemplate/js/et2_widget_textbox.js
trunk/phpgwapi/js/egw_action/egw_action_popup.js
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 12:59:31 2016
@@ -512,6 +512,7 @@
{
jQuery(this.search.getDOMNode()).toggleClass(‘hide’,!_stat);
jQuery(‘span.clear’,this.div).toggleClass(‘hide’,!_stat);
— trunk/phpgwapi/js/egw_action/egw_action_popup.js (original)
+++ trunk/phpgwapi/js/egw_action/egw_action_popup.js Tue Feb 16 12:59:31 2016
@@ -257,7 +257,16 @@
ai._registerContext = function(_node, _callback, _context)
{
var contextHandler = function(e) {
-
if(egwIsMobile())
-
{
-
if (e.originalEvent.which == 3)
-
{
-
// Enable onhold trigger till we define a better handler for tree contextmenu
-
// return;
-
}
-
jQuery('.nm-mob-header .nm_action_header').toggleClass('back', _egw_active_menu);
-
}
-
//Obtain the event object
if (!e)
{
— trunk/pixelegg/css/mobile.css (original)
+++ trunk/pixelegg/css/mobile.css Tue Feb 16 12:59:31 2016
@@ -7562,17 +7562,11 @@
}
body div.dhtmlxMenu_egw_SubLevelArea_Polygon {
font-size: medium;
- top: 50px !important;
right: 0px;
left: auto !important;
background-color: white;
width: 100%;
- }
- body div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl::before {
- content: “\2190”;
- height: 46px;
- padding-left: 8px;
- font-size: 24pt;
}
body div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl {
width: 100%;
@@ -7731,6 +7725,7 @@
padding-left: 60px;
box-shadow: 0px 4px 5px 2px silver;
position: relative;
- height: 50px;
z-index: 1;
}
body .et2_nextmatch .nm-mob-header button {
@@ -7787,6 +7782,11 @@
body .et2_nextmatch .nm-mob-header button.nm_action_header:after {
font-size: 18pt;
content: “\205D”;
- font-weight: bold;
- }
- body .et2_nextmatch .nm-mob-header button.nm_action_header.back:after {
- font-size: 18pt;
- content: “\2190”;
font-weight: bold;
}
body .et2_nextmatch .nm-mob-header div.nm_favorites_div {
@@ -8178,4 +8178,33 @@
padding-left: 5px;
font-weight: bold;
}
-}
- body .et2_searchbox button.et2_button.searched {
- background-image: url(…/images/topmenu_items/mobile/search.png);
- }
- body .et2_searchbox button.et2_button {
- background-image: url(…/images/topmenu_items/mobile/search_white.png);
- }
- body .et2_searchbox input {
- font-size: 10pt;
- }
- body .et2_searchbox.expanded {
- position: absolute;
- width: 100% !important;
- height: 50px;
- margin-left: 0;
- }
- body .et2_searchbox.expanded button.et2_button {
- display: none;
- }
- body .et2_searchbox.expanded input {
- width: 100%;
- height: 45px;
- margin: 0;
- top: 0;
- outline: none;
- }
- body .et2_searchbox.expanded span.ui-icon.clear {
- right: 80px;
- top: 14px;
- }
+}
— trunk/pixelegg/css/mobile.less (original)
+++ trunk/pixelegg/css/mobile.less Tue Feb 16 12:59:31 2016
@@ -1089,17 +1089,11 @@
div.dhtmlxMenu_egw_SubLevelArea_Polygon
{
font-size:medium;
@@ -1257,6 +1251,7 @@
padding-left: 60px;
box-shadow: 0px 4px 5px 2px silver;
position: relative;
@@ -1313,6 +1308,14 @@
&:after{
font-size:18pt;
content:"\205D";
@@ -1762,5 +1765,37 @@
}
display: block;
}
-
-
.et2_searchbox {
-
button.et2_button.searched {
-
background-image: url(../images/topmenu_items/mobile/search.png);
-
}
-
button.et2_button {
-
background-image: url(../images/topmenu_items/mobile/search_white.png);
-
}
-
input{
-
.mob-fontsize-n;
-
}
-
}
-
.et2_searchbox.expanded {
-
position: absolute;
-
width:100% !important;
-
height:50px;
-
margin-left:0;
-
button.et2_button{
-
display: none;
-
}
-
input {
-
width:100%;
-
height:45px;
-
margin:0;
-
top:0;
-
outline: none;
-
}
-
span.ui-icon.clear{
-
right:80px;
-
top:14px;
-
}
-
}
- }
}
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