@foeewni/web-core 3.0.0-alpha.1 → 3.0.0-alpha.2
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/css/foe.critical.min.css +7 -7
- package/dist/css/foe.extras.min.css +2 -2
- package/dist/css/foe.main.min.css +8 -8
- package/package.json +1 -1
- package/src/components/form/buttons.scss +8 -0
- package/src/components/hero-panel/style.scss +7 -2
- package/src/components/navigation/_header.scss +5 -5
- package/src/components/navigation/_nav-items.scss +10 -26
- package/src/components/typography/blockquotes.scss +1 -1
- package/src/utils/scss/helpers/_variables.scss +18 -19
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
width: auto;
|
|
6
6
|
float: right;
|
|
7
7
|
padding: 0;
|
|
8
|
-
margin: 0;
|
|
8
|
+
margin: 0 $spacer/2 0 0;
|
|
9
9
|
line-height: 4rem;
|
|
10
10
|
|
|
11
11
|
@include media-breakpoint-down(md) {
|
|
@@ -31,16 +31,18 @@
|
|
|
31
31
|
position: relative;
|
|
32
32
|
line-height: $foe-nav-height-small;
|
|
33
33
|
font-weight: bold;
|
|
34
|
-
padding: 0;
|
|
35
34
|
display: block;
|
|
36
|
-
color:
|
|
35
|
+
color: $foe-extradark;
|
|
36
|
+
text-decoration: none;
|
|
37
|
+
box-shadow: inset 0 0 0 0 $foe-accent;
|
|
37
38
|
transition:
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
color $foe-transition-duration-base ease-in-out,
|
|
40
|
+
box-shadow $foe-transition-duration-base ease-in-out;
|
|
41
|
+
// transition: line-height $foe-transition-duration-base $foe-transition-easing, color $foe-transition-duration-base $foe-transition-easing;
|
|
40
42
|
|
|
41
43
|
@include media-breakpoint-up(lg) {
|
|
42
44
|
padding: 0 18px;
|
|
43
|
-
line-height: $foe-nav-height-large;
|
|
45
|
+
line-height: $foe-nav-height-large/2;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
&:focus {
|
|
@@ -49,28 +51,10 @@
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
&:hover {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
background: transparent;
|
|
54
|
+
color: $foe-offwhite;
|
|
55
|
+
box-shadow: inset 10rem 0 0 0 $foe-accent;
|
|
55
56
|
text-decoration: none;
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
&::after {
|
|
59
|
-
$arrow-size: 10px;
|
|
60
|
-
|
|
61
|
-
position: absolute;
|
|
62
|
-
z-index: $zindex-navbar + 21;
|
|
63
|
-
content: '';
|
|
64
|
-
width: 0;
|
|
65
|
-
height: 0;
|
|
66
|
-
border: $arrow-size solid transparent;
|
|
67
|
-
border-bottom-color: $foe-offwhite;
|
|
68
|
-
bottom: -1px;
|
|
69
|
-
left: 50%;
|
|
70
|
-
margin-left: ($arrow-size * -1);
|
|
71
|
-
opacity: 0;
|
|
72
|
-
transition: opacity $foe-transition-duration-base $foe-transition-easing;
|
|
73
|
-
}
|
|
74
58
|
}
|
|
75
59
|
|
|
76
60
|
&.active > a {
|
|
@@ -33,7 +33,7 @@ blockquote {
|
|
|
33
33
|
font-weight: 700;
|
|
34
34
|
font-size: $blockquote-font-size;
|
|
35
35
|
line-height: $blockquote-font-size * 1.35;
|
|
36
|
-
color: $foe-
|
|
36
|
+
color: $foe-extradark;
|
|
37
37
|
|
|
38
38
|
@include media-breakpoint-down(sm) {
|
|
39
39
|
font-size: strip-units($blockquote-font-size) * $font-size-sm;
|
|
@@ -8,28 +8,27 @@
|
|
|
8
8
|
//
|
|
9
9
|
|
|
10
10
|
// Colours
|
|
11
|
-
$foe-primary: #
|
|
12
|
-
$foe-light: #
|
|
11
|
+
$foe-primary: #61bdaa !default;
|
|
12
|
+
$foe-light: #dff2ee !default;
|
|
13
13
|
$foe-secondary: $foe-light !default;
|
|
14
|
-
$foe-dark: #
|
|
15
|
-
|
|
16
|
-
$foe-
|
|
17
|
-
$foe-sunset: #ea5c5c !default;
|
|
14
|
+
$foe-dark: #182f2a !default;
|
|
15
|
+
$foe-extradark: #1e234d !default;
|
|
16
|
+
$foe-sunset: #ed6132 !default;
|
|
18
17
|
|
|
19
|
-
$foe-white: #
|
|
18
|
+
$foe-white: #fff !default;
|
|
20
19
|
$foe-gray: #b1b8c0 !default;
|
|
21
|
-
$foe-accent: #
|
|
22
|
-
$foe-offwhite: #
|
|
20
|
+
$foe-accent: #5a54a0 !default;
|
|
21
|
+
$foe-offwhite: #f4f6fa !default;
|
|
23
22
|
|
|
24
23
|
$foe-success: #5cb85c !default;
|
|
25
24
|
$foe-info: #5bc0de !default;
|
|
26
25
|
$foe-warning: #f0ad4e !default;
|
|
27
26
|
$foe-danger: #d9534f !default;
|
|
28
27
|
|
|
29
|
-
$foe-text:
|
|
28
|
+
$foe-text: $foe-extradark !default;
|
|
30
29
|
|
|
31
|
-
$foe-donate:
|
|
32
|
-
$foe-donate-text: $foe-
|
|
30
|
+
$foe-donate: $foe-sunset !default;
|
|
31
|
+
$foe-donate-text: $foe-extradark !default;
|
|
33
32
|
|
|
34
33
|
$foe-join: #ffef1e !default;
|
|
35
34
|
$foe-join-text: $foe-text !default;
|
|
@@ -219,11 +218,11 @@ $theme-colors: map-merge(
|
|
|
219
218
|
$theme-color-interval: 8%;
|
|
220
219
|
|
|
221
220
|
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
|
|
222
|
-
$yiq-contrasted-threshold:
|
|
221
|
+
$yiq-contrasted-threshold: 142; // this works for a hover cover for text-dark over leaf - any higher and it uses text-light.
|
|
223
222
|
|
|
224
223
|
// Customize the light and dark text colors for use in our YIQ color contrast function.
|
|
225
|
-
$yiq-text-dark: $
|
|
226
|
-
$yiq-text-light: $
|
|
224
|
+
$yiq-text-dark: $foe-extradark;
|
|
225
|
+
$yiq-text-light: $foe-offwhite;
|
|
227
226
|
|
|
228
227
|
// Options
|
|
229
228
|
//
|
|
@@ -288,7 +287,7 @@ $body-color: $foe-text;
|
|
|
288
287
|
//
|
|
289
288
|
// Style anchor elements.
|
|
290
289
|
|
|
291
|
-
$link-color: theme-color("
|
|
290
|
+
$link-color: theme-color("accent");
|
|
292
291
|
$link-decoration: none;
|
|
293
292
|
$link-hover-color: darken($link-color, 15%);
|
|
294
293
|
$link-hover-decoration: underline;
|
|
@@ -399,8 +398,8 @@ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075);
|
|
|
399
398
|
$box-shadow: 0 .5rem 1rem rgba($black, .15);
|
|
400
399
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175);
|
|
401
400
|
|
|
402
|
-
$component-active-color: $
|
|
403
|
-
$component-active-bg: theme-color("
|
|
401
|
+
$component-active-color: $foe-extradark;
|
|
402
|
+
$component-active-bg: theme-color("primary");
|
|
404
403
|
|
|
405
404
|
$caret-width: .3em;
|
|
406
405
|
|
|
@@ -452,7 +451,7 @@ $headings-margin-bottom: calc($spacer / 2);
|
|
|
452
451
|
$headings-font-family: inherit;
|
|
453
452
|
$headings-font-weight: 600;
|
|
454
453
|
$headings-line-height: 1.2;
|
|
455
|
-
$headings-color: $foe-
|
|
454
|
+
$headings-color: $foe-accent;
|
|
456
455
|
|
|
457
456
|
$display1-size: calc(60 / 16) * $font-size-base;
|
|
458
457
|
$display2-size: calc(60 / 16) * $font-size-base;
|