Bug 53885
This commit is contained in:
parent
82d14abd98
commit
f86ccc0f93
|
@ -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);
|
||||||
|
|
|
@ -378,7 +378,23 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.tool {
|
||||||
|
margin-left: 4px;
|
||||||
|
background-image: none;
|
||||||
|
&.close{
|
||||||
|
&:before, &:after {
|
||||||
|
height: 12px;
|
||||||
|
left: 8px;
|
||||||
|
width: 2px;
|
||||||
|
width: @scaled-two-px-value;
|
||||||
|
}
|
||||||
|
&.disabled {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*.close {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
@ -391,13 +407,14 @@
|
||||||
&.over,
|
&.over,
|
||||||
&:hover {
|
&:hover {
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 16px;
|
background-position: @but-close-offset-x @but-close-offset-y - 16px;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 32px;
|
background-position: @but-close-offset-x @but-close-offset-y - 32px;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
#panel-protect {
|
#panel-protect {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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,
|
|
||||||
&:hover {
|
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 32px;
|
opacity: 0.4;
|
||||||
cursor: default;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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,
|
|
||||||
&:hover {
|
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 16px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
background-position: @but-close-offset-x @but-close-offset-y - 32px;
|
opacity: 0.4;
|
||||||
cursor: default;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue