@geotab/zenith 3.8.0 → 3.9.0-beta.1
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/README.md +11 -12
- package/dist/button/button.d.ts +2 -1
- package/dist/button/button.js +3 -3
- package/dist/calendar/calendar.js +200 -3
- package/dist/card/card.d.ts +1 -1
- package/dist/card/card.js +1 -1
- package/dist/card/components/cardButton/cardButton.d.ts +2 -1
- package/dist/card/components/cardButton/cardButton.js +5 -3
- package/dist/card/helpers/getIconTypeFromStatus.d.ts +1 -1
- package/dist/chart/barChart/getBarLegendItems.js +3 -5
- package/dist/chart/lineChart/getLineLegendItems.js +7 -7
- package/dist/chart/pieChart/centerTextPlugin.js +13 -5
- package/dist/chart/pieChart/getPieLegendItems.js +8 -12
- package/dist/chart/pieChart.js +13 -11
- package/dist/chart/plugins/legend/interfaces.d.ts +1 -1
- package/dist/commonHelpers/generateId.d.ts +8 -0
- package/dist/commonHelpers/generateId.js +8 -0
- package/dist/commonHelpers/hooks/ssrProvider.d.ts +14 -0
- package/dist/commonHelpers/hooks/ssrProvider.js +12 -0
- package/dist/commonHelpers/hooks/useClientReady.js +3 -1
- package/dist/commonHelpers/hooks/useDeviceType.js +6 -2
- package/dist/commonHelpers/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/commonHelpers/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/dist/commonHelpers/hooks/useMobile.js +4 -3
- package/dist/commonHelpers/hooks/usePortal.js +2 -5
- package/dist/commonHelpers/isDomEnv.js +1 -2
- package/dist/commonHelpers/useUniqueId.d.ts +6 -0
- package/dist/commonHelpers/useUniqueId.js +8 -2
- package/dist/commonHelpers/utils.d.ts +0 -1
- package/dist/commonHelpers/utils.js +1 -3
- package/dist/commonStyles/common.less +13 -1
- package/dist/commonStyles/fonts/notosarabic/LICENSE.txt +93 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Bold.woff +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Bold.woff2 +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Medium.woff +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Medium.woff2 +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Regular.woff +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-Regular.woff2 +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-SemiBold.woff +0 -0
- package/dist/commonStyles/fonts/notosarabic/NotoSansArabic-SemiBold.woff2 +0 -0
- package/dist/commonStyles/fonts/notosarabic.less +43 -0
- package/dist/commonStyles/pillStyles/pillContent.less +2 -3
- package/dist/commonStyles/pillStyles/pillStyles.less +1 -2
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/typography/typography.less +617 -249
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +5 -3
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +2 -38
- package/dist/dateInputInner/dateInputInnerControlBlock.js +12 -8
- package/dist/dateRangeRaw/dateRangeRaw.js +5 -1
- package/dist/dialog/dialog.js +4 -3
- package/dist/feedbackContainer/feedbackContainer.js +4 -4
- package/dist/fileUpload/fileUpload.js +21 -12
- package/dist/filters/components/filtersSidePanel.d.ts +1 -1
- package/dist/filters/components/filtersSidePanel.js +123 -116
- package/dist/filters/filters.js +1 -2
- package/dist/filtersBar/filtersBar.d.ts +2 -0
- package/dist/filtersBar/filtersBar.js +5 -3
- package/dist/filtersBar/filtersBarActions/filtersBarActions.js +3 -1
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +3 -0
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.d.ts +1 -1
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +86 -80
- package/dist/formFieldError/formFieldError.d.ts +2 -1
- package/dist/formFieldError/formFieldError.js +2 -2
- package/dist/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +1 -1
- package/dist/index.css +3707 -2151
- package/dist/index.d.ts +3 -5
- package/dist/index.js +24 -29
- package/dist/menu/components/menuItem.js +4 -4
- package/dist/menu/controlledMenu.js +4 -4
- package/dist/nav/nav.js +10 -5
- package/dist/nav/navAddMenu/navAddMenu.js +1 -2
- package/dist/nav/navEditList/navEditListUtils.d.ts +1 -1
- package/dist/nav/navEditList/navEditListUtils.js +2 -1
- package/dist/nav/navItem/navActionItem.js +3 -3
- package/dist/nav/navItem/navItem.js +1 -2
- package/dist/pageHeader/pageHeaderActions.js +4 -3
- package/dist/rangeRaw/rangeRaw.js +7 -1
- package/dist/selectList/selectList.js +11 -7
- package/dist/selectRaw/selectRaw.js +1 -1
- package/dist/shield/shield.js +5 -3
- package/dist/sidePanel/sidePanel.js +9 -8
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/flexible/useFlexibleColumns.js +39 -1
- package/dist/table/nested/useNestedRows.d.ts +1 -0
- package/dist/table/nested/useNestedRows.js +3 -3
- package/dist/table/selectable/useSelectableRows.d.ts +9 -0
- package/dist/table/selectable/useSelectableRows.js +18 -11
- package/dist/table/table.js +1 -7
- package/dist/{card/components → title}/title.d.ts +1 -1
- package/dist/title/title.js +27 -0
- package/dist/toggleButtonRaw/toggleButtonRaw.js +3 -1
- package/dist/toggleButtonRaw/types.d.ts +1 -0
- package/dist/tooltip/tooltip.d.ts +2 -1
- package/dist/tooltip/tooltip.js +68 -64
- package/dist/utils/localization/directionContext.d.ts +3 -0
- package/dist/utils/localization/directionContext.js +5 -0
- package/dist/utils/localization/getTextDirection.d.ts +2 -0
- package/dist/utils/localization/getTextDirection.js +6 -0
- package/dist/utils/localization/languageProvider.js +15 -1
- package/dist/utils/localization/translations/en-json.d.ts +2 -0
- package/dist/utils/localization/translations/en-json.js +3 -1
- package/dist/utils/localization/translations/en.json +3 -0
- package/dist/utils/localization/useDirection.d.ts +2 -0
- package/dist/utils/localization/useDirection.js +7 -0
- package/esm/button/button.d.ts +2 -1
- package/esm/button/button.js +3 -3
- package/esm/calendar/calendar.js +200 -3
- package/esm/card/card.d.ts +1 -1
- package/esm/card/card.js +1 -1
- package/esm/card/components/cardButton/cardButton.d.ts +2 -1
- package/esm/card/components/cardButton/cardButton.js +5 -3
- package/esm/card/helpers/getIconTypeFromStatus.d.ts +1 -1
- package/esm/chart/barChart/getBarLegendItems.js +3 -5
- package/esm/chart/lineChart/getLineLegendItems.js +7 -7
- package/esm/chart/pieChart/centerTextPlugin.js +13 -5
- package/esm/chart/pieChart/getPieLegendItems.js +8 -12
- package/esm/chart/pieChart.js +14 -12
- package/esm/chart/plugins/legend/interfaces.d.ts +1 -1
- package/esm/commonHelpers/generateId.d.ts +8 -0
- package/esm/commonHelpers/generateId.js +8 -0
- package/esm/commonHelpers/hooks/ssrProvider.d.ts +14 -0
- package/esm/commonHelpers/hooks/ssrProvider.js +6 -0
- package/esm/commonHelpers/hooks/useClientReady.js +4 -2
- package/esm/commonHelpers/hooks/useDeviceType.js +7 -3
- package/esm/commonHelpers/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/esm/commonHelpers/hooks/useIsomorphicLayoutEffect.js +3 -0
- package/esm/commonHelpers/hooks/useMobile.js +4 -3
- package/esm/commonHelpers/hooks/usePortal.js +2 -5
- package/esm/commonHelpers/isDomEnv.js +1 -2
- package/esm/commonHelpers/useUniqueId.d.ts +6 -0
- package/esm/commonHelpers/useUniqueId.js +7 -1
- package/esm/commonHelpers/utils.d.ts +0 -1
- package/esm/commonHelpers/utils.js +0 -1
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +5 -3
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +2 -38
- package/esm/dateInputInner/dateInputInnerControlBlock.js +13 -9
- package/esm/dateRangeRaw/dateRangeRaw.js +5 -1
- package/esm/dialog/dialog.js +4 -3
- package/esm/feedbackContainer/feedbackContainer.js +4 -4
- package/esm/fileUpload/fileUpload.js +21 -12
- package/esm/filters/components/filtersSidePanel.d.ts +1 -1
- package/esm/filters/components/filtersSidePanel.js +123 -116
- package/esm/filters/filters.js +2 -3
- package/esm/filtersBar/filtersBar.d.ts +2 -0
- package/esm/filtersBar/filtersBar.js +5 -3
- package/esm/filtersBar/filtersBarActions/filtersBarActions.js +3 -1
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +3 -0
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.d.ts +1 -1
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +86 -80
- package/esm/formFieldError/formFieldError.d.ts +2 -1
- package/esm/formFieldError/formFieldError.js +2 -2
- package/esm/header/components/collapsedItemsControl/utils/handleCustomMenuWrapper.js +1 -1
- package/esm/index.d.ts +3 -5
- package/esm/index.js +3 -5
- package/esm/menu/components/menuItem.js +1 -1
- package/esm/menu/controlledMenu.js +1 -1
- package/esm/nav/nav.js +10 -5
- package/esm/nav/navAddMenu/navAddMenu.js +2 -3
- package/esm/nav/navEditList/navEditListUtils.d.ts +1 -1
- package/esm/nav/navEditList/navEditListUtils.js +2 -1
- package/esm/nav/navItem/navActionItem.js +3 -2
- package/esm/nav/navItem/navItem.js +2 -3
- package/esm/pageHeader/pageHeaderActions.js +4 -3
- package/esm/rangeRaw/rangeRaw.js +7 -1
- package/esm/selectList/selectList.js +11 -7
- package/esm/selectRaw/selectRaw.js +1 -1
- package/esm/shield/shield.js +5 -3
- package/esm/sidePanel/sidePanel.js +9 -8
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/flexible/useFlexibleColumns.js +39 -1
- package/esm/table/nested/useNestedRows.d.ts +1 -0
- package/esm/table/nested/useNestedRows.js +1 -1
- package/esm/table/selectable/useSelectableRows.d.ts +9 -0
- package/esm/table/selectable/useSelectableRows.js +15 -8
- package/esm/table/table.js +1 -7
- package/esm/{card/components → title}/title.d.ts +1 -1
- package/esm/title/title.js +23 -0
- package/esm/toggleButtonRaw/toggleButtonRaw.js +3 -1
- package/esm/toggleButtonRaw/types.d.ts +1 -0
- package/esm/tooltip/tooltip.d.ts +2 -1
- package/esm/tooltip/tooltip.js +68 -64
- package/esm/utils/localization/directionContext.d.ts +3 -0
- package/esm/utils/localization/directionContext.js +2 -0
- package/esm/utils/localization/getTextDirection.d.ts +2 -0
- package/esm/utils/localization/getTextDirection.js +2 -0
- package/esm/utils/localization/languageProvider.js +15 -1
- package/esm/utils/localization/translations/en-json.d.ts +2 -0
- package/esm/utils/localization/translations/en-json.js +3 -1
- package/esm/utils/localization/translations/en.json +3 -0
- package/esm/utils/localization/useDirection.d.ts +2 -0
- package/esm/utils/localization/useDirection.js +3 -0
- package/package.json +33 -31
- package/dist/card/components/title.js +0 -22
- package/dist/commonHelpers/hooks/deviceProvider.d.ts +0 -7
- package/dist/commonHelpers/hooks/deviceProvider.js +0 -11
- package/esm/card/components/title.js +0 -18
- package/esm/commonHelpers/hooks/deviceProvider.d.ts +0 -7
- package/esm/commonHelpers/hooks/deviceProvider.js +0 -4
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
.
|
|
2
|
-
@font: Roboto,
|
|
3
|
-
@size,
|
|
4
|
-
@line-height: 16px,
|
|
5
|
-
@letter-spacing: 0,
|
|
6
|
-
@weight: 400,
|
|
7
|
-
@style: normal,
|
|
8
|
-
@text-transform: none,
|
|
9
|
-
) {
|
|
10
|
-
font-family: @font;
|
|
11
|
-
font-size: @size;
|
|
12
|
-
font-style: @style;
|
|
13
|
-
font-weight: @weight;
|
|
14
|
-
letter-spacing: @letter-spacing;
|
|
15
|
-
line-height: @line-height;
|
|
16
|
-
text-transform: @text-transform;
|
|
17
|
-
}
|
|
1
|
+
@import (reference) "../common.less";
|
|
18
2
|
|
|
19
3
|
:root {
|
|
20
4
|
--main-font: Roboto, "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
|
|
@@ -22,411 +6,795 @@
|
|
|
22
6
|
--data-font-drive: "Roboto Mono", "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
|
|
23
7
|
}
|
|
24
8
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
9
|
+
//**********//
|
|
10
|
+
// MyGeotab //
|
|
11
|
+
//**********//
|
|
12
|
+
|
|
13
|
+
//body-label
|
|
14
|
+
//label-01
|
|
15
|
+
//body-04
|
|
16
|
+
//body-s-400
|
|
17
|
+
@base-font-size: 12;
|
|
18
|
+
@base-line-height: 16;
|
|
19
|
+
@base-letter-spacing: 0.32;
|
|
20
|
+
@base-font-weight: 400;
|
|
21
|
+
@base-font-style: normal;
|
|
22
|
+
|
|
23
|
+
//body-01,
|
|
24
|
+
//body-l-400
|
|
25
|
+
@body-font-size: 16;
|
|
26
|
+
@body-line-height: 24;
|
|
27
|
+
@body-letter-spacing: 0;
|
|
28
|
+
|
|
29
|
+
//body-02-short,
|
|
30
|
+
//body-m-400-short
|
|
31
|
+
@body-short-font-size: 14;
|
|
32
|
+
|
|
33
|
+
//body-02-tall,
|
|
34
|
+
//body-m-400-tall
|
|
35
|
+
@body-tall-font-size: 14;
|
|
36
|
+
@body-tall-line-height: 28;
|
|
37
|
+
|
|
38
|
+
//body-03,
|
|
39
|
+
//body-s-700
|
|
40
|
+
@body-03-weight: 700;
|
|
41
|
+
|
|
42
|
+
//body-05,
|
|
43
|
+
//body-s-400-italic
|
|
44
|
+
@body-05-style: italic;
|
|
45
|
+
|
|
46
|
+
//heading-01
|
|
47
|
+
//heading-xl-300
|
|
48
|
+
@heading-01-font-size: 28;
|
|
49
|
+
@heading-01-font-mobile-size: 20;
|
|
50
|
+
@heading-01-line-height: 36;
|
|
51
|
+
@heading-01-weight: 300;
|
|
52
|
+
|
|
53
|
+
//heading-02
|
|
54
|
+
//heading-l-400
|
|
55
|
+
@heading-02-font-size: 20;
|
|
56
|
+
@heading-02-line-height: 24;
|
|
57
|
+
|
|
58
|
+
//heading-03
|
|
59
|
+
//heading-m-300
|
|
60
|
+
@heading-03-font-size: 20;
|
|
61
|
+
@heading-03-font-mobile-size: 18;
|
|
62
|
+
@heading-03-line-height: 28;
|
|
63
|
+
|
|
64
|
+
//heading-04
|
|
65
|
+
//heading-s-500
|
|
66
|
+
@heading-04-font-size: 16;
|
|
67
|
+
@heading-04-line-height: 24;
|
|
68
|
+
@heading-04-weight: 500;
|
|
69
|
+
|
|
70
|
+
//heading-05
|
|
71
|
+
//heading-xs-500
|
|
72
|
+
@heading-05-font-size: 14;
|
|
73
|
+
@heading-05-letter-spacing: 0.16;
|
|
74
|
+
@heading-05-weight: 500;
|
|
75
|
+
|
|
76
|
+
//heading-06
|
|
77
|
+
@heading-06-letter-spacing: 0;
|
|
78
|
+
@heading-06-text-trasnform: uppercase;
|
|
79
|
+
|
|
80
|
+
//data-01
|
|
81
|
+
//data-xxl
|
|
82
|
+
@data-01-font-size: 32;
|
|
83
|
+
@data-01-line-height: 40;
|
|
84
|
+
|
|
85
|
+
//data-02
|
|
86
|
+
//data-xl
|
|
87
|
+
@data-02-font-size: 24;
|
|
88
|
+
@data-02-line-height: 32;
|
|
89
|
+
|
|
90
|
+
//data-03
|
|
91
|
+
//data-l
|
|
92
|
+
@data-03-font-size: 20;
|
|
93
|
+
@data-03-line-height: 24;
|
|
94
|
+
|
|
95
|
+
//data-04
|
|
96
|
+
//data-m
|
|
97
|
+
@data-04-font-size: 18;
|
|
98
|
+
@data-04-line-height: 21;
|
|
99
|
+
|
|
100
|
+
//data-05
|
|
101
|
+
//data-s
|
|
102
|
+
@data-05-font-size: 16;
|
|
103
|
+
@data-05-line-height: 18;
|
|
104
|
+
|
|
105
|
+
//data-06
|
|
106
|
+
//data-xs
|
|
107
|
+
@data-06-font-size: 14;
|
|
108
|
+
@data-06-line-height: 16;
|
|
109
|
+
|
|
110
|
+
//*******//
|
|
111
|
+
// Drive //
|
|
112
|
+
//*******//
|
|
113
|
+
|
|
114
|
+
//label-01-drive
|
|
115
|
+
//label-400-drive
|
|
116
|
+
@drive-base-font-size: 16;
|
|
117
|
+
@drive-base-font-mobile-size: 14;
|
|
118
|
+
@drive-base-line-height: 18;
|
|
119
|
+
@drive-base-letter-spacing: 0.32;
|
|
120
|
+
@drive-base-font-weight: 400;
|
|
121
|
+
@drive-base-font-style: normal;
|
|
122
|
+
|
|
123
|
+
//body-01-drive
|
|
124
|
+
//body-l-400-drive
|
|
125
|
+
@body-01-drive-font-size: 20;
|
|
126
|
+
@body-01-drive-font-mobile-size: 18;
|
|
127
|
+
@body-01-drive-line-height: 30;
|
|
128
|
+
@body-01-drive-line-height-mobile: 28;
|
|
129
|
+
@body-01-drive-letter-spacing: 0;
|
|
130
|
+
|
|
131
|
+
//body-02-short-drive
|
|
132
|
+
//body-m-400-short-drive
|
|
133
|
+
@body-02-short-drive-font-size: 18;
|
|
134
|
+
@body-02-short-drive-font-mobile-size: 16;
|
|
135
|
+
@body-02-short-drive-line-height: 22;
|
|
136
|
+
@body-02-short-drive-line-height-mobile: 20;
|
|
137
|
+
|
|
138
|
+
//body-02-tall-drive
|
|
139
|
+
//body-m-400-tall-drive
|
|
140
|
+
@body-02-tall-drive-font-size: 18;
|
|
141
|
+
@body-02-tall-drive-font-mobile-size: 16;
|
|
142
|
+
@body-02-tall-drive-line-height: 28;
|
|
143
|
+
@body-02-tall-drive-line-height-mobile: 26;
|
|
144
|
+
|
|
145
|
+
//body-03-drive,
|
|
146
|
+
//body-s-700-drive
|
|
147
|
+
@body-03-drive-line-height: 22;
|
|
148
|
+
@body-03-drive-weight: 700;
|
|
149
|
+
|
|
150
|
+
//body-04-drive,
|
|
151
|
+
//body-s-400-drive
|
|
152
|
+
@body-04-drive-line-height: 22;
|
|
153
|
+
@body-04-drive-line-height-mobile: 20;
|
|
154
|
+
|
|
155
|
+
//body-05-drive
|
|
156
|
+
//body-s-400-italic-drive
|
|
157
|
+
@body-05-drive-line-height: 20;
|
|
158
|
+
@body-05-drive-style: italic;
|
|
159
|
+
|
|
160
|
+
//heading-01-drive
|
|
161
|
+
//heading-xl-300-drive
|
|
162
|
+
@heading-01-drive-font-size: 26;
|
|
163
|
+
@heading-01-drive-font-mobile-size: 24;
|
|
164
|
+
@heading-01-drive-line-height: 34;
|
|
165
|
+
@heading-01-drive-line-height-mobile: 32;
|
|
166
|
+
@heading-01-drive-weight: 300;
|
|
167
|
+
|
|
168
|
+
//heading-02-drive
|
|
169
|
+
//heading-l-400-drive
|
|
170
|
+
@heading-02-drive-font-size: 24;
|
|
171
|
+
@heading-02-drive-font-mobile-size: 22;
|
|
172
|
+
@heading-02-drive-line-height: 30;
|
|
173
|
+
@heading-02-drive-line-height-mobile: 28;
|
|
174
|
+
|
|
175
|
+
//heading-03-drive
|
|
176
|
+
//heading-m-300-drive
|
|
177
|
+
@heading-03-drive-font-size: 20;
|
|
178
|
+
@heading-03-drive-font-mobile-size: 18;
|
|
179
|
+
@heading-03-drive-line-height: 26;
|
|
180
|
+
@heading-03-drive-mobile-line-height: 24;
|
|
181
|
+
|
|
182
|
+
//heading-04-drive
|
|
183
|
+
//heading-m-500-drive
|
|
184
|
+
@heading-04-drive-font-size: 20;
|
|
185
|
+
@heading-04-drive-font-mobile-size: 18;
|
|
186
|
+
@heading-04-drive-line-height: 28;
|
|
187
|
+
@heading-04-drive-mobile-line-height: 26;
|
|
188
|
+
@heading-04-drive-weight: 500;
|
|
189
|
+
|
|
190
|
+
//heading-05-drive
|
|
191
|
+
//heading-s-500-drive
|
|
192
|
+
@heading-05-drive-font-size: 18;
|
|
193
|
+
@heading-05-drive-font-mobile-size: 16;
|
|
194
|
+
@heading-05-drive-line-height: 22;
|
|
195
|
+
@heading-05-drive-mobile-line-height: 20;
|
|
196
|
+
@heading-05-drive-letter-spacing: 0.16;
|
|
197
|
+
|
|
198
|
+
//heading-06-drive
|
|
199
|
+
@heading-06-drive-font-size: 14;
|
|
200
|
+
@heading-06-drive-letter-spacing: 0;
|
|
201
|
+
|
|
202
|
+
//heading-07-drive
|
|
203
|
+
//heading-s-300-drive
|
|
204
|
+
@heading-07-drive-font-size: 18;
|
|
205
|
+
@heading-07-drive-font-mobile-size: 16;
|
|
206
|
+
@heading-07-drive-line-height: 20;
|
|
207
|
+
@heading-07-drive-mobile-line-height: 18;
|
|
208
|
+
|
|
209
|
+
//data-01-drive
|
|
210
|
+
//data-xl-drive
|
|
211
|
+
@data-01-drive-font-size: 34;
|
|
212
|
+
@data-01-drive-mobile-size: 32;
|
|
213
|
+
@data-01-drive-line-height: 42;
|
|
214
|
+
@data-01-drive-mobile-line-height: 40;
|
|
215
|
+
|
|
216
|
+
//data-02-drive
|
|
217
|
+
//data-l-drive
|
|
218
|
+
@data-02-drive-font-size: 22;
|
|
219
|
+
@data-02-drive-mobile-size: 20;
|
|
220
|
+
@data-02-drive-line-height: 26;
|
|
221
|
+
@data-02-drive-mobile-line-height: 24;
|
|
222
|
+
|
|
223
|
+
//data-03-drive
|
|
224
|
+
//data-m-drive
|
|
225
|
+
@data-03-drive-font-size: 20;
|
|
226
|
+
@data-03-drive-mobile-size: 16;
|
|
227
|
+
@data-03-drive-line-height: 22;
|
|
228
|
+
@data-03-drive-mobile-line-height: 21;
|
|
229
|
+
|
|
230
|
+
//data-04-drive
|
|
231
|
+
//data-s-drive
|
|
232
|
+
@data-04-drive-font-size: 18;
|
|
233
|
+
@data-04-drive-mobile-size: 16;
|
|
234
|
+
@data-04-drive-line-height: 26;
|
|
235
|
+
@data-04-drive-mobile-line-height: 24;
|
|
236
|
+
|
|
237
|
+
//*************************************************************//
|
|
238
|
+
// Do not add raw values here, use the variables above instead //
|
|
239
|
+
//*************************************************************//
|
|
240
|
+
|
|
241
|
+
.zenith-font(@font,
|
|
242
|
+
@size: @base-font-size,
|
|
243
|
+
@line-height: @base-line-height,
|
|
244
|
+
@letter-spacing: @base-letter-spacing,
|
|
245
|
+
@weight: @base-font-weight,
|
|
246
|
+
@style: @base-font-style,
|
|
247
|
+
@text-transform: none,
|
|
248
|
+
) {
|
|
249
|
+
font-family: @font;
|
|
250
|
+
font-size: (@size / @rem);
|
|
251
|
+
font-style: @style;
|
|
252
|
+
font-weight: @weight;
|
|
253
|
+
letter-spacing: (@letter-spacing / @rem);
|
|
254
|
+
line-height: (@line-height / @rem);
|
|
255
|
+
text-transform: @text-transform;
|
|
256
|
+
text-decoration: none;
|
|
30
257
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.font(var(--main-font), 16px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
|
|
258
|
+
html:lang(ar) & {
|
|
259
|
+
font-family: @arabic-font-family;
|
|
260
|
+
}
|
|
35
261
|
}
|
|
36
262
|
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
|
|
263
|
+
.zenith-drive-font(@font,
|
|
264
|
+
@size: @drive-base-font-size,
|
|
265
|
+
@line-height: @drive-base-line-height,
|
|
266
|
+
@letter-spacing: @drive-base-letter-spacing,
|
|
267
|
+
@weight: @drive-base-font-weight,
|
|
268
|
+
@style: @drive-base-font-style,
|
|
269
|
+
@text-transform: none,
|
|
270
|
+
) {
|
|
271
|
+
font-family: @font;
|
|
272
|
+
font-size: (@size / @rem);
|
|
273
|
+
font-style: @style;
|
|
274
|
+
font-weight: @weight;
|
|
275
|
+
letter-spacing: (@letter-spacing / @rem);
|
|
276
|
+
line-height: (@line-height / @rem);
|
|
277
|
+
text-transform: @text-transform;
|
|
278
|
+
text-decoration: none;
|
|
40
279
|
}
|
|
41
280
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
281
|
+
// MyGeotab
|
|
282
|
+
|
|
283
|
+
// Labels
|
|
284
|
+
.label-01,
|
|
285
|
+
.body-label-400,
|
|
286
|
+
.body-04,
|
|
287
|
+
.body-s-400 {
|
|
288
|
+
.zenith-font(@main-font-family);
|
|
46
289
|
}
|
|
47
290
|
|
|
48
291
|
// Body
|
|
49
292
|
.body-01,
|
|
50
293
|
.body-l-400 {
|
|
51
|
-
.font(
|
|
294
|
+
.zenith-font(@main-font-family, @body-font-size, @body-line-height, @body-letter-spacing);
|
|
52
295
|
}
|
|
53
296
|
|
|
54
297
|
.body-02-short,
|
|
55
298
|
.body-m-400-short {
|
|
56
|
-
.font(
|
|
299
|
+
.zenith-font(@main-font-family, @body-short-font-size, @base-line-height, @body-letter-spacing);
|
|
57
300
|
}
|
|
58
301
|
|
|
59
302
|
.body-02-tall,
|
|
60
303
|
.body-m-400-tall {
|
|
61
|
-
.font(
|
|
304
|
+
.zenith-font(@main-font-family, @body-tall-font-size, @body-tall-line-height, @body-letter-spacing);
|
|
62
305
|
}
|
|
63
306
|
|
|
64
307
|
.body-03,
|
|
65
308
|
.body-s-700 {
|
|
66
|
-
.font(
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.body-04,
|
|
70
|
-
.body-s-400 {
|
|
71
|
-
.font(var(--main-font), 12px, @line-height: 16px, @letter-spacing: 0.32px, @weight: 400);
|
|
309
|
+
.zenith-font(@main-font-family, @weight: @body-03-weight);
|
|
72
310
|
}
|
|
73
311
|
|
|
74
312
|
.body-05,
|
|
75
313
|
.body-s-400-italic {
|
|
76
|
-
.font(
|
|
314
|
+
.zenith-font(@main-font-family, @style: @body-05-style);
|
|
77
315
|
}
|
|
78
316
|
|
|
79
|
-
//
|
|
80
|
-
.
|
|
81
|
-
.
|
|
82
|
-
|
|
317
|
+
// Headings
|
|
318
|
+
.heading-01-desktop,//this is here only until we update the mygeotab use of heading-01-desktop to heading-xl-300
|
|
319
|
+
.heading-01,
|
|
320
|
+
.heading-xl-300 {
|
|
321
|
+
.zenith-font(@main-font-family, @heading-01-font-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
83
322
|
}
|
|
84
323
|
|
|
85
|
-
.
|
|
86
|
-
.
|
|
87
|
-
.font(
|
|
324
|
+
.heading-02,
|
|
325
|
+
.heading-l-400 {
|
|
326
|
+
.zenith-font(@main-font-family, @heading-02-font-size, @heading-02-line-height);
|
|
88
327
|
}
|
|
89
328
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
329
|
+
.heading-03,
|
|
330
|
+
.heading-m-300 {
|
|
331
|
+
.zenith-font(@main-font-family, @heading-03-font-size, @heading-03-line-height, @weight: @heading-01-weight);
|
|
94
332
|
}
|
|
95
333
|
|
|
96
|
-
.
|
|
97
|
-
.
|
|
98
|
-
.font(
|
|
334
|
+
.heading-04,
|
|
335
|
+
.heading-s-500 {
|
|
336
|
+
.zenith-font(@main-font-family, @heading-04-font-size, @heading-04-line-height, @weight: @heading-04-weight);
|
|
99
337
|
}
|
|
100
338
|
|
|
101
|
-
.
|
|
102
|
-
.
|
|
103
|
-
.font(
|
|
339
|
+
.heading-05,
|
|
340
|
+
.heading-xs-500 {
|
|
341
|
+
.zenith-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @heading-05-weight);
|
|
104
342
|
}
|
|
105
343
|
|
|
106
|
-
|
|
107
|
-
.
|
|
108
|
-
.font(var(--main-font), 16px, @line-height: 20px, @weight: 400);
|
|
109
|
-
}
|
|
344
|
+
.heading-06 {
|
|
345
|
+
.zenith-font(@main-font-family, @body-tall-font-size, @body-line-height, @heading-06-letter-spacing, @heading-05-weight);
|
|
110
346
|
}
|
|
111
347
|
|
|
112
|
-
.
|
|
113
|
-
.
|
|
114
|
-
.font(
|
|
348
|
+
.heading-07,
|
|
349
|
+
.heading-xs-300 {
|
|
350
|
+
.zenith-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @weight: @heading-01-weight);
|
|
115
351
|
}
|
|
116
352
|
|
|
117
|
-
|
|
118
|
-
.
|
|
119
|
-
|
|
353
|
+
// Data
|
|
354
|
+
.data-01,
|
|
355
|
+
.data-xxl {
|
|
356
|
+
.zenith-font(@main-font-family, @data-01-font-size, @data-01-line-height);
|
|
120
357
|
}
|
|
121
358
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
359
|
+
.data-02,
|
|
360
|
+
.data-xl {
|
|
361
|
+
.zenith-font(@main-font-family, @data-02-font-size, @data-02-line-height);
|
|
126
362
|
}
|
|
127
363
|
|
|
128
|
-
.
|
|
129
|
-
.
|
|
130
|
-
.font(
|
|
364
|
+
.data-03,
|
|
365
|
+
.data-l {
|
|
366
|
+
.zenith-font(@main-font-family, @data-03-font-size, @data-03-line-height);
|
|
131
367
|
}
|
|
132
368
|
|
|
133
|
-
.
|
|
134
|
-
.
|
|
135
|
-
.font(
|
|
369
|
+
.data-04,
|
|
370
|
+
.data-m {
|
|
371
|
+
.zenith-font(@main-font-family, @data-04-font-size, @data-04-line-height);
|
|
136
372
|
}
|
|
137
373
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
374
|
+
.data-05,
|
|
375
|
+
.data-s {
|
|
376
|
+
.zenith-font(@main-font-family, @data-05-font-size, @data-05-line-height);
|
|
142
377
|
}
|
|
143
378
|
|
|
144
|
-
.
|
|
145
|
-
.
|
|
146
|
-
.font(
|
|
379
|
+
.data-06,
|
|
380
|
+
.data-xs {
|
|
381
|
+
.zenith-font(@main-font-family, @data-06-font-size, @data-06-line-height);
|
|
147
382
|
}
|
|
148
383
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
384
|
+
// Drive
|
|
385
|
+
|
|
386
|
+
// Labels Drive
|
|
387
|
+
.label-01-drive,
|
|
388
|
+
.label-400-drive {
|
|
389
|
+
.zenith-drive-font(@driver-font-family);
|
|
152
390
|
}
|
|
153
391
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
392
|
+
// Body Drive
|
|
393
|
+
.body-01-drive,
|
|
394
|
+
.body-l-400-drive {
|
|
395
|
+
.zenith-drive-font(@driver-font-family, @body-01-drive-font-size, @body-01-drive-line-height, @body-01-drive-letter-spacing);
|
|
158
396
|
}
|
|
159
397
|
|
|
160
|
-
.body-
|
|
161
|
-
.
|
|
162
|
-
.font(
|
|
398
|
+
.body-02-short-drive,
|
|
399
|
+
.body-m-400-short-drive {
|
|
400
|
+
.zenith-drive-font(@driver-font-family, @body-02-short-drive-font-size, @body-02-short-drive-line-height);
|
|
163
401
|
}
|
|
164
402
|
|
|
165
|
-
.body-
|
|
166
|
-
.
|
|
167
|
-
.font(
|
|
403
|
+
.body-02-tall-drive,
|
|
404
|
+
.body-m-400-tall-drive {
|
|
405
|
+
.zenith-drive-font(@driver-font-family, @body-02-tall-drive-font-size, @body-02-tall-drive-line-height);
|
|
168
406
|
}
|
|
169
407
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
408
|
+
.body-03-drive,
|
|
409
|
+
.body-s-700-drive {
|
|
410
|
+
.zenith-drive-font(@driver-font-family, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
174
411
|
}
|
|
175
412
|
|
|
176
|
-
|
|
177
|
-
.
|
|
178
|
-
.
|
|
179
|
-
.font(var(--main-font), 28px, @line-height: 36px, @weight: 300);
|
|
413
|
+
.body-04-drive,
|
|
414
|
+
.body-s-400-drive {
|
|
415
|
+
.zenith-drive-font(@driver-font-family, @line-height: @body-04-drive-line-height);
|
|
180
416
|
}
|
|
181
417
|
|
|
182
|
-
.
|
|
183
|
-
.
|
|
184
|
-
.font(
|
|
418
|
+
.body-05-drive,
|
|
419
|
+
.body-s-400-italic-drive {
|
|
420
|
+
.zenith-drive-font(@driver-font-family, @line-height: @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// Headings Drive
|
|
424
|
+
.heading-01-drive,
|
|
425
|
+
.heading-xl-300-drive {
|
|
426
|
+
.zenith-drive-font(@driver-font-family, @heading-01-drive-font-size, @heading-01-drive-line-height, @weight: @heading-01-drive-weight);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.heading-02-drive,
|
|
430
|
+
.heading-l-400-drive {
|
|
431
|
+
.zenith-drive-font(@driver-font-family, @heading-02-drive-font-size, @heading-02-drive-line-height);
|
|
185
432
|
}
|
|
186
433
|
|
|
434
|
+
.heading-03-drive,
|
|
435
|
+
.heading-m-300-drive {
|
|
436
|
+
.zenith-drive-font(@driver-font-family, @heading-03-drive-font-size, @heading-03-drive-line-height, @weight: @heading-01-drive-weight);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.heading-04-drive,
|
|
440
|
+
.heading-m-500-drive {
|
|
441
|
+
.zenith-drive-font(@driver-font-family, @heading-04-drive-font-size, @heading-04-drive-line-height, @weight: @heading-04-drive-weight);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.heading-05-drive,
|
|
445
|
+
.heading-s-500-drive {
|
|
446
|
+
.zenith-drive-font(@driver-font-family, @heading-05-drive-font-size, @heading-05-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.heading-06-drive {
|
|
450
|
+
.zenith-drive-font(@driver-font-family, @heading-06-drive-font-size, @body-line-height, @heading-06-drive-letter-spacing, @weight: @heading-04-drive-weight, @text-transform: @heading-06-text-trasnform);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.heading-07-drive,
|
|
454
|
+
.heading-s-300-drive {
|
|
455
|
+
.zenith-drive-font(@driver-font-family, @heading-07-drive-font-size, @heading-07-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// Data Drive
|
|
459
|
+
.data-01-drive,
|
|
460
|
+
.data-xl-drive {
|
|
461
|
+
.zenith-drive-font(@driver-font-family, @data-01-drive-font-size, @data-01-drive-line-height);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.data-02-drive,
|
|
465
|
+
.data-l-drive {
|
|
466
|
+
.zenith-drive-font(@driver-font-family, @data-02-drive-font-size, @data-02-drive-line-height);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.data-03-drive,
|
|
470
|
+
.data-m-drive {
|
|
471
|
+
.zenith-drive-font(@driver-font-family, @data-03-drive-font-size, @data-03-drive-line-height);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.data-04-drive,
|
|
475
|
+
.data-s-drive {
|
|
476
|
+
.zenith-drive-font(@driver-font-family, @data-04-drive-font-size, @data-04-drive-line-height);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// Responsive overrides (mobile — max-width: 640px)
|
|
187
480
|
@media (max-width: 640px) {
|
|
481
|
+
// MyGeotab
|
|
188
482
|
.heading-xl-300 {
|
|
189
|
-
.font(
|
|
483
|
+
.zenith-font(@main-font-family, @heading-01-font-mobile-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.heading-m-300 {
|
|
487
|
+
.zenith-font(@main-font-family, @heading-03-font-mobile-size, @heading-03-line-height, @weight: @heading-01-weight);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
// Drive
|
|
491
|
+
.label-01-drive,
|
|
492
|
+
.label-400-drive {
|
|
493
|
+
.zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.body-01-drive,
|
|
497
|
+
.body-l-400-drive {
|
|
498
|
+
.zenith-drive-font(@driver-font-family, @body-01-drive-font-mobile-size, @body-01-drive-line-height-mobile, @body-01-drive-letter-spacing);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.body-02-short-drive,
|
|
502
|
+
.body-m-400-short-drive {
|
|
503
|
+
.zenith-drive-font(@driver-font-family, @body-02-short-drive-font-mobile-size, @body-02-short-drive-line-height-mobile);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.body-02-tall-drive,
|
|
507
|
+
.body-m-400-tall-drive {
|
|
508
|
+
.zenith-drive-font(@driver-font-family, @body-02-tall-drive-font-mobile-size, @body-02-tall-drive-line-height-mobile);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.body-03-drive,
|
|
512
|
+
.body-s-700-drive {
|
|
513
|
+
.zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.body-04-drive,
|
|
517
|
+
.body-s-400-drive {
|
|
518
|
+
.zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-04-drive-line-height-mobile);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.body-05-drive,
|
|
522
|
+
.body-s-400-italic-drive {
|
|
523
|
+
.zenith-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.heading-01-drive,
|
|
527
|
+
.heading-xl-300-drive {
|
|
528
|
+
.zenith-drive-font(@driver-font-family, @heading-01-drive-font-mobile-size, @heading-01-drive-line-height-mobile, @weight: @heading-01-drive-weight);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.heading-02-drive,
|
|
532
|
+
.heading-l-400-drive {
|
|
533
|
+
.zenith-drive-font(@driver-font-family, @heading-02-drive-font-mobile-size, @heading-02-drive-line-height-mobile);
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.heading-03-drive,
|
|
537
|
+
.heading-m-300-drive {
|
|
538
|
+
.zenith-drive-font(@driver-font-family, @heading-03-drive-font-mobile-size, @heading-03-drive-mobile-line-height, @weight: @heading-01-drive-weight);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.heading-04-drive,
|
|
542
|
+
.heading-m-500-drive {
|
|
543
|
+
.zenith-drive-font(@driver-font-family, @heading-04-drive-font-mobile-size, @heading-04-drive-mobile-line-height, @weight: @heading-04-drive-weight);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.heading-05-drive,
|
|
547
|
+
.heading-s-500-drive {
|
|
548
|
+
.zenith-drive-font(@driver-font-family, @heading-05-drive-font-mobile-size, @heading-05-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.heading-07-drive,
|
|
552
|
+
.heading-s-300-drive {
|
|
553
|
+
.zenith-drive-font(@driver-font-family, @heading-07-drive-font-mobile-size, @heading-07-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.data-01-drive,
|
|
557
|
+
.data-xl-drive {
|
|
558
|
+
.zenith-drive-font(@driver-font-family, @data-01-drive-mobile-size, @data-01-drive-mobile-line-height);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.data-02-drive,
|
|
562
|
+
.data-l-drive {
|
|
563
|
+
.zenith-drive-font(@driver-font-family, @data-02-drive-mobile-size, @data-02-drive-mobile-line-height);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.data-03-drive,
|
|
567
|
+
.data-m-drive {
|
|
568
|
+
.zenith-drive-font(@driver-font-family, @data-03-drive-mobile-size, @data-03-drive-mobile-line-height);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.data-04-drive,
|
|
572
|
+
.data-s-drive {
|
|
573
|
+
.zenith-drive-font(@driver-font-family, @data-04-drive-mobile-size, @data-04-drive-mobile-line-height);
|
|
190
574
|
}
|
|
191
575
|
}
|
|
192
576
|
|
|
193
|
-
|
|
194
|
-
.
|
|
195
|
-
|
|
577
|
+
// ─── Backward-compatible aliases removed in MYG-120793 ────────────────────────
|
|
578
|
+
// These class definitions were removed as part of the typography refactor.
|
|
579
|
+
// Re-added here so existing MyGeotab consumers continue to compile without changes.
|
|
580
|
+
|
|
581
|
+
// Legacy .font() mixin
|
|
582
|
+
.font(
|
|
583
|
+
@font: Roboto,
|
|
584
|
+
@size,
|
|
585
|
+
@line-height: 16px,
|
|
586
|
+
@letter-spacing: 0,
|
|
587
|
+
@weight: 400,
|
|
588
|
+
@style: normal,
|
|
589
|
+
@text-transform: none,
|
|
590
|
+
) {
|
|
591
|
+
font-family: @font;
|
|
592
|
+
font-size: @size;
|
|
593
|
+
font-style: @style;
|
|
594
|
+
font-weight: @weight;
|
|
595
|
+
letter-spacing: @letter-spacing;
|
|
596
|
+
line-height: @line-height;
|
|
597
|
+
text-transform: @text-transform;
|
|
196
598
|
}
|
|
197
599
|
|
|
198
|
-
|
|
199
|
-
.heading-
|
|
200
|
-
.font(
|
|
600
|
+
// Heading — desktop/mobile aliases
|
|
601
|
+
.heading-03-desktop {
|
|
602
|
+
.zenith-font(@main-font-family, 20, 28, 0, 300);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.heading-01-mobile,
|
|
606
|
+
.heading-xl-300-mobile {
|
|
607
|
+
.zenith-font(@main-font-family, 20, 36, 0, 300);
|
|
201
608
|
}
|
|
202
609
|
|
|
203
610
|
.heading-03-mobile,
|
|
204
611
|
.heading-m-300-mobile {
|
|
205
|
-
.font(
|
|
612
|
+
.zenith-font(@main-font-family, 18, 28, 0, 300);
|
|
206
613
|
}
|
|
207
614
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
615
|
+
// Label — drive tablet/mobile
|
|
616
|
+
.label-01-tablet-drive,
|
|
617
|
+
.tablet-label-400-drive {
|
|
618
|
+
.zenith-font(@main-font-family, 16, 18);
|
|
212
619
|
}
|
|
213
620
|
|
|
214
|
-
.
|
|
215
|
-
.
|
|
216
|
-
.font(
|
|
621
|
+
.label-01-mobile-drive,
|
|
622
|
+
.mobile-label-400-drive {
|
|
623
|
+
.zenith-font(@main-font-family, 14, 18);
|
|
217
624
|
}
|
|
218
625
|
|
|
219
|
-
|
|
220
|
-
.
|
|
221
|
-
|
|
626
|
+
// Body-01 — drive tablet/mobile
|
|
627
|
+
.body-01-tablet-drive,
|
|
628
|
+
.tablet-body-l-400-drive {
|
|
629
|
+
.zenith-font(@main-font-family, 20, 30, 0);
|
|
222
630
|
}
|
|
223
631
|
|
|
224
|
-
.
|
|
225
|
-
|
|
632
|
+
.body-01-mobile-drive,
|
|
633
|
+
.mobile-body-l-400-drive {
|
|
634
|
+
.zenith-font(@main-font-family, 18, 28, 0);
|
|
226
635
|
}
|
|
227
636
|
|
|
228
|
-
|
|
229
|
-
.
|
|
230
|
-
|
|
637
|
+
// Body-02-short — drive tablet/mobile
|
|
638
|
+
.body-02-short-tablet-drive,
|
|
639
|
+
.tablet-body-m-400-short-drive {
|
|
640
|
+
.zenith-font(@main-font-family, 18, 22, 0);
|
|
231
641
|
}
|
|
232
642
|
|
|
233
|
-
|
|
643
|
+
.body-02-short-mobile-drive,
|
|
644
|
+
.mobile-body-m-400-short-drive {
|
|
645
|
+
.zenith-font(@main-font-family, 16, 20, 0);
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
// Body-02-tall — drive tablet/mobile
|
|
649
|
+
.body-02-tall-tablet-drive,
|
|
650
|
+
.tablet-body-m-400-tall-drive {
|
|
651
|
+
.zenith-font(@main-font-family, 18, 28, 0);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.body-02-tall-mobile-drive,
|
|
655
|
+
.mobile-body-m-400-tall-drive {
|
|
656
|
+
.zenith-font(@main-font-family, 16, 26, 0);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
// Body-03 — drive tablet/mobile
|
|
660
|
+
.body-03-tablet-drive,
|
|
661
|
+
.tablet-body-s-700-drive {
|
|
662
|
+
.zenith-font(@main-font-family, 16, 22, @weight: 700);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.body-03-mobile-drive,
|
|
666
|
+
.mobile-body-s-700-drive {
|
|
667
|
+
.zenith-font(@main-font-family, 14, 18, @weight: 700);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
// Body-04 — drive tablet/mobile
|
|
671
|
+
.body-04-tablet-drive,
|
|
672
|
+
.tablet-body-s-400-drive {
|
|
673
|
+
.zenith-font(@main-font-family, 16, 22);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.body-04-mobile-drive,
|
|
677
|
+
.mobile-body-s-400-drive {
|
|
678
|
+
.zenith-font(@main-font-family, 14, 20);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// Body-05 — drive tablet/mobile
|
|
682
|
+
.body-05-tablet-drive,
|
|
683
|
+
.tablet-body-s-400-italic-drive {
|
|
684
|
+
.zenith-font(@main-font-family, 16, 20, @style: italic);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.body-05-mobile-drive,
|
|
688
|
+
.mobile-body-s-400-italic-drive {
|
|
689
|
+
.zenith-font(@main-font-family, 14, 18, @style: italic);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// Heading — drive tablet/mobile
|
|
234
693
|
.heading-01-tablet-drive,
|
|
235
694
|
.tablet-heading-xl-300-drive {
|
|
236
|
-
.font(
|
|
695
|
+
.zenith-font(@main-font-family, 26, 34, 0, 300);
|
|
237
696
|
}
|
|
238
697
|
|
|
239
698
|
.heading-01-mobile-drive,
|
|
240
699
|
.mobile-heading-xl-300-drive {
|
|
241
|
-
.font(
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
@media (max-width: 640px) {
|
|
245
|
-
.tablet-heading-xl-300-drive {
|
|
246
|
-
.font(var(--main-font), 24px, 32px, @weight: 300);
|
|
247
|
-
}
|
|
700
|
+
.zenith-font(@main-font-family, 24, 32, 0, 300);
|
|
248
701
|
}
|
|
249
702
|
|
|
250
703
|
.heading-02-tablet-drive,
|
|
251
704
|
.tablet-heading-l-400-drive {
|
|
252
|
-
.font(
|
|
705
|
+
.zenith-font(@main-font-family, 24, 30, 0);
|
|
253
706
|
}
|
|
254
707
|
|
|
255
708
|
.heading-02-mobile-drive,
|
|
256
709
|
.mobile-heading-l-400-drive {
|
|
257
|
-
.font(
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@media (max-width: 640px) {
|
|
261
|
-
.tablet-heading-l-400-drive {
|
|
262
|
-
.font(var(--main-font), 22px, 28px, @weight: 400);
|
|
263
|
-
}
|
|
710
|
+
.zenith-font(@main-font-family, 22, 28, 0);
|
|
264
711
|
}
|
|
265
712
|
|
|
266
713
|
.heading-03-tablet-drive,
|
|
267
714
|
.tablet-heading-m-300-drive {
|
|
268
|
-
.font(
|
|
715
|
+
.zenith-font(@main-font-family, 20, 26, 0, 300);
|
|
269
716
|
}
|
|
270
717
|
|
|
271
718
|
.heading-03-mobile-drive,
|
|
272
719
|
.mobile-heading-m-300-drive {
|
|
273
|
-
.font(
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
@media (max-width: 640px) {
|
|
277
|
-
.tablet-heading-m-300-drive {
|
|
278
|
-
.font(var(--main-font), 18px, 24px, @weight: 300);
|
|
279
|
-
}
|
|
720
|
+
.zenith-font(@main-font-family, 18, 24, 0, 300);
|
|
280
721
|
}
|
|
281
722
|
|
|
282
723
|
.heading-04-tablet-drive,
|
|
283
724
|
.tablet-heading-m-500-drive {
|
|
284
|
-
.font(
|
|
725
|
+
.zenith-font(@main-font-family, 20, 28, 0, 500);
|
|
285
726
|
}
|
|
286
727
|
|
|
287
728
|
.heading-04-mobile-drive,
|
|
288
729
|
.mobile-heading-m-500-drive {
|
|
289
|
-
.font(
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
@media (max-width: 640px) {
|
|
293
|
-
.tablet-heading-m-500-drive {
|
|
294
|
-
.font(var(--main-font), 18px, 26px, @weight: 500);
|
|
295
|
-
}
|
|
730
|
+
.zenith-font(@main-font-family, 18, 26, 0, 500);
|
|
296
731
|
}
|
|
297
732
|
|
|
298
733
|
.heading-05-tablet-drive,
|
|
299
734
|
.tablet-heading-s-500-drive {
|
|
300
|
-
.font(
|
|
735
|
+
.zenith-font(@main-font-family, 18, 22, 0.16, 500);
|
|
301
736
|
}
|
|
302
737
|
|
|
303
738
|
.heading-05-mobile-drive,
|
|
304
739
|
.mobile-heading-s-500-drive {
|
|
305
|
-
.font(
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
@media (max-width: 640px) {
|
|
309
|
-
.tablet-heading-s-500-drive {
|
|
310
|
-
.font(var(--main-font), 16px, 20px, 0.16px, 500);
|
|
311
|
-
}
|
|
740
|
+
.zenith-font(@main-font-family, 16, 20, 0.16, 500);
|
|
312
741
|
}
|
|
313
742
|
|
|
314
743
|
.heading-06-tablet-drive {
|
|
315
|
-
.font(
|
|
744
|
+
.zenith-font(@main-font-family, 14, 22, 0, 500, normal, uppercase);
|
|
316
745
|
}
|
|
317
746
|
|
|
318
747
|
.heading-06-mobile-drive {
|
|
319
|
-
.font(
|
|
748
|
+
.zenith-font(@main-font-family, 12, 20, 0, 500, normal, uppercase);
|
|
320
749
|
}
|
|
321
750
|
|
|
322
751
|
.heading-07-tablet-drive,
|
|
323
752
|
.tablet-heading-s-300-drive {
|
|
324
|
-
.font(
|
|
753
|
+
.zenith-font(@main-font-family, 18, 20, 0.16, 300);
|
|
325
754
|
}
|
|
326
755
|
|
|
327
756
|
.heading-07-mobile-drive,
|
|
328
757
|
.mobile-heading-s-300-drive {
|
|
329
|
-
.font(
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media (max-width: 640px) {
|
|
333
|
-
.tablet-heading-s-300-drive {
|
|
334
|
-
.font(var(--main-font), 16px, 18px, 0.16px, 300);
|
|
335
|
-
}
|
|
758
|
+
.zenith-font(@main-font-family, 16, 18, 0.16, 300);
|
|
336
759
|
}
|
|
337
760
|
|
|
338
|
-
// Data
|
|
339
|
-
.data-01,
|
|
340
|
-
.data-xxl {
|
|
341
|
-
.font(var(--main-font-data), 32px, @line-height: 40px);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
.data-02,
|
|
345
|
-
.data-xl {
|
|
346
|
-
.font(var(--main-font-data), 24px, 32px);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.data-03,
|
|
350
|
-
.data-l {
|
|
351
|
-
.font(var(--main-font-data), 20px, 24px);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.data-04,
|
|
355
|
-
.data-m {
|
|
356
|
-
.font(var(--main-font-data), 18px, 21px);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.data-05,
|
|
360
|
-
.data-s {
|
|
361
|
-
.font(var(--main-font-data), 16px, 18px);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.data-06,
|
|
365
|
-
.data-xs {
|
|
366
|
-
.font(var(--main-font-data), 14px, 16px);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
// Data Drive
|
|
761
|
+
// Data — drive tablet/mobile
|
|
370
762
|
.data-01-tablet-drive,
|
|
371
763
|
.tablet-data-xl-drive {
|
|
372
|
-
.font(
|
|
764
|
+
.zenith-font(@driver-font-family, 34, 42, 0);
|
|
373
765
|
}
|
|
374
766
|
|
|
375
767
|
.data-01-mobile-drive,
|
|
376
768
|
.mobile-data-xl-drive {
|
|
377
|
-
.font(
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
@media (max-width: 640px) {
|
|
381
|
-
.tablet-data-xl-drive {
|
|
382
|
-
.font(var(--data-font-drive), 32px, 40px);
|
|
383
|
-
}
|
|
769
|
+
.zenith-font(@driver-font-family, 32, 40, 0);
|
|
384
770
|
}
|
|
385
771
|
|
|
386
772
|
.data-02-tablet-drive,
|
|
387
773
|
.tablet-data-l-drive {
|
|
388
|
-
.font(
|
|
774
|
+
.zenith-font(@driver-font-family, 22, 26, 0);
|
|
389
775
|
}
|
|
390
776
|
|
|
391
777
|
.data-02-mobile-drive,
|
|
392
778
|
.mobile-data-l-drive {
|
|
393
|
-
.font(
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
@media (max-width: 640px) {
|
|
397
|
-
.tablet-data-l-drive {
|
|
398
|
-
.font(var(--data-font-drive), 20px, 24px);
|
|
399
|
-
}
|
|
779
|
+
.zenith-font(@driver-font-family, 20, 24, 0);
|
|
400
780
|
}
|
|
401
781
|
|
|
402
782
|
.data-03-tablet-drive,
|
|
403
783
|
.tablet-data-m-drive {
|
|
404
|
-
.font(
|
|
784
|
+
.zenith-font(@driver-font-family, 20, 22, 0);
|
|
405
785
|
}
|
|
406
786
|
|
|
407
787
|
.data-03-mobile-drive,
|
|
408
788
|
.mobile-data-m-drive {
|
|
409
|
-
.font(
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
@media (max-width: 640px) {
|
|
413
|
-
.tablet-data-m-drive {
|
|
414
|
-
.font(var(--data-font-drive), 16px, 21px);
|
|
415
|
-
}
|
|
789
|
+
.zenith-font(@driver-font-family, 16, 21, 0);
|
|
416
790
|
}
|
|
417
791
|
|
|
418
792
|
.data-04-tablet-drive,
|
|
419
793
|
.tablet-data-s-drive {
|
|
420
|
-
.font(
|
|
794
|
+
.zenith-font(@driver-font-family, 18, 26, 0);
|
|
421
795
|
}
|
|
422
796
|
|
|
423
797
|
.data-04-mobile-drive,
|
|
424
798
|
.mobile-data-s-drive {
|
|
425
|
-
.font(
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
@media (max-width: 640px) {
|
|
429
|
-
.tablet-data-s-drive {
|
|
430
|
-
.font(var(--data-font-drive), 16px, 24px);
|
|
431
|
-
}
|
|
799
|
+
.zenith-font(@driver-font-family, 16, 24, 0);
|
|
432
800
|
}
|