barua-ui 0.3.2 → 0.3.4
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.
|
@@ -336,6 +336,17 @@
|
|
|
336
336
|
border: 1px solid var(--b-separator);
|
|
337
337
|
border-radius: var(--b-radius-lg);
|
|
338
338
|
}
|
|
339
|
+
|
|
340
|
+
/* A table inside a card must not bring its own frame.
|
|
341
|
+
The wrap carries a border and a smaller radius than the card, so its
|
|
342
|
+
corners cut inside the card's and the surface shows through as a notch —
|
|
343
|
+
the card already provides the edge, and two frames read as a mistake. */
|
|
344
|
+
.b-card > .b-table-wrap {
|
|
345
|
+
border: 0;
|
|
346
|
+
border-radius: 0;
|
|
347
|
+
background: transparent;
|
|
348
|
+
}
|
|
349
|
+
|
|
339
350
|
.b-table {
|
|
340
351
|
width: 100%;
|
|
341
352
|
border-collapse: collapse;
|
|
@@ -258,6 +258,10 @@
|
|
|
258
258
|
/* ---- Circular Progress / Gauge ring ----------------------------------------------- */
|
|
259
259
|
.b-circular {
|
|
260
260
|
--b-progress: 0;
|
|
261
|
+
/* Its own colour, defaulting to the accent. Without this a caller tinting
|
|
262
|
+
one ring had to override --b-color-accent inline, which re-tints
|
|
263
|
+
everything inside it and breaks the one rule about colour in markup. */
|
|
264
|
+
--b-circular-color: var(--b-color-accent);
|
|
261
265
|
--b-circular-size: 3rem;
|
|
262
266
|
--b-circular-track: 4px;
|
|
263
267
|
position: relative;
|
|
@@ -267,7 +271,7 @@
|
|
|
267
271
|
height: var(--b-circular-size);
|
|
268
272
|
border-radius: 50%;
|
|
269
273
|
background:
|
|
270
|
-
conic-gradient(var(--b-color
|
|
274
|
+
conic-gradient(var(--b-circular-color) calc(var(--b-progress) * 1%), transparent 0);
|
|
271
275
|
-webkit-mask: radial-gradient(farthest-side,
|
|
272
276
|
transparent calc(100% - var(--b-circular-track)),
|
|
273
277
|
#000 calc(100% - var(--b-circular-track) + 0.5px));
|