@syncfusion/ej2-layouts 21.2.6 → 22.1.34
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +16 -0
- package/dist/ej2-layouts.min.js +2 -2
- 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 +30 -17
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +30 -17
- 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/package.json +6 -6
- package/src/dashboard-layout/dashboard-layout-model.d.ts +5 -3
- package/src/dashboard-layout/dashboard-layout.d.ts +6 -4
- package/src/dashboard-layout/dashboard-layout.js +27 -17
- package/src/splitter/splitter.js +3 -0
- package/styles/avatar/_material3-dark-definition.scss +1 -0
- package/styles/avatar/_material3-definition.scss +26 -0
- package/styles/avatar/material3-dark.css +114 -0
- package/styles/avatar/material3-dark.scss +4 -0
- package/styles/avatar/material3.css +170 -0
- package/styles/avatar/material3.scss +4 -0
- package/styles/bootstrap4.css +3 -2
- package/styles/card/_bootstrap4-definition.scss +3 -2
- package/styles/card/_layout.scss +2 -2
- package/styles/card/_material3-dark-definition.scss +1 -0
- package/styles/card/_material3-definition.scss +125 -0
- package/styles/card/bootstrap4.css +3 -2
- package/styles/card/fabric.css +1 -1
- package/styles/card/highcontrast.css +1 -1
- package/styles/card/material3-dark.css +567 -0
- package/styles/card/material3-dark.scss +4 -0
- package/styles/card/material3.css +623 -0
- package/styles/card/material3.scss +4 -0
- package/styles/dashboard-layout/_layout.scss +1 -1
- package/styles/dashboard-layout/_material3-dark-definition.scss +1 -0
- package/styles/dashboard-layout/_material3-definition.scss +108 -0
- package/styles/dashboard-layout/_theme.scss +1 -1
- package/styles/dashboard-layout/icons/_material3-dark.scss +1 -0
- package/styles/dashboard-layout/material3-dark.css +357 -0
- package/styles/dashboard-layout/material3-dark.scss +5 -0
- package/styles/dashboard-layout/material3.css +413 -0
- package/styles/dashboard-layout/material3.scss +5 -0
- package/styles/fabric.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material3-dark.css +1414 -0
- package/styles/material3-dark.scss +6 -0
- package/styles/material3.css +1470 -0
- package/styles/material3.scss +6 -0
- package/styles/splitter/_material3-dark-definition.scss +1 -0
- package/styles/splitter/_material3-definition.scss +31 -0
- package/styles/splitter/icons/_material3-dark.scss +1 -0
- package/styles/splitter/material3-dark.css +543 -0
- package/styles/splitter/material3-dark.scss +5 -0
- package/styles/splitter/material3.css +599 -0
- package/styles/splitter/material3.scss +5 -0
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version :
|
3
|
+
* version : 22.1.34
|
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
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-layouts@*",
|
3
|
-
"_id": "@syncfusion/ej2-layouts@21.
|
3
|
+
"_id": "@syncfusion/ej2-layouts@21.3.0",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-NP9S9pT9bVCmEjESnp2DUWNNlPtSr3cdGDpLiDtD1MnJ2zSMjWDX9rh41uV29hhA4xObAGw28En+sCJbnDGohA==",
|
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": "https://nexus.syncfusion.com/repository/ej2-
|
31
|
-
"_shasum": "
|
30
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-layouts/-/ej2-layouts-21.3.0.tgz",
|
31
|
+
"_shasum": "29a4e9548f8ead95b7500bbfb035bea56f51264a",
|
32
32
|
"_spec": "@syncfusion/ej2-layouts@*",
|
33
33
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
34
34
|
"author": {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
},
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@syncfusion/ej2-base": "~
|
39
|
+
"@syncfusion/ej2-base": "~22.1.34"
|
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,7 +76,7 @@
|
|
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": "
|
79
|
+
"version": "22.1.34",
|
80
80
|
"sideEffects": false,
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
82
82
|
}
|
@@ -23,16 +23,18 @@ export interface PanelModel {
|
|
23
23
|
|
24
24
|
/**
|
25
25
|
* Defines the template value that should be displayed as the panel's header.
|
26
|
-
*
|
26
|
+
*
|
27
|
+
* @aspType string
|
27
28
|
*/
|
28
|
-
header?: string | HTMLElement;
|
29
|
+
header?: string | HTMLElement | Function;
|
29
30
|
|
30
31
|
/**
|
31
32
|
* Defines the template value that should be displayed as the panel's content.
|
32
33
|
*
|
34
|
+
* @aspType string
|
33
35
|
*/
|
34
36
|
|
35
|
-
content?: string | HTMLElement;
|
37
|
+
content?: string | HTMLElement | Function;
|
36
38
|
|
37
39
|
/**
|
38
40
|
* Defines whether to the panel should be enabled or not.
|
@@ -21,13 +21,15 @@ export declare class Panel extends ChildProperty<Panel> {
|
|
21
21
|
/**
|
22
22
|
* Defines the template value that should be displayed as the panel's header.
|
23
23
|
*
|
24
|
+
* @aspType string
|
24
25
|
*/
|
25
|
-
header: string | HTMLElement;
|
26
|
+
header: string | HTMLElement | Function;
|
26
27
|
/**
|
27
28
|
* Defines the template value that should be displayed as the panel's content.
|
28
29
|
*
|
30
|
+
* @aspType string
|
29
31
|
*/
|
30
|
-
content: string | HTMLElement;
|
32
|
+
content: string | HTMLElement | Function;
|
31
33
|
/**
|
32
34
|
* Defines whether to the panel should be enabled or not.
|
33
35
|
*
|
@@ -680,7 +682,7 @@ interface IChangePanel {
|
|
680
682
|
row?: number;
|
681
683
|
col?: number;
|
682
684
|
id?: string;
|
683
|
-
header?: string | HTMLElement;
|
684
|
-
content?: string | HTMLElement;
|
685
|
+
header?: string | HTMLElement | Function;
|
686
|
+
content?: string | HTMLElement | Function;
|
685
687
|
}
|
686
688
|
export {};
|
@@ -346,7 +346,7 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
346
346
|
DashboardLayout.prototype.templateParser = function (template) {
|
347
347
|
if (template) {
|
348
348
|
try {
|
349
|
-
if (document.querySelectorAll(template).length) {
|
349
|
+
if (typeof template !== 'function' && document.querySelectorAll(template).length) {
|
350
350
|
return compile(document.querySelector(template).innerHTML.trim());
|
351
351
|
}
|
352
352
|
else {
|
@@ -480,18 +480,23 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
480
480
|
this.resizeEvents();
|
481
481
|
};
|
482
482
|
DashboardLayout.prototype.downResizeHandler = function (e) {
|
483
|
-
|
484
|
-
this.
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
483
|
+
var el = closest((e.currentTarget), '.e-panel');
|
484
|
+
for (var i = 0; this.panels.length > i; i++) {
|
485
|
+
if (this.panels[i].enabled && this.panels[i].id === el.id) {
|
486
|
+
this.downHandler(e);
|
487
|
+
this.lastMouseX = e.pageX;
|
488
|
+
this.lastMouseY = e.pageY;
|
489
|
+
var moveEventName = (Browser.info.name === 'msie') ? 'mousemove pointermove' : 'mousemove';
|
490
|
+
var upEventName = (Browser.info.name === 'msie') ? 'mouseup pointerup' : 'mouseup';
|
491
|
+
if (!this.isMouseMoveBound) {
|
492
|
+
EventHandler.add(document, moveEventName, this.moveResizeHandler, this);
|
493
|
+
this.isMouseMoveBound = true;
|
494
|
+
}
|
495
|
+
if (!this.isMouseUpBound) {
|
496
|
+
EventHandler.add(document, upEventName, this.upResizeHandler, this);
|
497
|
+
this.isMouseUpBound = true;
|
498
|
+
}
|
499
|
+
}
|
495
500
|
}
|
496
501
|
};
|
497
502
|
DashboardLayout.prototype.downHandler = function (e) {
|
@@ -656,7 +661,12 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
656
661
|
this.panelPropertyChange(item, { sizeX: item.sizeX - 1 });
|
657
662
|
}
|
658
663
|
this.shadowEle.style.top = ((item.row * this.getCellSize()[1] + (item.row * this.cellSpacing[1]))) + 'px';
|
659
|
-
|
664
|
+
if (this.handleClass.indexOf('west') >= 0) {
|
665
|
+
this.shadowEle.style.left = ((item.col * this.getCellSize()[0]) + ((item.col - 1) * this.cellSpacing[0])) + 'px';
|
666
|
+
}
|
667
|
+
else {
|
668
|
+
this.shadowEle.style.left = ((item.col * this.getCellSize()[0]) + ((item.col) * this.cellSpacing[0])) + 'px';
|
669
|
+
}
|
660
670
|
this.shadowEle.style.height = ((item.sizeY * (this.getCellSize()[1] + (this.cellSpacing[1])))) + 'px';
|
661
671
|
this.shadowEle.style.width = ((item.sizeX * (this.getCellSize()[0] + (this.cellSpacing[0])))) + 'px';
|
662
672
|
if (oldSizeX !== item.sizeX || oldSizeY !== item.sizeY) {
|
@@ -673,6 +683,7 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
673
683
|
};
|
674
684
|
this.setAttributes(value, el);
|
675
685
|
this.mainElement = el;
|
686
|
+
this.checkCollision = [];
|
676
687
|
this.updatePanelLayout(el, this.getCellInstance(el.id));
|
677
688
|
this.updateOldRowColumn();
|
678
689
|
this.sortedPanel();
|
@@ -753,12 +764,11 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
753
764
|
return item;
|
754
765
|
};
|
755
766
|
DashboardLayout.prototype.pixelsToColumns = function (pixels, isCeil) {
|
756
|
-
var curColWidth = this.cellSize[0];
|
757
767
|
if (isCeil) {
|
758
|
-
return Math.ceil(pixels /
|
768
|
+
return Math.ceil(pixels / this.cellSize[0]);
|
759
769
|
}
|
760
770
|
else {
|
761
|
-
return Math.floor(pixels /
|
771
|
+
return Math.floor(pixels / (this.cellSize[0] + this.cellSpacing[0]));
|
762
772
|
}
|
763
773
|
};
|
764
774
|
DashboardLayout.prototype.pixelsToRows = function (pixels, isCeil) {
|
package/src/splitter/splitter.js
CHANGED
@@ -1812,6 +1812,9 @@ var Splitter = /** @class */ (function (_super) {
|
|
1812
1812
|
if (this.paneSettings[i].size === '') {
|
1813
1813
|
flexPaneCount = flexPaneCount + 1;
|
1814
1814
|
}
|
1815
|
+
else if ((!this.isReact) && this.allPanes[i].style.flexBasis !== '') {
|
1816
|
+
this.paneSettings[i].size = this.allPanes[i].style.flexBasis;
|
1817
|
+
}
|
1815
1818
|
}
|
1816
1819
|
var allFlexiblePanes = flexPaneCount === this.allPanes.length;
|
1817
1820
|
// Two flexible Pane Case.
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './material3-definition.scss';
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// Avatar Base
|
2
|
+
$avatar-base-border-radius: 4px !default;
|
3
|
+
$avatar-base-background-color: rgba($primary-light) !default;
|
4
|
+
$avatar-base-font-size: $text-xl !default;
|
5
|
+
$avatar-base-width: 40px !default;
|
6
|
+
$avatar-base-height: 40px !default;
|
7
|
+
$avatar-base-line-height: 20px !default;
|
8
|
+
$avatar-base-text-color: rgba($primary-darker) !default;
|
9
|
+
$avatar-base-font-weight: 500 !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: 14px !default;
|
17
|
+
$avatar-small-font-size: 18px !default;
|
18
|
+
$avatar-large-font-size: 26px !default;
|
19
|
+
$avatar-xlarge-font-size: 30px !default;
|
20
|
+
$avatar-large-border-radius: 4px !default;
|
21
|
+
|
22
|
+
// Avatar Line Height
|
23
|
+
$avatar-base-xsmall-line-height: 14px !default;
|
24
|
+
$avatar-base-small-line-height: 18px !default;
|
25
|
+
$avatar-base-large-line-height: 26px !default;
|
26
|
+
$avatar-base-xlarge-line-height: 30px !default;
|
@@ -0,0 +1,114 @@
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
2
|
+
:root {
|
3
|
+
--color-sf-black: 0, 0, 0;
|
4
|
+
--color-sf-white: 255, 255, 255;
|
5
|
+
--color-sf-primary: 208, 188, 255;
|
6
|
+
--color-sf-primary-container: 79, 55, 139;
|
7
|
+
--color-sf-secondary: 204, 194, 220;
|
8
|
+
--color-sf-secondary-container: 74, 68, 88;
|
9
|
+
--color-sf-tertiary: 239, 184, 200;
|
10
|
+
--color-sf-tertiary-container: 99, 59, 72;
|
11
|
+
--color-sf-surface: 28, 27, 31;
|
12
|
+
--color-sf-surface-variant: 73, 69, 79;
|
13
|
+
--color-sf-background: var(--color-sf-surface);
|
14
|
+
--color-sf-on-primary: 55, 30, 115;
|
15
|
+
--color-sf-on-primary-container: 234, 221, 255;
|
16
|
+
--color-sf-on-secondary: 51, 45, 65;
|
17
|
+
--color-sf-on-secondary-container: 232, 222, 248;
|
18
|
+
--color-sf-on-tertiary: 73, 37, 50;
|
19
|
+
--color-sf-on-tertiary-containe: 255, 216, 228;
|
20
|
+
--color-sf-on-surface: 230, 225, 229;
|
21
|
+
--color-sf-on-surface-variant: 202, 196, 208;
|
22
|
+
--color-sf-on-background: 230, 225, 229;
|
23
|
+
--color-sf-outline: 147, 143, 153;
|
24
|
+
--color-sf-outline-variant: 68, 71, 70;
|
25
|
+
--color-sf-shadow: 0, 0, 0;
|
26
|
+
--color-sf-surface-tint-color: 208, 188, 255;
|
27
|
+
--color-sf-inverse-surface: 230, 225, 229;
|
28
|
+
--color-sf-inverse-on-surface: 49, 48, 51;
|
29
|
+
--color-sf-inverse-primary: 103, 80, 164;
|
30
|
+
--color-sf-scrim: 0, 0, 0;
|
31
|
+
--color-sf-error: 242, 184, 181;
|
32
|
+
--color-sf-error-container: 140, 29, 24;
|
33
|
+
--color-sf-on-error: 96, 20, 16;
|
34
|
+
--color-sf-on-error-container: 249, 222, 220;
|
35
|
+
--color-sf-success: 83, 202, 23;
|
36
|
+
--color-sf-success-container: 22, 62, 2;
|
37
|
+
--color-sf-on-success: 13, 39, 0;
|
38
|
+
--color-sf-on-success-container: 183, 250, 150;
|
39
|
+
--color-sf-info: 71, 172, 251;
|
40
|
+
--color-sf-info-container: 0, 67, 120;
|
41
|
+
--color-sf-on-info: 0, 51, 91;
|
42
|
+
--color-sf-on-info-container: 173, 219, 255;
|
43
|
+
--color-sf-warning: 245, 180, 130;
|
44
|
+
--color-sf-warning-container: 123, 65, 0;
|
45
|
+
--color-sf-on-warning: 99, 52, 0;
|
46
|
+
--color-sf-on-warning-container: 255, 220, 193;
|
47
|
+
--color-sf-spreadsheet-gridline: 231, 224, 236;
|
48
|
+
--color-sf-shadow-focus-ring1: 0 0 0 1px #000000, 0 0 0 3px #ffffff;
|
49
|
+
--color-sf-success-text: 0, 0, 0;
|
50
|
+
--color-sf-warning-text: 0, 0, 0;
|
51
|
+
--color-sf-info-text: 0, 0, 0;
|
52
|
+
--color-sf-danger-text: 0, 0, 0;
|
53
|
+
--color-sf-diagram-palette-background: var(--color-sf-inverse-surface);
|
54
|
+
--color-sf-content-text-color-alt2: var(--color-sf-on-secondary);
|
55
|
+
}
|
56
|
+
|
57
|
+
.e-avatar {
|
58
|
+
-ms-flex-line-pack: center;
|
59
|
+
align-content: center;
|
60
|
+
-ms-flex-align: center;
|
61
|
+
align-items: center;
|
62
|
+
background-color: rgba(var(--color-sf-primary-container));
|
63
|
+
background-position: center;
|
64
|
+
background-repeat: no-repeat;
|
65
|
+
background-size: cover;
|
66
|
+
border-radius: 4px;
|
67
|
+
color: rgba(var(--color-sf-on-primary-container));
|
68
|
+
display: -ms-inline-flexbox;
|
69
|
+
display: inline-flex;
|
70
|
+
font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
|
71
|
+
font-size: 20px;
|
72
|
+
font-weight: 500;
|
73
|
+
height: 40px;
|
74
|
+
-ms-flex-pack: center;
|
75
|
+
justify-content: center;
|
76
|
+
overflow: hidden;
|
77
|
+
position: relative;
|
78
|
+
width: 40px;
|
79
|
+
line-height: 20px;
|
80
|
+
}
|
81
|
+
.e-avatar img {
|
82
|
+
height: 100%;
|
83
|
+
width: auto;
|
84
|
+
}
|
85
|
+
.e-avatar.e-avatar-circle {
|
86
|
+
border-radius: 50%;
|
87
|
+
}
|
88
|
+
.e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
|
89
|
+
border-radius: 50%;
|
90
|
+
}
|
91
|
+
.e-avatar.e-avatar-xsmall {
|
92
|
+
font-size: 14px;
|
93
|
+
height: 24px;
|
94
|
+
line-height: 14px;
|
95
|
+
width: 24px;
|
96
|
+
}
|
97
|
+
.e-avatar.e-avatar-small {
|
98
|
+
font-size: 18px;
|
99
|
+
height: 32px;
|
100
|
+
line-height: 18px;
|
101
|
+
width: 32px;
|
102
|
+
}
|
103
|
+
.e-avatar.e-avatar-large {
|
104
|
+
font-size: 26px;
|
105
|
+
height: 48px;
|
106
|
+
line-height: 26px;
|
107
|
+
width: 48px;
|
108
|
+
}
|
109
|
+
.e-avatar.e-avatar-xlarge {
|
110
|
+
font-size: 30px;
|
111
|
+
height: 56px;
|
112
|
+
line-height: 30px;
|
113
|
+
width: 56px;
|
114
|
+
}
|
@@ -0,0 +1,170 @@
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap");
|
2
|
+
:root {
|
3
|
+
--color-sf-black: 0, 0, 0;
|
4
|
+
--color-sf-white: 255, 255, 255;
|
5
|
+
--color-sf-primary: 103, 80, 164;
|
6
|
+
--color-sf-primary-container: 234, 221, 255;
|
7
|
+
--color-sf-secondary: 98, 91, 113;
|
8
|
+
--color-sf-secondary-container: 232, 222, 248;
|
9
|
+
--color-sf-tertiary: 125, 82, 96;
|
10
|
+
--color-sf-tertiary-container: 255, 216, 228;
|
11
|
+
--color-sf-surface: 255, 255, 255;
|
12
|
+
--color-sf-surface-variant: 231, 224, 236;
|
13
|
+
--color-sf-background: var(--color-sf-surface);
|
14
|
+
--color-sf-on-primary: 255, 255, 255;
|
15
|
+
--color-sf-on-primary-container: 33, 0, 94;
|
16
|
+
--color-sf-on-secondary: 255, 255, 255;
|
17
|
+
--color-sf-on-secondary-container: 30, 25, 43;
|
18
|
+
--color-sf-on-tertiary: 255, 255, 255;
|
19
|
+
--color-sf-on-tertiary-containe: 55, 11, 30;
|
20
|
+
--color-sf-on-surface: 28, 27, 31;
|
21
|
+
--color-sf-on-surface-variant: 73, 69, 78;
|
22
|
+
--color-sf-on-background: 28, 27, 31;
|
23
|
+
--color-sf-outline: 121, 116, 126;
|
24
|
+
--color-sf-outline-variant: 196, 199, 197;
|
25
|
+
--color-sf-shadow: 0, 0, 0;
|
26
|
+
--color-sf-surface-tint-color: 103, 80, 164;
|
27
|
+
--color-sf-inverse-surface: 49, 48, 51;
|
28
|
+
--color-sf-inverse-on-surface: 244, 239, 244;
|
29
|
+
--color-sf-inverse-primary: 208, 188, 255;
|
30
|
+
--color-sf-scrim: 0, 0, 0;
|
31
|
+
--color-sf-error: 179, 38, 30;
|
32
|
+
--color-sf-error-container: 249, 222, 220;
|
33
|
+
--color-sf-on-error: 255, 250, 250;
|
34
|
+
--color-sf-on-error-container: 65, 14, 11;
|
35
|
+
--color-sf-success: 32, 81, 7;
|
36
|
+
--color-sf-success-container: 209, 255, 186;
|
37
|
+
--color-sf-on-success: 244, 255, 239;
|
38
|
+
--color-sf-on-success-container: 13, 39, 0;
|
39
|
+
--color-sf-info: 1, 87, 155;
|
40
|
+
--color-sf-info-container: 233, 245, 255;
|
41
|
+
--color-sf-on-info: 250, 253, 255;
|
42
|
+
--color-sf-on-info-container: 0, 51, 91;
|
43
|
+
--color-sf-warning: 145, 76, 0;
|
44
|
+
--color-sf-warning-container: 254, 236, 222;
|
45
|
+
--color-sf-on-warning: 255, 255, 255;
|
46
|
+
--color-sf-on-warning-container: 47, 21, 0;
|
47
|
+
--color-sf-spreadsheet-gridline: var(--color-sf-surface-variant);
|
48
|
+
--color-sf-shadow-focus-ring1: 0 0 0 1px rgb(255, 255, 255), 0 0 0 3px rgb(0, 0, 0);
|
49
|
+
--color-sf-diagram-palette-background: --color-sf-white;
|
50
|
+
--color-sf-success-text: 255, 255, 255;
|
51
|
+
--color-sf-warning-text: 255, 255, 255;
|
52
|
+
--color-sf-danger-text: 255, 255, 255;
|
53
|
+
--color-sf-info-text: 255, 255, 255;
|
54
|
+
--color-sf-content-text-color-alt2: var(--color-sf-on-secondary-container);
|
55
|
+
--color-sf-secondary-bg-color: var(--color-sf-surface);
|
56
|
+
}
|
57
|
+
|
58
|
+
.e-dark-mode {
|
59
|
+
--color-sf-black: 0, 0, 0;
|
60
|
+
--color-sf-white: 255, 255, 255;
|
61
|
+
--color-sf-primary: 208, 188, 255;
|
62
|
+
--color-sf-primary-container: 79, 55, 139;
|
63
|
+
--color-sf-secondary: 204, 194, 220;
|
64
|
+
--color-sf-secondary-container: 74, 68, 88;
|
65
|
+
--color-sf-tertiary: 239, 184, 200;
|
66
|
+
--color-sf-tertiary-container: 99, 59, 72;
|
67
|
+
--color-sf-surface: 28, 27, 31;
|
68
|
+
--color-sf-surface-variant: 28, 27, 31;
|
69
|
+
--color-sf-background: var(--color-sf-surface);
|
70
|
+
--color-sf-on-primary: 55, 30, 115;
|
71
|
+
--color-sf-on-primary-container: 234, 221, 255;
|
72
|
+
--color-sf-on-secondary: 51, 45, 65;
|
73
|
+
--color-sf-on-secondary-container: 232, 222, 248;
|
74
|
+
--color-sf-on-tertiary: 73, 37, 50;
|
75
|
+
--color-sf-on-tertiary-containe: 255, 216, 228;
|
76
|
+
--color-sf-on-surface: 230, 225, 229;
|
77
|
+
--color-sf-on-surface-variant: 202, 196, 208;
|
78
|
+
--color-sf-on-background: 230, 225, 229;
|
79
|
+
--color-sf-outline: 147, 143, 153;
|
80
|
+
--color-sf-outline-variant: 68, 71, 70;
|
81
|
+
--color-sf-shadow: 0, 0, 0;
|
82
|
+
--color-sf-surface-tint-color: 208, 188, 255;
|
83
|
+
--color-sf-inverse-surface: 230, 225, 229;
|
84
|
+
--color-sf-inverse-on-surface: 49, 48, 51;
|
85
|
+
--color-sf-inverse-primary: 103, 80, 164;
|
86
|
+
--color-sf-scrim: 0, 0, 0;
|
87
|
+
--color-sf-error: 242, 184, 181;
|
88
|
+
--color-sf-error-container: 140, 29, 24;
|
89
|
+
--color-sf-on-error: 96, 20, 16;
|
90
|
+
--color-sf-on-error-container: 249, 222, 220;
|
91
|
+
--color-sf-success: 83, 202, 23;
|
92
|
+
--color-sf-success-container: 22, 62, 2;
|
93
|
+
--color-sf-on-success: 13, 39, 0;
|
94
|
+
--color-sf-on-success-container: 183, 250, 150;
|
95
|
+
--color-sf-info: 71, 172, 251;
|
96
|
+
--color-sf-info-container: 0, 67, 120;
|
97
|
+
--color-sf-on-info: 0, 51, 91;
|
98
|
+
--color-sf-on-info-container: 173, 219, 255;
|
99
|
+
--color-sf-warning: 245, 180, 130;
|
100
|
+
--color-sf-warning-container: 123, 65, 0;
|
101
|
+
--color-sf-on-warning: 99, 52, 0;
|
102
|
+
--color-sf-on-warning-container: 255, 220, 193;
|
103
|
+
--color-sf-spreadsheet-gridline: 231, 224, 236;
|
104
|
+
--color-sf-shadow-focus-ring1: 0 0 0 1px #000000, 0 0 0 3px #ffffff;
|
105
|
+
--color-sf-success-text: 0, 0, 0;
|
106
|
+
--color-sf-warning-text: 0, 0, 0;
|
107
|
+
--color-sf-info-text: 0, 0, 0;
|
108
|
+
--color-sf-danger-text: 0, 0, 0;
|
109
|
+
--color-sf-diagram-palette-background: var(--color-sf-inverse-surface);
|
110
|
+
--color-sf-content-text-color-alt2: var(--color-sf-on-secondary);
|
111
|
+
}
|
112
|
+
|
113
|
+
.e-avatar {
|
114
|
+
-ms-flex-line-pack: center;
|
115
|
+
align-content: center;
|
116
|
+
-ms-flex-align: center;
|
117
|
+
align-items: center;
|
118
|
+
background-color: rgba(var(--color-sf-primary-container));
|
119
|
+
background-position: center;
|
120
|
+
background-repeat: no-repeat;
|
121
|
+
background-size: cover;
|
122
|
+
border-radius: 4px;
|
123
|
+
color: rgba(var(--color-sf-on-primary-container));
|
124
|
+
display: -ms-inline-flexbox;
|
125
|
+
display: inline-flex;
|
126
|
+
font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
|
127
|
+
font-size: 20px;
|
128
|
+
font-weight: 500;
|
129
|
+
height: 40px;
|
130
|
+
-ms-flex-pack: center;
|
131
|
+
justify-content: center;
|
132
|
+
overflow: hidden;
|
133
|
+
position: relative;
|
134
|
+
width: 40px;
|
135
|
+
line-height: 20px;
|
136
|
+
}
|
137
|
+
.e-avatar img {
|
138
|
+
height: 100%;
|
139
|
+
width: auto;
|
140
|
+
}
|
141
|
+
.e-avatar.e-avatar-circle {
|
142
|
+
border-radius: 50%;
|
143
|
+
}
|
144
|
+
.e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
|
145
|
+
border-radius: 50%;
|
146
|
+
}
|
147
|
+
.e-avatar.e-avatar-xsmall {
|
148
|
+
font-size: 14px;
|
149
|
+
height: 24px;
|
150
|
+
line-height: 14px;
|
151
|
+
width: 24px;
|
152
|
+
}
|
153
|
+
.e-avatar.e-avatar-small {
|
154
|
+
font-size: 18px;
|
155
|
+
height: 32px;
|
156
|
+
line-height: 18px;
|
157
|
+
width: 32px;
|
158
|
+
}
|
159
|
+
.e-avatar.e-avatar-large {
|
160
|
+
font-size: 26px;
|
161
|
+
height: 48px;
|
162
|
+
line-height: 26px;
|
163
|
+
width: 48px;
|
164
|
+
}
|
165
|
+
.e-avatar.e-avatar-xlarge {
|
166
|
+
font-size: 30px;
|
167
|
+
height: 56px;
|
168
|
+
line-height: 30px;
|
169
|
+
width: 56px;
|
170
|
+
}
|
package/styles/bootstrap4.css
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
}
|
57
57
|
.e-bigger .e-card .e-card-content,
|
58
58
|
.e-bigger.e-card .e-card-content {
|
59
|
-
font-size:
|
59
|
+
font-size: 14px;
|
60
60
|
}
|
61
61
|
.e-bigger .e-card > .e-card-header-title,
|
62
62
|
.e-bigger.e-card > .e-card-header-title {
|
@@ -92,6 +92,7 @@
|
|
92
92
|
.e-bigger.e-card .e-card-header {
|
93
93
|
min-height: 30px;
|
94
94
|
padding: 20px;
|
95
|
+
padding-bottom: 0;
|
95
96
|
}
|
96
97
|
.e-bigger .e-card .e-card-header .e-card-content,
|
97
98
|
.e-bigger.e-card .e-card-header .e-card-content {
|
@@ -178,7 +179,7 @@
|
|
178
179
|
}
|
179
180
|
.e-bigger .e-card .e-card-content,
|
180
181
|
.e-bigger.e-card .e-card-content {
|
181
|
-
padding:
|
182
|
+
padding: 16px;
|
182
183
|
}
|
183
184
|
.e-bigger .e-card .e-card-content + :not(.e-card-content),
|
184
185
|
.e-bigger .e-card .e-card-content + .e-card-actions.e-card-vertical,
|
@@ -60,6 +60,7 @@ $card-hor-image-bigger-margin: 2px !default;
|
|
60
60
|
$card-sep-bigger-margin: 16px 0 !default;
|
61
61
|
$card-header-bigger-minheight: 30px !default;
|
62
62
|
$card-header-bigger-padding: 20px !default;
|
63
|
+
$card-header-bigger-padding-bottom: 0 !default;
|
63
64
|
$card-header-txt-bigger-padding: 0 0 0 12px !default;
|
64
65
|
$card-header-txt-title-bigger-lheight: 24px !default;
|
65
66
|
$card-header-txt-title-bigger-padding: 12px 0 0 !default;
|
@@ -76,10 +77,10 @@ $card-action-bigger-btn-vertical-margin: 0 0 10px 0 !default;
|
|
76
77
|
$card-action-btn-bigger-height: 38px !default;
|
77
78
|
$card-action-btn-bigger-margin: 0 0 0 20px !default;
|
78
79
|
$card-action-btn-bigger-padding: 0 6px !default;
|
79
|
-
$card-bigger-content-padding:
|
80
|
+
$card-bigger-content-padding: 16px !default;
|
80
81
|
$card-header-txt-bigger-title-font: 20px !default;
|
81
82
|
$card-txt-bigger-title-font: 20px !default;
|
82
|
-
$card-content-bigger-font-size:
|
83
|
+
$card-content-bigger-font-size: 14px !default;
|
83
84
|
$card-header-txt-bigger-subtitle-font: 16px !default;
|
84
85
|
$card-image-title-bigger-font: 20px !default;
|
85
86
|
$card-action-btn-bigger-icon-width: 24px !default;
|
package/styles/card/_layout.scss
CHANGED
@@ -52,7 +52,7 @@
|
|
52
52
|
min-height: $card-header-bigger-minheight;
|
53
53
|
padding: $card-header-bigger-padding;
|
54
54
|
|
55
|
-
@if $skin-name == 'bootstrap5' {
|
55
|
+
@if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap4' {
|
56
56
|
padding-bottom: $card-header-bigger-padding-bottom;
|
57
57
|
}
|
58
58
|
|
@@ -178,7 +178,7 @@
|
|
178
178
|
&:hover {
|
179
179
|
@if $skin-name == 'fabric' or $skin-name == 'highcontrast' {
|
180
180
|
border-width: 2px;
|
181
|
-
padding:
|
181
|
+
padding: 1px;
|
182
182
|
}
|
183
183
|
}
|
184
184
|
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './material3-definition.scss';
|