@norwegian/core-components 7.5.0 → 7.7.0
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/esm2022/lib/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/components/filter/filter.component.mjs +2 -1
- package/esm2022/lib/components/input/input.component.mjs +34 -41
- package/esm2022/lib/components/list/list.component.mjs +2 -2
- package/esm2022/lib/components/phone-number/phone-number.component.mjs +45 -6
- package/esm2022/lib/components/radio/radio.component.mjs +9 -3
- package/esm2022/lib/components/select/select.component.mjs +91 -47
- package/esm2022/lib/components/select/select.module.mjs +5 -4
- package/esm2022/lib/components/simple-list/simple-list.component.mjs +2 -2
- package/esm2022/lib/components/slide-toggle/slide-toggle.component.mjs +9 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +46 -5
- package/esm2022/lib/components/textarea/textarea.module.mjs +5 -4
- package/fesm2022/norwegian-core-components.mjs +263 -135
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/input/input.component.d.ts +11 -12
- package/lib/components/phone-number/phone-number.component.d.ts +12 -2
- package/lib/components/radio/radio.component.d.ts +1 -0
- package/lib/components/select/select.component.d.ts +11 -3
- package/lib/components/select/select.module.d.ts +2 -1
- package/lib/components/textarea/textarea.component.d.ts +13 -3
- package/lib/components/textarea/textarea.module.d.ts +2 -1
- package/package.json +1 -1
- package/styles/1__settings/_colors.scss +17 -11
- package/styles/3__base/_body.scss +1 -1
- package/styles/3__base/_heading.scss +2 -2
- package/styles/3__base/_input.scss +2 -2
- package/styles/3__base/_link.scss +8 -8
- package/styles/3__base/_type.scss +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
5
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { FormGroup } from '@angular/forms';
|
|
7
7
|
import { ClassModel } from '../../core';
|
|
8
8
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
* @description
|
|
12
12
|
* Norwegian Input Component | Form Controls | New design
|
|
13
13
|
*/
|
|
14
|
-
export declare class InputComponent extends NasComponentBase {
|
|
14
|
+
export declare class InputComponent extends NasComponentBase implements OnInit {
|
|
15
15
|
inputReactive: ElementRef<HTMLElement>;
|
|
16
16
|
inputNotReactive: ElementRef<HTMLElement>;
|
|
17
17
|
controls: ElementRef<HTMLElement>;
|
|
@@ -43,12 +43,6 @@ export declare class InputComponent extends NasComponentBase {
|
|
|
43
43
|
*/
|
|
44
44
|
get disabled(): boolean;
|
|
45
45
|
set disabled(value: boolean);
|
|
46
|
-
/**
|
|
47
|
-
* @property Input
|
|
48
|
-
* @description
|
|
49
|
-
* Whether the control is in an active state.
|
|
50
|
-
*/
|
|
51
|
-
active: boolean;
|
|
52
46
|
/**
|
|
53
47
|
* @property Input
|
|
54
48
|
* @description
|
|
@@ -190,14 +184,19 @@ export declare class InputComponent extends NasComponentBase {
|
|
|
190
184
|
private modelValue;
|
|
191
185
|
private disabledValue;
|
|
192
186
|
private nameValue;
|
|
187
|
+
active: boolean;
|
|
188
|
+
focus: boolean;
|
|
189
|
+
valid: boolean;
|
|
190
|
+
lastWasTab: boolean;
|
|
193
191
|
constructor();
|
|
192
|
+
onKeydown(e: KeyboardEvent): void;
|
|
193
|
+
ngOnInit(): void;
|
|
194
194
|
ngAfterViewInit(): void;
|
|
195
195
|
mainClass(): ClassModel;
|
|
196
196
|
private setNameAttribute;
|
|
197
197
|
onBlur(value: string): void;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
onInput(event: Event): void;
|
|
198
|
+
onKeyDown(): void;
|
|
199
|
+
setActiveInput(active: boolean): void;
|
|
201
200
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
202
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "nas-input", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "nas-input", never, { "id": { "alias": "id"; "required": false; }; "model": { "alias": "model"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInside": { "alias": "labelInside"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "line": { "alias": "line"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
|
|
203
202
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { EventEmitter, OnInit, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
7
7
|
import { SelectOptionModel } from '../select/models/select-option.model';
|
|
8
8
|
import { ClassModel } from '../../core/models/class.model';
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* @description
|
|
13
13
|
* Norwegian Phone number Component | Form Controls | New design
|
|
14
14
|
*/
|
|
15
|
-
export declare class PhoneNumberComponent extends NasComponentBase {
|
|
15
|
+
export declare class PhoneNumberComponent extends NasComponentBase implements OnInit, AfterViewInit {
|
|
16
16
|
/**
|
|
17
17
|
* @property Input
|
|
18
18
|
* @description
|
|
@@ -246,8 +246,18 @@ export declare class PhoneNumberComponent extends NasComponentBase {
|
|
|
246
246
|
* <nas-phone-number (selectedChange)="onSelectedChange($event)"></nas-phone-number>
|
|
247
247
|
*/
|
|
248
248
|
selectedChange: EventEmitter<SelectOptionModel>;
|
|
249
|
+
get inputId(): string;
|
|
250
|
+
private componentId;
|
|
251
|
+
active: boolean;
|
|
252
|
+
valid: boolean;
|
|
253
|
+
focus: boolean;
|
|
254
|
+
lastWasTab: boolean;
|
|
249
255
|
constructor();
|
|
256
|
+
onKeydown(e: KeyboardEvent): void;
|
|
257
|
+
ngOnInit(): void;
|
|
258
|
+
ngAfterViewInit(): void;
|
|
250
259
|
mainClass(): ClassModel;
|
|
260
|
+
setActiveOnFocus(active: boolean): void;
|
|
251
261
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneNumberComponent, never>;
|
|
252
262
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneNumberComponent, "nas-phone-number", never, { "options": { "alias": "options"; "required": false; }; "preferredOptions": { "alias": "preferredOptions"; "required": false; }; "prefixCountryCode": { "alias": "prefixCountryCode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "optionsLabel": { "alias": "optionsLabel"; "required": false; }; "preferredOptionsLabel": { "alias": "preferredOptionsLabel"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "info": { "alias": "info"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "required": { "alias": "required"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormControlNamePrefix": { "alias": "nasFormControlNamePrefix"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "model": { "alias": "model"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "modelChange": "modelChange"; "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
253
263
|
}
|
|
@@ -131,6 +131,7 @@ export declare class RadioComponent extends NasComponentBase {
|
|
|
131
131
|
constructor();
|
|
132
132
|
mainClass(): ClassModel;
|
|
133
133
|
onChange(event: Event): void;
|
|
134
|
+
onKeydown(event: KeyboardEvent): void;
|
|
134
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
135
136
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "nas-radio", never, { "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "error": { "alias": "error"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "strong": { "alias": "strong"; "required": false; }; "block": { "alias": "block"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "required": { "alias": "required"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, ["*"], false, never>;
|
|
136
137
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { EventEmitter, ElementRef, ChangeDetectorRef, OnChanges, QueryList, AfterContentInit, AfterViewChecked } from '@angular/core';
|
|
5
|
+
import { EventEmitter, ElementRef, ChangeDetectorRef, OnChanges, QueryList, AfterContentInit, AfterViewChecked, OnInit } from '@angular/core';
|
|
6
6
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
7
7
|
import { NasComponentBase } from '../../core';
|
|
8
8
|
import { ClassModel } from '../../core/models';
|
|
@@ -12,14 +12,17 @@ import { OptgroupComponent } from './optgroup/optgroup.component';
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* @description
|
|
15
|
-
* Norwegian Select Component | Form Controls
|
|
15
|
+
* Norwegian Select Component | Form Controls | New design
|
|
16
16
|
*/
|
|
17
|
-
export declare class SelectComponent extends NasComponentBase implements OnChanges, AfterViewChecked, AfterContentInit {
|
|
17
|
+
export declare class SelectComponent extends NasComponentBase implements OnChanges, AfterViewChecked, AfterContentInit, OnInit {
|
|
18
18
|
private change;
|
|
19
19
|
selectControl: FormControl<any>;
|
|
20
20
|
labelWidth: number;
|
|
21
21
|
selectTitle: string;
|
|
22
22
|
hasContent: boolean;
|
|
23
|
+
active: boolean;
|
|
24
|
+
valid: boolean;
|
|
25
|
+
focus: boolean;
|
|
23
26
|
selectTitleWrapper: ElementRef;
|
|
24
27
|
errorMessageWrapper: ElementRef;
|
|
25
28
|
select: ElementRef<HTMLSelectElement>;
|
|
@@ -170,7 +173,10 @@ export declare class SelectComponent extends NasComponentBase implements OnChang
|
|
|
170
173
|
private optionsValue;
|
|
171
174
|
private open;
|
|
172
175
|
private componentId;
|
|
176
|
+
private lastWasTab;
|
|
173
177
|
constructor(change: ChangeDetectorRef);
|
|
178
|
+
onKeydown(e: KeyboardEvent): void;
|
|
179
|
+
ngOnInit(): void;
|
|
174
180
|
ngOnChanges(): void;
|
|
175
181
|
ngAfterContentInit(): void;
|
|
176
182
|
ngAfterViewChecked(): void;
|
|
@@ -180,6 +186,8 @@ export declare class SelectComponent extends NasComponentBase implements OnChang
|
|
|
180
186
|
toggleSelect(event: any, keydown?: boolean): void;
|
|
181
187
|
blurSelect(): void;
|
|
182
188
|
getClasses(): Array<ClassModel>;
|
|
189
|
+
activeSelect(): void;
|
|
190
|
+
focusSelect(): void;
|
|
183
191
|
private setSelectedAndEmitChange;
|
|
184
192
|
private setFirstOptionSelected;
|
|
185
193
|
private updateShadow;
|
|
@@ -5,8 +5,9 @@ import * as i3 from "./optgroup/optgroup.component";
|
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
7
|
import * as i6 from "../../core/directives/nas-class/nas-class.module";
|
|
8
|
+
import * as i7 from "../icon/icon.module";
|
|
8
9
|
export declare class SelectModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.NasClassModule], [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.NasClassModule, typeof i7.IconModule], [typeof i1.SelectComponent, typeof i2.OptionComponent, typeof i3.OptgroupComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
12
13
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
6
6
|
import { NasComponentBase, ClassModel } from '../../core';
|
|
7
7
|
import { FormGroup } from '@angular/forms';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* @description
|
|
11
|
-
* Norwegian Textarea Component | Form Controls
|
|
11
|
+
* Norwegian Textarea Component | Form Controls | New design
|
|
12
12
|
*/
|
|
13
|
-
export declare class TextareaComponent extends NasComponentBase {
|
|
13
|
+
export declare class TextareaComponent extends NasComponentBase implements OnInit, AfterViewInit {
|
|
14
14
|
/**
|
|
15
15
|
* @property Input
|
|
16
16
|
* @description
|
|
@@ -138,9 +138,19 @@ export declare class TextareaComponent extends NasComponentBase {
|
|
|
138
138
|
* Set spaceless styling (removing spacing)
|
|
139
139
|
*/
|
|
140
140
|
spaceless: boolean;
|
|
141
|
+
get inputId(): string;
|
|
142
|
+
private componentId;
|
|
143
|
+
active: boolean;
|
|
144
|
+
valid: boolean;
|
|
145
|
+
focus: boolean;
|
|
146
|
+
lastWasTab: boolean;
|
|
141
147
|
constructor();
|
|
148
|
+
onKeydown(e: KeyboardEvent): void;
|
|
149
|
+
ngOnInit(): void;
|
|
150
|
+
ngAfterViewInit(): void;
|
|
142
151
|
mainClass(): ClassModel;
|
|
143
152
|
textareaStyle(): Map<string, any>;
|
|
153
|
+
setActiveOnFocus(active: boolean): void;
|
|
144
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
145
155
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "nas-textarea", never, { "label": { "alias": "label"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "height": { "alias": "height"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "info": { "alias": "info"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "model": { "alias": "model"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "spaceless": { "alias": "spaceless"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, false, never>;
|
|
146
156
|
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./textarea.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../../core/directives/nas-class/nas-class.module";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
6
7
|
export declare class TextareaModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TextareaModule, [typeof i1.TextareaComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule], [typeof i1.TextareaComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TextareaModule, [typeof i1.TextareaComponent], [typeof i2.CommonModule, typeof i3.NasClassModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.IconModule], [typeof i1.TextareaComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<TextareaModule>;
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -71,13 +71,13 @@ $base-colors: (
|
|
|
71
71
|
base: #FC9E12),
|
|
72
72
|
red-color: (10: #FFF5F3,
|
|
73
73
|
20: #FAD1D2,
|
|
74
|
-
30: #
|
|
74
|
+
30: #FFC1B7,
|
|
75
75
|
40: #EF7678,
|
|
76
76
|
50: #EA4850,
|
|
77
77
|
60: #E5212D,
|
|
78
78
|
70: #B71530,
|
|
79
79
|
80: #891024,
|
|
80
|
-
90: #
|
|
80
|
+
90: #500010,
|
|
81
81
|
100: #2E050C,
|
|
82
82
|
base: #E5212D),
|
|
83
83
|
white-color: (base: #FFFFFF),
|
|
@@ -126,9 +126,6 @@ $cta-tertiary: color(white-color, base);
|
|
|
126
126
|
$cta-tertiary-hover: color(grey-color, 10);
|
|
127
127
|
$cta-tertiary-press: color(blue-color, 10);
|
|
128
128
|
|
|
129
|
-
// Focus
|
|
130
|
-
$focus-ring: #0978E8;
|
|
131
|
-
|
|
132
129
|
// Interactive elements
|
|
133
130
|
$interactive-element-default: color(white-color, base);
|
|
134
131
|
$interactive-element-disabled: color(grey-color, 40);
|
|
@@ -136,9 +133,18 @@ $interactive-element-hover: color(grey-color, 10);
|
|
|
136
133
|
$interactive-element-selected: color(blue-color, 10);
|
|
137
134
|
|
|
138
135
|
// Typography
|
|
139
|
-
$typography-
|
|
140
|
-
$typography-
|
|
141
|
-
$typography-
|
|
142
|
-
$typography-
|
|
143
|
-
$typography-
|
|
144
|
-
$typography-
|
|
136
|
+
$typography-default: color(blue-color, base);
|
|
137
|
+
$typography-disabled: color(grey-color, 40);
|
|
138
|
+
$typography-inverted: color(white-color, base);
|
|
139
|
+
$typography-link: color(dark-red-color, 80);
|
|
140
|
+
$typography-link-inverted: color(white-color, base);
|
|
141
|
+
$typography-link-pink: color(red-color, 30);
|
|
142
|
+
$typography-muted: color(grey-color, 70);
|
|
143
|
+
$typography-promotion: color(red-color, base);
|
|
144
|
+
|
|
145
|
+
// UI
|
|
146
|
+
$focus-outline: #0978E8;
|
|
147
|
+
$overlay-light: rgba(21, 39, 63, 0.1);
|
|
148
|
+
$overlay-default: rgba(21, 39, 63, 0.2);
|
|
149
|
+
$overlay-dark: rgba(21, 39, 63, 0.4);
|
|
150
|
+
$overlay-xdark: rgba(21, 39, 63, 0.6);
|
|
@@ -24,7 +24,7 @@ h1,
|
|
|
24
24
|
@include font(heading, bold);
|
|
25
25
|
@include font-size(xxlarge, false, mobile);
|
|
26
26
|
margin: 0 0 $spacing;
|
|
27
|
-
color: $typography-
|
|
27
|
+
color: $typography-default;
|
|
28
28
|
letter-spacing: -0.03em;
|
|
29
29
|
|
|
30
30
|
@include min-width(md) {
|
|
@@ -87,7 +87,7 @@ h6,
|
|
|
87
87
|
margin: 0 0 $spacing--xxxsmall;
|
|
88
88
|
|
|
89
89
|
a {
|
|
90
|
-
color: $typography-
|
|
90
|
+
color: $typography-default;
|
|
91
91
|
border-bottom: 0;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -14,7 +14,7 @@ input[type='tel'] {
|
|
|
14
14
|
padding: $spacing--small;
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
border: 0;
|
|
17
|
-
color: $typography-
|
|
17
|
+
color: $typography-default;
|
|
18
18
|
@include font-size(small);
|
|
19
19
|
border-radius: 0;
|
|
20
20
|
background-color: $background-surface-default;
|
|
@@ -22,7 +22,7 @@ input[type='tel'] {
|
|
|
22
22
|
transition: all 200ms $swift-out;
|
|
23
23
|
|
|
24
24
|
&[disabled] {
|
|
25
|
-
color: $typography-
|
|
25
|
+
color: $typography-muted;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@include input-placeholder {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
// Link
|
|
2
2
|
a,
|
|
3
3
|
.link {
|
|
4
|
-
color: $typography-
|
|
4
|
+
color: $typography-link;
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
text-decoration: none;
|
|
7
7
|
border-bottom: $border-width solid $border-muted;
|
|
8
8
|
|
|
9
9
|
&:hover,
|
|
10
10
|
&:focus {
|
|
11
|
-
color: $typography-
|
|
11
|
+
color: $typography-default;
|
|
12
12
|
border-color: $border-heavy;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&--disabled {
|
|
16
|
-
color: $typography-
|
|
16
|
+
color: $typography-default;
|
|
17
17
|
border-bottom: $border-width solid $border-muted;
|
|
18
18
|
cursor: default;
|
|
19
19
|
|
|
20
20
|
&:hover,
|
|
21
21
|
&:focus {
|
|
22
|
-
color: $typography-
|
|
22
|
+
color: $typography-default;
|
|
23
23
|
border-color: $border-muted;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.link--light {
|
|
29
|
-
color: $typography-
|
|
29
|
+
color: $typography-inverted;
|
|
30
30
|
border-bottom: $border-width solid $border-inverted;
|
|
31
31
|
|
|
32
32
|
&:hover,
|
|
33
33
|
&:focus {
|
|
34
|
-
color: rgba($typography-
|
|
34
|
+
color: rgba($typography-inverted, 0.8);
|
|
35
35
|
border-color: rgba($border-inverted, 0.8);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.link--secondary {
|
|
40
|
-
color: $typography-
|
|
40
|
+
color: $typography-default;
|
|
41
41
|
border-bottom: $border-width solid $border-heavy;
|
|
42
42
|
|
|
43
43
|
&:hover,
|
|
44
44
|
&:focus {
|
|
45
|
-
color: $typography-
|
|
45
|
+
color: $typography-link;
|
|
46
46
|
border-color: $border-primary;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -24,7 +24,7 @@ em {
|
|
|
24
24
|
|
|
25
25
|
.label {
|
|
26
26
|
margin: 0 0 $spacing--xxxsmall;
|
|
27
|
-
color: $typography-
|
|
27
|
+
color: $typography-muted;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.preamble {
|
|
@@ -35,7 +35,7 @@ em {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.text-muted {
|
|
38
|
-
color: $typography-
|
|
38
|
+
color: $typography-muted;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
blockquote {
|