Author: hnategh
New Revision: 55371
URL: http://svn.stylite.de/viewvc/egroupware?rev=55371&view=rev
Log:
Mobile theme:
- Add popupMainDiv a class to be able to use the same styling for semi-popups
- Fix color for edit icon
- Try to use .popupMainDiv class instead of ID
Modified:
trunk/etemplate/inc/class.etemplate.inc.php
trunk/etemplate/inc/class.etemplate_new.inc.php
trunk/phpgwapi/js/jsapi/app_base.js
trunk/pixelegg/images/edit.svg
trunk/pixelegg/mobile/fw_mobile.css
trunk/pixelegg/mobile/fw_mobile.less
— trunk/etemplate/inc/class.etemplate.inc.php (original)
+++ trunk/etemplate/inc/class.etemplate.inc.php Mon Mar 14 09:38:30 2016
@@ -325,7 +325,7 @@
else
{
echo $GLOBALS[‘egw’]->framework->header();
— trunk/etemplate/inc/class.etemplate_new.inc.php (original)
+++ trunk/etemplate/inc/class.etemplate_new.inc.php Mon Mar 14 09:38:30 2016
@@ -263,7 +263,7 @@
}
else // mark popups as such, by enclosing everything in div#popupMainDiv
{
— trunk/phpgwapi/js/jsapi/app_base.js (original)
+++ trunk/phpgwapi/js/jsapi/app_base.js Mon Mar 14 09:38:30 2016
@@ -401,9 +401,9 @@
var rowID = ‘’;
// content to feed to etemplate2
var content = {};
@@ -445,6 +445,7 @@
overflow:‘auto’,
“padding”:‘60px 0 10px 0’})
.attr(‘id’,‘popupMainDiv’)
@@ -468,19 +469,19 @@
.attr(‘id’, this.appname+’-view’)
.addClass(‘et2_mobile-view-container’)
.appendTo(this.viewContainer);
-
var templateName = _action.data.mobileViewTemplate || 'edit';
var templateURL = egw.webserverUrl+ '/' + this.appname + '/templates/mobile/'+templateName+'.xet'+'?1';
var data = {content:content, readonlys:{'__ALL__':true,'link_to':false}, currentapp:this.appname};
-
if(templateName)
{
this.et2_view.load(this.appname+'.'+templateName,templateURL, data, typeof et2_callback == 'function'?et2_callback:function(){}, app);
}
— trunk/pixelegg/images/edit.svg (original)
+++ trunk/pixelegg/images/edit.svg Mon Mar 14 09:38:30 2016
@@ -5,7 +5,7 @@
width=“32px” height=“32px” viewBox=“0 0 32 32” enable-background=“new 0 0 32 32” xml:space=“preserve”>
-
<path fill="none" stroke="#62686A" stroke-miterlimit="10" d="M5.492,19.1l6.897,6.894l12.853-12.846l-6.897-6.894L5.492,19.1z
-
<path fill="#696969" stroke="#E6E6E6" stroke-miterlimit="10" d="M5.492,19.1l6.897,6.894l12.853-12.846l-6.897-6.894L5.492,19.1z
M1,30.485l9.655-2.757l-6.896-6.895L1,30.485z M29.994,5.81l-4.311-4.308c-0.713-0.714-1.911-0.675-2.673,0.085l-2.842,2.841
l6.896,6.894l2.843-2.841C30.671,7.719,30.709,6.524,29.994,5.81z"/>
— trunk/pixelegg/mobile/fw_mobile.css (original)
+++ trunk/pixelegg/mobile/fw_mobile.css Mon Mar 14 09:38:30 2016
@@ -6976,6 +6976,8 @@
/Tablets landscape mode/
/Tablets Portrait/
/Smartphones/
+/Smartphones portrait/
+/Smartphones landscape/
.white-svg {
-webkit-filter: brightness(0) invert(1) !important;
filter: brightness(0) invert(1) !important;
@@ -7302,6 +7304,10 @@
body button.plus_button:active {
background-color: #0c5da5;
}
- body .et2_nextmatch .nextmatch_sortheader {
- padding-right: 0px;
- margin-right: 0px;
- }
body .et2_nextmatch .nextmatch_header_row,
body .et2_nextmatch .nextmatch_header {
background-color: background-color-egw-dark;
@@ -7693,27 +7699,28 @@
body .et2_button_icon {
height: 32px;
}
- body .popupMainDiv {
- padding-top: 60px !important;
/* Exceptional cases to not get the general left padding*/
}
- body .popupMainDiv * {
font-size: 10pt;
font-family: Verdana, “Lucida Grande”, Helvetica, Sans-Serif;
}
- body #popupMainDiv .et2_textbox,
- body #popupMainDiv .et2_date,
- body #popupMainDiv .et2_dropdown,
- body #popupMainDiv .et2_link,
- body #popupMainDiv .et2_label,
- body #popupMainDiv input,
- body #popupMainDiv select,
- body #popupMainDiv .et2_selectbox {
- body .popupMainDiv .et2_textbox,
- body .popupMainDiv .et2_date,
- body .popupMainDiv .et2_dropdown,
- body .popupMainDiv .et2_link,
- body .popupMainDiv .et2_label,
- body .popupMainDiv input,
- body .popupMainDiv select,
- body .popupMainDiv .et2_selectbox {
height: 46px;
padding-left: 8px;
}
- body #popupMainDiv input,
- body #popupMainDiv select,
- body #popupMainDiv .et2_selectbox {
- body .popupMainDiv input,
- body .popupMainDiv select,
- body .popupMainDiv .et2_selectbox {
padding: 0;
padding-left: 0;
border-left: 0;
@@ -7721,79 +7728,79 @@
border-right: 0;
border-radius: 0;
}
- body #popupMainDiv .et2_label .et2_selectbox {
- body .popupMainDiv .et2_label .et2_selectbox {
padding-left: 8px;
}
- body #popupMainDiv ul.et2_selectbox li {
- body .popupMainDiv ul.et2_selectbox li {
padding-top: 13px;
}
- body #popupMainDiv .et2_taglist input[type=“text”] {
- body .popupMainDiv .et2_taglist input[type=“text”] {
height: 36px;
}
- body #popupMainDiv .et2_taglist .ms-sel-item {
- body .popupMainDiv .et2_taglist .ms-sel-item {
margin-left: 3px;
line-height: 36px;
margin-top: 0;
margin-bottom: 0;
}
- body #popupMainDiv .et2_label .et2_date_ro.et2_label {
- body .popupMainDiv .et2_label .et2_date_ro.et2_label {
padding-left: 0;
}
- body #popupMainDiv .et2_button_with_image {
- body .popupMainDiv .et2_button_with_image {
background-color: transparent;
border: none;
box-shadow: none;
color: #1e1e1e;
}
- body #popupMainDiv .et2_date {
- body .popupMainDiv .et2_date {
min-width: 100px;
padding-left: 0;
}
- body #popupMainDiv .et2_button_with_image,
- body #popupMainDiv .et2_button_text {
- body .popupMainDiv .et2_button_with_image,
- body .popupMainDiv .et2_button_text {
height: 46px;
margin: 1px;
margin-left: 3px;
}
- body #popupMainDiv form {
- body .popupMainDiv form {
margin-top: 50px;
}
- body #popupMainDiv .et2_details.et2_details_expanded {
- body .popupMainDiv .et2_details.et2_details_expanded {
background-color: transparent;
height: 100%;
}
- body #popupMainDiv .et2_details.et2_details_expanded .et2_details_title {
- body .popupMainDiv .et2_details.et2_details_expanded .et2_details_title {
display: inline-block;
background-color: #F0F0F0;
width: 100%;
padding-top: 6px;
height: 32px;
}
- body #popupMainDiv .et2_details {
- body .popupMainDiv .et2_details {
position: relative;
background-color: #F0F0F0;
height: 32px;
}
- body #popupMainDiv .et2_details .et2_details_toggle {
- body .popupMainDiv .et2_details .et2_details_toggle {
position: absolute;
right: 2px;
top: 0px;
margin: 0px;
}
- body #popupMainDiv .et2_details .et2_details_title {
- body .popupMainDiv .et2_details .et2_details_title {
padding-top: 6px;
margin-top: 0;
}
- body #popupMainDiv .dialogHeadbar button[class*=“et2_button_with_image”]:not([class*=“et2_toolbar_hasCaption”]) {
- body .popupMainDiv .et2_taglist > div {
- min-height: auto;
- }
- body .dialogHeadbar button[class*=“et2_button_with_image”]:not([class*=“et2_toolbar_hasCaption”]) {
-webkit-filter: brightness(0) invert(1) !important;
filter: brightness(0) invert(1) !important;
background-color: transparent !important;
background-size: 24px 24px !important;
border: none;
padding-right: 15px;
- }
- body #popupMainDiv .et2_taglist > div {
- min-height: auto;
}
body .rowHeader {
font-size: 12pt;
— trunk/pixelegg/mobile/fw_mobile.less (original)
+++ trunk/pixelegg/mobile/fw_mobile.less Mon Mar 14 09:38:30 2016
@@ -30,12 +30,15 @@
/All devices landscape mode/
@handheld-landscape: ~“only screen and (max-device-width : @{tablet-max}) and (orientation : landscape)”;
/Tablets landscape mode/
-@tablet-portrait: ~“only screen and (max-device-width : @{tablet-max}) and (min-width: @{smartphone-max}) and (orientation : landscape)”;
+@tablet-landscape: ~“only screen and (max-device-width : @{tablet-max}) and (min-width: @{smartphone-max}) and (orientation : landscape)”;
/Tablets Portrait/
@tablet-portrait: ~“only screen and (max-device-width : @{tablet-max}) and (min-width: @{smartphone-max}) and (orientation : portrait)”;
/Smartphones/
@smartphones: ~“only screen and (max-device-width: @{smartphone-max}) and (min-width: @{smartphone-min})”;
+/Smartphones portrait/
+@smartphones-portrait: ~“only screen and (max-device-width: @{smartphone-max}) and (min-width: @{smartphone-min}) and (oriantation:portrait)”;
+/Smartphones landscape/
+@smartphones-landscape: ~“only screen and (max-device-width: @{smartphone-max}) and (min-width: @{smartphone-min}) and (oriantation:landscape)”;
.white-svg {
-webkit-filter: brightness(0) invert(1) !important;
filter: brightness(0) invert(1) !important;
@@ -46,7 +49,6 @@
@media @handheld
{
#egw_fw_print {
display:none;
}
@@ -398,6 +400,10 @@
}
}
.et2_nextmatch {
@@ -796,7 +802,8 @@
}
.et2_taglist_category span[class*=“cat_”] {height: 42px;}
.et2_button_icon {height:32px;}
-
.popupMainDiv {
-
padding-top: 60px !important;
* {
.mob-fontsize-n;
font-family: Verdana, "Lucida Grande", Helvetica, Sans-Serif;
@@ -871,13 +878,14 @@
margin-top:0;
}
}
-
.et2_taglist>div{min-height: auto;}
-
}
-
.dialogHeadbar {
-
button[class*="et2_button_with_image"]:not([class*="et2_toolbar_hasCaption"]) {
-
.white-svg;
-
padding-right: 15px;
-
}
}
.rowHeader {
.mob-fontsize-l;
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs