@syncfusion/ej2-layouts 20.1.55 → 20.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +17 -13
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +17 -13
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/helpers/e2e/dashboardHelper.js +112 -96
- package/helpers/e2e/index.js +9 -7
- package/helpers/e2e/splitter-helper.js +74 -58
- package/package.json +6 -6
- package/src/dashboard-layout/dashboard-layout.js +8 -2
- package/src/splitter/splitter.js +9 -11
- package/styles/avatar/_fusionnew-definition.scss +26 -0
- package/styles/avatar/_material3-definition.scss +26 -0
- package/styles/card/_fusionnew-definition.scss +121 -0
- package/styles/card/_material3-definition.scss +121 -0
- package/styles/dashboard-layout/_fusionnew-definition.scss +109 -0
- package/styles/dashboard-layout/_material3-definition.scss +109 -0
- package/styles/dashboard-layout/icons/_fusionnew.scss +81 -0
- package/styles/dashboard-layout/icons/_material3.scss +81 -0
- package/styles/splitter/_fusionnew-definition.scss +30 -0
- package/styles/splitter/_material3-definition.scss +30 -0
- package/styles/splitter/icons/_fusionnew.scss +39 -0
- package/styles/splitter/icons/_material3.scss +39 -0
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 20.
|
3
|
+
* version : 20.2.36
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
5
5
|
* Use of this code is subject to the terms of our license.
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
@@ -1,97 +1,113 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
|
15
|
+
"use strict";
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
var DashboardHelper = /** @class */ (function (_super) {
|
18
|
+
__extends(DashboardHelper, _super);
|
19
|
+
/**
|
20
|
+
* Initialize the Dashboard Layout E2E helpers.
|
21
|
+
* @param id element id of the Dashboard Layout component.
|
22
|
+
* @param wrapperFn pass the wrapper function.
|
23
|
+
*/
|
24
|
+
function DashboardHelper(id, wrapperFn) {
|
25
|
+
var _this = _super.call(this) || this;
|
26
|
+
_this.id = id;
|
27
|
+
if (wrapperFn !== undefined) {
|
28
|
+
_this.wrapperFn = wrapperFn;
|
29
|
+
}
|
30
|
+
return _this;
|
15
31
|
}
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
return
|
95
|
-
}
|
96
|
-
|
97
|
-
|
32
|
+
/**
|
33
|
+
* Gets the selector of the Dashboard Layout component.
|
34
|
+
*/
|
35
|
+
DashboardHelper.prototype.selector = function (arg) {
|
36
|
+
return (this.wrapperFn ? this.wrapperFn(arg) : arg);
|
37
|
+
};
|
38
|
+
/**
|
39
|
+
* Gets root element of the Dashboard Layout component.
|
40
|
+
*/
|
41
|
+
DashboardHelper.prototype.getElement = function () {
|
42
|
+
return this.selector('#' + this.id);
|
43
|
+
};
|
44
|
+
/**
|
45
|
+
* Gets the element of the Dashboard Layout component.
|
46
|
+
*/
|
47
|
+
DashboardHelper.prototype.getDashboardLayout = function () {
|
48
|
+
return this.selector('#' + this.id + '.e-dashboardlayout');
|
49
|
+
};
|
50
|
+
/**
|
51
|
+
* Gets a panel container and its inner elements with the given id from dashboard layout component.
|
52
|
+
*/
|
53
|
+
DashboardHelper.prototype.getPanelContainer = function () {
|
54
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-container');
|
55
|
+
};
|
56
|
+
/**
|
57
|
+
* Gets the panel element of Dashboard Layout component which consists the panel container and its inner elements
|
58
|
+
*/
|
59
|
+
DashboardHelper.prototype.getPanelElement = function () {
|
60
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-panel');
|
61
|
+
};
|
62
|
+
/**
|
63
|
+
* Used to get the panel header of Dashboard Layout component which contains the header details.
|
64
|
+
*/
|
65
|
+
DashboardHelper.prototype.getPanelHeader = function () {
|
66
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-header');
|
67
|
+
};
|
68
|
+
/**
|
69
|
+
* Gets the panel content of Dashboard Layout component which contains the panel content class.
|
70
|
+
*/
|
71
|
+
DashboardHelper.prototype.getPanelContent = function () {
|
72
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-content');
|
73
|
+
};
|
74
|
+
/**
|
75
|
+
* Gets the resize icon positioned on the South-East side in panel container.
|
76
|
+
*/
|
77
|
+
DashboardHelper.prototype.getSouthEastResizeIcon = function () {
|
78
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-south-east .e-resize');
|
79
|
+
};
|
80
|
+
/**
|
81
|
+
* Gets the resize icon positioned on the North-East side in panel container.
|
82
|
+
*/
|
83
|
+
DashboardHelper.prototype.getNorthEastResizeIcon = function () {
|
84
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-north-east .e-resize');
|
85
|
+
};
|
86
|
+
/**
|
87
|
+
* Gets the resize icon positioned on the North-West side in panel container.
|
88
|
+
*/
|
89
|
+
DashboardHelper.prototype.getNorthWestResizeIcon = function () {
|
90
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-north-west .e-resize');
|
91
|
+
};
|
92
|
+
/**
|
93
|
+
* Gets the resize icon positioned on the South-West side in panel container.
|
94
|
+
*/
|
95
|
+
DashboardHelper.prototype.getSouthWestResizeIcon = function () {
|
96
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-south-west .e-resize');
|
97
|
+
};
|
98
|
+
/**
|
99
|
+
* Gets the clear icon from the panel element.
|
100
|
+
*/
|
101
|
+
DashboardHelper.prototype.getClearIcon = function () {
|
102
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-clear-icon');
|
103
|
+
};
|
104
|
+
/**
|
105
|
+
* Gets the transition of panel in Dashboard Layout component which is used to achieve the resizing behavior.
|
106
|
+
*/
|
107
|
+
DashboardHelper.prototype.getPanelTansition = function () {
|
108
|
+
return this.selector('#' + this.id + '.e-dashboardlayout .e-panel-transition');
|
109
|
+
};
|
110
|
+
return DashboardHelper;
|
111
|
+
}(e2e_1.TestHelper));
|
112
|
+
exports.DashboardHelper = DashboardHelper;
|
113
|
+
});
|
package/helpers/e2e/index.js
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
"
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
__export(
|
1
|
+
define(["require", "exports", "./dashboardHelper", "./splitter-helper"], function (require, exports, dashboardHelper_1, splitter_helper_1) {
|
2
|
+
"use strict";
|
3
|
+
function __export(m) {
|
4
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
5
|
+
}
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
7
|
+
__export(dashboardHelper_1);
|
8
|
+
__export(splitter_helper_1);
|
9
|
+
});
|
@@ -1,59 +1,75 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
|
15
|
+
"use strict";
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
var SplitterHelper = /** @class */ (function (_super) {
|
18
|
+
__extends(SplitterHelper, _super);
|
19
|
+
function SplitterHelper(id, wrapperFn) {
|
20
|
+
var _this = _super.call(this) || this;
|
21
|
+
_this.id = id;
|
22
|
+
if (wrapperFn !== undefined) {
|
23
|
+
_this.wrapperFn = wrapperFn;
|
24
|
+
}
|
25
|
+
return _this;
|
10
26
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
}
|
58
|
-
|
59
|
-
|
27
|
+
/**
|
28
|
+
* The method which returns Splitter's root element.
|
29
|
+
*/
|
30
|
+
SplitterHelper.prototype.getElement = function () {
|
31
|
+
return this.selector('#' + this.id + ".e-splitter");
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* The method which returns Splitter's all pane elements.
|
35
|
+
*/
|
36
|
+
SplitterHelper.prototype.getPaneElement = function () {
|
37
|
+
var element = this.selector('#' + this.id + ".e-splitter");
|
38
|
+
var pane = [];
|
39
|
+
return pane.filter.call(element.children, function (ele) { return pane.includes.call(ele.classList, 'e-pane'); });
|
40
|
+
};
|
41
|
+
/**
|
42
|
+
* The method which returns Splitter's separator (split-bar) elements.
|
43
|
+
*/
|
44
|
+
SplitterHelper.prototype.getSplitBar = function () {
|
45
|
+
var element = this.selector('#' + this.id + ".e-splitter");
|
46
|
+
var split = [];
|
47
|
+
return split.filter.call(element.children, function (ele) { return split.includes.call(ele.classList, 'e-split-bar'); });
|
48
|
+
};
|
49
|
+
/**
|
50
|
+
* The getModel method is used to return value of the property.
|
51
|
+
* @param property - Specifies name of the property. It must be string type.
|
52
|
+
*/
|
53
|
+
SplitterHelper.prototype.getModel = function (property) {
|
54
|
+
this.getModel(property);
|
55
|
+
};
|
56
|
+
/**
|
57
|
+
* The setModel method is used to set value for the property. It will accepts two arguments.
|
58
|
+
* @param property - Specifices name of the property which value is to be updated.
|
59
|
+
* @param value - Specifies corresponding value of the property.
|
60
|
+
*/
|
61
|
+
SplitterHelper.prototype.setModel = function (property, value) {
|
62
|
+
this.setModel(property, value);
|
63
|
+
};
|
64
|
+
/**
|
65
|
+
* The invoke method is used to set value for the property. It will accepts two arguments.
|
66
|
+
* @param property - Specifices name of the property which value is to be updated.
|
67
|
+
* @param value - Specifies corresponding value of the property.
|
68
|
+
*/
|
69
|
+
SplitterHelper.prototype.invoke = function (fName, args) {
|
70
|
+
this.invoke(fName, args);
|
71
|
+
};
|
72
|
+
return SplitterHelper;
|
73
|
+
}(e2e_1.TestHelper));
|
74
|
+
exports.SplitterHelper = SplitterHelper;
|
75
|
+
});
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-layouts@*",
|
3
|
-
"_id": "@syncfusion/ej2-layouts@
|
3
|
+
"_id": "@syncfusion/ej2-layouts@19.7.2",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-DQo39Lbsf5i76XqDmlzTLZx0LjV4l7lwC3I7RqmMz4cP3So+ICA0jxT7V+vGEA6ekR5X4ZIOrOLLBp38ltrzMw==",
|
6
6
|
"_location": "/@syncfusion/ej2-layouts",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"/@syncfusion/ej2-react-layouts",
|
28
28
|
"/@syncfusion/ej2-vue-layouts"
|
29
29
|
],
|
30
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
31
|
-
"_shasum": "
|
30
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-layouts/-/ej2-layouts-19.7.2.tgz",
|
31
|
+
"_shasum": "f0631fa5b423a32987127c9bd0c04fe2ff8e2d25",
|
32
32
|
"_spec": "@syncfusion/ej2-layouts@*",
|
33
33
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
34
34
|
"author": {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
},
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@syncfusion/ej2-base": "~20.
|
39
|
+
"@syncfusion/ej2-base": "~20.2.36"
|
40
40
|
},
|
41
41
|
"deprecated": false,
|
42
42
|
"description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person.",
|
@@ -76,6 +76,6 @@
|
|
76
76
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
|
77
77
|
},
|
78
78
|
"typings": "index.d.ts",
|
79
|
-
"version": "20.
|
79
|
+
"version": "20.2.36",
|
80
80
|
"sideEffects": false
|
81
81
|
}
|
@@ -990,9 +990,15 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
990
990
|
var heightValue;
|
991
991
|
var widthValue;
|
992
992
|
if (this.checkMediaQuery()) {
|
993
|
-
|
993
|
+
var entirePanelsY = 0;
|
994
|
+
for (var i = 0; i < this.panels.length; i++) {
|
995
|
+
if (this.panels[i].sizeY) {
|
996
|
+
entirePanelsY += this.panels[i].sizeY;
|
997
|
+
}
|
998
|
+
}
|
999
|
+
heightValue = ((entirePanelsY) *
|
994
1000
|
(this.element.parentElement && ((this.element.parentElement.offsetWidth)) / this.cellAspectRatio) +
|
995
|
-
(
|
1001
|
+
(entirePanelsY - 1) * this.cellSpacing[1]) + 'px';
|
996
1002
|
}
|
997
1003
|
else {
|
998
1004
|
heightValue = ((this.maxRow()) *
|
package/src/splitter/splitter.js
CHANGED
@@ -1063,7 +1063,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
1063
1063
|
paneMinRange = this.convertPercentageToPixel(this.paneSettings[i].min);
|
1064
1064
|
}
|
1065
1065
|
minValue = this.convertPixelToNumber((paneMinRange).toString());
|
1066
|
-
if (this.orientation === 'Horizontal' ? this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight < minValue) {
|
1066
|
+
if ((this.orientation === 'Horizontal' ? this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight) < minValue) {
|
1067
1067
|
if (i === paneIndex) {
|
1068
1068
|
updatePane = this.allPanes[i];
|
1069
1069
|
flexPane = this.allPanes[i + 1];
|
@@ -1205,22 +1205,20 @@ var Splitter = /** @class */ (function (_super) {
|
|
1205
1205
|
var visiblePane = collapseCount === this.allPanes.length - 2;
|
1206
1206
|
var panes = this.allPanes;
|
1207
1207
|
for (var i = 0; i < panes.length; i++) {
|
1208
|
-
|
1209
|
-
panes[i].style.flexGrow = '1';
|
1210
|
-
}
|
1211
|
-
else if (panes[i].classList.contains(COLLAPSE_PANE)) {
|
1212
|
-
panes[i].style.flexGrow = '0';
|
1213
|
-
}
|
1214
|
-
else {
|
1215
|
-
panes[i].style.flexGrow = '';
|
1216
|
-
}
|
1208
|
+
panes[i].style.flexGrow = '';
|
1217
1209
|
if (status && !this.nextPane.classList.contains(COLLAPSE_PANE)) {
|
1218
1210
|
this.nextPane.style.flexGrow = '1';
|
1219
1211
|
}
|
1220
|
-
if (visiblePane &&
|
1212
|
+
if (visiblePane && this.allPanes[i].classList.contains(COLLAPSE_PANE) && this.paneSettings[i].size &&
|
1221
1213
|
i !== this.allPanes.length - 1) {
|
1222
1214
|
panes[i].style.flexGrow = '';
|
1223
1215
|
}
|
1216
|
+
if (panes[i].classList.contains(EXPAND_PANE)) {
|
1217
|
+
panes[i].style.flexGrow = '1';
|
1218
|
+
}
|
1219
|
+
else if (panes[i].classList.contains(COLLAPSE_PANE)) {
|
1220
|
+
panes[i].style.flexGrow = '0';
|
1221
|
+
}
|
1224
1222
|
}
|
1225
1223
|
};
|
1226
1224
|
Splitter.prototype.hideTargetBarIcon = function (targetBar, targetArrow) {
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// Avatar Base
|
2
|
+
$avatar-base-border-radius: 2px !default;
|
3
|
+
$avatar-base-background-color: $content-bg-color-alt3 !default;
|
4
|
+
$avatar-base-font-size: $text-sm !default;
|
5
|
+
$avatar-base-width: 40px !default;
|
6
|
+
$avatar-base-height: 40px !default;
|
7
|
+
$avatar-base-line-height: 22px !default;
|
8
|
+
$avatar-base-text-color: $icon-color !default;
|
9
|
+
$avatar-base-font-weight: $font-weight-medium !default;
|
10
|
+
$avatar-base-img-height: 100% !default;
|
11
|
+
|
12
|
+
// Circle Avatar
|
13
|
+
$avatar-circle-border-radius: 50% !default;
|
14
|
+
|
15
|
+
// Avatar size
|
16
|
+
$avatar-xsmall-font-size: $text-xxs !default;
|
17
|
+
$avatar-small-font-size: $text-xs !default;
|
18
|
+
$avatar-large-font-size: $text-lg !default;
|
19
|
+
$avatar-xlarge-font-size: $text-xl !default;
|
20
|
+
$avatar-large-border-radius: 4px !default;
|
21
|
+
|
22
|
+
// Avatar Line Height
|
23
|
+
$avatar-base-xsmall-line-height: 16px !default;
|
24
|
+
$avatar-base-small-line-height: 18px !default;
|
25
|
+
$avatar-base-large-line-height: 28px !default;
|
26
|
+
$avatar-base-xlarge-line-height: 28px !default;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// Avatar Base
|
2
|
+
$avatar-base-border-radius: 2px !default;
|
3
|
+
$avatar-base-background-color: $content-bg-color-alt3 !default;
|
4
|
+
$avatar-base-font-size: $text-sm !default;
|
5
|
+
$avatar-base-width: 40px !default;
|
6
|
+
$avatar-base-height: 40px !default;
|
7
|
+
$avatar-base-line-height: 22px !default;
|
8
|
+
$avatar-base-text-color: $icon-color !default;
|
9
|
+
$avatar-base-font-weight: $font-weight-medium !default;
|
10
|
+
$avatar-base-img-height: 100% !default;
|
11
|
+
|
12
|
+
// Circle Avatar
|
13
|
+
$avatar-circle-border-radius: 50% !default;
|
14
|
+
|
15
|
+
// Avatar size
|
16
|
+
$avatar-xsmall-font-size: $text-xxs !default;
|
17
|
+
$avatar-small-font-size: $text-xs !default;
|
18
|
+
$avatar-large-font-size: $text-lg !default;
|
19
|
+
$avatar-xlarge-font-size: $text-xl !default;
|
20
|
+
$avatar-large-border-radius: 4px !default;
|
21
|
+
|
22
|
+
// Avatar Line Height
|
23
|
+
$avatar-base-xsmall-line-height: 16px !default;
|
24
|
+
$avatar-base-small-line-height: 18px !default;
|
25
|
+
$avatar-base-large-line-height: 28px !default;
|
26
|
+
$avatar-base-xlarge-line-height: 28px !default;
|