From 7402129ffaee8f937261b996f34c4aabe4663d60 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 12 Mar 2015 17:03:18 +0000 Subject: [PATCH 01/13] Remove old change password template file --- .../templates/default/changepassword.tpl | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 preferences/templates/default/changepassword.tpl diff --git a/preferences/templates/default/changepassword.tpl b/preferences/templates/default/changepassword.tpl deleted file mode 100644 index 35d322295d..0000000000 --- a/preferences/templates/default/changepassword.tpl +++ /dev/null @@ -1,42 +0,0 @@ -
- -
{messages}
- -
- - - - - - - - - - - - - - - - -
- {lang_enter_old_password} - - -
- {lang_enter_password} - - -
- {lang_reenter_password} - - -
- - - -
-
-
-
-
{sql_message}
From 68f3b2bb281f311a802cd3a640dfd7f82e5f8955 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 13 Mar 2015 09:22:08 +0000 Subject: [PATCH 02/13] Do not show print button for mobile devices in mobile theme --- pixelegg/css/mobile.css | 3 +++ pixelegg/css/mobile.less | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index e58b05e214..dee8be6f16 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -6998,6 +6998,9 @@ a.textSidebox { } } @media only screen and (max-device-width : 1024px) { + #egw_fw_print { + display: none; + } div#loginMainDiv #divAppIconBar #divLogo img[src$="svg"] { width: 40%; margin-top: 5px; diff --git a/pixelegg/css/mobile.less b/pixelegg/css/mobile.less index c59de378cc..874876402d 100644 --- a/pixelegg/css/mobile.less +++ b/pixelegg/css/mobile.less @@ -772,6 +772,9 @@ } @media @handheld { + #egw_fw_print { + display:none; + } div#loginMainDiv{ #divAppIconBar { #divLogo img[src$="svg"] { From e8786649e3163793ad8cec082d5eb412b77ff076 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 13 Mar 2015 12:05:15 +0000 Subject: [PATCH 03/13] Fix couple of glitches in mobile theme: - Fix extra gap between topmenu icons - Shows no print button - Resize sidebox --- pixelegg/css/mobile.css | 44 ++++++++------------ pixelegg/css/mobile.less | 46 +++++++++------------ pixelegg/templates/pixelegg/head_mobile.tpl | 2 - 3 files changed, 38 insertions(+), 54 deletions(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index dee8be6f16..47c50a5a0d 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -6335,22 +6335,6 @@ a.textSidebox { #egw_fw_basecontainer #egw_fw_top_toolbar div.egw_fw_ui_tabs_header span h1 { display: none; } - #egw_fw_basecontainer div#egw_fw_logout { - left: 310px; - top: 20px; - width: 24px; - height: 24px; - background-size: 24px 24px; - z-index: 1; - } - #egw_fw_basecontainer div#egw_fw_print { - left: 268px; - top: 20px; - width: 24px; - height: 24px; - background-size: 24px 24px; - z-index: 1; - } #egw_fw_basecontainer .egw_fw_top_toolbar > div:hover { -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); @@ -6381,7 +6365,7 @@ a.textSidebox { box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); } #egw_fw_basecontainer div#egw_fw_topmenu_items { - width: 250px; + width: 280px; display: inline; float: left; position: fixed; @@ -6397,13 +6381,23 @@ a.textSidebox { #egw_fw_basecontainer div#egw_fw_topmenu_items ul li { display: -webkit-inline-box; display: -moz-inline-box; - padding-right: 0.5em; + padding: 2px; } #egw_fw_basecontainer div#egw_fw_topmenu_items ul li:hover { -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); -moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5); } + #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_logout:before { + content: ""; + background-image: url(../images/logout.png); + background-repeat: no-repeat; + width: 32px; + height: 32px; + background-size: 30px 30px; + display: inline-block; + background-position: center; + } #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_home:before { content: " "; background-image: url(../images/topmenu_items/mobile/home.png); @@ -6422,6 +6416,7 @@ a.textSidebox { height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_prefs:active { -webkit-transform: rotate(180deg); @@ -6435,6 +6430,7 @@ a.textSidebox { background-size: 32px 32px; background-image: url(../images/topmenu_items/mobile/access.png); display: inline-block; + background-position: center; } #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_cats:before { background-image: url(../images/topmenu_items/mobile/category.png); @@ -6444,6 +6440,7 @@ a.textSidebox { height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_password:before { background-image: url(../images/topmenu_items/mobile/password.png); @@ -6453,6 +6450,7 @@ a.textSidebox { height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_manual:before { background-image: url(../images/topmenu_items/mobile/help.png); @@ -6471,11 +6469,7 @@ a.textSidebox { height: 32px; background-size: 32px 32px; display: inline-block; - } - #egw_fw_basecontainer div#egw_fw_topmenu_items ul a#topmenu_search:active { - transform: scale(-2); - -webkit-transform: scale(-2); - -webkit-transition: 1s ease; + background-position: center; } .egw_fw_ui_tabs_header { margin: 0px 0 0 0; @@ -6963,9 +6957,7 @@ a.textSidebox { .sidebar-toggle #egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_sidemenu_entry_header_active h1 { display: none; } - .sidebar-toggle #egw_fw_logout, - .sidebar-toggle #egw_fw_topmenu_items, - .sidebar-toggle #egw_fw_print { + .sidebar-toggle #egw_fw_topmenu_items { display: none !important; } .tabs-header-portrait-collapsed { diff --git a/pixelegg/css/mobile.less b/pixelegg/css/mobile.less index 874876402d..970b7aa78f 100644 --- a/pixelegg/css/mobile.less +++ b/pixelegg/css/mobile.less @@ -132,25 +132,7 @@ } } } - //FW Logout - div#egw_fw_logout{ - left: 310px; - top: 20px; - width: 24px; - height: 24px; - background-size: 24px 24px; - z-index: 1; - } - //FW Print - div#egw_fw_print{ - left: 268px; - top: 20px; - width: 24px; - height: 24px; - background-size: 24px 24px; - z-index: 1; - } .egw_fw_top_toolbar>div:hover{ -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); @@ -184,7 +166,7 @@ box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); } div#egw_fw_topmenu_items{ - width: 250px; + width: 280px; display: inline; float: left; position: fixed; @@ -198,13 +180,25 @@ li{ display: -webkit-inline-box; display: -moz-inline-box; - padding-right: 0.5em; + padding:2px; &:hover { -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); -moz-box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5); } } + a#topmenu_logout{ + &:before { + content: ""; + background-image: url(../images/logout.png); + background-repeat: no-repeat; + width: 32px; + height: 32px; + background-size: 30px 30px; + display: inline-block; + background-position: center; + } + } a#topmenu_home:before { content: " "; background-image: url(../images/topmenu_items/mobile/home.png); @@ -224,6 +218,7 @@ height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } &:active { -webkit-transform:rotate(180deg); @@ -239,6 +234,7 @@ background-size: 32px 32px; background-image: url(../images/topmenu_items/mobile/access.png); display: inline-block; + background-position: center; } a#topmenu_cats:before { @@ -249,6 +245,7 @@ height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } a#topmenu_password:before { background-image: url(../images/topmenu_items/mobile/password.png); @@ -258,6 +255,7 @@ height: 32px; background-size: 32px 32px; display: inline-block; + background-position: center; } a#topmenu_manual:before { @@ -279,11 +277,7 @@ height: 32px; background-size: 32px 32px; display: inline-block; - } - &:active { - transform: scale(-2); - -webkit-transform:scale(-2); - -webkit-transition: 1s ease; + background-position: center; } } } @@ -717,7 +711,7 @@ } } } - #egw_fw_logout, #egw_fw_topmenu_items, #egw_fw_print{ + #egw_fw_topmenu_items { display:none !important; } } diff --git a/pixelegg/templates/pixelegg/head_mobile.tpl b/pixelegg/templates/pixelegg/head_mobile.tpl index 39161be2a6..0413f66f71 100644 --- a/pixelegg/templates/pixelegg/head_mobile.tpl +++ b/pixelegg/templates/pixelegg/head_mobile.tpl @@ -28,8 +28,6 @@ {hook_after_navbar}
-
-
{topmenu_items}