@iris.interactive/handcook 2.8.11 → 2.8.14
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
|
-

|
|
3
3
|

|
|
4
4
|
[](#)
|
|
5
5
|
[](https://twitter.com/captain\_iris)
|
package/package.json
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
@use "sass:math";
|
|
6
6
|
|
|
7
|
+
/* Root values
|
|
8
|
+
/ ================================================== */
|
|
9
|
+
:root {
|
|
10
|
+
--iris--navbar--fixed--height: 0px;
|
|
11
|
+
}
|
|
12
|
+
|
|
7
13
|
/* Layout
|
|
8
14
|
/ ================================================== */
|
|
9
15
|
$container: 1220px;
|
|
@@ -12,7 +18,7 @@ $sidebar: 360px;
|
|
|
12
18
|
|
|
13
19
|
$header: 120px; //TODO: Hérité du plugin customer ?
|
|
14
20
|
$header-small: 80px; //TODO: Hérité du plugin customer ?
|
|
15
|
-
|
|
21
|
+
$navbar-fixed-height: var(--iris--navbar--fixed--height);
|
|
16
22
|
|
|
17
23
|
/* Gutter
|
|
18
24
|
/ ================================================== */
|
|
@@ -68,16 +74,6 @@ $breakpoint-medium: 1000px; // max-width
|
|
|
68
74
|
$breakpoint-small: 650px; // max-width
|
|
69
75
|
$breakpoint-xsmall: 370px; // max-width
|
|
70
76
|
|
|
71
|
-
|
|
72
|
-
/* Appearance
|
|
73
|
-
/ ================================================== */
|
|
74
|
-
$appearance-color: var(--iris--appearance--color);
|
|
75
|
-
$appearance-background-color: var(--iris--appearance--background-color);
|
|
76
|
-
$appearance-color-title: var(--iris--appearance--color-title);
|
|
77
|
-
$appearance-color-link: var(--iris--appearance--color-link);
|
|
78
|
-
$appearance-color-link-hover: var(--iris--appearance--color-hover);
|
|
79
|
-
|
|
80
|
-
|
|
81
77
|
/* Global
|
|
82
78
|
/ ================================================== */
|
|
83
79
|
$font-family: var(--iris--global--font-family);
|
|
@@ -222,6 +218,14 @@ $h6-color: var(--iris--h6--color);
|
|
|
222
218
|
$h6-text-align: var(--iris--h6--text-align);
|
|
223
219
|
$h6-text-transform: var(--iris--h6--text-transform);
|
|
224
220
|
|
|
221
|
+
/* Appearance
|
|
222
|
+
/ ================================================== */
|
|
223
|
+
$appearance-color: var(--iris--appearance--color, var(--iris--global--color));
|
|
224
|
+
$appearance-background-color: var(--iris--appearance--background-color, var(--iris--global--background-color));
|
|
225
|
+
$appearance-color-title: var(--iris--appearance--color-title, var(--iris--h2--color));
|
|
226
|
+
$appearance-color-link: var(--iris--appearance--color-link, var(--iris--link--color));
|
|
227
|
+
$appearance-color-link-hover: var(--iris--appearance--color-hover, var(--iris--link--color-hover));
|
|
228
|
+
|
|
225
229
|
|
|
226
230
|
// Blockquote
|
|
227
231
|
$blockquote-color: var(--iris--blockquote--color);
|
|
@@ -322,6 +326,8 @@ $switch-on: var(--iris--switch--color-on);
|
|
|
322
326
|
$switch-off: var(--iris--switch--color-off);
|
|
323
327
|
|
|
324
328
|
// Card
|
|
329
|
+
$card-font-family: var(--iris--card--font-family);
|
|
330
|
+
$card-font-weight: var(--iris--card--font-weight);
|
|
325
331
|
$card-font-size: var(--iris--card--font-size);
|
|
326
332
|
$card-font-size--rem: var(--iris--card--font-size--rem);
|
|
327
333
|
$card-font-size-medium: var(--iris--card--font-size--medium);
|
|
@@ -58,31 +58,39 @@
|
|
|
58
58
|
/* Hover
|
|
59
59
|
/* ============================================= */
|
|
60
60
|
@mixin hover {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
body.iris-hover & {
|
|
62
|
+
&:hover {
|
|
63
|
+
@content;
|
|
64
|
+
}
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
@mixin hover-focus() {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
body.iris-hover & {
|
|
70
|
+
&:hover,
|
|
71
|
+
&:focus {
|
|
72
|
+
@content;
|
|
73
|
+
}
|
|
70
74
|
}
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
@mixin hover-focus-active() {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
body.iris-hover & {
|
|
89
|
+
&:hover,
|
|
90
|
+
&:focus,
|
|
91
|
+
&:visited {
|
|
92
|
+
@content;
|
|
93
|
+
}
|
|
86
94
|
}
|
|
87
95
|
}
|
|
88
96
|
|
package/public/styles/style.css
CHANGED