office-ui-fabric-core-rails 5.0.1.0 → 5.1.0.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/office-ui-fabric-core-rails/version.rb +2 -2
  3. data/package.json +2 -2
  4. data/vendor/assets/css/fabric.css +470 -428
  5. data/vendor/assets/css/fabric.min.css +2 -2
  6. data/vendor/assets/css/fabric.rtl.css +50 -8
  7. data/vendor/assets/css/fabric.rtl.min.css +2 -2
  8. data/vendor/assets/scss/Fabric.Animations.Output.scss +419 -419
  9. data/vendor/assets/scss/Fabric.Animations.RTL.Output.scss +80 -80
  10. data/vendor/assets/scss/Fabric.Base.Output.scss +14 -14
  11. data/vendor/assets/scss/Fabric.Brand.Icons.Output.scss +18 -18
  12. data/vendor/assets/scss/Fabric.Color.Mixins.Output.scss +443 -443
  13. data/vendor/assets/scss/Fabric.Grid.Output.scss +32 -32
  14. data/vendor/assets/scss/Fabric.Icons.Font.Output.scss +21 -20
  15. data/vendor/assets/scss/Fabric.Icons.Output.scss +751 -740
  16. data/vendor/assets/scss/Fabric.Icons.RTL.Output.scss +149 -149
  17. data/vendor/assets/scss/Fabric.RTL.scss +39 -39
  18. data/vendor/assets/scss/Fabric.Responsive.Utilities.Output.scss +1012 -1012
  19. data/vendor/assets/scss/Fabric.Typography.Fonts.Extended.Output.scss +67 -67
  20. data/vendor/assets/scss/Fabric.Typography.Fonts.Output.scss +12 -12
  21. data/vendor/assets/scss/Fabric.Typography.Language.Overrides.Output.scss +52 -52
  22. data/vendor/assets/scss/Fabric.Typography.Output.scss +389 -389
  23. data/vendor/assets/scss/Fabric.Utilities.Output.scss +45 -45
  24. data/vendor/assets/scss/Fabric.scss +43 -43
  25. data/vendor/assets/scss/_Fabric.Animations.RTL.scss +79 -79
  26. data/vendor/assets/scss/_Fabric.Animations.scss +237 -237
  27. data/vendor/assets/scss/_Fabric.Base.scss +13 -13
  28. data/vendor/assets/scss/_Fabric.Brand.Icons.scss +50 -50
  29. data/vendor/assets/scss/_Fabric.Color.Mixins.scss +418 -418
  30. data/vendor/assets/scss/_Fabric.Color.Variables.scss +93 -93
  31. data/vendor/assets/scss/_Fabric.Common.scss +16 -16
  32. data/vendor/assets/scss/_Fabric.Grid.scss +33 -33
  33. data/vendor/assets/scss/_Fabric.Icons.scss +779 -770
  34. data/vendor/assets/scss/_Fabric.Mixins.RTL.scss +324 -324
  35. data/vendor/assets/scss/_Fabric.Mixins.scss +281 -281
  36. data/vendor/assets/scss/_Fabric.Responsive.Utilities.Variables.scss +1423 -1423
  37. data/vendor/assets/scss/_Fabric.Responsive.Variables.scss +34 -34
  38. data/vendor/assets/scss/_Fabric.Typography.Fonts.scss +167 -167
  39. data/vendor/assets/scss/_Fabric.Typography.Language.Overrides.scss +49 -49
  40. data/vendor/assets/scss/_Fabric.Typography.Mixins.scss +11 -11
  41. data/vendor/assets/scss/_Fabric.Typography.Variables.scss +29 -29
  42. data/vendor/assets/scss/_Fabric.Typography.scss +345 -345
  43. data/vendor/assets/scss/_Fabric.Utilities.scss +75 -75
  44. data/vendor/assets/scss/_Fabric.ZIndex.Variables.scss +32 -32
  45. data/vendor/assets/scss/_Fabric.i18n.scss +315 -315
  46. metadata +2 -2
