Fix link underline for different languages

This commit is contained in:
Julia.Radzhabova
2025-08-27 15:55:50 +03:00
parent c6db950ad8
commit d01fa897be
5 changed files with 18 additions and 15 deletions

View File

@ -1,10 +1,13 @@
label {
&.link {
&.link,
span.link{
border-bottom: @scaled-one-px-value-ie dotted @text-secondary-ie;
border-bottom: @scaled-one-px-value dotted @text-secondary;
cursor: pointer;
&.disabled {
}
&.disabled {
&.link,
span.link {
cursor: default;
}
}

View File

@ -2741,7 +2741,7 @@ define([], function () {
'<tr><td class="padding-large"><div id="print-combo-orient" style="width: 150px;"></div></td></tr>',
'<tr><td><label class="font-weight-bold"><%= scope.txtMargins %></label></td></tr>',
'<tr><td class="padding-large"><div id="print-combo-margins" style="width: 248px;"></div></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label class="link" id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtPrintUsingSystemDialog %></label></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtPrintUsingSystemDialog %></span></label></td></tr>',
'<tr class="fms-btn-apply"><td>',
'<div class="footer justify">',
'<button id="print-btn-print" class="btn normal dlg-btn primary margin-right-8" result="print" style="width: 96px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="big"><%= scope.txtPrint %></button>',
@ -3043,7 +3043,7 @@ define([], function () {
this.pnlTable = $(this.pnlSettings.find('table')[0]);
this.trApply = $markup.find('.fms-btn-apply');
this.btnPrintSystemDialog = $markup.findById('#print-btn-system-dialog');
this.btnPrintSystemDialog = $markup.find('#print-btn-system-dialog > span');
this.btnPrint = new Common.UI.Button({
el: $markup.findById('#print-btn-print'),
disabled: true

View File

@ -2339,7 +2339,7 @@ define([], function () {
'<tr><td class="padding-large"><div id="print-combo-orient" style="width: 150px;"></div></td></tr>',
'<tr><td><label class="font-weight-bold"><%= scope.txtMargins %></label></td></tr>',
'<tr><td class="padding-large"><div id="print-combo-margins" style="width: 248px;"></div></td></tr>',
'<tr><td class="padding-large"><label class="link" id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtPrintUsingSystemDialog %></label></td></tr>',
'<tr><td class="padding-large"><label id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtPrintUsingSystemDialog %></span></label></td></tr>',
'<tr class="fms-btn-apply"><td>',
'<div class="footer justify">',
'<button id="print-btn-print" class="btn normal dlg-btn primary margin-right-8" result="print" style="width: 96px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="big"><%= scope.txtPrint %></button>',
@ -2641,7 +2641,7 @@ define([], function () {
this.pnlTable = $(this.pnlSettings.find('table')[0]);
this.trApply = $markup.find('.fms-btn-apply');
this.btnPrintSystemDialog = $markup.findById('#print-btn-system-dialog');
this.btnPrintSystemDialog = $markup.find('#print-btn-system-dialog > span');
this.btnPrint = new Common.UI.Button({
el: $markup.findById('#print-btn-print'),
disabled: true

View File

@ -2135,8 +2135,8 @@ define([], function () {
'<tr><td class="padding-large"><div id="print-combo-sides" style="width: 248px;"></div></td></tr>',
'<tr><td><label class="font-weight-bold"><%= scope.txtPaperSize %></label></td></tr>',
'<tr><td class="padding-large"><div id="print-combo-pages" style="width: 248px;"></div></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label class="link" id="print-header-footer-settings" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtHeaderFooterSettings %></label></td></tr>',
'<tr><td class="padding-large"><label class="link" id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtPrintUsingSystemDialog %></label></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label id="print-header-footer-settings" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtHeaderFooterSettings %></span></label></td></tr>',
'<tr><td class="padding-large"><label id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtPrintUsingSystemDialog %></span></label></td></tr>',
'<tr class="fms-btn-apply"><td>',
'<div class="footer justify">',
'<button id="print-btn-print" class="btn normal dlg-btn primary margin-right-8" result="print" style="width: 96px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="big"><%= scope.txtPrint %></button>',
@ -2389,7 +2389,7 @@ define([], function () {
this.pnlTable = $(this.pnlSettings.find('table')[0]);
this.trApply = $markup.find('.fms-btn-apply');
this.btnPrintSystemDialog = $markup.findById('#print-btn-system-dialog');
this.btnPrintSystemDialog = $markup.find('#print-btn-system-dialog > span');
this.btnPrint = new Common.UI.Button({
el: $markup.findById('#print-btn-print'),
disabled: true
@ -2439,7 +2439,7 @@ define([], function () {
});
this.$el = $(node).html($markup);
this.$el.on('click', '#print-header-footer-settings', _.bind(this.openHeaderSettings, this));
this.$el.on('click', '#print-header-footer-settings > span', _.bind(this.openHeaderSettings, this));
this.$previewBox = $('#print-preview-box');
this.$previewEmpty = $('#print-preview-empty');

View File

@ -2762,12 +2762,12 @@ define([], function () {
'<tr><td class="padding-small"><label class="font-weight-bold"><%= scope.txtGridlinesAndHeadings %></label></td></tr>',
'<tr><td class="padding-small"><div id="print-chb-grid" style="width: 248px;"></div></td></tr>',
'<tr><td class="padding-large"><div id="print-chb-rows" style="width: 248px;"></div></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label class="link" id="print-header-footer-settings" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtHeaderFooterSettings %></label></td></tr>',
'<tr class="header-settings"><td class="padding-large"><label id="print-header-footer-settings" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtHeaderFooterSettings %></span></label></td></tr>',
'<tr><td class="padding-large first-page">',
'<label><%= scope.txtFirstPageNumber %></label>',
'<div id="print-spin-first-page"></div>',
'</td></tr>',
'<tr class="header-settings hidden-for-webapp"><td class="padding-large"><label class="link" id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtPrintUsingSystemDialog %></label></td></tr>',
'<tr class="header-settings hidden-for-webapp"><td class="padding-large"><label id="print-btn-system-dialog" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><span class="link"><%= scope.txtPrintUsingSystemDialog %></span></label></td></tr>',
//'<tr><td class="padding-large"><button type="button" class="btn btn-text-default" id="print-apply-all" style="width: 118px;" data-hint="2" data-hint-direction="bottom" data-hint-offset="medium"><%= scope.txtApplyToAllSheets %></button></td></tr>',
'<tr class="fms-btn-apply"><td>',
'<div class="footer justify">',
@ -3228,7 +3228,7 @@ define([], function () {
this.trApply = $markup.find('.fms-btn-apply');
this.btnPrintSystemDialog = $markup.findById('#print-btn-system-dialog');
this.btnPrintSystemDialog = $markup.find('#print-btn-system-dialog > span');
this.btnsSave = [];
this.btnsPrint = [];
@ -3317,7 +3317,7 @@ define([], function () {
this.txtActiveSheet = $markup.findById('#print-active-sheet');
this.$el = $(node).html($markup);
this.$el.on('click', '#print-header-footer-settings', _.bind(this.openHeaderSettings, this));
this.$el.on('click', '#print-header-footer-settings > span', _.bind(this.openHeaderSettings, this));
this.$previewBox = $('#print-preview-box');
this.$previewEmpty = $('#print-preview-empty');