# R51897 - /trunk/pixelegg/inc/class.pixelegg\_framework.inc.php

**URL:** <http://discourse.egroupware.org/t/r51897-trunk-pixelegg-inc-class-pixelegg-framework-inc-php/64260>\
**Category:** eGW-svn\
**Created:** [February 20, 2015, 2:05pm UTC](http://discourse.egroupware.org/t/r51897-trunk-pixelegg-inc-class-pixelegg-framework-inc-php/64260 "2015-02-20T14:05:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hnategh-2](http://discourse.egroupware.org/letter_avatar_proxy/v4/letter/h/f475e1/32.png) [@hnategh-2](http://discourse.egroupware.org/u/hnategh-2)\
**Post date:** [February 20, 2015, 2:05pm UTC](http://discourse.egroupware.org/t/r51897-trunk-pixelegg-inc-class-pixelegg-framework-inc-php/64260/1 "2015-02-20T14:05:32Z")

</div>

Author: hnategh  
New Revision: 51897

URL: [http://svn.stylite.de/viewvc/egroupware?rev=51897&view=rev](http://svn.stylite.de/viewvc/egroupware?rev=51897&view=rev)  
Log:  
Let the mobile theme uses pixelegg custom color

Modified:  
trunk/pixelegg/inc/class.pixelegg\_framework.inc.php

# Modified: trunk/pixelegg/inc/class.pixelegg\_framework.inc.php URL: [http://svn.stylite.de/viewvc/egroupware/trunk/pixelegg/inc/class.pixelegg\_framework.inc.php?rev=51897&r1=51896&r2=51897&view=diff](http://svn.stylite.de/viewvc/egroupware/trunk/pixelegg/inc/class.pixelegg_framework.inc.php?rev=51897&r1=51896&r2=51897&view=diff)

— trunk/pixelegg/inc/class.pixelegg\_framework.inc.php (original)  
+++ trunk/pixelegg/inc/class.pixelegg\_framework.inc.php Fri Feb 20 15:05:32 2015  
@@ -98,7 +98,6 @@  
\*/  
public function \_get\_css()  
{

- 

```
  if (html::$ua_mobile || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile') return egw_framework::_get_css();
  $ret = parent::_get_css();
  // color to use
  $color = str_replace('custom',$GLOBALS['egw_info']['user']['preferences']['common']['template_custom_color'],

```

@@ -124,9 +123,9 @@  
-popup toolbar  
\*/  
div#egw\_fw\_header, div.egw\_fw\_ui\_category:hover,#loginMainDiv,#loginMainDiv #divAppIconBar #divLogo,  
-#egw\_fw\_sidebar #egw\_fw\_sidemenu .egw\_fw\_ui\_scrollarea\_outerdiv .egw\_fw\_ui\_sidemenu\_entry\_content .egw\_fw\_ui\_category\_active:hover,  
+#egw\_fw\_sidebar #egw\_fw\_sidemenu .egw\_fw\_ui\_category\_active:hover,  
.dialogFooterToolbar, .ui-widget-header{

- background-color: $color;

- background-color: $color !important;  
}

/_Login background_/  
@@ -150,8 +149,8 @@  
}

/_Sidebar menu active category_/  
-#egw\_fw\_sidebar #egw\_fw\_sidemenu .egw\_fw\_ui\_scrollarea\_outerdiv .egw\_fw\_ui\_sidemenu\_entry\_content .egw\_fw\_ui\_category\_active{

- background-color: $color\_hex\_darker;  
+#egw\_fw\_sidebar #egw\_fw\_sidemenu .egw\_fw\_ui\_category\_active{

- background-color: $color\_hex\_darker !important;  
}  
";  
}

* * *

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server  
from Actuate! Instantly Supercharge Your Business Reports and Dashboards  
with Interactivity, Sharing, Native Excel Exports, App Integration & more  
Get technology previously reserved for billion-dollar corporations, FREE  
[http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk](http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk)

* * *

eGroupWare-cvs mailing list  
[eGroupWare-cvs@lists.sourceforge.net](mailto:eGroupWare-cvs@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/egroupware-cvs](https://lists.sourceforge.net/lists/listinfo/egroupware-cvs)
