Second variant
This commit is contained in:
parent
f08ac48e90
commit
0f912c6cd9
|
@ -1132,7 +1132,7 @@ define([
|
|||
this.listStylesAdditionalMenuItem = new Common.UI.MenuItem({
|
||||
template: _.template(
|
||||
'<div id="id-save-style-container" class = "save-style-container">' +
|
||||
'<span id="id-save-style-plus" class="plus" ></span>' +
|
||||
'<span id="id-save-style-plus" class="plus tool" ></span>' +
|
||||
'<label id="id-save-style-link" class="save-style-link" >' + me.textStyleMenuNew + '</label>' +
|
||||
'</div>')
|
||||
});
|
||||
|
|
|
@ -168,8 +168,8 @@
|
|||
margin-left: 22px;
|
||||
}
|
||||
|
||||
.plus {
|
||||
width: 16px;
|
||||
.tool {
|
||||
/* width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
|
@ -182,6 +182,46 @@
|
|||
margin-top: -7px;
|
||||
margin-left: 1px;
|
||||
}
|
||||
}*/
|
||||
float: left;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
padding: 0px;
|
||||
margin-left: 2px;
|
||||
margin-right: -16px;
|
||||
&.plus {
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
font-weight: bold;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
&:before, &:after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
left: 7px;
|
||||
left: calc(7px/@pixel-ratio-factor);
|
||||
top: 3px;
|
||||
top: calc(3px/@pixel-ratio-factor);
|
||||
height: 10px;
|
||||
width: 2px;
|
||||
width: calc(2px/@pixel-ratio-factor);
|
||||
background-color: @icon-normal-ie;
|
||||
background-color: @icon-normal;
|
||||
}
|
||||
|
||||
&:after {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu > .disabled {
|
||||
|
|
Loading…
Reference in a new issue