@basis-ng/styles 0.0.1-alpha.36 → 0.0.1-alpha.38
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/package.json
CHANGED
|
@@ -152,7 +152,6 @@ button[b-button] {
|
|
|
152
152
|
font-size: 0.857rem;
|
|
153
153
|
|
|
154
154
|
&.squared {
|
|
155
|
-
padding-inline: 0;
|
|
156
155
|
width: 1.714rem;
|
|
157
156
|
}
|
|
158
157
|
}
|
|
@@ -163,7 +162,6 @@ button[b-button] {
|
|
|
163
162
|
font-size: 1rem;
|
|
164
163
|
|
|
165
164
|
&.squared {
|
|
166
|
-
padding-inline: 0;
|
|
167
165
|
width: 2.286rem;
|
|
168
166
|
}
|
|
169
167
|
}
|
|
@@ -174,7 +172,6 @@ button[b-button] {
|
|
|
174
172
|
font-size: 1.143rem;
|
|
175
173
|
|
|
176
174
|
&.squared {
|
|
177
|
-
padding-inline: 0;
|
|
178
175
|
width: 2.857rem;
|
|
179
176
|
}
|
|
180
177
|
}
|
|
@@ -1,110 +1,53 @@
|
|
|
1
1
|
b-input-group {
|
|
2
|
-
--exterior-padding: clamp(
|
|
3
|
-
1rem,
|
|
4
|
-
calc(0.75rem + var(--radius, 0.5rem) / 2),
|
|
5
|
-
1.3rem
|
|
6
|
-
);
|
|
7
|
-
|
|
8
|
-
width: 100%;
|
|
9
|
-
background-color: var(--input-background);
|
|
10
|
-
border-radius: var(--radius, 0.5rem);
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
border-width: 1px;
|
|
13
|
-
border-style: solid;
|
|
14
|
-
border-color: var(--border-color, transparent);
|
|
15
|
-
transition:
|
|
16
|
-
opacity 0.2s,
|
|
17
|
-
padding-top 0.2s,
|
|
18
|
-
padding-bottom 0.2s,
|
|
19
|
-
background-color 0.2s,
|
|
20
|
-
border-color 0.2s;
|
|
21
|
-
font-size: 1rem;
|
|
22
|
-
color: var(--input-foreground, #798194);
|
|
23
2
|
display: flex;
|
|
24
3
|
align-items: center;
|
|
4
|
+
border-radius: var(--radius);
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
background-color: var(--input-background);
|
|
7
|
+
border: 1px solid var(--border-color, transparent);
|
|
25
8
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
i svg {
|
|
32
|
-
stroke: var(--error-foreground, #c40000ab);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
button {
|
|
36
|
-
color: var(--error-foreground, #c40000ab);
|
|
37
|
-
background-color: var(--error, #fff0f0);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
select,
|
|
42
|
-
input,
|
|
43
|
-
button,
|
|
44
|
-
b-label input,
|
|
45
|
-
b-label select {
|
|
46
|
-
border-radius: 0px !important;
|
|
47
|
-
border-width: 0px !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:not(:has(b-label)) select:not(:first-child),
|
|
51
|
-
&:not(:has(b-label)) input:not(:first-child),
|
|
52
|
-
button:not(:first-child),
|
|
53
|
-
b-label:not(:first-child) input,
|
|
54
|
-
b-label:not(:first-child) select {
|
|
55
|
-
padding-left: 0.8rem !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
b-label:not(:first-child) label {
|
|
59
|
-
left: 0.8rem !important;
|
|
9
|
+
input[b-input] {
|
|
10
|
+
border: none;
|
|
11
|
+
outline-width: 0 !important;
|
|
12
|
+
padding: 0 !important;
|
|
13
|
+
border-radius: 0 !important;
|
|
60
14
|
}
|
|
61
15
|
|
|
62
|
-
&:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
b-label:not(:last-child) input,
|
|
66
|
-
b-label:not(:last-child) select {
|
|
67
|
-
padding-right: 0.8rem !important;
|
|
16
|
+
&:has(:focus-visible) {
|
|
17
|
+
outline: 2px solid var(--primary, #0a0a0a);
|
|
18
|
+
outline-offset: 2px;
|
|
68
19
|
}
|
|
69
20
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
button:first-child,
|
|
76
|
-
b-label:first-child input,
|
|
77
|
-
b-label:first-child select {
|
|
78
|
-
border-top-left-radius: var(--radius) !important;
|
|
79
|
-
border-bottom-left-radius: var(--radius) !important;
|
|
21
|
+
&:has(.size-1) {
|
|
22
|
+
padding: 0.357rem 0.5rem;
|
|
23
|
+
height: 1.714rem;
|
|
24
|
+
gap: 0.5rem;
|
|
25
|
+
font-size: 0.857rem;
|
|
80
26
|
}
|
|
81
27
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
border-top-right-radius: var(--radius) !important;
|
|
88
|
-
border-bottom-right-radius: var(--radius) !important;
|
|
28
|
+
&:has(.size-2) {
|
|
29
|
+
padding: 0.5rem 0.75rem;
|
|
30
|
+
height: 2.286rem;
|
|
31
|
+
gap: 0.75rem;
|
|
32
|
+
font-size: 1rem;
|
|
89
33
|
}
|
|
90
34
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
35
|
+
&:has(.size-3) {
|
|
36
|
+
padding: 0.786rem 1rem;
|
|
37
|
+
min-height: 2.857rem;
|
|
38
|
+
gap: 1rem;
|
|
39
|
+
font-size: 1.143rem;
|
|
94
40
|
}
|
|
95
41
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
padding-inline: 0 var(--exterior-padding);
|
|
42
|
+
&:has(button[b-button]:last-child) {
|
|
43
|
+
padding-right: 0.285rem;
|
|
99
44
|
}
|
|
100
45
|
|
|
101
|
-
button {
|
|
102
|
-
|
|
103
|
-
max-height: 100%;
|
|
104
|
-
font-size: 0.88rem;
|
|
46
|
+
&:has(button[b-button]:first-child) {
|
|
47
|
+
padding-left: 0.285rem;
|
|
105
48
|
}
|
|
106
49
|
|
|
107
|
-
button
|
|
108
|
-
|
|
50
|
+
button[b-button] {
|
|
51
|
+
border-radius: calc(var(--radius) - 0.2rem);
|
|
109
52
|
}
|
|
110
53
|
}
|
|
@@ -14,13 +14,13 @@ li[b-option] {
|
|
|
14
14
|
&.cdk-option-highlighted {
|
|
15
15
|
background-color: color-mix(
|
|
16
16
|
in srgb,
|
|
17
|
-
var(--
|
|
18
|
-
var(--background
|
|
17
|
+
var(--secondary) 50%,
|
|
18
|
+
var(--background)
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&[aria-selected='true'] {
|
|
23
|
-
background-color: var(--
|
|
24
|
-
color: var(--
|
|
23
|
+
background-color: var(--secondary);
|
|
24
|
+
color: var(--secondary-foreground);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -6,7 +6,7 @@ ul[b-select-options] {
|
|
|
6
6
|
position: relative;
|
|
7
7
|
background: var(--background, #ffffff);
|
|
8
8
|
box-shadow: 0 0 0.25rem 0.125rem rgba(1, 1, 1, 0.01);
|
|
9
|
-
border-radius: clamp(0rem, var(--radius
|
|
9
|
+
border-radius: clamp(0rem, var(--radius), 0.5rem);
|
|
10
10
|
border: 1px solid
|
|
11
11
|
color-mix(
|
|
12
12
|
in srgb,
|