@eui/styles 15.0.0-rc.13 → 15.0.0-rc.15
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/dist/styles/eui-showcase-all.css +1 -1
- package/dist/styles/eui-showcase-all.css.map +1 -1
- package/dist/styles/eui.css +1 -1
- package/dist/styles/eui.css.map +1 -1
- package/package.json +1 -1
- package/src/styles/02-base/mixins/_module.scss +0 -2
- package/src/styles/05-material/_module.scss +1 -1
- package/src/styles/05-material/overrides/_calendar.scss +9 -0
- package/src/styles/05-material/overrides/_cdk-drag.scss +48 -0
- package/src/styles/05-material/overrides/_cdk-global-scrollblock.scss +18 -0
- package/src/styles/05-material/overrides/_cdk-overlay-container.scss +13 -0
- package/src/styles/05-material/overrides/_cdk-overlay-pane.scss +4 -0
- package/src/styles/05-material/overrides/_module.scss +5 -0
- package/src/styles/02-base/mixins/_eui-svg-icons-content.scss +0 -17
- package/src/styles/05-material/_overrides.scss +0 -51
package/package.json
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// MATERIAL Drag & Drop overrides
|
|
2
|
+
.cdk-drag-handle {
|
|
3
|
+
cursor: move !important;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.cdk-drop-list {
|
|
7
|
+
display: flex;
|
|
8
|
+
min-width: 100%;
|
|
9
|
+
|
|
10
|
+
&:not(.cdk-drop-list-disabled) {
|
|
11
|
+
min-height: v(eui-base-spacing-xl);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Animate items as they're being sorted
|
|
16
|
+
.cdk-drop-list-dragging .cdk-drag {
|
|
17
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Animate an item that has been dropped
|
|
21
|
+
.cdk-drag-animating {
|
|
22
|
+
transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Grabbed element
|
|
26
|
+
.cdk-drag-preview {
|
|
27
|
+
background-color: transparent; // v(eui-base-color-white);
|
|
28
|
+
box-shadow: none;
|
|
29
|
+
cursor: grab !important;
|
|
30
|
+
display: table; // trick to get the full row width
|
|
31
|
+
margin: 0 !important;
|
|
32
|
+
opacity: 1;
|
|
33
|
+
position: relative;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cdk-drag-dragging {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.cdk-drag-placeholder {
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
opacity: 0.35;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
outline: 2px dashed v(eui-base-color-grey-35);
|
|
46
|
+
outline-offset: 2px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Disable global scrollbars (used in full screen eui-dialog for example)
|
|
2
|
+
.cdk-global-scrollblock {
|
|
3
|
+
position: fixed;
|
|
4
|
+
overflow-y: visible; // Material default: scroll
|
|
5
|
+
width: 100%;
|
|
6
|
+
@include eui-scrollbars;
|
|
7
|
+
top: 0 !important;
|
|
8
|
+
left: 0 !important;
|
|
9
|
+
}
|
|
10
|
+
@include media($eui-bkp-mobile) {
|
|
11
|
+
.cdk-global-scrollblock {
|
|
12
|
+
height: 100%;
|
|
13
|
+
overflow: auto;
|
|
14
|
+
position: fixed;
|
|
15
|
+
width: 100%;
|
|
16
|
+
@include eui-scrollbars;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.cdk-overlay-container {
|
|
2
|
+
z-index: v(eui-base-z-index-cdk-overlay-container); // MD: 1000
|
|
3
|
+
|
|
4
|
+
.mat-menu-panel {
|
|
5
|
+
max-width: inherit;
|
|
6
|
+
min-height: v(eui-base-spacing-l);
|
|
7
|
+
@include eui-scrollbars;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-autocomplete-panel {
|
|
11
|
+
@include eui-scrollbars;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
@mixin euiSvgCheckmarkWhite() {
|
|
2
|
-
height: 1rem;
|
|
3
|
-
width: 1rem;
|
|
4
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3ECheckmark%3C/title%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='64' d='M416 128L192 384l-96-96'/%3E%3C/svg%3E");
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@mixin euiSvgChevronForward() {
|
|
8
|
-
height: 1rem;
|
|
9
|
-
width: 1rem;
|
|
10
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3EChevron Forward%3C/title%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144'/%3E%3C/svg%3E");
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin euiSvgChevronDown() {
|
|
14
|
-
height: 1rem;
|
|
15
|
-
width: 1rem;
|
|
16
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Ctitle%3EChevron Down%3C/title%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144'/%3E%3C/svg%3E");
|
|
17
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
.cdk-overlay-pane {
|
|
2
|
-
background-color: white;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// Disable global scrollbars (used in full screen eui-dialog for example)
|
|
6
|
-
.cdk-global-scrollblock {
|
|
7
|
-
position: fixed;
|
|
8
|
-
overflow-y: visible;
|
|
9
|
-
width: 100%;
|
|
10
|
-
@include eui-scrollbars;
|
|
11
|
-
top: 0 !important;
|
|
12
|
-
left: 0 !important;
|
|
13
|
-
}
|
|
14
|
-
@include media($eui-bkp-mobile) {
|
|
15
|
-
.cdk-global-scrollblock {
|
|
16
|
-
height: 100%;
|
|
17
|
-
overflow: auto;
|
|
18
|
-
position: fixed;
|
|
19
|
-
width: 100%;
|
|
20
|
-
@include eui-scrollbars;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.cdk-drop-list {
|
|
25
|
-
display: flex;
|
|
26
|
-
min-width: 100%;
|
|
27
|
-
|
|
28
|
-
&:not(.cdk-drop-list-disabled) {
|
|
29
|
-
min-height: v(eui-base-spacing-xl);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.mat-mdc-input-element {
|
|
34
|
-
@include eui-input();
|
|
35
|
-
|
|
36
|
-
margin-top: 0 !important;
|
|
37
|
-
|
|
38
|
-
&.custom-select {
|
|
39
|
-
background: white;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:disabled {
|
|
43
|
-
background-color: #f5f5f5;
|
|
44
|
-
color: v(eui-base-color-grey-90) !important;
|
|
45
|
-
cursor: not-allowed !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.mat-calendar {
|
|
50
|
-
font-size: small;
|
|
51
|
-
}
|