From 7224b39bf9d2e890607ac503042f9184ddec7d25 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 22 Feb 2016 11:35:42 +0000 Subject: [PATCH] Mobile theme W.I.P.: -Fix addressbook's upload photo and editname dialogs --- addressbook/templates/mobile/app.css | 37 +++++++++++++++++++++++++++ addressbook/templates/mobile/app.less | 35 +++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/addressbook/templates/mobile/app.css b/addressbook/templates/mobile/app.css index 7f10f18aa3..fd02f95b2f 100644 --- a/addressbook/templates/mobile/app.css +++ b/addressbook/templates/mobile/app.css @@ -55,6 +55,43 @@ #addressbook-edit a.et2_url.email { display: none !important; } + #addressbook-edit .uploadphoto { + position: absolute; + top: 55px; + left: 0; + display: none; + border: 2px solid black; + background-color: #ffffff; + padding: 4px; + z-index: 1; + width: 100%; + } + #addressbook-edit .uploadphoto .et2_file { + margin-left: 0; + margin-bottom: 10px; + } + #addressbook-edit .uploadphoto .et2_file .et2_file_span { + width: auto; + height: 30px; + } + #addressbook-edit .typeIcon { + height: 16px; + width: 16px; + } + #addressbook-edit .editname { + position: absolute; + display: none; + border: 2px solid black; + background-color: #ffffff; + padding: 4px; + top: 55px; + left: 0; + z-index: 1; + width: 100%; + } + #addressbook-edit .custom_country { + display: none; + } #addressbook-index table.egwGridView_outer tbody span[id^='addressbook-index_'][id$='line1]'] { font-size: 12pt; overflow: hidden; diff --git a/addressbook/templates/mobile/app.less b/addressbook/templates/mobile/app.less index ebcc9a0f81..531596908a 100644 --- a/addressbook/templates/mobile/app.less +++ b/addressbook/templates/mobile/app.less @@ -60,6 +60,41 @@ a.et2_url.url, a.et2_url.phone, a.et2_url.email { display: none !important; } + .uploadphoto{ + position: absolute; + top: 55px; + left: 0; + display: none; + border: 2px solid black; + background-color: #ffffff; + padding: 4px; + z-index: 1; + width:100%; + .et2_file { + margin-left:0; + margin-bottom: 10px; + .et2_file_span { + width:auto; + height: 30px; + } + } + + } + .typeIcon { height: 16px; width: 16px; } + .editname{ + position: absolute; + display: none; + border: 2px solid black; + background-color: #ffffff; + padding: 4px; + top: 55px; + left: 0; + z-index: 1; + width: 100%; + } + .custom_country { + display: none; + } } #addressbook-index {