@objectifthunes/whiteboard 0.5.0 → 0.5.2
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/whiteboard.css +30 -0
- package/package.json +1 -1
package/dist/whiteboard.css
CHANGED
|
@@ -1606,6 +1606,36 @@ button.chip:hover {
|
|
|
1606
1606
|
font-size: var(--wb-fs-md);
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
|
+
/* inputs and chips inside a toolbar match the button rhythm */
|
|
1610
|
+
.toolbar input:not([type]),
|
|
1611
|
+
.toolbar input[type='text'],
|
|
1612
|
+
.toolbar input[type='number'],
|
|
1613
|
+
.toolbar input[type='search'] {
|
|
1614
|
+
padding: 0.38rem 0.45rem;
|
|
1615
|
+
font-size: var(--wb-fs-md);
|
|
1616
|
+
line-height: 1.2;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.toolbar .chip {
|
|
1620
|
+
/* the document name is primary info, not a tag — give it presence
|
|
1621
|
+
and a background that doesn't melt into the bar */
|
|
1622
|
+
font-size: var(--wb-fs-sm);
|
|
1623
|
+
color: var(--wb-text-secondary);
|
|
1624
|
+
background: var(--wb-surface-soft);
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/* the vertical toolbar reads as app chrome too — the GLYPHS carry the
|
|
1628
|
+
size, not the padding */
|
|
1629
|
+
.vertical-toolbar {
|
|
1630
|
+
padding: 0.4rem;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.vertical-toolbar .wb-btn--icon-only {
|
|
1634
|
+
padding: 0.45rem;
|
|
1635
|
+
font-size: var(--wb-fs-lg);
|
|
1636
|
+
line-height: 1;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1609
1639
|
/* ── Draggable ───────────────────────────────────────────────────────── */
|
|
1610
1640
|
.draggable {
|
|
1611
1641
|
cursor: grab;
|