office-ui-fabric-js-rails 1.3.0.0 → 1.4.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-js-rails/version.rb +2 -2
  3. data/package.json +2 -2
  4. data/vendor/assets/css/fabric.components.css +18 -6
  5. data/vendor/assets/css/fabric.components.min.css +2 -2
  6. data/vendor/assets/css/fabric.components.rtl.css +18 -6
  7. data/vendor/assets/css/fabric.components.rtl.min.css +2 -2
  8. data/vendor/assets/js/fabric.js +32 -41
  9. data/vendor/assets/js/fabric.min.js +4 -4
  10. data/vendor/assets/scss/components/Breadcrumb.scss +174 -174
  11. data/vendor/assets/scss/components/Button.scss +300 -286
  12. data/vendor/assets/scss/components/Callout.scss +157 -157
  13. data/vendor/assets/scss/components/CheckBox.scss +172 -172
  14. data/vendor/assets/scss/components/ChoiceFieldGroup.scss +14 -13
  15. data/vendor/assets/scss/components/CommandBar.scss +138 -138
  16. data/vendor/assets/scss/components/CommandButton.scss +293 -293
  17. data/vendor/assets/scss/components/ContextualHost.scss +142 -142
  18. data/vendor/assets/scss/components/ContextualMenu.scss +208 -208
  19. data/vendor/assets/scss/components/DatePicker.scss +527 -527
  20. data/vendor/assets/scss/components/DetailsList.scss +337 -337
  21. data/vendor/assets/scss/components/Dialog.scss +118 -118
  22. data/vendor/assets/scss/components/DialogHost.scss +12 -12
  23. data/vendor/assets/scss/components/Dropdown.scss +251 -251
  24. data/vendor/assets/scss/components/FacePile.scss +104 -104
  25. data/vendor/assets/scss/components/Label.scss +37 -37
  26. data/vendor/assets/scss/components/Link.scss +31 -31
  27. data/vendor/assets/scss/components/List.scss +16 -16
  28. data/vendor/assets/scss/components/ListItem.scss +237 -237
  29. data/vendor/assets/scss/components/MessageBanner.scss +128 -128
  30. data/vendor/assets/scss/components/MessageBar.scss +87 -87
  31. data/vendor/assets/scss/components/OrgChart.scss +46 -46
  32. data/vendor/assets/scss/components/Overlay.scss +34 -34
  33. data/vendor/assets/scss/components/Panel.scss +155 -155
  34. data/vendor/assets/scss/components/PanelHost.scss +15 -15
  35. data/vendor/assets/scss/components/PeoplePicker.scss +449 -449
  36. data/vendor/assets/scss/components/Persona.scss +731 -731
  37. data/vendor/assets/scss/components/PersonaCard.scss +208 -208
  38. data/vendor/assets/scss/components/Pivot.scss +201 -201
  39. data/vendor/assets/scss/components/ProgressIndicator.scss +64 -64
  40. data/vendor/assets/scss/components/RadioButton.scss +194 -194
  41. data/vendor/assets/scss/components/SearchBox.scss +368 -369
  42. data/vendor/assets/scss/components/Spinner.scss +48 -48
  43. data/vendor/assets/scss/components/Table.scss +123 -123
  44. data/vendor/assets/scss/components/TextField.scss +232 -232
  45. data/vendor/assets/scss/components/Toggle.scss +249 -249
  46. metadata +2 -2
@@ -1,211 +1,211 @@
1
1
  /**
2
- * Office UI Fabric JS 1.3.0
2
+ * Office UI Fabric JS 1.4.0
3
3
  * The JavaScript front-end framework for building experiences for Office 365.
4
4
  **/