@@ -1,35 +1,35 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- //
4
- // Office UI Fabric
5
- // --------------------------------------------------
6
- // Fabric responsive variables
7
-
8
-
9
- //== Variables for responsive breakpoints
10
- //
11
-
12
- // Small screen / phone (320px - 479px)
13
- $ms-screen-sm-min: 320px !default;
14
-
15
- // Medium screen / tablet (480px - 639px)
16
- $ms-screen-md-min: 480px !default;
17
-
18
- // Large screen / tablet (640px - 1023px)
19
- $ms-screen-lg-min: 640px !default;
20
-
21
- // Extra large screen / tablet (1024px - 1365px)
22
- $ms-screen-xl-min: 1024px !default;
23
-
24
- // Extra extra large screen / desktop (1366px - 1919px)
25
- $ms-screen-xxl-min: 1366px !default;
26
-
27
- // Extra extra extra large screen / desktop (1920px and up)
28
- $ms-screen-xxxl-min: 1920px !default;
29
-
30
- // Set all maxes since order matters in SASS
31
- $ms-screen-sm-max: ($ms-screen-md-min - 1);
32
- $ms-screen-md-max: ($ms-screen-lg-min - 1);
33
- $ms-screen-lg-max: ($ms-screen-xl-min - 1);
34
- $ms-screen-xl-max: ($ms-screen-xxl-min - 1);
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Fabric responsive variables
7
+
8
+
9
+ //== Variables for responsive breakpoints
10
+ //
11
+
12
+ // Small screen / phone (320px - 479px)
13
+ $ms-screen-sm-min: 320px !default;
14
+
15
+ // Medium screen / tablet (480px - 639px)
16
+ $ms-screen-md-min: 480px !default;
17
+
18
+ // Large screen / tablet (640px - 1023px)
19
+ $ms-screen-lg-min: 640px !default;
20
+
21
+ // Extra large screen / tablet (1024px - 1365px)
22
+ $ms-screen-xl-min: 1024px !default;
23
+
24
+ // Extra extra large screen / desktop (1366px - 1919px)
25
+ $ms-screen-xxl-min: 1366px !default;
26
+
27
+ // Extra extra extra large screen / desktop (1920px and up)
28
+ $ms-screen-xxxl-min: 1920px !default;
29
+
30
+ // Set all maxes since order matters in SASS
31
+ $ms-screen-sm-max: ($ms-screen-md-min - 1);
32
+ $ms-screen-md-max: ($ms-screen-lg-min - 1);
33
+ $ms-screen-lg-max: ($ms-screen-xl-min - 1);
34
+ $ms-screen-xl-max: ($ms-screen-xxl-min - 1);
35
35
  $ms-screen-xxl-max: ($ms-screen-xxxl-min - 1);
