@onemrvapublic/design-system-theme 19.0.0-develop.1 → 19.0.0-develop.3
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.
|
@@ -3,15 +3,36 @@
|
|
|
3
3
|
@use './µ';
|
|
4
4
|
|
|
5
5
|
@mixin theme($theme) {
|
|
6
|
+
.cdk-drag-preview {
|
|
7
|
+
box-shadow:
|
|
8
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
9
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
10
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
11
|
+
height: 26px !important;
|
|
12
|
+
}
|
|
13
|
+
.cdk-drag-placeholder {
|
|
14
|
+
background: µ.primary($theme, 50);
|
|
15
|
+
border: dotted 2px µ.primary($theme, 500);
|
|
16
|
+
min-height: 58px;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
margin-bottom: 8px;
|
|
19
|
+
transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
|
|
20
|
+
}
|
|
21
|
+
.cdk-drop-list-dragging {
|
|
22
|
+
cursor: grabbing;
|
|
23
|
+
.cdk-drag:not(.mat-mdc-chip) {
|
|
24
|
+
cursor: inherit !important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
6
27
|
.cdk-drag:not(.mat-mdc-chip) {
|
|
7
|
-
transition: transform
|
|
28
|
+
// transition: transform 100ms cubic-bezier(0, 0, 0.2, 1);
|
|
8
29
|
position: relative;
|
|
9
30
|
display: flex;
|
|
10
31
|
background-color: µ.grayscale($theme, 50);
|
|
11
32
|
padding: 16px 16px 16px 56px;
|
|
12
33
|
border-radius: 8px;
|
|
13
|
-
|
|
14
34
|
cursor: grab;
|
|
35
|
+
margin-bottom: 8px;
|
|
15
36
|
|
|
16
37
|
&:before {
|
|
17
38
|
border-radius: 8px 0 0 8px;
|
|
@@ -32,20 +53,7 @@
|
|
|
32
53
|
}
|
|
33
54
|
}
|
|
34
55
|
|
|
35
|
-
|
|
36
|
-
background-color: µ.grayscale($theme, 200);
|
|
37
|
-
&:before {
|
|
38
|
-
background-color: µ.grayscale($theme, 200);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.cdk-drop-list-dragging {
|
|
43
|
-
cursor: grabbing;
|
|
44
|
-
}
|
|
56
|
+
//
|
|
45
57
|
|
|
46
|
-
|
|
47
|
-
.cdk-drag:not(.mat-mdc-chip) {
|
|
48
|
-
cursor: inherit !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
58
|
+
//
|
|
51
59
|
}
|