[DE] Add icons, change styles in page thumbnails

This commit is contained in:
JuliaSvinareva 2021-08-26 14:10:27 +03:00
parent 162864b26b
commit cbd88e8284
18 changed files with 17 additions and 6 deletions

View file

@ -9,7 +9,7 @@
<button id="left-btn-navigation" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-navigation">&nbsp;</i></button> <button id="left-btn-navigation" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-navigation">&nbsp;</i></button>
<button id="left-btn-support" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-support">&nbsp;</i></button> <button id="left-btn-support" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-support">&nbsp;</i></button>
<button id="left-btn-about" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-about">&nbsp;</i></button> <button id="left-btn-about" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-about">&nbsp;</i></button>
<button id="left-btn-thumbnails" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-thumbnails">&nbsp;</i></button> <button id="left-btn-thumbnails" class="btn btn-category" data-hint="0" data-hint-direction="right" data-hint-offset="big" content-target=""><i class="icon toolbar__icon btn-menu-thumbs">&nbsp;</i></button>
</div> </div>
<div class="left-panel" style=""> <div class="left-panel" style="">
<!-- /** coauthoring begin **/ --> <!-- /** coauthoring begin **/ -->

View file

@ -81,9 +81,9 @@ define([
var sizeSettingTemplate = _.template('<div id="thumbnails-size">' + var sizeSettingTemplate = _.template('<div id="thumbnails-size">' +
'<label><%= caption %></label>' + '<label><%= caption %></label>' +
'<div class="thumbnails-sld-box">' + '<div class="thumbnails-sld-box">' +
'<span class="menu-item-icon menu__icon thumbnail-small btn-zoomdown"></span>' + '<span class="menu-item-icon menu__icon thumbnail-small"></span>' +
'<div id="sld-thumbnails-size"></div>' + '<div id="sld-thumbnails-size"></div>' +
'<span class="menu-item-icon menu__icon thumbnail-big btn-zoomup"></span>' + '<span class="menu-item-icon menu__icon thumbnail-big"></span>' +
'</div>', '</div>',
'</div>'); '</div>');
@ -94,7 +94,7 @@ define([
hint: this.textThumbnailsSettings, hint: this.textThumbnailsSettings,
menu: new Common.UI.Menu({ menu: new Common.UI.Menu({
menuAlign: 'tr-br', menuAlign: 'tr-br',
style: 'min-width: 200px;', style: 'min-width: 198px;',
items: [ items: [
{ {
caption: this.textThumbnailsSize, caption: this.textThumbnailsSize,

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

View file

@ -39,7 +39,7 @@
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
margin: 0; margin: 0;
padding-left: 8px; padding-left: 12px;
line-height: 25px; line-height: 25px;
} }
.thumbnails-sld-box { .thumbnails-sld-box {
@ -52,7 +52,18 @@
} }
#sld-thumbnails-size { #sld-thumbnails-size {
display: inline-block; display: inline-block;
margin: 0 10px; margin: 0 10px 0 8px;
}
}
}
.dropdown-menu {
li {
a {
padding: 5px 20px 5px 33px;
&.checked:before {
margin-left: -24px;
}
} }
} }
} }