@iris.interactive/handcook 2.8.9 → 2.8.12

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Welcome to HandCook 👨‍🍳
2
- ![Version](https://img.shields.io/badge/version-2.8.8-blue.svg?cacheSeconds=2592000)
2
+ ![Version](https://img.shields.io/badge/version-2.8.12-blue.svg?cacheSeconds=2592000)
3
3
  ![Prerequisite](https://img.shields.io/badge/node-%3E%3D%2012.14.0-blue.svg)
4
4
  [![License: UNLICENSED](https://img.shields.io/badge/License-UNLICENSED-yellow.svg)](#)
5
5
  [![Twitter: captain\_iris](https://img.shields.io/twitter/follow/captain\_iris.svg?style=social)](https://twitter.com/captain\_iris)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iris.interactive/handcook",
3
- "version": "2.8.9",
3
+ "version": "2.8.12",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -321,6 +321,13 @@ $popover-background-color: var(--iris--popover--background-color);
321
321
  $switch-on: var(--iris--switch--color-on);
322
322
  $switch-off: var(--iris--switch--color-off);
323
323
 
324
+ // Card
325
+ $card-font-size: var(--iris--card--font-size);
326
+ $card-font-size--rem: var(--iris--card--font-size--rem);
327
+ $card-font-size-medium: var(--iris--card--font-size--medium);
328
+ $card-font-size-medium--rem: var(--iris--card--font-size--medium--rem);
329
+ $card-font-size-small: var(--iris--card--font-size--small);
330
+ $card-font-size-small--rem: var(--iris--card--font-size--small--rem);
324
331
 
325
332
  // Highlight
326
333
  $highlight-color: var(--iris--highlight--color);
@@ -460,6 +467,13 @@ $event-highlight-background-color: var(--iris--event--highlight--background-colo
460
467
  $event-highlight-link-color: var(--iris--event--highlight--color-link);
461
468
  $event-highlight-link-color-hover: var(--iris--event--highlight--color-link-hover);
462
469
 
470
+ // Roadtrip
471
+ $roadtrip-topbar-color: var(--iris--roadtrip-topbar--color);
472
+ $roadtrip-topbar-title-color: var(--iris--roadtrip-topbar--color-title, var(--iris--roadtrip-topbar--color));
473
+ $roadtrip-topbar-background-color: var(--iris--roadtrip-topbar--background-color);
474
+ $roadtrip-topbar-link-color: var(--iris--roadtrip-topbar--color-link);
475
+ $roadtrip-topbar-link-color-hover: var(--iris--roadtrip-topbar--color-link-hover);
476
+
463
477
 
464
478
  /* Global SIT
465
479
  / ================================================== */
@@ -58,31 +58,39 @@
58
58
  /* Hover
59
59
  /* ============================================= */
60
60
  @mixin hover {
61
- &:hover {
62
- @content;
61
+ body.iris-hover & {
62
+ &:hover {
63
+ @content;
64
+ }
63
65
  }
64
66
  }
65
67
 
66
68
  @mixin hover-focus() {
67
- &:hover,
68
- &:focus {
69
- @content;
69
+ body.iris-hover & {
70
+ &:hover,
71
+ &:focus {
72
+ @content;
73
+ }
70
74
  }
71
75
  }
72
76
 
73
77
  @mixin hover-focus-active() {
74
- &:hover,
75
- &:focus,
76
- &:active {
77
- @content;
78
+ body.iris-hover & {
79
+ &:hover,
80
+ &:focus,
81
+ &:active {
82
+ @content;
83
+ }
78
84
  }
79
85
  }
80
86
 
81
87
  @mixin hover-focus-visited() {
82
- &:hover,
83
- &:focus,
84
- &:visited {
85
- @content;
88
+ body.iris-hover & {
89
+ &:hover,
90
+ &:focus,
91
+ &:visited {
92
+ @content;
93
+ }
86
94
  }
87
95
  }
88
96