@qti-components/theme 1.2.0 → 1.3.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/dist/item.css +12 -0
- package/package.json +2 -2
package/dist/item.css
CHANGED
|
@@ -2256,6 +2256,9 @@
|
|
|
2256
2256
|
border-color: var(--qti-border-color);
|
|
2257
2257
|
outline: 4px solid var(--qti-disabled-bg)
|
|
2258
2258
|
}
|
|
2259
|
+
&:not(:empty) {
|
|
2260
|
+
border-color: var(--qti-border) !important;
|
|
2261
|
+
}
|
|
2259
2262
|
&:empty::after {
|
|
2260
2263
|
padding: var(--qti-padding-md) var(--qti-padding-lg);
|
|
2261
2264
|
content: '\0000a0';
|
|
@@ -2270,6 +2273,14 @@
|
|
|
2270
2273
|
box-shadow: 0 0 0 1px #e5e7eb;
|
|
2271
2274
|
}
|
|
2272
2275
|
}
|
|
2276
|
+
&.qti-selections-light qti-associable-hotspot:not(:empty) {
|
|
2277
|
+
background-color: var(--qti-light-bg-active) !important;
|
|
2278
|
+
border-color: var(--qti-light-border-active) !important;
|
|
2279
|
+
}
|
|
2280
|
+
&.qti-selections-dark qti-associable-hotspot:not(:empty) {
|
|
2281
|
+
background-color: var(--qti-dark-bg-active) !important;
|
|
2282
|
+
border-color: var(--qti-dark-border-active) !important;
|
|
2283
|
+
}
|
|
2273
2284
|
& img {
|
|
2274
2285
|
margin: 0;
|
|
2275
2286
|
padding: 0;
|
|
@@ -2424,6 +2435,7 @@
|
|
|
2424
2435
|
}
|
|
2425
2436
|
display: inline-flex;
|
|
2426
2437
|
align-items: center;
|
|
2438
|
+
vertical-align: middle;
|
|
2427
2439
|
&:empty::after {
|
|
2428
2440
|
padding: var(--qti-padding-md) var(--qti-padding-lg);
|
|
2429
2441
|
content: '\0000a0';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qti-components/theme",
|
|
3
3
|
"description": "QTI theme utilities",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"author": "",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./item.css": "./dist/item.css",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"clean": "rm -rf dist",
|
|
22
22
|
"yalc": "yalc publish",
|
|
23
23
|
"yalc:push": "yalc push",
|
|
24
|
-
"publish": "
|
|
24
|
+
"publish": "node ../../tools/publish-if-needed.mjs"
|
|
25
25
|
},
|
|
26
26
|
"type": "module",
|
|
27
27
|
"publishConfig": {
|