[stylesheets] repired some components according to colors table
This commit is contained in:
parent
57e14320a3
commit
29951e266e
|
@ -82,7 +82,9 @@ define([
|
||||||
'<span class="text"></span>',
|
'<span class="text"></span>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div style="display: table-cell;"></div>',
|
'<div style="display: table-cell;"></div>',
|
||||||
'<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret img-commonctrl"></span></button>',
|
'<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">',
|
||||||
|
'<span class="caret"></span>',
|
||||||
|
'</button>',
|
||||||
'<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">',
|
'<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">',
|
||||||
'<% _.each(items, function(item) { %>',
|
'<% _.each(items, function(item) { %>',
|
||||||
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem">',
|
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem">',
|
||||||
|
@ -281,7 +283,9 @@ define([
|
||||||
'<div class="form-control" style="padding:2px 14px 2px 3px; <%= style %> display: block;">',
|
'<div class="form-control" style="padding:2px 14px 2px 3px; <%= style %> display: block;">',
|
||||||
'<div style="display: inline-block;overflow: hidden;width: 100%;height: 100%;"></div>',
|
'<div style="display: inline-block;overflow: hidden;width: 100%;height: 100%;"></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret img-commonctrl"></span></button>',
|
'<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">',
|
||||||
|
'<span class="caret"></span>',
|
||||||
|
'</button>',
|
||||||
'<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">',
|
'<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">',
|
||||||
'<% _.each(items, function(item) { %>',
|
'<% _.each(items, function(item) { %>',
|
||||||
'<% if (item.value==-1) { %>',
|
'<% if (item.value==-1) { %>',
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@height-title: 28px;
|
@height-title: 28px;
|
||||||
@height-tabs: 32px;
|
@height-tabs: 32px;
|
||||||
@height-controls: 67px;
|
@height-controls: 67px;
|
||||||
|
@img-equition-filter: var(--image-border-types-filter);
|
||||||
|
|
||||||
|
|
||||||
.toolbar {
|
.toolbar {
|
||||||
|
@ -500,6 +501,19 @@
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.item-equation {
|
||||||
|
border: 1px solid @border-regular-control;
|
||||||
|
|
||||||
|
.equation-icon {
|
||||||
|
.background-ximage-v2('toolbar/math.png', 1500px, @commonimage: true);
|
||||||
|
|
||||||
|
.theme-dark & {
|
||||||
|
-webkit-filter: @img-equition-filter;
|
||||||
|
filter: @img-equition-filter;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// charts
|
// charts
|
||||||
.menu-insertchart {
|
.menu-insertchart {
|
||||||
.group-description {
|
.group-description {
|
||||||
|
|
|
@ -2602,9 +2602,9 @@ define([
|
||||||
parentMenu: menu.items[i].menu,
|
parentMenu: menu.items[i].menu,
|
||||||
store: equationsStore.at(i).get('groupStore'),
|
store: equationsStore.at(i).get('groupStore'),
|
||||||
scrollAlwaysVisible: true,
|
scrollAlwaysVisible: true,
|
||||||
itemTemplate: _.template('<div class="item-equation" '+
|
itemTemplate: _.template(
|
||||||
'style="background-position:<%= posX %>px <%= posY %>px;" >' +
|
'<div class="item-equation" style="" >' +
|
||||||
'<div style="width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
'<div class="equation-icon" style="background-position:<%= posX %>px <%= posY %>px;width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
||||||
'</div>')
|
'</div>')
|
||||||
});
|
});
|
||||||
equationPicker.on('item:click', function(picker, item, record, e) {
|
equationPicker.on('item:click', function(picker, item, record, e) {
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
> li > a.item-contents {
|
> li > a.item-contents {
|
||||||
div {
|
div {
|
||||||
.background-ximage-v2('toolbar/contents.png', 246px, @commonimage: false);
|
.background-ximage-v2('toolbar/contents.png', 246px, @commonimage: false);
|
||||||
|
background-color: #fff;
|
||||||
width: 246px;
|
width: 246px;
|
||||||
height: @contents-menu-item-height;
|
height: @contents-menu-item-height;
|
||||||
|
|
||||||
|
@ -145,11 +146,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-equation {
|
|
||||||
border: 1px solid @border-regular-control;
|
|
||||||
.background-ximage-v2('toolbar/math.png', 1500px, @commonimage: true);
|
|
||||||
}
|
|
||||||
|
|
||||||
.save-style-container {
|
.save-style-container {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -1815,9 +1815,9 @@ define([
|
||||||
parentMenu: menu.items[i].menu,
|
parentMenu: menu.items[i].menu,
|
||||||
store: equationsStore.at(i).get('groupStore'),
|
store: equationsStore.at(i).get('groupStore'),
|
||||||
scrollAlwaysVisible: true,
|
scrollAlwaysVisible: true,
|
||||||
itemTemplate: _.template('<div class="item-equation" '+
|
itemTemplate: _.template(
|
||||||
'style="background-position:<%= posX %>px <%= posY %>px;" >' +
|
'<div class="item-equation">' +
|
||||||
'<div style="width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
'<div class="equation-icon" style="background-position:<%= posX %>px <%= posY %>px;width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
||||||
'</div>')
|
'</div>')
|
||||||
});
|
});
|
||||||
equationPicker.on('item:click', function(picker, item, record, e) {
|
equationPicker.on('item:click', function(picker, item, record, e) {
|
||||||
|
|
|
@ -83,11 +83,6 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-equation {
|
|
||||||
border: 1px solid @border-regular-control;
|
|
||||||
.background-ximage-v2('toolbar/math.png', 1500px);
|
|
||||||
}
|
|
||||||
|
|
||||||
#plugins-panel {
|
#plugins-panel {
|
||||||
.separator:first-child {
|
.separator:first-child {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -2825,9 +2825,9 @@ define([
|
||||||
parentMenu: menu.items[i].menu,
|
parentMenu: menu.items[i].menu,
|
||||||
store: equationsStore.at(i).get('groupStore'),
|
store: equationsStore.at(i).get('groupStore'),
|
||||||
scrollAlwaysVisible: true,
|
scrollAlwaysVisible: true,
|
||||||
itemTemplate: _.template('<div class="item-equation" '+
|
itemTemplate: _.template(
|
||||||
'style="background-position:<%= posX %>px <%= posY %>px;" >' +
|
'<div class="item-equation">' +
|
||||||
'<div style="width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
'<div class="equation-icon" style="background-position:<%= posX %>px <%= posY %>px;width:<%= width %>px;height:<%= height %>px;" id="<%= id %>"></div>' +
|
||||||
'</div>')
|
'</div>')
|
||||||
});
|
});
|
||||||
equationPicker.on('item:click', function(picker, item, record, e) {
|
equationPicker.on('item:click', function(picker, item, record, e) {
|
||||||
|
|
|
@ -101,11 +101,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-equation {
|
|
||||||
border: 1px solid @border-regular-control;
|
|
||||||
.background-ximage-v2('toolbar/math.png', 1500px);
|
|
||||||
}
|
|
||||||
|
|
||||||
#special-paste-container,
|
#special-paste-container,
|
||||||
#autocorrect-paste-container {
|
#autocorrect-paste-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue