@polyxd/web 0.3.0 → 0.4.0
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/NOTICE +32 -0
- package/package.json +3 -3
- package/preview/polyxd-web.css +1 -1
- package/preview/polyxd-web.js +6 -13
- package/styles.css +12 -0
package/styles.css
CHANGED
|
@@ -1281,6 +1281,18 @@ textarea.pxd-input {
|
|
|
1281
1281
|
.pxd-person-row[data-state="checked"] .pxd-option-description {
|
|
1282
1282
|
color: inherit;
|
|
1283
1283
|
}
|
|
1284
|
+
/* On a selected row the avatar's own tone can match the selection colour, so the face would vanish
|
|
1285
|
+
into the row. Tones built from the selection or neutral surfaces move to the plain surface, and
|
|
1286
|
+
every face gets a surface ring to keep its edge. */
|
|
1287
|
+
.pxd-person-row[data-state="checked"] .pxd-avatar {
|
|
1288
|
+
box-shadow: 0 0 0 var(--pxd-border-width-strong) var(--pxd-color-surface-default);
|
|
1289
|
+
}
|
|
1290
|
+
.pxd-person-row[data-state="checked"] .pxd-avatar-primary,
|
|
1291
|
+
.pxd-person-row[data-state="checked"] .pxd-avatar-secondary,
|
|
1292
|
+
.pxd-person-row[data-state="checked"] .pxd-avatar-tertiary {
|
|
1293
|
+
background: var(--pxd-color-surface-default);
|
|
1294
|
+
color: var(--pxd-color-text-default);
|
|
1295
|
+
}
|
|
1284
1296
|
.pxd-person-text {
|
|
1285
1297
|
flex: 1;
|
|
1286
1298
|
display: flex;
|