Second variant

This commit is contained in:
OVSharova 2021-07-13 12:47:27 +03:00
parent f08ac48e90
commit 0f912c6cd9
2 changed files with 44 additions and 4 deletions

View file

@ -1132,7 +1132,7 @@ define([
this.listStylesAdditionalMenuItem = new Common.UI.MenuItem({ this.listStylesAdditionalMenuItem = new Common.UI.MenuItem({
template: _.template( template: _.template(
'<div id="id-save-style-container" class = "save-style-container">' + '<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>' + '<label id="id-save-style-link" class="save-style-link" >' + me.textStyleMenuNew + '</label>' +
'</div>') '</div>')
}); });

View file

@ -168,8 +168,8 @@
margin-left: 22px; margin-left: 22px;
} }
.plus { .tool {
width: 16px; /* width: 16px;
height: 16px; height: 16px;
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
@ -182,6 +182,46 @@
margin-top: -7px; margin-top: -7px;
margin-left: 1px; 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 { .dropdown-menu > .disabled {