@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.
@@ -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: rgba($foe-offwhite, 1);
35
+ color: $foe-extradark;
36
+ text-decoration: none;
37
+ box-shadow: inset 0 0 0 0 $foe-accent;
37
38
  transition:
38
- line-height $foe-transition-duration-base $foe-transition-easing,
39
- color $foe-transition-duration-base $foe-transition-easing;
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
- // opacity: 0.7; <= Originally all links were .7 opacity, since we're using a pseudo element inside the anchor we can't fade the whole element
53
- color: rgba($foe-offwhite, .7);
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-primary;
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: #56a085 !default;
12
- $foe-light: #7ae1bd !default;
11
+ $foe-primary: #61bdaa !default;
12
+ $foe-light: #dff2ee !default;
13
13
  $foe-secondary: $foe-light !default;
14
- $foe-dark: #3b867f !default;
15
- // $foe-extradark: #232f4a !default;
16
- $foe-extradark: #a01fed !default;
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: #f3f3f7 !default;
18
+ $foe-white: #fff !default;
20
19
  $foe-gray: #b1b8c0 !default;
21
- $foe-accent: #34da96 !default;
22
- $foe-offwhite: #f3f3f7 !default;
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: #6b6b6f !default;
28
+ $foe-text: $foe-extradark !default;
30
29
 
31
- $foe-donate: #ea4848 !default;
32
- $foe-donate-text: $foe-offwhite !default;
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: 150;
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: $gray-900;
226
- $yiq-text-light: $white;
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("primary");
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: $gray-900;
403
- $component-active-bg: theme-color("accent");
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-primary;
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;