[Legacy] Merge Records Styling Fixes

This commit is contained in:
balumahendran 2022-01-28 14:21:42 +05:30 committed by Clemente Raposo
parent bd27d02671
commit 1717d3dd44
5 changed files with 159 additions and 5 deletions

View file

@ -104,7 +104,7 @@
<tr id="multi_select_row">
<td id="field_avail_list_td"><span><div align="left"><select name="field_avail_list[]" id="field_avail_list" multiple="multiple" size="10" >{FIELD_AVAIL_OPTIONS}</select></div></span></td>
<td valign="top" style="padding-right: 2px; padding-left: 2px;">
<div align="center">
<div align="center" style="margin-top: 0.3em;">
<a onclick="javascript:setselected('field_include_list','field_avail_list');">
<img src='{RIGHTARROW_BIG_IMAGE}' width='16' height='16' border="0" style="margin-left: 1px;" alt="{LBL_ADD_BUTTON}">
</a>

View file

@ -189,7 +189,7 @@ function addFieldRow($colName, $colLabel, $colValue)
<span id=filter_{$colName} style='visibility:visible' value="{$colLabel}" valueId="{$colName}">
<table width='100%' border='0' cellpadding='0'>
<tr>
<td width='2%'><a class="listViewTdToolsS1" href="javascript:remove_filter('filter_{$colName}')"><!--not_in_theme!--><img src='{$deleteInlineImage}' align='absmiddle' alt='{$LBL_REMOVE}' border='0' height='12' width='12'>&nbsp;</a></td>
<td width='2%'><a class="listViewTdToolsS1" href="javascript:remove_filter('filter_{$colName}')"><!--not_in_theme!--><img src='{$deleteInlineImage}' align='absmiddle' alt='{$LBL_REMOVE}' border='0' height='12' width='12'></a></td>
<td width='20%'>{$colLabel}:&nbsp;</td>
<td width='10%'><select name='{$colName}SearchType'>{$operator_options}</select></td>
<td width='68%'><input value="{$colValue}" id="{$colName}SearchField" name="{$colName}SearchField" type="text"></td>

View file

@ -58,7 +58,7 @@
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="left" style="padding-bottom: 2px;"><input title="{MOD.LBL_SAVE_MERGED_RECORD_BUTTON_TITLE}" class="button" onclick="return merge_verify();" type="submit" name="button" value=" {MOD.LBL_SAVE_MERGED_RECORD_BUTTON_LABEL} " id="save_merged_record_button" >&nbsp;
<td class="action-buttons" align="left" style="padding-bottom: 2px;"><input title="{MOD.LBL_SAVE_MERGED_RECORD_BUTTON_TITLE}" class="button" onclick="return merge_verify();" type="submit" name="button" value=" {MOD.LBL_SAVE_MERGED_RECORD_BUTTON_LABEL} " id="save_merged_record_button" >&nbsp;
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}"
accessKey="{APP.LBL_CANCEL_BUTTON_KEY}"
class="button" onclick="window.location.href='index.php?module={RETURN_MODULE}&action={RETURN_ACTION}&record={RETURN_ID}';"
@ -87,10 +87,10 @@
</tr>
</table>
<br/>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="button-footer" style="display: none;">
<tr>
<td align="left" style="padding-bottom: 2px;"><input title="{MOD.LBL_SAVE_MERGED_RECORD_BUTTON_TITLE}" class="button" onclick="return merge_verify();" type="submit" name="button" value=" {MOD.LBL_SAVE_MERGED_RECORD_BUTTON_LABEL} " >&nbsp;
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="window.location.href='index.php?module={RETURN_MODULE}&action={RETURN_ACTION}&record={RETURN_ID}';" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} "></td>
<input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="window.location.href='index.php?module={RETURN_MODULE}&action={RETURN_ACTION}&record={RETURN_ID}';" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL}"></td>
</tr>
</table>
</form>

