@foeewni/web-core 3.0.0-alpha.0 → 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,27 +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-sunset: #ea5c5c !default;
14
+ $foe-dark: #182f2a !default;
15
+ $foe-extradark: #1e234d !default;
16
+ $foe-sunset: #ed6132 !default;
17
17
 
18
- $foe-white: #f3f3f7 !default;
18
+ $foe-white: #fff !default;
19
19
  $foe-gray: #b1b8c0 !default;
20
- $foe-accent: #34da96 !default;
21
- $foe-offwhite: #f3f3f7 !default;
20
+ $foe-accent: #5a54a0 !default;
21
+ $foe-offwhite: #f4f6fa !default;
22
22
 
23
23
  $foe-success: #5cb85c !default;
24
24
  $foe-info: #5bc0de !default;
25
25
  $foe-warning: #f0ad4e !default;
26
26
  $foe-danger: #d9534f !default;
27
27
 
28
- $foe-text: #6b6b6f !default;
28
+ $foe-text: $foe-extradark !default;
29
29
 
30
- $foe-donate: #ea4848 !default;
31
- $foe-donate-text: $foe-offwhite !default;
30
+ $foe-donate: $foe-sunset !default;
31
+ $foe-donate-text: $foe-extradark !default;
32
32
 
33
33
  $foe-join: #ffef1e !default;
34
34
  $foe-join-text: $foe-text !default;
@@ -218,11 +218,11 @@ $theme-colors: map-merge(
218
218
  $theme-color-interval: 8%;
219
219
 
220
220
  // The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
221
- $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.
222
222
 
223
223
  // Customize the light and dark text colors for use in our YIQ color contrast function.
224
- $yiq-text-dark: $gray-900;
225
- $yiq-text-light: $white;
224
+ $yiq-text-dark: $foe-extradark;
225
+ $yiq-text-light: $foe-offwhite;
226
226
 
227
227
  // Options
228
228
  //
@@ -287,7 +287,7 @@ $body-color: $foe-text;
287
287
  //
288
288
  // Style anchor elements.
289
289
 
290
- $link-color: theme-color("primary");
290
+ $link-color: theme-color("accent");
291
291
  $link-decoration: none;
292
292
  $link-hover-color: darken($link-color, 15%);
293
293
  $link-hover-decoration: underline;
@@ -398,8 +398,8 @@ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075);
398
398
  $box-shadow: 0 .5rem 1rem rgba($black, .15);
399
399
  $box-shadow-lg: 0 1rem 3rem rgba($black, .175);
400
400
 
401
- $component-active-color: $gray-900;
402
- $component-active-bg: theme-color("accent");
401
+ $component-active-color: $foe-extradark;
402
+ $component-active-bg: theme-color("primary");
403
403
 
404
404
  $caret-width: .3em;
405
405
 
@@ -451,7 +451,7 @@ $headings-margin-bottom: calc($spacer / 2);
451
451
  $headings-font-family: inherit;
452
452
  $headings-font-weight: 600;
453
453
  $headings-line-height: 1.2;
454
- $headings-color: $foe-primary;
454
+ $headings-color: $foe-accent;
455
455
 
456
456
  $display1-size: calc(60 / 16) * $font-size-base;
457
457
  $display2-size: calc(60 / 16) * $font-size-base;