@materializecss/materialize 2.0.1-alpha → 2.0.3-alpha
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/Gruntfile.js +5 -2
- package/dist/css/materialize.css +1510 -288
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.js +2782 -2688
- package/dist/js/materialize.min.js +2 -8967
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/autocomplete.d.ts +143 -0
- package/dist/src/autocomplete.d.ts.map +1 -0
- package/dist/src/bounding.d.ts +7 -0
- package/dist/src/bounding.d.ts.map +1 -0
- package/dist/src/buttons.d.ts +65 -0
- package/dist/src/buttons.d.ts.map +1 -0
- package/dist/src/cards.d.ts +4 -0
- package/dist/src/cards.d.ts.map +1 -0
- package/dist/src/carousel.d.ts +131 -0
- package/dist/src/carousel.d.ts.map +1 -0
- package/dist/src/characterCounter.d.ts +37 -0
- package/dist/src/characterCounter.d.ts.map +1 -0
- package/dist/src/chips.d.ts +131 -0
- package/dist/src/chips.d.ts.map +1 -0
- package/dist/src/collapsible.d.ts +74 -0
- package/dist/src/collapsible.d.ts.map +1 -0
- package/dist/src/component.d.ts +74 -0
- package/dist/src/component.d.ts.map +1 -0
- package/dist/src/datepicker.d.ts +248 -0
- package/dist/src/datepicker.d.ts.map +1 -0
- package/dist/src/dropdown.d.ts +148 -0
- package/dist/src/dropdown.d.ts.map +1 -0
- package/dist/src/edges.d.ts +7 -0
- package/dist/src/edges.d.ts.map +1 -0
- package/dist/src/forms.d.ts +12 -0
- package/dist/src/forms.d.ts.map +1 -0
- package/dist/src/global.d.ts +60 -0
- package/dist/src/global.d.ts.map +1 -0
- package/dist/src/index.d.ts +27 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/materialbox.d.ts +92 -0
- package/dist/src/materialbox.d.ts.map +1 -0
- package/dist/src/modal.d.ts +119 -0
- package/dist/src/modal.d.ts.map +1 -0
- package/dist/src/parallax.d.ts +40 -0
- package/dist/src/parallax.d.ts.map +1 -0
- package/dist/src/pushpin.d.ts +52 -0
- package/dist/src/pushpin.d.ts.map +1 -0
- package/dist/src/range.d.ts +41 -0
- package/dist/src/range.d.ts.map +1 -0
- package/dist/src/scrollspy.d.ts +62 -0
- package/dist/src/scrollspy.d.ts.map +1 -0
- package/dist/src/select.d.ts +77 -0
- package/dist/src/select.d.ts.map +1 -0
- package/dist/src/sidenav.d.ts +122 -0
- package/dist/src/sidenav.d.ts.map +1 -0
- package/dist/src/slider.d.ts +103 -0
- package/dist/src/slider.d.ts.map +1 -0
- package/dist/src/tabs.d.ts +80 -0
- package/dist/src/tabs.d.ts.map +1 -0
- package/dist/src/tapTarget.d.ts +59 -0
- package/dist/src/tapTarget.d.ts.map +1 -0
- package/dist/src/timepicker.d.ts +208 -0
- package/dist/src/timepicker.d.ts.map +1 -0
- package/dist/src/toasts.d.ts +90 -0
- package/dist/src/toasts.d.ts.map +1 -0
- package/dist/src/tooltip.d.ts +112 -0
- package/dist/src/tooltip.d.ts.map +1 -0
- package/dist/src/utils.d.ts +97 -0
- package/dist/src/utils.d.ts.map +1 -0
- package/dist/src/waves.d.ts +16 -0
- package/dist/src/waves.d.ts.map +1 -0
- package/package.json +4 -1
- package/sass/components/_cards.scss +1 -1
- package/sass/components/_collapsible.scss +0 -41
- package/sass/components/_global.scss +53 -2
- package/sass/components/_grid.scss +28 -47
- package/sass/components/_icons-material-design.scss +2 -1
- package/sass/components/_navbar.scss +30 -27
- package/sass/components/_pulse.scss +1 -0
- package/sass/components/_sidenav.scss +63 -45
- package/sass/components/_theme_variables.scss +29 -49
- package/sass/components/_typography.scss +2 -2
- package/sass/components/_variables.scss +2 -0
- package/sass/components/colors.module.scss +180 -0
- package/sass/components/forms/_input-fields.scss +4 -10
- package/sass/components/theme.dark.module.scss +32 -0
- package/sass/components/theme.light.module.scss +32 -0
- package/sass/components/tokens.module.scss +272 -0
- package/sass/components/typography.module.scss +150 -0
- package/sass/materialize.scss +6 -4
- package/src/autocomplete.ts +188 -94
- package/src/buttons.ts +225 -260
- package/src/cards.ts +5 -6
- package/src/carousel.ts +611 -542
- package/src/characterCounter.ts +50 -21
- package/src/chips.ts +152 -63
- package/src/collapsible.ts +97 -32
- package/src/component.ts +99 -10
- package/src/datepicker.ts +905 -726
- package/src/dropdown.ts +573 -484
- package/src/edges.ts +4 -4
- package/src/forms.ts +36 -24
- package/src/global.ts +57 -328
- package/src/index.ts +26 -0
- package/src/materialbox.ts +354 -298
- package/src/modal.ts +296 -211
- package/src/parallax.ts +129 -105
- package/src/pushpin.ts +148 -103
- package/src/range.ts +166 -150
- package/src/scrollspy.ts +214 -174
- package/src/select.ts +434 -398
- package/src/sidenav.ts +447 -381
- package/src/slider.ts +421 -362
- package/src/tabs.ts +276 -222
- package/src/tapTarget.ts +246 -213
- package/src/timepicker.ts +738 -614
- package/src/toasts.ts +254 -230
- package/src/tooltip.ts +315 -252
- package/src/utils.ts +271 -0
- package/src/waves.ts +10 -10
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Edges } from './edges';
|
|
2
|
+
import { Bounding } from './bounding';
|
|
3
|
+
/**
|
|
4
|
+
* Class with utilitary functions for global usage.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Utils {
|
|
7
|
+
/** Specifies wether tab is pressed or not. */
|
|
8
|
+
static tabPressed: boolean;
|
|
9
|
+
/** Specifies wether there is a key pressed. */
|
|
10
|
+
static keyDown: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Key maps.
|
|
13
|
+
*/
|
|
14
|
+
static keys: {
|
|
15
|
+
TAB: string[];
|
|
16
|
+
ENTER: string[];
|
|
17
|
+
ESC: string[];
|
|
18
|
+
BACKSPACE: string[];
|
|
19
|
+
ARROW_UP: string[];
|
|
20
|
+
ARROW_DOWN: string[];
|
|
21
|
+
ARROW_LEFT: string[];
|
|
22
|
+
ARROW_RIGHT: string[];
|
|
23
|
+
DELETE: string[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Detects when a key is pressed.
|
|
27
|
+
* @param e Event instance.
|
|
28
|
+
*/
|
|
29
|
+
static docHandleKeydown(e: KeyboardEvent): void;
|
|
30
|
+
/**
|
|
31
|
+
* Detects when a key is released.
|
|
32
|
+
* @param e Event instance.
|
|
33
|
+
*/
|
|
34
|
+
static docHandleKeyup(e: KeyboardEvent): void;
|
|
35
|
+
/**
|
|
36
|
+
* Detects when document is focused.
|
|
37
|
+
* @param e Event instance.
|
|
38
|
+
*/
|
|
39
|
+
static docHandleFocus(e: FocusEvent): void;
|
|
40
|
+
/**
|
|
41
|
+
* Detects when document is not focused.
|
|
42
|
+
* @param e Event instance.
|
|
43
|
+
*/
|
|
44
|
+
static docHandleBlur(e: FocusEvent): void;
|
|
45
|
+
/**
|
|
46
|
+
* Generates a unique string identifier.
|
|
47
|
+
*/
|
|
48
|
+
static guid(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Checks for exceeded edges
|
|
51
|
+
* @param container Container element.
|
|
52
|
+
* @param bounding Bounding rect.
|
|
53
|
+
* @param offset Element offset.
|
|
54
|
+
*/
|
|
55
|
+
static checkWithinContainer(container: HTMLElement, bounding: Bounding, offset: number): Edges;
|
|
56
|
+
/**
|
|
57
|
+
* Checks if element can be aligned in multiple directions.
|
|
58
|
+
* @param el Element to be inspected.
|
|
59
|
+
* @param container Container element.
|
|
60
|
+
* @param bounding Bounding rect.
|
|
61
|
+
* @param offset Element offset.
|
|
62
|
+
*/
|
|
63
|
+
static checkPossibleAlignments(el: HTMLElement, container: HTMLElement, bounding: Bounding, offset: number): {
|
|
64
|
+
top: boolean;
|
|
65
|
+
right: boolean;
|
|
66
|
+
bottom: boolean;
|
|
67
|
+
left: boolean;
|
|
68
|
+
spaceOnTop: number;
|
|
69
|
+
spaceOnRight: number;
|
|
70
|
+
spaceOnBottom: number;
|
|
71
|
+
spaceOnLeft: number;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves target element id from trigger.
|
|
75
|
+
* @param trigger Trigger element.
|
|
76
|
+
*/
|
|
77
|
+
static getIdFromTrigger(trigger: HTMLElement): string;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves document scroll postion from top.
|
|
80
|
+
*/
|
|
81
|
+
static getDocumentScrollTop(): number;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves document scroll postion from left.
|
|
84
|
+
*/
|
|
85
|
+
static getDocumentScrollLeft(): number;
|
|
86
|
+
/**
|
|
87
|
+
* Fires the given function after a certain ammount of time.
|
|
88
|
+
* @param func Function to be fired.
|
|
89
|
+
* @param wait Wait time.
|
|
90
|
+
* @param options Additional options.
|
|
91
|
+
*/
|
|
92
|
+
static throttle(func: Function, wait: number, options?: Partial<{
|
|
93
|
+
leading: boolean;
|
|
94
|
+
trailing: boolean;
|
|
95
|
+
}>): () => any;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,qBAAa,KAAK;IAChB,8CAA8C;IAC9C,MAAM,CAAC,UAAU,EAAE,OAAO,CAAS;IACnC,+CAA+C;IAC/C,MAAM,CAAC,OAAO,EAAE,OAAO,CAAS;IAEhC;;OAEG;IACH,MAAM,CAAC,IAAI;;;;;;;;;;MAUT;IAEF;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,CAAC,EAAE,aAAa;IAOxC;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,aAAa;IAOtC;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,CAAC,EAAE,UAAU;IAMnC;;;OAGG;IACH,MAAM,CAAC,aAAa,CAAC,CAAC,EAAE,UAAU;IAIlC;;OAEG;IACH,MAAM,CAAC,IAAI,IAAI,MAAM;IASrB;;;;;OAKG;IACH,MAAM,CAAC,oBAAoB,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK;IA+C9F;;;;;;OAMG;IACH,MAAM,CAAC,uBAAuB,CAAC,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM;aAEjG,OAAO;eACL,OAAO;gBACN,OAAO;cACT,OAAO;oBACD,MAAM;sBACJ,MAAM;uBACL,MAAM;qBACR,MAAM;;IA4DvB;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM;IASrD;;OAEG;IACH,MAAM,CAAC,oBAAoB,IAAI,MAAM;IAIrC;;OAEG;IACH,MAAM,CAAC,qBAAqB,IAAI,MAAM;IAItC;;;;;OAKG;WACW,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,OAAO,CAAC;QAAC,OAAO,EAAC,OAAO,CAAC;QAAA,QAAQ,EAAC,OAAO,CAAA;KAAC,CAAQ;CA6BjH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type RGBColor = {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
};
|
|
6
|
+
type Position = {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
};
|
|
10
|
+
export declare class Waves {
|
|
11
|
+
private static _offset;
|
|
12
|
+
static renderWaveEffect(targetElement: HTMLElement, position?: Position | null, color?: RGBColor | null): void;
|
|
13
|
+
static Init(): void;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=waves.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waves.d.ts","sourceRoot":"","sources":["../../src/waves.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAA;AAED,KAAK,QAAQ,GAAG;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAA;AAED,qBAAa,KAAK;IAEhB,OAAO,CAAC,MAAM,CAAC,OAAO;WAWR,gBAAgB,CAAC,aAAa,EAAE,WAAW,EAAE,QAAQ,GAAE,QAAQ,GAAC,IAAW,EAAE,KAAK,GAAE,QAAQ,GAAC,IAAW,GAAG,IAAI;IAyB7H,MAAM,CAAC,IAAI;CAoBZ"}
|
package/package.json
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
"description": "Builds Materialize distribution packages",
|
|
4
4
|
"author": "Alvin Wang, Alan Chang",
|
|
5
5
|
"homepage": "https://materializecss.github.io/materialize/",
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.3-alpha",
|
|
7
7
|
"main": "dist/js/materialize.js",
|
|
8
|
+
"module": "src/index.ts",
|
|
8
9
|
"style": "dist/css/materialize.css",
|
|
9
10
|
"sass": "sass/materialize.scss",
|
|
11
|
+
"typings": "dist/src/index.d.ts",
|
|
10
12
|
"license": "MIT",
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
"devDependencies": {
|
|
38
40
|
"@commitlint/cli": "^17.0.3",
|
|
39
41
|
"@commitlint/config-conventional": "^17.0.3",
|
|
42
|
+
"@types/node": "^20.5.2",
|
|
40
43
|
"autoprefixer": "^7.1.1",
|
|
41
44
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
42
45
|
"babel-preset-es2015": "^6.24.1",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.card {
|
|
13
|
+
overflow: hidden;
|
|
13
14
|
position: relative;
|
|
14
15
|
//margin: $element-top-margin 0 $element-bottom-margin 0;
|
|
15
16
|
background-color: $card-bg-color;
|
|
@@ -17,7 +18,6 @@
|
|
|
17
18
|
border-radius: 12px;
|
|
18
19
|
@extend .z-depth-1;
|
|
19
20
|
|
|
20
|
-
|
|
21
21
|
.card-title {
|
|
22
22
|
font-size: 24px;
|
|
23
23
|
font-weight: 300;
|
|
@@ -43,47 +43,6 @@
|
|
|
43
43
|
background-color: $collapsible-bg-color;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// Sidenav collapsible styling
|
|
47
|
-
.sidenav,
|
|
48
|
-
.sidenav.sidenav-fixed {
|
|
49
|
-
|
|
50
|
-
.collapsible {
|
|
51
|
-
border: none;
|
|
52
|
-
box-shadow: none;
|
|
53
|
-
|
|
54
|
-
li {
|
|
55
|
-
padding: 0;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
> li:hover,
|
|
60
|
-
> li.active {
|
|
61
|
-
background-color: transparent;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.collapsible-header {
|
|
65
|
-
background-color: transparent;
|
|
66
|
-
border: none;
|
|
67
|
-
line-height: inherit;
|
|
68
|
-
height: inherit;
|
|
69
|
-
padding: 0 $sidenav-padding;
|
|
70
|
-
|
|
71
|
-
i {
|
|
72
|
-
line-height: inherit;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.collapsible-body {
|
|
77
|
-
border: 0;
|
|
78
|
-
background-color: $collapsible-bg-color;
|
|
79
|
-
|
|
80
|
-
li a {
|
|
81
|
-
padding: 0 (7.5px + $sidenav-padding) 0 (15px + $sidenav-padding);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
|
|
87
46
|
// Popout Collapsible
|
|
88
47
|
|
|
89
48
|
.collapsible.popout {
|
|
@@ -210,7 +210,8 @@ video.responsive-video {
|
|
|
210
210
|
|
|
211
211
|
i,
|
|
212
212
|
[class^="mdi-"], [class*="mdi-"],
|
|
213
|
-
i.material-icons
|
|
213
|
+
i.material-icons, i.material-symbols-outlined,
|
|
214
|
+
i.material-symbols-rounded, i.material-symbols-sharp {
|
|
214
215
|
display: block;
|
|
215
216
|
float: left;
|
|
216
217
|
font-size: 24px;
|
|
@@ -221,7 +222,7 @@ video.responsive-video {
|
|
|
221
222
|
color: $font-on-primary-color-medium;
|
|
222
223
|
vertical-align: top;
|
|
223
224
|
display: inline-block;
|
|
224
|
-
font-family: 'Material Icons';
|
|
225
|
+
font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', 'Material Icons';
|
|
225
226
|
font-weight: normal;
|
|
226
227
|
font-style: normal;
|
|
227
228
|
font-size: 25px;
|
|
@@ -395,6 +396,11 @@ ul.staggered-list li {
|
|
|
395
396
|
}
|
|
396
397
|
}
|
|
397
398
|
|
|
399
|
+
.page-footer ul {
|
|
400
|
+
padding-left: 0;
|
|
401
|
+
list-style-type: none;
|
|
402
|
+
}
|
|
403
|
+
|
|
398
404
|
// Tables
|
|
399
405
|
table, th, td {
|
|
400
406
|
border: none;
|
|
@@ -665,3 +671,48 @@ td, th {
|
|
|
665
671
|
.no-padding {
|
|
666
672
|
padding: 0 !important;
|
|
667
673
|
}
|
|
674
|
+
|
|
675
|
+
/**************************
|
|
676
|
+
Utility Spacing Classes
|
|
677
|
+
**************************/
|
|
678
|
+
|
|
679
|
+
$spacing-shortcuts: ("margin": "m", "padding": "p") !default;
|
|
680
|
+
$spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default;
|
|
681
|
+
$spacing-horizontal: "x" !default;
|
|
682
|
+
$spacing-vertical: "y" !default;
|
|
683
|
+
$spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5": 1.5rem, "6": 3rem, "auto": auto) !default;
|
|
684
|
+
|
|
685
|
+
@each $property, $shortcut in $spacing-shortcuts{
|
|
686
|
+
@each $name, $value in $spacing-values{
|
|
687
|
+
// All direction spacing
|
|
688
|
+
|
|
689
|
+
.#{$shortcut}-#{$name}{
|
|
690
|
+
#{$property}: $value !important;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
// (t, b, r, l) spacing
|
|
694
|
+
@each $direction, $suffix in $spacing-directions{
|
|
695
|
+
.#{$shortcut}#{$suffix}-#{$name}{
|
|
696
|
+
#{$property}-#{$direction}: $value !important
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
// x spacing
|
|
701
|
+
@if $spacing-horizontal != null{
|
|
702
|
+
.#{$shortcut}#{$spacing-horizontal}-#{$name}{
|
|
703
|
+
#{$property}-left: $value !important;
|
|
704
|
+
#{$property}-right: $value !important;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
// y spacing
|
|
709
|
+
@if $spacing-vertical != null{
|
|
710
|
+
.#{$shortcut}#{$spacing-vertical}-#{$name}{
|
|
711
|
+
#{$property}-top: $value !important;
|
|
712
|
+
#{$property}-bottom: $value !important;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
}
|
|
718
|
+
}
|
|
@@ -16,28 +16,9 @@
|
|
|
16
16
|
width: 70%;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
/*
|
|
20
|
-
.col .row {
|
|
21
|
-
margin-left: (-1 * $gutter-width * 0.5);
|
|
22
|
-
margin-right: (-1 * $gutter-width * 0.5);
|
|
23
|
-
}
|
|
24
|
-
*/
|
|
25
19
|
|
|
26
20
|
.section {
|
|
27
|
-
padding
|
|
28
|
-
padding-bottom: 1rem;
|
|
29
|
-
// No documented
|
|
30
|
-
/*
|
|
31
|
-
&.no-pad {
|
|
32
|
-
padding: 0;
|
|
33
|
-
}
|
|
34
|
-
&.no-pad-bot {
|
|
35
|
-
padding-bottom: 0;
|
|
36
|
-
}
|
|
37
|
-
&.no-pad-top {
|
|
38
|
-
padding-top: 0;
|
|
39
|
-
}
|
|
40
|
-
*/
|
|
21
|
+
padding: 1rem 0;
|
|
41
22
|
}
|
|
42
23
|
|
|
43
24
|
// Mixins to eliminate code repetition
|
|
@@ -80,15 +61,15 @@
|
|
|
80
61
|
.s11 { grid-column: auto / span 11; }
|
|
81
62
|
.s12 { grid-column: auto / span 12; }
|
|
82
63
|
|
|
83
|
-
.offset-s1
|
|
84
|
-
.offset-s2
|
|
85
|
-
.offset-s3
|
|
86
|
-
.offset-s4
|
|
87
|
-
.offset-s5
|
|
88
|
-
.offset-s6
|
|
89
|
-
.offset-s7
|
|
90
|
-
.offset-s8
|
|
91
|
-
.offset-s9
|
|
64
|
+
.offset-s1 { grid-column-start: 3; }
|
|
65
|
+
.offset-s2 { grid-column-start: 2; }
|
|
66
|
+
.offset-s3 { grid-column-start: 4; }
|
|
67
|
+
.offset-s4 { grid-column-start: 5; }
|
|
68
|
+
.offset-s5 { grid-column-start: 6; }
|
|
69
|
+
.offset-s6 { grid-column-start: 7; }
|
|
70
|
+
.offset-s7 { grid-column-start: 8; }
|
|
71
|
+
.offset-s8 { grid-column-start: 9; }
|
|
72
|
+
.offset-s9 { grid-column-start: 10; }
|
|
92
73
|
.offset-s10 { grid-column-start: 11; }
|
|
93
74
|
.offset-s11 { grid-column-start: 12; }
|
|
94
75
|
|
|
@@ -107,15 +88,15 @@
|
|
|
107
88
|
.m11 { grid-column: auto / span 11; }
|
|
108
89
|
.m12 { grid-column: auto / span 12; }
|
|
109
90
|
|
|
110
|
-
.offset-m1
|
|
111
|
-
.offset-m2
|
|
112
|
-
.offset-m3
|
|
113
|
-
.offset-m4
|
|
114
|
-
.offset-m5
|
|
115
|
-
.offset-m6
|
|
116
|
-
.offset-m7
|
|
117
|
-
.offset-m8
|
|
118
|
-
.offset-m9
|
|
91
|
+
.offset-m1 { grid-column-start: 2; }
|
|
92
|
+
.offset-m2 { grid-column-start: 3; }
|
|
93
|
+
.offset-m3 { grid-column-start: 4; }
|
|
94
|
+
.offset-m4 { grid-column-start: 5; }
|
|
95
|
+
.offset-m5 { grid-column-start: 6; }
|
|
96
|
+
.offset-m6 { grid-column-start: 7; }
|
|
97
|
+
.offset-m7 { grid-column-start: 8; }
|
|
98
|
+
.offset-m8 { grid-column-start: 9; }
|
|
99
|
+
.offset-m9 { grid-column-start: 10; }
|
|
119
100
|
.offset-m10 { grid-column-start: 11; }
|
|
120
101
|
.offset-m11 { grid-column-start: 12; }
|
|
121
102
|
}
|
|
@@ -163,15 +144,15 @@
|
|
|
163
144
|
.xl11 { grid-column: auto / span 11; }
|
|
164
145
|
.xl12 { grid-column: auto / span 12; }
|
|
165
146
|
|
|
166
|
-
.offset-xl1
|
|
167
|
-
.offset-xl2
|
|
168
|
-
.offset-xl3
|
|
169
|
-
.offset-xl4
|
|
170
|
-
.offset-xl5
|
|
171
|
-
.offset-xl6
|
|
172
|
-
.offset-xl7
|
|
173
|
-
.offset-xl8
|
|
174
|
-
.offset-xl9
|
|
147
|
+
.offset-xl1 { grid-column-start: 2; }
|
|
148
|
+
.offset-xl2 { grid-column-start: 3; }
|
|
149
|
+
.offset-xl3 { grid-column-start: 4; }
|
|
150
|
+
.offset-xl4 { grid-column-start: 5; }
|
|
151
|
+
.offset-xl5 { grid-column-start: 6; }
|
|
152
|
+
.offset-xl6 { grid-column-start: 7; }
|
|
153
|
+
.offset-xl7 { grid-column-start: 8; }
|
|
154
|
+
.offset-xl8 { grid-column-start: 9; }
|
|
155
|
+
.offset-xl9 { grid-column-start: 10; }
|
|
175
156
|
.offset-xl10 { grid-column-start: 11; }
|
|
176
157
|
.offset-xl11 { grid-column-start: 12; }
|
|
177
158
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* This is needed for some mobile phones to display the Google Icon font properly */
|
|
2
|
-
.material-icons
|
|
2
|
+
.material-icons, .material-symbols-outlined,
|
|
3
|
+
.material-symbols-rounded, .material-symbols-sharp {
|
|
3
4
|
text-rendering: optimizeLegibility;
|
|
4
5
|
font-feature-settings: 'liga';
|
|
5
6
|
}
|
|
@@ -15,7 +15,7 @@ nav {
|
|
|
15
15
|
|
|
16
16
|
color: $navbar-font-color;
|
|
17
17
|
@extend .z-depth-1;
|
|
18
|
-
background-color: $
|
|
18
|
+
background-color: $secondary-container-color;
|
|
19
19
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: $navbar-height-mobile;
|
|
@@ -27,7 +27,8 @@ nav {
|
|
|
27
27
|
|
|
28
28
|
i,
|
|
29
29
|
[class^="mdi-"], [class*="mdi-"],
|
|
30
|
-
i.material-icons
|
|
30
|
+
i.material-icons, i.material-symbols-outlined,
|
|
31
|
+
i.material-symbols-rounded, i.material-symbols-sharp {
|
|
31
32
|
display: block;
|
|
32
33
|
font-size: 24px;
|
|
33
34
|
height: $navbar-height-mobile;
|
|
@@ -97,7 +98,8 @@ nav {
|
|
|
97
98
|
|
|
98
99
|
i,
|
|
99
100
|
[class^="mdi-"], [class*="mdi-"],
|
|
100
|
-
i.material-icons
|
|
101
|
+
i.material-icons, i.material-symbols-outlined,
|
|
102
|
+
i.material-symbols-rounded, i.material-symbols-sharp {
|
|
101
103
|
float: left;
|
|
102
104
|
margin-right: 15px;
|
|
103
105
|
}
|
|
@@ -117,37 +119,38 @@ nav {
|
|
|
117
119
|
list-style-type: none;
|
|
118
120
|
margin: 0;
|
|
119
121
|
|
|
120
|
-
li {
|
|
122
|
+
& > li {
|
|
121
123
|
transition: background-color .3s;
|
|
122
124
|
float: left;
|
|
123
125
|
padding: 0;
|
|
124
|
-
}
|
|
125
126
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
&.active {
|
|
135
|
-
background-color: $navbar-bg-color-focus;
|
|
136
|
-
}
|
|
127
|
+
& > a {
|
|
128
|
+
transition: background-color .3s;
|
|
129
|
+
font-size: $navbar-font-size;
|
|
130
|
+
color: $navbar-font-color;
|
|
131
|
+
display: block;
|
|
132
|
+
padding: 0 15px;
|
|
133
|
+
cursor: pointer;
|
|
137
134
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
&.active {
|
|
136
|
+
background-color: $navbar-bg-color-focus;
|
|
137
|
+
}
|
|
141
138
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
margin-right: 15px;
|
|
146
|
-
display: inline-block;
|
|
139
|
+
&:hover:not(.active) {
|
|
140
|
+
background-color: $navbar-bg-color-hover;
|
|
141
|
+
}
|
|
147
142
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
143
|
+
&.btn, &.btn-large, &.btn-flat, &.btn-floating {
|
|
144
|
+
margin-top: -2px;
|
|
145
|
+
margin-left: 15px;
|
|
146
|
+
margin-right: 15px;
|
|
147
|
+
display: inline-block;
|
|
148
|
+
|
|
149
|
+
& > .material-icons, & > .material-symbols-outlined,
|
|
150
|
+
& > .material-symbols-rounded, & > .material-symbols-sharp {
|
|
151
|
+
height: inherit;
|
|
152
|
+
line-height: inherit;
|
|
153
|
+
}
|
|
151
154
|
}
|
|
152
155
|
}
|
|
153
156
|
}
|