From 64cd481e9868411391cb63294af5b775a469dc49 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 4 Mar 2016 13:54:29 +0000 Subject: [PATCH] Mobile theme W.I.P: - Fix admin account tab - Switch category tree to taglist-cat for addressbook --- addressbook/templates/mobile/edit.xet | 22 +++++++-------- admin/templates/default/acl.xet | 24 ++++++++++++---- admin/templates/mobile/account.xet | 6 ++-- admin/templates/mobile/app.css | 33 ++++++++++++++++++++++ admin/templates/mobile/app.less | 40 +++++++++++++++++++++++++++ admin/templates/pixelegg/app.css | 21 +------------- admin/templates/pixelegg/app.less | 24 ---------------- 7 files changed, 105 insertions(+), 65 deletions(-) create mode 100644 admin/templates/mobile/app.css create mode 100644 admin/templates/mobile/app.less diff --git a/addressbook/templates/mobile/edit.xet b/addressbook/templates/mobile/edit.xet index 6e0dc9bc9d..b898fb5abe 100644 --- a/addressbook/templates/mobile/edit.xet +++ b/addressbook/templates/mobile/edit.xet @@ -136,10 +136,18 @@ + + + + + + + + @@ -148,16 +156,6 @@ - - - - - - - - - - @@ -402,7 +400,7 @@ - + @@ -444,7 +442,7 @@ - + diff --git a/admin/templates/default/acl.xet b/admin/templates/default/acl.xet index 8c1a7f4b8b..b11064e7df 100644 --- a/admin/templates/default/acl.xet +++ b/admin/templates/default/acl.xet @@ -60,11 +60,23 @@ diff --git a/admin/templates/mobile/account.xet b/admin/templates/mobile/account.xet index 4dac19cdd7..e3b2f504c7 100644 --- a/admin/templates/mobile/account.xet +++ b/admin/templates/mobile/account.xet @@ -15,10 +15,10 @@ - + - + @@ -49,7 +49,7 @@ - + diff --git a/admin/templates/mobile/app.css b/admin/templates/mobile/app.css new file mode 100644 index 0000000000..076907b6f9 --- /dev/null +++ b/admin/templates/mobile/app.css @@ -0,0 +1,33 @@ +/** + * + * Admin - Mobile + * + * Please do NOT change app.css directly, instead change app.less and compile it! + * Pixleegg Template app.css + * @link http://www.egroupware.org + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @author Hadi Nategh + * @package admin + * @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $ + */ +/* tablets and smartphones */ +@media all { + #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='status]'] { + text-align: right; + font-size: 10pt; + } + #admin-index table.egwGridView_outer tbody .adminCol2 { + float: right; + } + #admin-index table.egwGridView_outer tbody .adminCol2 div { + text-align: right; + } + #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lid]'] { + font-weight: bold; + font-size: 12pt; + } + #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lastname]']::after { + content: ","; + font-size: 10pt; + } +} diff --git a/admin/templates/mobile/app.less b/admin/templates/mobile/app.less new file mode 100644 index 0000000000..66f99d85fe --- /dev/null +++ b/admin/templates/mobile/app.less @@ -0,0 +1,40 @@ +/** + * + * Admin - Mobile + * + * Please do NOT change app.css directly, instead change app.less and compile it! + * Pixleegg Template app.css + * @link http://www.egroupware.org + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License + * @author Hadi Nategh + * @package admin + * @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $ + */ +@import (reference) "../../../pixelegg/less/definitions.less"; +@import (reference) "../../../pixelegg/less/def_mobile.less"; + +/* tablets and smartphones */ +@media all { + #admin-index { + table.egwGridView_outer tbody { + span[id^="admin-index"][id$='status]']{ + text-align: right; + .mob-fontsize-n; + } + .adminCol2 { + float: right; + div { + text-align: right; + } + } + span[id^="admin-index"][id$='account_lid]']{ + font-weight: bold; + .mob-fontsize-l; + } + span[id^="admin-index"][id$='account_lastname]']::after{ + content:","; + .mob-fontsize-n; + } + } + } +} \ No newline at end of file diff --git a/admin/templates/pixelegg/app.css b/admin/templates/pixelegg/app.css index 0acad55ae1..b0c2fadc28 100755 --- a/admin/templates/pixelegg/app.css +++ b/admin/templates/pixelegg/app.css @@ -18,7 +18,7 @@ * @package etemplate * @link http://www.egroupware.org * @author Ralf Becker - * @version $Id: app.css 53026 2015-07-01 18:35:24Z ralfbecker $ + * @version $Id: app.css 55140 2016-02-25 08:42:33Z ralfbecker $ */ .admin_tree table, .admin_tree tr, @@ -168,22 +168,3 @@ td.admin_userAgent span { # # ##############################################*/ } -/* tablets and smartphones */ -@media only screen and (max-device-width: 1024px) { - #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='status]'] { - text-align: right; - font-size: 9pt; - } - #admin-index table.egwGridView_outer tbody .adminCol2 { - float: right; - } - #admin-index table.egwGridView_outer tbody .adminCol2 div { - text-align: right; - } - #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lid]'] { - font-weight: bold; - } - #admin-index table.egwGridView_outer tbody span[id^="admin-index"][id$='account_lastname]']::after { - content: ","; - } -} diff --git a/admin/templates/pixelegg/app.less b/admin/templates/pixelegg/app.less index acf1a1d9dc..6f7d035be2 100755 --- a/admin/templates/pixelegg/app.less +++ b/admin/templates/pixelegg/app.less @@ -125,27 +125,3 @@ iframe#admin-index_iframe{ } // Media // // - -/* tablets and smartphones */ -@media only screen and (max-device-width:1024px) { - #admin-index { - table.egwGridView_outer tbody { - span[id^="admin-index"][id$='status]']{ - text-align: right; - .mob-fontsize-s; - } - .adminCol2 { - float: right; - div { - text-align: right; - } - } - span[id^="admin-index"][id$='account_lid]']{ - font-weight: bold; - } - span[id^="admin-index"][id$='account_lastname]']::after{ - content:","; - } - } - } -} \ No newline at end of file