allow to use mobile support as a theme, to be able to switch desktop browsers to it permantent, mobile browsers are automatic detected

This commit is contained in:
Ralf Becker 2014-11-26 16:54:04 +00:00
parent 2eb241c323
commit e2dbc63d10
3 changed files with 26 additions and 29 deletions

View File

@ -3,16 +3,18 @@ To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates To change this template file, choose Tools | Templates
and open the template in the editor. and open the template in the editor.
*/ */
/* /*
Created on : Nov 14, 2014, 12:39:19 PM Created on : Nov 14, 2014, 12:39:19 PM
Author : Hadi Nategh <hn@stylite.de> Author : Hadi Nategh <hn@stylite.de>
*/ */
@import "pixelegg.less";
@media all { @media all {
#egw_fw_basecontainer{ #egw_fw_basecontainer{
//################### //###################
//# # //# #
//# TOOLBAR # //# TOOLBAR #
@ -38,7 +40,7 @@ and open the template in the editor.
border-width: 1px 1px 1px 1px; border-width: 1px 1px 1px 1px;
border:none; border:none;
border-radius: 10px; border-radius: 10px;
img{ img{
height:32px !important; height:32px !important;
width:32px !important; width:32px !important;
@ -48,7 +50,7 @@ and open the template in the editor.
} }
} }
} }
} }
//FW Logout //FW Logout
div#egw_fw_logout{ div#egw_fw_logout{
left: 235px; left: 235px;
@ -73,7 +75,7 @@ and open the template in the editor.
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
} }
//FW Menu //FW Menu
div#egw_fw_menu{ div#egw_fw_menu{
@ -128,7 +130,7 @@ and open the template in the editor.
background-size: 32px 32px; background-size: 32px 32px;
display: inline-block; display: inline-block;
} }
a#topmenu_acl:before { a#topmenu_acl:before {
content: ""; content: "";
background-repeat: no-repeat; background-repeat: no-repeat;
@ -183,9 +185,9 @@ and open the template in the editor.
-webkit-transition: 1s ease; -webkit-transition: 1s ease;
} }
} }
} }
}//End of toolbar }//End of toolbar
// ######################tabs header ########################## // ######################tabs header ##########################
// # # # # # # # # # #### // # # # # # # # # # ####
// # # # # # # # # # #### // # # # # # # # # # ####
@ -193,7 +195,7 @@ and open the template in the editor.
// # # # # # # # # # #### // # # # # # # # # # ####
// ############################################################ // ############################################################
// Div Tabs // Div Tabs
.egw_fw_ui_tabs_header { .egw_fw_ui_tabs_header {
margin: 0px 0 0 0; margin: 0px 0 0 0;
padding: 1px 1px 0px 0px; padding: 1px 1px 0px 0px;
@ -223,9 +225,9 @@ and open the template in the editor.
// # # // # #
// ########## // ##########
// Inactive // Inactive
.egw_fw_ui_tab_header { .egw_fw_ui_tab_header {
padding-left: 0; padding-left: 0;
position: relative; position: relative;
@ -318,7 +320,7 @@ and open the template in the editor.
//################### //###################
#egw_fw_sidebar{ #egw_fw_sidebar{
top: 60px; top: 60px;
//SIDE AREA //SIDE AREA
#egw_fw_sidemenu { #egw_fw_sidemenu {
position: absolute; position: absolute;
@ -567,7 +569,7 @@ and open the template in the editor.
} // SIDEMENU End } // SIDEMENU End
}//End of Sidebar }//End of Sidebar
//ToggleClass //ToggleClass
.sidebar-toggle{ .sidebar-toggle{
#egw_fw_top_toolbar div#egw_fw_menu{ #egw_fw_top_toolbar div#egw_fw_menu{
background-image: url(../images/topmenu_items/mobile/menu.png); background-image: url(../images/topmenu_items/mobile/menu.png);
@ -610,19 +612,19 @@ and open the template in the editor.
} }
#egw_fw_splitter, .egw_fw_ui_sidemenu_entry_header_active h1{ #egw_fw_splitter, .egw_fw_ui_sidemenu_entry_header_active h1{
display:none; display:none;
} }
} }
} }
#egw_fw_logout, #egw_fw_topmenu_items{ #egw_fw_logout, #egw_fw_topmenu_items{
display:none !important; display:none !important;
} }
} }
.tabs-header-portrait-collapsed{ .tabs-header-portrait-collapsed{
left:7% !important; left:7% !important;
width: 90% !important; width: 90% !important;
} }
//################################### //###################################
//# # //# #
//# FOOTER # //# FOOTER #
@ -631,7 +633,7 @@ and open the template in the editor.
#egw_fw_footer { #egw_fw_footer {
display:none; display:none;
} }
//################################### //###################################
//# # //# #
//# APP HEADER NAVIGATOR # //# APP HEADER NAVIGATOR #
@ -640,8 +642,8 @@ and open the template in the editor.
.egw_fw_ui_app_header_container { .egw_fw_ui_app_header_container {
display:none; display:none;
} }
//################################### //###################################
//# # //# #
//# POPUP FRAME # //# POPUP FRAME #
@ -672,5 +674,5 @@ and open the template in the editor.
background-repeat: no-repeat; background-repeat: no-repeat;
} }
} }
} }

View File

@ -6251,5 +6251,3 @@ a.textSidebox {
/*@import "../less/layout_nextmatch.less";*/ /*@import "../less/layout_nextmatch.less";*/
/*@import "../less/layout_footer.less";*/ /*@import "../less/layout_footer.less";*/
/*@import "../less/layout_dialog.less";*/ /*@import "../less/layout_dialog.less";*/
/*Styling for mobile devices*/
/*@import "../less/mobile.less";*/

View File

@ -67,9 +67,6 @@
/*@import "../less/layout_footer.less";*/ /*@import "../less/layout_footer.less";*/
/*@import "../less/layout_dialog.less";*/ /*@import "../less/layout_dialog.less";*/
/*Styling for mobile devices*/
/*@import "../less/mobile.less";*/
// //
// //
// //