Bug 53885

This commit is contained in:
OVSharova 2021-11-24 09:52:29 +03:00
parent 82d14abd98
commit f86ccc0f93
6 changed files with 79 additions and 72 deletions

View file

@ -1166,7 +1166,7 @@ define([
this.lblApplication = $markup.findById('#id-info-appname'); this.lblApplication = $markup.findById('#id-info-appname');
this.tblAuthor = $markup.findById('#id-info-author table'); this.tblAuthor = $markup.findById('#id-info-author table');
this.trAuthor = $markup.findById('#id-info-add-author').closest('tr'); this.trAuthor = $markup.findById('#id-info-add-author').closest('tr');
this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="close img-commonctrl"></div></td></tr>'; this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="tool close img-commonctrl"></div></td></tr>';
this.tblAuthor.on('click', function(e) { this.tblAuthor.on('click', function(e) {
var btn = $markup.find(e.target); var btn = $markup.find(e.target);

View file

@ -378,45 +378,62 @@
font-size: 12px; font-size: 12px;
} }
.close { .tool {
width: 16px; margin-left: 4px;
height: 16px; background-image: none;
cursor: pointer; &.close{
display: inline-block; &:before, &:after {
vertical-align: middle; height: 12px;
margin-left: 5px; left: 8px;
width: 2px;
background-position: @but-close-offset-x @but-close-offset-y; width: @scaled-two-px-value;
}
&.over, &.disabled {
&:hover { opacity: 0.4;
background-position: @but-close-offset-x @but-close-offset-y - 16px; }
} }
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
}
} }
/*.close {
width: 16px;
height: 16px;
cursor: pointer;
display: inline-block;
vertical-align: middle;
margin-left: 5px;
background-position: @but-close-offset-x @but-close-offset-y;
&.over,
&:hover {
background-position: @but-close-offset-x @but-close-offset-y - 16px;
opacity: 1;
}
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
}
}*/
} }
#panel-protect { #panel-protect {
label { label {
font-size: 12px; font-size: 12px;
} }
#file-menu-panel & { #file-menu-panel & {
padding: 30px 30px; padding: 30px 30px;
} }
.header { .header {
font-weight: bold; font-weight: bold;
margin: 30px 0 10px; margin: 30px 0 10px;
} }
table { table {
td { td {
padding: 5px 0; padding: 5px 0;
}
} }
} }
}

View file

@ -991,7 +991,7 @@ define([
this.lblApplication = $markup.findById('#id-info-appname'); this.lblApplication = $markup.findById('#id-info-appname');
this.tblAuthor = $markup.findById('#id-info-author table'); this.tblAuthor = $markup.findById('#id-info-author table');
this.trAuthor = $markup.findById('#id-info-add-author').closest('tr'); this.trAuthor = $markup.findById('#id-info-add-author').closest('tr');
this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="close img-commonctrl"></div></td></tr>'; this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="tool close img-commonctrl"></div></td></tr>';
this.tblAuthor.on('click', function(e) { this.tblAuthor.on('click', function(e) {
var btn = $markup.find(e.target); var btn = $markup.find(e.target);

View file

@ -413,24 +413,19 @@
font-size: 12px; font-size: 12px;
} }
.close { .tool {
width: 16px; margin-left: 4px;
height: 16px; background-image: none;
cursor: pointer; &.close{
display: inline-block; &:before, &:after {
vertical-align: middle; height: 12px;
margin-left: 5px; left: 8px;
width: 2px;
background-position: @but-close-offset-x @but-close-offset-y; width: @scaled-two-px-value;
}
&.over, &.disabled {
&:hover { opacity: 0.4;
background-position: @but-close-offset-x @but-close-offset-y - 16px; }
}
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
} }
} }
} }

View file

@ -1954,7 +1954,7 @@ define([
this.lblApplication = $markup.findById('#id-info-appname'); this.lblApplication = $markup.findById('#id-info-appname');
this.tblAuthor = $markup.findById('#id-info-author table'); this.tblAuthor = $markup.findById('#id-info-author table');
this.trAuthor = $markup.findById('#id-info-add-author').closest('tr'); this.trAuthor = $markup.findById('#id-info-add-author').closest('tr');
this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="close img-commonctrl"></div></td></tr>'; this.authorTpl = '<tr><td><div style="display: inline-block;width: 200px;"><input type="text" spellcheck="false" class="form-control" readonly="true" value="{0}" ></div><div class="tool close img-commonctrl"></div></td></tr>';
this.tblAuthor.on('click', function(e) { this.tblAuthor.on('click', function(e) {
var btn = $markup.find(e.target); var btn = $markup.find(e.target);

View file

@ -481,24 +481,19 @@
font-size: 12px; font-size: 12px;
} }
.close { .tool {
width: 16px; margin-left: 4px;
height: 16px; background-image: none;
cursor: pointer; &.close{
display: inline-block; &:before, &:after {
vertical-align: middle; height: 12px;
margin-left: 5px; left: 8px;
width: 2px;
background-position: @but-close-offset-x @but-close-offset-y; width: @scaled-two-px-value;
}
&.over, &.disabled {
&:hover { opacity: 0.4;
background-position: @but-close-offset-x @but-close-offset-y - 16px; }
}
&.disabled {
background-position: @but-close-offset-x @but-close-offset-y - 32px;
cursor: default;
} }
} }
} }