View file

@ -168,4 +168,5 @@
@import '../suitep-base/message-box.scss';
@import '../suitep-base/pdf-templates-modal.scss';
@import '../suitep-base/email-templates.scss';
@import '../suitep-base/merge-records.scss';
//

View file

@ -0,0 +1,153 @@
.view-module-MergeRecords.view-action-Step1 {
.button {
background-color: $nepal-grey;
border-radius: 0.2em;
font-weight: bold;
height: 2.2em;
line-height: 1em;
letter-spacing: 0.05em;
padding: 0.3em 1em;
text-transform: capitalize;
margin-bottom: 1em;
margin-right: 0.5em;
&:hover {
background: $pale-blue;
}
}
input[type=submit].button:hover {
background: $pale-blue;
}
select {
background: url($select-edit-background-url) no-repeat right;
background-size: 25px 11px;
border-color: $bright-grey;
background-color: $white !important;
}
input[type=text],input[type=password],input[type=email],input[type=number],textarea{
background-color: $white;
border: 1px solid $form-border-color;
height: 26px;
}
#filter_def {
table {
tr {
td:nth-child(2) {
width: 19.7%;
}
}
}
}
}
.view-module-MergeRecords.view-action-Step2 {
.button {
background-color: $nepal-grey;
border-radius: 0.2em;
font-weight: bold;
height: 2.2em;
line-height: 1em;
letter-spacing: 0.05em;
padding: 0.3em 1em;
text-transform: capitalize;
margin-top: 1em;
margin-right: 0.5em;
&:hover {
background: $pale-blue;
}
}
input[type=submit].button:hover {
background: $pale-blue;
}
#selectLinkTop>.sugar_action_button>.subnav a {
padding-left: 0.7em;
}
#selectLinkBottom>.sugar_action_button>.subnav a {
padding-left: 0.7em;
}
#selectLinkTop>.sugar_action_button>ul.subnav {
top: 2.2em;
}
}
.view-module-MergeRecords.view-action-Step3 {
.moduleTitle {
border-bottom: 1px solid lightgrey;
}
select {
background: url($select-edit-background-url) no-repeat right;
background-size: 25px 11px;
border-color: $bright-grey;
background-color: $white !important;
margin-bottom: 1em;
}
input,input[type=text],input[type=password],input[type=email],input[type=number],textarea{
background-color: $white;
border: 1px solid $form-border-color;
margin-bottom: 1em;
}
.action-buttons {
position: absolute;
right: 0;
margin-top: -3.3em;
}
.button-footer {
display: none;
}
}
.view-module-MergeRecords.view-action-index {
.moduleTitle {
border-bottom: 1px solid lightgrey;
}
select {
background: url($select-edit-background-url) no-repeat right;
background-size: 25px 11px;
border-color: $bright-grey;
background-color: $white !important;
margin-bottom: 1em;
}
input,input[type=text],input[type=password],input[type=email],input[type=number],textarea{
background-color: $white;
border: 1px solid $form-border-color;
margin-bottom: 1em;
}
.action-buttons {
position: absolute;
right: 0;
margin-top: -3.3em;
}
}
.view-action-ShowDuplicates {
.moduleTitle {
border-bottom: 1px solid lightgrey;
}
.button {
margin: 0.2em;
font-weight: bold;
height: 2.2em;
line-height: 1.1em;
background-color: rgb(147, 164, 179);
text-transform: capitalize;
border-radius: 0.2em;
padding: 0.3em 1em;
letter-spacing: 0.05em;
}
.list tr th {
background: #93a4b3;
color: $white;
}
table.view {
border-radius: 3px;
overflow: hidden;
}
.list .pagination td table td:first-child {
border-bottom-left-radius: 0;
}
.list .pagination td table td:last-child {
border-bottom-right-radius: 0;
}
input[type=submit].button:hover {
background: $btn-hover-bg-color;
}
}