5
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
-
7
- //
8
- // Office UI Fabric
9
- // --------------------------------------------------
10
- // Persona Card styles
11
-
12
-
13
- // Small
14
- //
15
- // The persona card docks to the bottom of the viewport.
16
- .ms-PersonaCard {
17
- @include ms-baseFont;
18
- @include ms-u-slideUpIn10;
19
- color: $ms-color-neutralPrimary;
20
- font-size: $ms-font-size-m;
21
- font-weight: $ms-font-weight-regular;
22
- bottom: 0;
23
- left: 0;
24
- position: fixed;
25
- right: 0;
26
- outline: 1px solid transparent;
27
- }
28
-
29
- .ms-PersonaCard-persona {
30
- background-color: $ms-color-neutralLighter;
31
- padding-top: 12px;
32
- padding-bottom: 12px;
33
- padding-left: 20px;
34
- }
35
-
36
- .ms-PersonaCard-actions {
37
- @include ms-u-borderBox;
38
- position: relative;
39
- list-style: none;
40
- margin: 0;
41
- padding: 0 10px;
42
- background-color: $ms-color-white;
43
- height: 48px;
44
-
45
- &::before {
46
- content: '';
47
- position: absolute;
48
- top: 47px;
49
- left: 0;
50
- width: 100%;
51
- border-top: 1px solid $ms-color-neutralTertiaryAlt;
52
- }
53
- }
54
-
55
- .ms-PersonaCard-action,
56
- .ms-PersonaCard-overflow {
57
- display: inline-block;
58
- cursor: pointer;
59
- font-size: $ms-icon-size-m;
60
- height: 48px;
61
- line-height: 48px;
62
- padding: 0 10px;
63
- color: $ms-color-neutralSecondary;
64
- outline: transparent;
65
- position: relative;
66
- @include ms-u-borderBox;
67
-
68
- &:hover {
69
- color: $ms-color-neutralDark;
70
- }
71
-
72
- &:active {
73
- color: $ms-color-themePrimary;
74
- }
75
-
76
- &::before {
77
- content: '';
78
- position: absolute;
79
- width: 100%;
80
- height: 100%;
81
- background-color: transparent;
82
- top: 0;
83
- left: 0;
84
- z-index: 100;
85
- }
86
-
87
- // Currently-selected action
88
- &.is-active {
89
- color: $ms-color-themePrimary;
90
-
91
- // Arrow
92
- &::after {
93
- @include ms-u-borderBox;
94
- @include rotate(45deg);
95
- content: '';
96
- width: 10px;
97
- height: 10px;
98
- border: 1px solid $ms-color-neutralTertiaryAlt;
99
- background-color: $ms-color-white;
100
- position: absolute;
101
- border-right: 0;
102
- border-bottom: 0;
103
- bottom: -4px;
104
- left: 13px;
105
- }
106
- }
107
- }
108
-
109
- .ms-PersonaCard-overflow {
110
- font-size: $ms-font-size-m;
111
- color: $ms-color-neutralPrimary;
112
- float: right;
113
- margin-top: -1px;
114
-
115
- &:hover {
116
- color: $ms-color-themePrimary;
117
- }
118
- }
119
-
120
- .ms-PersonaCard-orgChart {
121
- position: absolute;
122
- right: 12px;
123
- top: -95px;
124
- }
125
-
126
- .ms-PersonaCard-actionDetailBox {
127
- min-height: 48px;
128
- overflow-y: auto;
129
- overflow-x: hidden;
130
- background-color: $ms-color-white;
131
- }
132
-
133
- // Active detail items
134
- .ms-PersonaCard-details {
135
- display: none;
136
- width: 100%;
137
- margin: 0;
138
- max-height: 300px;
139
- min-height: 48px;
140
- color: $ms-color-neutralSecondary;
141
- padding: 9px 20px;
142
- box-sizing: border-box;
143
-
144
- &.is-active {
145
- display: block;
146
- }
147
-
148
- // State: Contents are collapsed to a single line.
149
- &.is-collapsed {
150
- height: 30px;
151
- overflow: hidden;
152
-
153
- // Show the expander icon.
154
- .ms-PersonaCard-detailExpander::after {
155
- @include ms-Icon--ChevronDown;
156
- }
157
- }
158
- }
159
-
160
- .ms-PersonaCard-details[data-detail-id='org'] {
161
- max-height: 300px;
162
- }
163
-
164
- // Icon to expand a collapsed actionDetails section.
165
- .ms-PersonaCard-detailExpander {
166
- color: $ms-color-neutralPrimary;
167
- cursor: pointer;
168
- font-size: $ms-icon-size-m;
169
- height: 30px;
170
- line-height: 30px;
171
- margin-top: 2px;
172
- position: absolute;
173
- right: 10px;
174
- text-align: center;
175
- width: 30px;
176
-
177
- &::after {
178
- @include ms-Icon;
179
- @include ms-Icon--ChevronUp;
180
- }
181
- }
182
-
183
- .ms-PersonaCard-detailLine {
184
- color: $ms-color-neutralPrimary;
185
- line-height: 30px;
186
- }
187
-
188
- .ms-PersonaCard-detailLabel {
189
- color: $ms-color-neutralSecondary;
190
- }
191
-
192
- .ms-PersonaCard-action.ms-PersonaCard-orgChart {
193
- &::after {
194
- display: none; // Hide arrow for orgchart action
195
- }
196
- }
197
-
198
- @media (min-width: $ms-screen-md-min) {
199
- // Undock the persona card and give it a shadow.
200
- .ms-PersonaCard {
201
- @include drop-shadow;
202
- max-width: 360px;
203
- position: relative;
204
- }
205
-
206
- .ms-ContextualHost {
207
- .ms-PersonaCard {
208
- box-shadow: none;
209
- }
210
- }
211
- }
5
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
+
7
+ //
8
+ // Office UI Fabric
9
+ // --------------------------------------------------
10
+ // Persona Card styles
11
+
12
+
13
+ // Small
14
+ //
15
+ // The persona card docks to the bottom of the viewport.
16
+ .ms-PersonaCard {
17
+ @include ms-baseFont;
18
+ @include ms-u-slideUpIn10;
19
+ color: $ms-color-neutralPrimary;
20
+ font-size: $ms-font-size-m;
21
+ font-weight: $ms-font-weight-regular;
22
+ bottom: 0;
23
+ left: 0;
24
+ position: fixed;
25
+ right: 0;
26
+ outline: 1px solid transparent;
27
+ }
28
+
29
+ .ms-PersonaCard-persona {
30
+ background-color: $ms-color-neutralLighter;
31
+ padding-top: 12px;
32
+ padding-bottom: 12px;
33
+ padding-left: 20px;
34
+ }
35
+
36
+ .ms-PersonaCard-actions {
37
+ @include ms-u-borderBox;
38
+ position: relative;
39
+ list-style: none;
40
+ margin: 0;
41
+ padding: 0 10px;
42
+ background-color: $ms-color-white;
43
+ height: 48px;
44
+
45
+ &::before {
46
+ content: '';
47
+ position: absolute;
48
+ top: 47px;
49
+ left: 0;
50
+ width: 100%;
51
+ border-top: 1px solid $ms-color-neutralTertiaryAlt;
52
+ }
53
+ }
54
+
55
+ .ms-PersonaCard-action,
56
+ .ms-PersonaCard-overflow {
57
+ display: inline-block;
58
+ cursor: pointer;
59
+ font-size: $ms-icon-size-m;
60
+ height: 48px;
61
+ line-height: 48px;
62
+ padding: 0 10px;
63
+ color: $ms-color-neutralSecondary;
64
+ outline: transparent;
65
+ position: relative;
66
+ @include ms-u-borderBox;
67
+
68
+ &:hover {
69
+ color: $ms-color-neutralDark;
70
+ }
71
+
72
+ &:active {
73
+ color: $ms-color-themePrimary;
74
+ }
75
+
76
+ &::before {
77
+ content: '';
78
+ position: absolute;
79
+ width: 100%;
80
+ height: 100%;
81
+ background-color: transparent;
82
+ top: 0;
83
+ left: 0;
84
+ z-index: 100;
85
+ }
86
+
87
+ // Currently-selected action
88
+ &.is-active {
89
+ color: $ms-color-themePrimary;
90
+
91
+ // Arrow
92
+ &::after {
93
+ @include ms-u-borderBox;
94
+ @include rotate(45deg);
95
+ content: '';
96
+ width: 10px;
97
+ height: 10px;
98
+ border: 1px solid $ms-color-neutralTertiaryAlt;
99
+ background-color: $ms-color-white;
100
+ position: absolute;
101
+ border-right: 0;
102
+ border-bottom: 0;
103
+ bottom: -4px;
104
+ left: 13px;
105
+ }
106
+ }
107
+ }
108
+
109
+ .ms-PersonaCard-overflow {
110
+ font-size: $ms-font-size-m;
111
+ color: $ms-color-neutralPrimary;
112
+ float: right;
113
+ margin-top: -1px;
114
+
115
+ &:hover {
116
+ color: $ms-color-themePrimary;
117
+ }
118
+ }
119
+
120
+ .ms-PersonaCard-orgChart {
121
+ position: absolute;
122
+ right: 12px;
123
+ top: -95px;
124
+ }
125
+
126
+ .ms-PersonaCard-actionDetailBox {
127
+ min-height: 48px;
128
+ overflow-y: auto;
129
+ overflow-x: hidden;
130
+ background-color: $ms-color-white;
131
+ }
132
+
133
+ // Active detail items
134
+ .ms-PersonaCard-details {
135
+ display: none;
136
+ width: 100%;
137
+ margin: 0;
138
+ max-height: 300px;
139
+ min-height: 48px;
140
+ color: $ms-color-neutralSecondary;
141
+ padding: 9px 20px;
142
+ box-sizing: border-box;
143
+
144
+ &.is-active {
145
+ display: block;
146
+ }
147
+
148
+ // State: Contents are collapsed to a single line.
149
+ &.is-collapsed {
150
+ height: 30px;
151
+ overflow: hidden;
152
+
153
+ // Show the expander icon.
154
+ .ms-PersonaCard-detailExpander::after {
155
+ @include ms-Icon--ChevronDown;
156
+ }
157
+ }
158
+ }
159
+
160
+ .ms-PersonaCard-details[data-detail-id='org'] {
161
+ max-height: 300px;
162
+ }
163
+
164
+ // Icon to expand a collapsed actionDetails section.
165
+ .ms-PersonaCard-detailExpander {
166
+ color: $ms-color-neutralPrimary;
167
+ cursor: pointer;
168
+ font-size: $ms-icon-size-m;
169
+ height: 30px;
170
+ line-height: 30px;
171
+ margin-top: 2px;
172
+ position: absolute;
173
+ right: 10px;
174
+ text-align: center;
175
+ width: 30px;
176
+
177
+ &::after {
178
+ @include ms-Icon;
179
+ @include ms-Icon--ChevronUp;
180
+ }
181
+ }
182
+
183
+ .ms-PersonaCard-detailLine {
184
+ color: $ms-color-neutralPrimary;
185
+ line-height: 30px;
186
+ }
187
+
188
+ .ms-PersonaCard-detailLabel {
189
+ color: $ms-color-neutralSecondary;
190
+ }
191
+
192
+ .ms-PersonaCard-action.ms-PersonaCard-orgChart {
193
+ &::after {
194
+ display: none; // Hide arrow for orgchart action
195
+ }
196
+ }
197
+
198
+ @media (min-width: $ms-screen-md-min) {
199
+ // Undock the persona card and give it a shadow.
200
+ .ms-PersonaCard {
201
+ @include drop-shadow;
202
+ max-width: 360px;
203
+ position: relative;
204
+ }
205
+
206
+ .ms-ContextualHost {
207
+ .ms-PersonaCard {
208
+ box-shadow: none;
209
+ }
210
+ }
211
+ }
@@ -1,204 +1,204 @@
1
1
  /**
2
- * Office UI Fabric JS 1.3.0
2
+ * Office UI Fabric JS 1.4.0
3
3
  * The JavaScript front-end framework for building experiences for Office 365.
4
4
  **/
