Author: hnategh
New Revision: 54976
URL: http://svn.stylite.de/viewvc/egroupware?rev=54976&view=rev
Log:
Mobile theme W.I.P.:
-Fix calendar view header
Modified:
trunk/calendar/inc/class.calendar_uiviews.inc.php
trunk/calendar/templates/pixelegg/app.css
trunk/calendar/templates/pixelegg/app.less
— trunk/calendar/inc/class.calendar_uiviews.inc.php (original)
+++ trunk/calendar/inc/class.calendar_uiviews.inc.php Wed Feb 10 18:03:42 2016
@@ -243,6 +243,11 @@
// Toolbar
$tmpl = new etemplate_new(‘calendar.toolbar’);
$tmpl->setElementAttribute(‘toolbar’, ‘actions’, $this->getToolbarActions($content));
-
// Adjust toolbar for mobile
-
if(html::$ua_mobile){
-
$tmpl->setElementAttribute('toolbar','class', 'et2_head_toolbar');
-
$tmpl->setElementAttribute('toolbar','view_range', '3');
-
}
$tmpl->exec('calendar_uiviews::index',array());
// Load the different views once, we'll switch between them on the client side
— trunk/calendar/templates/pixelegg/app.css (original)
+++ trunk/calendar/templates/pixelegg/app.css Wed Feb 10 18:03:42 2016
@@ -2609,3 +2609,19 @@
}/
/ ########################################################################################
/* * Calendar END /
+/ tablets and smartphones */
+@media only screen and (max-device-width: 1024px) {
-
#calendar-toolbar {
- height: 50px;
- box-shadow: 0px 4px 5px 2px silver;
- width: 100%;
- background: #0c5da5;
- z-index: 1;
- }
-
#calendar-toolbar #calendar-toolbar_toolbar .et2_toolbar_more > h.ui-toolbar-menulistHeader {
- background: transparent;
- }
-
#calendar-toolbar #toolbar-actionlist {
- margin-left: 70px;
- }
+}
— trunk/calendar/templates/pixelegg/app.less (original)
+++ trunk/calendar/templates/pixelegg/app.less Wed Feb 10 18:03:42 2016
@@ -1409,3 +1409,19 @@
/* ########################################################################################
/* * Calendar END */
+/* tablets and smartphones */
+@media only screen and (max-device-width:1024px) {
-
#calendar-toolbar {
-
#calendar-toolbar_toolbar {
-
.et2_toolbar_more > h.ui-toolbar-menulistHeader {background:transparent;}
-
}
-
height: 50px;
-
box-shadow: 0px 4px 5px 2px silver;
-
width: 100%;
-
background: #0c5da5;
-
z-index: 1;
-
#toolbar-actionlist {
-
margin-left: 70px;
-
}
- }
+}
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