HCAS#38963 mld_double.asp -> knoppen naar links verplaatst als 'device == touch'

svn path=/Website/branches/v2017.1/; revision=34099
This commit is contained in:
2017-06-01 11:38:17 +00:00
parent f682af4516
commit 1de31ae785
3 changed files with 11 additions and 8 deletions

View File

@@ -205,7 +205,7 @@ var where_ins = "";
var buttons = [ {title: L("lcl_not_link"), icon: "opslaan.png", action: "mld_double(2)" }, var buttons = [ {title: L("lcl_not_link"), icon: "opslaan.png", action: "mld_double(2)" },
{title: L("lcl_mld_cancel_double"), icon: "undo.png", action: "mld_cancel()" } ]; {title: L("lcl_mld_cancel_double"), icon: "undo.png", action: "mld_cancel()" } ];
} }
CreateButtons(buttons); CreateButtons(buttons, {left: device.test(device.isTouch)});
%> %>
</body> </body>
</html> </html>

View File

@@ -1261,6 +1261,9 @@ div#buttons.vertical ul li:hover {
color: ==blockheaderbackgroundcolor==; color: ==blockheaderbackgroundcolor==;
background-color: transparent; background-color: transparent;
} }
#buttons.left {
float: left;
}
div#buttons.dialog { div#buttons.dialog {
background-color: transparent; background-color: transparent;
@@ -3738,8 +3741,8 @@ input#materiallist_button::-ms-clear, input.suggestBusy::-ms-clear, input.fldfle
} }
div.fatal { div.fatal {
padding: 5px; padding: 5px;
} }
tr.res_fatal td { background-color: #F88 !important; } tr.res_fatal td { background-color: #F88 !important; }
tr.res_fatal td:before { tr.res_fatal td:before {
@@ -3747,15 +3750,15 @@ tr.res_fatal td:before {
font-family: FontAwesome; font-family: FontAwesome;
color: rgba(183, 59, 46, 1); color: rgba(183, 59, 46, 1);
font-size: 1.25em; font-size: 1.25em;
white-space: nowrap; white-space: nowrap;
padding: 0px 3px 0px 1px; padding: 0px 3px 0px 1px;
vertical-align: top; vertical-align: top;
} }
/* geen kruizen in de multiselect/hamburger kolom ivm uitlijning */ /* geen kruizen in de multiselect/hamburger kolom ivm uitlijning */
tr.res_fatal td.multiselect:before, tr.res_fatal td.hambCont:before, tr.res_fatal td.inlinedetails:before { tr.res_fatal td.multiselect:before, tr.res_fatal td.hambCont:before, tr.res_fatal td.inlinedetails:before {
content: none; content: none;
} }
.warning { .warning {
background-color: orange; background-color: orange;

View File

@@ -73,7 +73,7 @@ function CreateButtons(buttons, params)
if (buttons) if (buttons)
{ {
%> <div id="buttons" class="<%= params.vertical?'vertical ':''%> <%= params.isDialog?'dialog':''%>"> %> <div id="buttons" class="<%= params.left?'left ':''%><%= params.vertical?'vertical ':''%> <%= params.isDialog?'dialog':''%>">
<ul onclick="FcltMgr.stopPropagation(event);"> <ul onclick="FcltMgr.stopPropagation(event);">
<% <%
if (1&&params.entersubmit) if (1&&params.entersubmit)