@iris.interactive/handcook 2.8.10 → 2.8.13

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.13-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.10",
3
+ "version": "2.8.13",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -321,6 +321,15 @@ $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-family: var(--iris--card--font-family);
326
+ $card-font-weight: var(--iris--card--font-weight);
327
+ $card-font-size: var(--iris--card--font-size);
328
+ $card-font-size--rem: var(--iris--card--font-size--rem);
329
+ $card-font-size-medium: var(--iris--card--font-size--medium);
330
+ $card-font-size-medium--rem: var(--iris--card--font-size--medium--rem);
331
+ $card-font-size-small: var(--iris--card--font-size--small);
332
+ $card-font-size-small--rem: var(--iris--card--font-size--small--rem);
324
333
 
325
334
  // Highlight
326
335
  $highlight-color: var(--iris--highlight--color);
@@ -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