5
- // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
-
7
- //
8
- // Office UI Fabric
9
- // --------------------------------------------------
10
- // Pivot and tab styles
11
-
12
-
13
- .ms-Pivot {
14
- @include ms-baseFont;
15
- @include ms-u-normalize;
16
- font-size: $ms-font-size-m;
17
- font-weight: $ms-font-weight-regular;
18
- }
19
-
20
- .ms-Pivot-links {
21
- font-size: 0; // Bring inline-block children together
22
- height: 40px;
23
- list-style-type: none;
24
- padding: 0;
25
- white-space: nowrap;
26
- }
27
-
28
- .ms-Pivot-link {
29
- color: $ms-color-neutralPrimary;
30
- display: inline-block;
31
- font-size: $ms-font-size-m;
32
- font-weight: $ms-font-weight-regular;
33
- line-height: 40px;
34
- margin-right: 8px;
35
- padding: 0 8px;
36
- text-align: center;
37
- vertical-align: top;
38
-
39
- &:hover {
40
- cursor: pointer;
41
- }
42
-
43
- // Underline, not yet visible
44
- &::before {
45
- background-color: transparent;
46
- bottom: 0;
47
- content: '';
48
- height: 2px;
49
- left: 8px;
50
- position: absolute;
51
- right: 8px;
52
- transition: background-color $ms-duration2 $ms-ease2;
53
- }
54
-
55
- // Make room for the heavier text of the selected state
56
- &::after {
57
- color: transparent;
58
- content: attr(title);
59
- display: block;
60
- font-weight: bold;
61
- height: 1px;
62
- overflow: hidden;
63
- visibility: hidden;
64
- }
65
-
66
- //== State: Selected
67
- &.is-selected {
68
- font-weight: $ms-font-weight-semibold;
69
- position: relative;
70
-
71
- // Show the underline
72
- &::before {
73
- background-color: $ms-color-themePrimary;
74
- }
75
- }
76
-
77
- //== State: Disabled
78
- &.is-disabled {
79
- color: $ms-color-neutralTertiary;
80
- }
81
- }
82
-
83
-
84
-
85
-
86
- // @TODO: Determine if any of the styles below this are necessary anymore.
87
-
88
-
89
- // Overflow (ellipsis)
90
- .ms-Pivot-link.ms-Pivot-link--overflow {
91
- color: $ms-color-neutralSecondary;
92
-
93
- &.is-selected {
94
- color: $ms-color-themePrimary;
95
- }
96
-
97
- &:hover:not(.is-selected),
98
- &:focus:not(.is-selected) {
99
- color: $ms-color-neutralDark;
100
- }
101
-
102
- &:active {
103
- color: $ms-color-themePrimary;
104
- }
105
- }
106
-
107
- // Ellipsis icon
108
- .ms-Pivot-ellipsis {
109
- font-size: $ms-font-size-m-plus;
110
- position: relative;
111
- top: 0;
112
- }
113
-
114
- // Pivot content, hidden by default
115
- .ms-Pivot-content {
116
- display: none;
117
- margin-top: 20px;
118
- }
119
-
120
-
121
- //== Modifier: Large Pivots
122
- //
123
- .ms-Pivot.ms-Pivot--large {
124
- .ms-Pivot-link {
125
- font-size: $ms-font-size-l;
126
-
127
- &.is-selected {
128
- font-weight: $ms-font-weight-semilight;
129
- }
130
- }
131
-
132
- .ms-Pivot-link.ms-Pivot-link--overflow {
133
- &::after {
134
- font-size: $ms-font-size-l;
135
- }
136
- }
137
- }
138
-
139
-
140
- //== Modifier: Tabs
141
- //
142
- .ms-Pivot.ms-Pivot--tabs {
143
-
144
- .ms-Pivot-link {
145
- height: 40px;
146
- background-color: $ms-color-neutralLighter;
147
- line-height: 40px;
148
- margin-right: -2px; // Remove space next to inline-block element
149
- padding: 0 10px;
150
-
151
- &:hover:not(.is-selected):not(.ms-Pivot-link--overflow),
152
- &:focus:not(.is-selected):not(.ms-Pivot-link--overflow) {
153
- color: $ms-color-black;
154
- }
155
-
156
- &:active {
157
- color: $ms-color-white;
158
- background-color: $ms-color-themePrimary;
159
- }
160
-
161
- //== State: Selected
162
- &.is-selected {
163
- background-color: $ms-color-themePrimary;
164
- color: $ms-color-white;
165
- font-weight: $ms-font-weight-semilight;
166
- }
167
- }
168
-
169
- .ms-Pivot-link.ms-Pivot-link--overflow {
170
- &:hover:not(.is-selected),
171
- &:focus:not(.is-selected) {
172
- background-color: $ms-color-white;
173
- }
174
-
175
- &:active {
176
- background-color: $ms-color-themePrimary;
177
- }
178
- }
179
- }
180
-
181
- // @TODO: Confirm that this component is not responsive.
182
- //
183
- // @media (min-width: $ms-screen-lg-min) {
184
- // .ms-Pivot-link {
185
- // font-size: $ms-font-size-m;
186
- // }
187
-
188
- // .ms-Pivot-link.ms-Pivot-link--overflow {
189
- // &:after {
190
- // font-size: $ms-font-size-m;
191
- // }
192
- // }
193
- // }
194
-
195
- // All high contrast styling rules
196
- @media screen and (-ms-high-contrast: active) {
197
- .ms-Pivot.ms-Pivot--tabs {
198
- .ms-Pivot-link {
199
- &.is-selected {
200
- font-weight: $ms-font-weight-semibold;
201
- }
202
- }
203
- }
204
- }
5
+ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
6
+
7
+ //
8
+ // Office UI Fabric
9
+ // --------------------------------------------------
10
+ // Pivot and tab styles
11
+
12
+
13
+ .ms-Pivot {
14
+ @include ms-baseFont;
15
+ @include ms-u-normalize;
16
+ font-size: $ms-font-size-m;
17
+ font-weight: $ms-font-weight-regular;
18
+ }
19
+
20
+ .ms-Pivot-links {
21
+ font-size: 0; // Bring inline-block children together
22
+ height: 40px;
23
+ list-style-type: none;
24
+ padding: 0;
25
+ white-space: nowrap;
26
+ }
27
+
28
+ .ms-Pivot-link {
29
+ color: $ms-color-neutralPrimary;
30
+ display: inline-block;
31
+ font-size: $ms-font-size-m;
32
+ font-weight: $ms-font-weight-regular;
33
+ line-height: 40px;
34
+ margin-right: 8px;
35
+ padding: 0 8px;
36
+ text-align: center;
37
+ vertical-align: top;
38
+
39
+ &:hover {
40
+ cursor: pointer;
41
+ }
42
+
43
+ // Underline, not yet visible
44
+ &::before {
45
+ background-color: transparent;
46
+ bottom: 0;
47
+ content: '';
48
+ height: 2px;
49
+ left: 8px;
50
+ position: absolute;
51
+ right: 8px;
52
+ transition: background-color $ms-duration2 $ms-ease2;
53
+ }
54
+
55
+ // Make room for the heavier text of the selected state
56
+ &::after {
57
+ color: transparent;
58
+ content: attr(title);
59
+ display: block;
60
+ font-weight: bold;
61
+ height: 1px;
62
+ overflow: hidden;
63
+ visibility: hidden;
64
+ }
65
+
66
+ //== State: Selected
67
+ &.is-selected {
68
+ font-weight: $ms-font-weight-semibold;
69
+ position: relative;
70
+
71
+ // Show the underline
72
+ &::before {
73
+ background-color: $ms-color-themePrimary;
74
+ }
75
+ }
76
+
77
+ //== State: Disabled
78
+ &.is-disabled {
79
+ color: $ms-color-neutralTertiary;
80
+ }
81
+ }
82
+
83
+
84
+
85
+
86
+ // @TODO: Determine if any of the styles below this are necessary anymore.
87
+
88
+
89
+ // Overflow (ellipsis)
90
+ .ms-Pivot-link.ms-Pivot-link--overflow {
91
+ color: $ms-color-neutralSecondary;
92
+
93
+ &.is-selected {
94
+ color: $ms-color-themePrimary;
95
+ }
96
+
97
+ &:hover:not(.is-selected),
98
+ &:focus:not(.is-selected) {
99
+ color: $ms-color-neutralDark;
100
+ }
101
+
102
+ &:active {
103
+ color: $ms-color-themePrimary;
104
+ }
105
+ }
106
+
107
+ // Ellipsis icon
108
+ .ms-Pivot-ellipsis {
109
+ font-size: $ms-font-size-m-plus;
110
+ position: relative;
111
+ top: 0;
112
+ }
113
+
114
+ // Pivot content, hidden by default
115
+ .ms-Pivot-content {
116
+ display: none;
117
+ margin-top: 20px;
118
+ }
119
+
120
+
121
+ //== Modifier: Large Pivots
122
+ //
123
+ .ms-Pivot.ms-Pivot--large {
124
+ .ms-Pivot-link {
125
+ font-size: $ms-font-size-l;
126
+
127
+ &.is-selected {
128
+ font-weight: $ms-font-weight-semilight;
129
+ }
130
+ }
131
+
132
+ .ms-Pivot-link.ms-Pivot-link--overflow {
133
+ &::after {
134
+ font-size: $ms-font-size-l;
135
+ }
136
+ }
137
+ }
138
+
139
+
140
+ //== Modifier: Tabs
141
+ //
142
+ .ms-Pivot.ms-Pivot--tabs {
143
+
144
+ .ms-Pivot-link {
145
+ height: 40px;
146
+ background-color: $ms-color-neutralLighter;
147
+ line-height: 40px;
148
+ margin-right: -2px; // Remove space next to inline-block element
149
+ padding: 0 10px;
150
+
151
+ &:hover:not(.is-selected):not(.ms-Pivot-link--overflow),
152
+ &:focus:not(.is-selected):not(.ms-Pivot-link--overflow) {
153
+ color: $ms-color-black;
154
+ }
155
+
156
+ &:active {
157
+ color: $ms-color-white;
158
+ background-color: $ms-color-themePrimary;
159
+ }
160
+
161
+ //== State: Selected
162
+ &.is-selected {
163
+ background-color: $ms-color-themePrimary;
164
+ color: $ms-color-white;
165
+ font-weight: $ms-font-weight-semilight;
166
+ }
167
+ }
168
+
169
+ .ms-Pivot-link.ms-Pivot-link--overflow {
170
+ &:hover:not(.is-selected),
171
+ &:focus:not(.is-selected) {
172
+ background-color: $ms-color-white;
173
+ }
174
+
175
+ &:active {
176
+ background-color: $ms-color-themePrimary;
177
+ }
178
+ }
179
+ }
180
+
181
+ // @TODO: Confirm that this component is not responsive.
182
+ //
183
+ // @media (min-width: $ms-screen-lg-min) {
184
+ // .ms-Pivot-link {
185
+ // font-size: $ms-font-size-m;
186
+ // }
187
+
188
+ // .ms-Pivot-link.ms-Pivot-link--overflow {
189
+ // &:after {
190
+ // font-size: $ms-font-size-m;
191
+ // }
192
+ // }
193
+ // }
194
+
195
+ // All high contrast styling rules
196
+ @media screen and (-ms-high-contrast: active) {
197
+ .ms-Pivot.ms-Pivot--tabs {
198
+ .ms-Pivot-link {
199
+ &.is-selected {
200
+ font-weight: $ms-font-weight-semibold;
201
+ }
202
+ }
203
+ }
204
+ }