@@ -1,167 +1,167 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- //
4
- // Office UI Fabric
5
- // --------------------------------------------------
6
- // Font definitions
7
-
8
-
9
- // Font weights.
10
- $ms-font-name: "Segoe UI" !default;
11
-
12
-
13
- // Font paths.
14
- $ms-font-directory: "https://spoprod-a.akamaihd.net/files/fabric/assets/fonts/" !default;
15
- $ms-font-path-arabic: "segoeui-arabic" !default;
16
- $ms-font-path-cyrillic: "segoeui-cyrillic" !default;
17
- $ms-font-path-easteuropean: "segoeui-easteuropean" !default;
18
- $ms-font-path-greek: "segoeui-greek" !default;
19
- $ms-font-path-hebrew: "segoeui-hebrew" !default;
20
- $ms-font-path-vietnamese: "segoeui-vietnamese" !default;
21
- $ms-font-path-westeuropean: "segoeui-westeuropean" !default;
22
-
23
-
24
- /*
25
- Your use of the content in the files referenced here are subject to the terms of the license at http://aka.ms/fabric-font-license
26
- */
27
-
28
- // Mixins to generate @font-face rules for unique languages.
29
- @mixin SegoeUILight($ms-font-language, $ms-font-path) {
30
- @font-face {
31
- font-family: "#{$ms-font-name} #{$ms-font-language}";
32
- src: local("Segoe UI Light"),
33
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.woff2') format('woff2'),
34
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.woff') format('woff'),
35
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.ttf') format('truetype');
36
- font-weight: 100;
37
- font-style: normal;
38
- }
39
- }
40
-
41
- @mixin SegoeUISemilight($ms-font-language, $ms-font-path) {
42
- @font-face {
43
- font-family: "#{$ms-font-name} #{$ms-font-language}";
44
- src: local("Segoe UI Semilight"),
45
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.woff2') format('woff2'),
46
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.woff') format('woff'),
47
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.ttf') format('truetype');
48
- font-weight: 200;
49
- font-style: normal;
50
- }
51
- }
52
-
53
- @mixin SegoeUIRegular($ms-font-language, $ms-font-path) {
54
- @font-face {
55
- font-family: "#{$ms-font-name} #{$ms-font-language}";
56
- src: local("Segoe UI"),
57
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.woff2') format('woff2'),
58
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.woff') format('woff'),
59
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.ttf') format('truetype');
60
- font-weight: 400;
61
- font-style: normal;
62
- }
63
- }
64
-
65
- @mixin SegoeUISemibold($ms-font-language, $ms-font-path) {
66
- @font-face {
67
- font-family: "#{$ms-font-name} #{$ms-font-language}";
68
- src: local("Segoe UI Semibold"),
69
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.woff2') format('woff2'),
70
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.woff') format('woff'),
71
- url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.ttf') format('truetype');
72
- font-weight: 600;
73
- font-style: normal;
74
- }
75
- }
76
-
77
- // Mixins to generate language-specific font faces.
78
- @mixin SegoeUIArabicLight {
79
- @include SegoeUILight("Arabic", $ms-font-path-arabic);
80
- }
81
- @mixin SegoeUIArabicRegular {
82
- @include SegoeUIRegular("Arabic", $ms-font-path-arabic);
83
- }
84
- @mixin SegoeUIArabicSemibold {
85
- @include SegoeUISemibold("Arabic", $ms-font-path-arabic);
86
- }
87
- @mixin SegoeUIArabicSemilight {
88
- @include SegoeUISemilight("Arabic", $ms-font-path-arabic);
89
- }
90
-
91
- @mixin SegoeUICyrillicLight {
92
- @include SegoeUILight("Cyrillic", $ms-font-path-cyrillic);
93
- }
94
- @mixin SegoeUICyrillicRegular {
95
- @include SegoeUIRegular("Cyrillic", $ms-font-path-cyrillic);
96
- }
97
- @mixin SegoeUICyrillicSemibold {
98
- @include SegoeUISemibold("Cyrillic", $ms-font-path-cyrillic);
99
- }
100
- @mixin SegoeUICyrillicSemilight {
101
- @include SegoeUISemilight("Cyrillic", $ms-font-path-cyrillic);
102
- }
103
-
104
- @mixin SegoeUIEastEuropeanLight {
105
- @include SegoeUILight("EastEuropean", $ms-font-path-easteuropean);
106
- }
107
- @mixin SegoeUIEastEuropeanRegular {
108
- @include SegoeUIRegular("EastEuropean", $ms-font-path-easteuropean);
109
- }
110
- @mixin SegoeUIEastEuropeanSemibold {
111
- @include SegoeUISemibold("EastEuropean", $ms-font-path-easteuropean);
112
- }
113
- @mixin SegoeUIEastEuropeanSemilight {
114
- @include SegoeUISemilight("EastEuropean", $ms-font-path-easteuropean);
115
- }
116
-
117
- @mixin SegoeUIGreekLight {
118
- @include SegoeUILight("Greek", $ms-font-path-greek);
119
- }
120
- @mixin SegoeUIGreekRegular {
121
- @include SegoeUIRegular("Greek", $ms-font-path-greek);
122
- }
123
- @mixin SegoeUIGreekSemibold {
124
- @include SegoeUISemibold("Greek", $ms-font-path-greek);
125
- }
126
- @mixin SegoeUIGreekSemilight {
127
- @include SegoeUISemilight("Greek", $ms-font-path-greek);
128
- }
129
-
130
- @mixin SegoeUIHebrewLight {
131
- @include SegoeUILight("Hebrew", $ms-font-path-hebrew);
132
- }
133
- @mixin SegoeUIHebrewRegular {
134
- @include SegoeUIRegular("Hebrew", $ms-font-path-hebrew);
135
- }
136
- @mixin SegoeUIHebrewSemibold {
137
- @include SegoeUISemibold("Hebrew", $ms-font-path-hebrew);
138
- }
139
- @mixin SegoeUIHebrewSemilight {
140
- @include SegoeUISemilight("Hebrew", $ms-font-path-hebrew);
141
- }
142
-
143
- @mixin SegoeUIVietnameseLight {
144
- @include SegoeUILight("Vietnamese", $ms-font-path-vietnamese);
145
- }
146
- @mixin SegoeUIVietnameseRegular {
147
- @include SegoeUIRegular("Vietnamese", $ms-font-path-vietnamese);
148
- }
149
- @mixin SegoeUIVietnameseSemibold {
150
- @include SegoeUISemibold("Vietnamese", $ms-font-path-vietnamese);
151
- }
152
- @mixin SegoeUIVietnameseSemilight {
153
- @include SegoeUISemilight("Vietnamese", $ms-font-path-vietnamese);
154
- }
155
-
156
- @mixin SegoeUIWestEuropeanLight {
157
- @include SegoeUILight("WestEuropean", $ms-font-path-westeuropean);
158
- }
159
- @mixin SegoeUIWestEuropeanRegular {
160
- @include SegoeUIRegular("WestEuropean", $ms-font-path-westeuropean);
161
- }
162
- @mixin SegoeUIWestEuropeanSemibold {
163
- @include SegoeUISemibold("WestEuropean", $ms-font-path-westeuropean);
164
- }
165
- @mixin SegoeUIWestEuropeanSemilight {
166
- @include SegoeUISemilight("WestEuropean", $ms-font-path-westeuropean);
167
- }
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Font definitions
7
+
8
+
9
+ // Font weights.
10
+ $ms-font-name: "Segoe UI" !default;
11
+
12
+
13
+ // Font paths.
14
+ $ms-font-directory: "https://static2.sharepointonline.com/files/fabric/assets/fonts/" !default;
15
+ $ms-font-path-arabic: "segoeui-arabic" !default;
16
+ $ms-font-path-cyrillic: "segoeui-cyrillic" !default;
17
+ $ms-font-path-easteuropean: "segoeui-easteuropean" !default;
18
+ $ms-font-path-greek: "segoeui-greek" !default;
19
+ $ms-font-path-hebrew: "segoeui-hebrew" !default;
20
+ $ms-font-path-vietnamese: "segoeui-vietnamese" !default;
21
+ $ms-font-path-westeuropean: "segoeui-westeuropean" !default;
22
+
23
+
24
+ /*
25
+ Your use of the content in the files referenced here are subject to the terms of the license at http://aka.ms/fabric-font-license
26
+ */
27
+
28
+ // Mixins to generate @font-face rules for unique languages.
29
+ @mixin SegoeUILight($ms-font-language, $ms-font-path) {
30
+ @font-face {
31
+ font-family: "#{$ms-font-name} #{$ms-font-language}";
32
+ src: local("Segoe UI Light"),
33
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.woff2') format('woff2'),
34
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.woff') format('woff'),
35
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-light.ttf') format('truetype');
36
+ font-weight: 100;
37
+ font-style: normal;
38
+ }
39
+ }
40
+
41
+ @mixin SegoeUISemilight($ms-font-language, $ms-font-path) {
42
+ @font-face {
43
+ font-family: "#{$ms-font-name} #{$ms-font-language}";
44
+ src: local("Segoe UI Semilight"),
45
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.woff2') format('woff2'),
46
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.woff') format('woff'),
47
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semilight.ttf') format('truetype');
48
+ font-weight: 200;
49
+ font-style: normal;
50
+ }
51
+ }
52
+
53
+ @mixin SegoeUIRegular($ms-font-language, $ms-font-path) {
54
+ @font-face {
55
+ font-family: "#{$ms-font-name} #{$ms-font-language}";
56
+ src: local("Segoe UI"),
57
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.woff2') format('woff2'),
58
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.woff') format('woff'),
59
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-regular.ttf') format('truetype');
60
+ font-weight: 400;
61
+ font-style: normal;
62
+ }
63
+ }
64
+
65
+ @mixin SegoeUISemibold($ms-font-language, $ms-font-path) {
66
+ @font-face {
67
+ font-family: "#{$ms-font-name} #{$ms-font-language}";
68
+ src: local("Segoe UI Semibold"),
69
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.woff2') format('woff2'),
70
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.woff') format('woff'),
71
+ url('#{$ms-font-directory}/#{$ms-font-path}/segoeui-semibold.ttf') format('truetype');
72
+ font-weight: 600;
73
+ font-style: normal;
74
+ }
75
+ }
76
+
77
+ // Mixins to generate language-specific font faces.
78
+ @mixin SegoeUIArabicLight {
79
+ @include SegoeUILight("Arabic", $ms-font-path-arabic);
80
+ }
81
+ @mixin SegoeUIArabicRegular {
82
+ @include SegoeUIRegular("Arabic", $ms-font-path-arabic);
83
+ }
84
+ @mixin SegoeUIArabicSemibold {
85
+ @include SegoeUISemibold("Arabic", $ms-font-path-arabic);
86
+ }
87
+ @mixin SegoeUIArabicSemilight {
88
+ @include SegoeUISemilight("Arabic", $ms-font-path-arabic);
89
+ }
90
+
91
+ @mixin SegoeUICyrillicLight {
92
+ @include SegoeUILight("Cyrillic", $ms-font-path-cyrillic);
93
+ }
94
+ @mixin SegoeUICyrillicRegular {
95
+ @include SegoeUIRegular("Cyrillic", $ms-font-path-cyrillic);
96
+ }
97
+ @mixin SegoeUICyrillicSemibold {
98
+ @include SegoeUISemibold("Cyrillic", $ms-font-path-cyrillic);
99
+ }
100
+ @mixin SegoeUICyrillicSemilight {
101
+ @include SegoeUISemilight("Cyrillic", $ms-font-path-cyrillic);
102
+ }
103
+
104
+ @mixin SegoeUIEastEuropeanLight {
105
+ @include SegoeUILight("EastEuropean", $ms-font-path-easteuropean);
106
+ }
107
+ @mixin SegoeUIEastEuropeanRegular {
108
+ @include SegoeUIRegular("EastEuropean", $ms-font-path-easteuropean);
109
+ }
110
+ @mixin SegoeUIEastEuropeanSemibold {
111
+ @include SegoeUISemibold("EastEuropean", $ms-font-path-easteuropean);
112
+ }
113
+ @mixin SegoeUIEastEuropeanSemilight {
114
+ @include SegoeUISemilight("EastEuropean", $ms-font-path-easteuropean);
115
+ }
116
+
117
+ @mixin SegoeUIGreekLight {
118
+ @include SegoeUILight("Greek", $ms-font-path-greek);
119
+ }
120
+ @mixin SegoeUIGreekRegular {
121
+ @include SegoeUIRegular("Greek", $ms-font-path-greek);
122
+ }
123
+ @mixin SegoeUIGreekSemibold {
124
+ @include SegoeUISemibold("Greek", $ms-font-path-greek);
125
+ }
126
+ @mixin SegoeUIGreekSemilight {
127
+ @include SegoeUISemilight("Greek", $ms-font-path-greek);
128
+ }
129
+
130
+ @mixin SegoeUIHebrewLight {
131
+ @include SegoeUILight("Hebrew", $ms-font-path-hebrew);
132
+ }
133
+ @mixin SegoeUIHebrewRegular {
134
+ @include SegoeUIRegular("Hebrew", $ms-font-path-hebrew);
135
+ }
136
+ @mixin SegoeUIHebrewSemibold {
137
+ @include SegoeUISemibold("Hebrew", $ms-font-path-hebrew);
138
+ }
139
+ @mixin SegoeUIHebrewSemilight {
140
+ @include SegoeUISemilight("Hebrew", $ms-font-path-hebrew);
141
+ }
142
+
143
+ @mixin SegoeUIVietnameseLight {
144
+ @include SegoeUILight("Vietnamese", $ms-font-path-vietnamese);
145
+ }
146
+ @mixin SegoeUIVietnameseRegular {
147
+ @include SegoeUIRegular("Vietnamese", $ms-font-path-vietnamese);
148
+ }
149
+ @mixin SegoeUIVietnameseSemibold {
150
+ @include SegoeUISemibold("Vietnamese", $ms-font-path-vietnamese);
151
+ }
152
+ @mixin SegoeUIVietnameseSemilight {
153
+ @include SegoeUISemilight("Vietnamese", $ms-font-path-vietnamese);
154
+ }
155
+
156
+ @mixin SegoeUIWestEuropeanLight {
157
+ @include SegoeUILight("WestEuropean", $ms-font-path-westeuropean);
158
+ }
159
+ @mixin SegoeUIWestEuropeanRegular {
160
+ @include SegoeUIRegular("WestEuropean", $ms-font-path-westeuropean);
161
+ }
162
+ @mixin SegoeUIWestEuropeanSemibold {
163
+ @include SegoeUISemibold("WestEuropean", $ms-font-path-westeuropean);
164
+ }
165
+ @mixin SegoeUIWestEuropeanSemilight {
166
+ @include SegoeUISemilight("WestEuropean", $ms-font-path-westeuropean);
167
+ }
@@ -1,50 +1,50 @@
1
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
-
3
- //
4
- // Office UI Fabric
5
- // --------------------------------------------------
6
- // Language override definitions
7
-
8
-
9
- // A mixin that overrides all of the font classes for languages that
10
- // use system fonts. A single font-family is used for all weights.
11
- @mixin language-override-system-fonts($lang-code, $font-family) {
12
- *[lang="#{$lang-code}"] {
13
- .ms-font-mi,
14
- .ms-font-xs,
15
- .ms-font-s,
16
- .ms-font-s-plus,
17
- .ms-font-m,
18
- .ms-font-m-plus,
19
- .ms-font-l,
20
- .ms-font-xl,
21
- .ms-font-xxl,
22
- .ms-font-su,
23
- .ms-fontWeight-light,
24
- .ms-fontWeight-light-hover:hover,
25
- .ms-fontWeight-semilight,
26
- .ms-fontWeight-semilight-hover:hover,
27
- .ms-fontWeight-regular,
28
- .ms-fontWeight-regular-hover:hover,
29
- .ms-fontWeight-semibold,
30
- .ms-fontWeight-semibold-hover:hover {
31
- font-family: $font-family;
32
- }
33
- }
34
- }
35
-
36
- // Variables for each of the non-distributed (native) font stacks.
37
- $ms-font-stack-japanese: 'Yu Gothic', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka, $ms-font-system-base !default;
38
- $ms-font-stack-korean: 'Malgun Gothic', Gulim, $ms-font-system-base !default;
39
- $ms-font-stack-chinese-simplified: 'Microsoft Yahei', Verdana, Simsun, $ms-font-system-base !default;
40
- $ms-font-stack-chinese-traditional: 'Microsoft Jhenghei', Pmingliu, $ms-font-system-base !default;
41
- $ms-font-stack-hindi: 'Nirmala UI', $ms-font-system-base !default;
42
-
43
- // Variables for each of the web font stacks.
44
- $ms-font-stack-arabic: 'Segoe UI Arabic', $ms-font-family-base !default;
45
- $ms-font-stack-cyrillic: 'Segoe UI Cyrillic', $ms-font-family-base !default;
46
- $ms-font-stack-eastEuropean: 'Segoe UI EastEuropean', $ms-font-family-base !default;
47
- $ms-font-stack-greek: 'Segoe UI Greek', $ms-font-family-base !default;
48
- $ms-font-stack-hebrew: 'Segoe UI Hebrew', $ms-font-family-base !default;
49
- $ms-font-stack-vietnamese: 'Segoe UI Vietnamese', $ms-font-family-base !default;
1
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
+
3
+ //
4
+ // Office UI Fabric
5
+ // --------------------------------------------------
6
+ // Language override definitions
7
+
8
+
9
+ // A mixin that overrides all of the font classes for languages that
10
+ // use system fonts. A single font-family is used for all weights.
11
+ @mixin language-override-system-fonts($lang-code, $font-family) {
12
+ *[lang="#{$lang-code}"] {
13
+ .ms-font-mi,
14
+ .ms-font-xs,
15
+ .ms-font-s,
16
+ .ms-font-s-plus,
17
+ .ms-font-m,
18
+ .ms-font-m-plus,
19
+ .ms-font-l,
20
+ .ms-font-xl,
21
+ .ms-font-xxl,
22
+ .ms-font-su,
23
+ .ms-fontWeight-light,
24
+ .ms-fontWeight-light-hover:hover,
25
+ .ms-fontWeight-semilight,
26
+ .ms-fontWeight-semilight-hover:hover,
27
+ .ms-fontWeight-regular,
28
+ .ms-fontWeight-regular-hover:hover,
29
+ .ms-fontWeight-semibold,
30
+ .ms-fontWeight-semibold-hover:hover {
31
+ font-family: $font-family;
32
+ }
33
+ }
34
+ }
35
+
36
+ // Variables for each of the non-distributed (native) font stacks.
37
+ $ms-font-stack-japanese: 'Yu Gothic', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka, $ms-font-system-base !default;
38
+ $ms-font-stack-korean: 'Malgun Gothic', Gulim, $ms-font-system-base !default;
39
+ $ms-font-stack-chinese-simplified: 'Microsoft Yahei', Verdana, Simsun, $ms-font-system-base !default;
40
+ $ms-font-stack-chinese-traditional: 'Microsoft Jhenghei', Pmingliu, $ms-font-system-base !default;
41
+ $ms-font-stack-hindi: 'Nirmala UI', $ms-font-system-base !default;
42
+
43
+ // Variables for each of the web font stacks.
44
+ $ms-font-stack-arabic: 'Segoe UI Arabic', $ms-font-family-base !default;
45
+ $ms-font-stack-cyrillic: 'Segoe UI Cyrillic', $ms-font-family-base !default;
46
+ $ms-font-stack-eastEuropean: 'Segoe UI EastEuropean', $ms-font-family-base !default;
47
+ $ms-font-stack-greek: 'Segoe UI Greek', $ms-font-family-base !default;
48
+ $ms-font-stack-hebrew: 'Segoe UI Hebrew', $ms-font-family-base !default;
49
+ $ms-font-stack-vietnamese: 'Segoe UI Vietnamese', $ms-font-family-base !default;
50
50
  $ms-font-stack-leelawadee: 'Leelawadee UI', 'Kmer UI', $ms-font-family-base !default;