This commit is contained in:
OVSharova 2021-08-23 23:13:08 +03:00
parent 1b65d263dc
commit 76bcdea1e8
6 changed files with 19 additions and 46 deletions

View file

@ -869,8 +869,8 @@ define([
template: _.template([
'<h3 style="margin-top: 20px;"><%= scope.txtCreateNew %></h3>',
'<div class="thumb-list">',
'<div class="thumb-wrap" template="">',
'<div class="blank-document-btn thumb">',
'<div class="blank-document">',
'<div class="blank-document-btn">',
'<svg class="btn-blank-format"><use xlink:href="#svg-format-blank"></use></svg>',
'</div>',
'<div class="title"><%= scope.titleText(scope.fromBlankText) %></div>',
@ -909,7 +909,7 @@ define([
docs: this.options[0].docs
}));
var docs=[{title: this.fromBlankText}].concat(this.options[0].docs);
var thumbsElm= this.$el.find('.thumb-wrap');
var thumbsElm= this.$el.find('.thumb-wrap, .blank-document');
_.each(thumbsElm, function (tmb, index){
$(tmb).find('.title').tooltip({
title : docs[index].title,

View file

@ -162,9 +162,7 @@
white-space: nowrap;
}
.blank-document {
min-width: 650px;
}
.blank-document-info {
vertical-align: top;
@ -178,11 +176,6 @@
}
}
.blank-document-btn {
width: 96px;
height: 96px;
cursor: pointer;
}
hr {
margin: 0;
@ -192,8 +185,8 @@
}
.thumb-list {
.thumb-wrap {
max-width: 600px;
.thumb-wrap, .blank-document {
display: inline-block;
text-align: center;
width: auto;
@ -201,7 +194,7 @@
vertical-align: top;
.border-radius(@border-radius-small);
.thumb {
.thumb, .blank-document-btn {
width: 96px;
height: 96px;
background-repeat: no-repeat;

View file

@ -767,8 +767,8 @@ define([
template: _.template([
'<h3 style="margin-top: 20px;"><%= scope.txtCreateNew %></h3>',
'<div class="thumb-list">',
'<div class="thumb-wrap" template="">',
'<div class="blank-document-btn thumb">',
'<div class="blank-document">',
'<div class="blank-document-btn">',
'<svg class="btn-blank-format"><use xlink:href="#svg-format-blank"></use></svg>',
'</div>',
'<div class="title"><%= scope.titleText(scope.fromBlankText) %></div>',
@ -807,7 +807,7 @@ define([
docs: this.options[0].docs
}));
var docs=[{title: this.fromBlankText}].concat(this.options[0].docs);
var thumbsElm= this.$el.find('.thumb-wrap');
var thumbsElm= this.$el.find('.thumb-wrap, .blank-document');
_.each(thumbsElm, function (tmb, index){
$(tmb).find('.title').tooltip({
title : docs[index].title,

View file

@ -199,10 +199,6 @@
white-space: nowrap;
}
.blank-document {
min-width: 650px;
}
.blank-document-info {
vertical-align: top;
width: 445px;
@ -215,12 +211,6 @@
}
}
.blank-document-btn {
width: 96px;
height: 96px;
cursor: pointer;
}
hr {
margin: 0;
border-bottom: none;
@ -229,8 +219,8 @@
}
.thumb-list {
.thumb-wrap {
max-width: 600px;
.thumb-wrap, .blank-document {
display: inline-block;
text-align: center;
width: auto;
@ -238,7 +228,7 @@
vertical-align: top;
.border-radius(@border-radius-small);
.thumb {
.thumb, .blank-document-btn {
width: 96px;
height: 96px;
background-repeat: no-repeat;

View file

@ -1734,8 +1734,8 @@ define([
template: _.template([
'<h3 style="margin-top: 20px;"><%= scope.txtCreateNew %></h3>',
'<div class="thumb-list">',
'<div class="thumb-wrap" template="">',
'<div class="blank-document-btn thumb">',
'<div class="blank-document">',
'<div class="blank-document-btn">',
'<svg class="btn-blank-format"><use xlink:href="#svg-format-blank"></use></svg>',
'</div>',
'<div class="title"><%= scope.titleText(scope.fromBlankText) %></div>',
@ -1774,7 +1774,7 @@ define([
docs: this.options[0].docs
}));
var docs=[{title: this.fromBlankText}].concat(this.options[0].docs);
var thumbsElm= this.$el.find('.thumb-wrap');
var thumbsElm= this.$el.find('.thumb-wrap, .blank-document');
_.each(thumbsElm, function (tmb, index){
$(tmb).find('.title').tooltip({
title : docs[index].title,

View file

@ -267,10 +267,6 @@
white-space: nowrap;
}
.blank-document {
min-width: 650px;
}
.blank-document-info {
vertical-align: top;
width: 445px;
@ -283,12 +279,6 @@
}
}
.blank-document-btn {
width: 96px;
height: 96px;
cursor: pointer;
}
hr {
margin: 0;
border-bottom: none;
@ -297,8 +287,8 @@
}
.thumb-list {
.thumb-wrap {
max-width: 600px;
.thumb-wrap, .blank-document {
display: inline-block;
text-align: center;
width: auto;
@ -306,7 +296,7 @@
vertical-align: top;
.border-radius(@border-radius-small);
.thumb {
.thumb, .blank-document-btn {
width: 96px;
height: 96px;
background-repeat: no-repeat;