@taiga-ui/styles 5.6.0 → 5.7.0-canary.baa7271
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/components/block.less +14 -0
- package/mixins/date-picker.scss +10 -6
- package/mixins/miscellaneous.scss +1 -1
- package/package.json +1 -1
package/components/block.less
CHANGED
|
@@ -45,6 +45,11 @@
|
|
|
45
45
|
--t-height: var(--tui-height-s);
|
|
46
46
|
--t-radius: var(--tui-radius-m);
|
|
47
47
|
|
|
48
|
+
&::before,
|
|
49
|
+
&::after {
|
|
50
|
+
font-size: 1rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
48
53
|
[tuiSubtitle] {
|
|
49
54
|
font: var(--tui-typography-ui-2xs);
|
|
50
55
|
}
|
|
@@ -62,6 +67,11 @@
|
|
|
62
67
|
--t-height: var(--tui-height-m);
|
|
63
68
|
--t-radius: var(--tui-radius-m);
|
|
64
69
|
|
|
70
|
+
&::before,
|
|
71
|
+
&::after {
|
|
72
|
+
margin: -0.125rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
65
75
|
input:not([tuiBlock]) {
|
|
66
76
|
margin: 0.125rem;
|
|
67
77
|
}
|
|
@@ -92,6 +102,10 @@
|
|
|
92
102
|
pointer-events: none;
|
|
93
103
|
border-radius: inherit;
|
|
94
104
|
padding: 0;
|
|
105
|
+
|
|
106
|
+
&[type='file'] {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
95
109
|
}
|
|
96
110
|
|
|
97
111
|
[tuiAvatar] {
|
package/mixins/date-picker.scss
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
border: 0.125rem solid transparent;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
mask: linear-gradient(
|
|
29
|
+
mask-image: linear-gradient(
|
|
30
30
|
transparent calc(50% - 1rem),
|
|
31
31
|
#000 calc(50% - 1rem),
|
|
32
32
|
#000 calc(50% + 1rem),
|
|
@@ -51,10 +51,14 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&::after {
|
|
54
|
-
mask:
|
|
55
|
-
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>')
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
mask-image:
|
|
55
|
+
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),
|
|
56
|
+
linear-gradient(#000, #000);
|
|
57
|
+
mask-repeat: no-repeat;
|
|
58
|
+
mask-position: right, left;
|
|
59
|
+
mask-size:
|
|
60
|
+
0.75rem 100%,
|
|
61
|
+
calc(100% - 0.7rem) 100%;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
&[data-range]::before {
|
|
@@ -123,7 +127,7 @@
|
|
|
123
127
|
|
|
124
128
|
&::after {
|
|
125
129
|
background: var(--tui-background-accent-1);
|
|
126
|
-
mask: none;
|
|
130
|
+
mask-image: none;
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
|