@citolab/qti-components 6.5.0 → 6.5.1

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.
@@ -236,10 +236,10 @@ qti-graphic-gap-match-interaction {
236
236
  qti-slider-interaction {
237
237
  @apply block; /* else no screenshot will be made with html-to-image */
238
238
 
239
- @apply hover:hov focus:foc aria-checked:act aria-readonly:rdo aria-disabled:dis;
239
+ /* @apply hover:hov focus:foc aria-checked:act aria-readonly:rdo aria-disabled:dis; */
240
240
 
241
241
  --qti-tick-color: rgb(229 231 235 / 1);
242
- --qti-tick-width: 2px;
242
+ --qti-tick-width: 1px;
243
243
 
244
244
  &::part(slider) {
245
245
  @apply mx-8; /* so the slider stays INSIDE of the qti-slider-interaction */
@@ -264,19 +264,19 @@ qti-slider-interaction {
264
264
  @apply flex items-center; /* so the knob is neatly centered vertically */
265
265
  /* DESIGN */
266
266
  @apply box-border; /* if you have a border in the design apply, this box-border will make the border stay INSIDE the rail */
267
- @apply h-3 w-full cursor-pointer rounded-full border-solid border-gray-200 bg-gray-100;
267
+ @apply h-1.5 w-full cursor-pointer rounded-full border border-solid border-gray-300 bg-gray-200;
268
268
  }
269
269
 
270
270
  &::part(knob) {
271
- @apply relative h-6 w-6 origin-center -translate-x-1/2 cursor-pointer rounded-full bg-primary-500;
271
+ @apply relative h-4 w-4 origin-center -translate-x-1/2 cursor-pointer rounded-full bg-primary-500;
272
272
  left: var(--value-percentage);
273
273
  }
274
274
 
275
275
  --show-value: true;
276
276
  &::part(value) {
277
277
  @apply absolute bottom-8; /* align the value, which you can drag, on top of the knob, so it aligns with the rest of the values */
278
- @apply left-3; /* should be half width of the knob if you want to center these two */
279
- @apply -translate-x-1/2 cursor-pointer rounded bg-primary-500 px-4 py-2 text-center;
278
+ @apply left-2; /* should be half width of the knob if you want to center these two */
279
+ @apply -translate-x-1/2 cursor-pointer rounded bg-gray-100 px-2 py-1 text-center text-gray-500;
280
280
  }
281
281
  }
282
282