UNPKG

1.03 kBSCSSView Raw
1//
2// Copyright IBM Corp. 2016, 2018
3//
4// This source code is licensed under the Apache-2.0 license found in the
5// LICENSE file in the root directory of this source tree.
6//
7
8@import '../../globals/scss/vars';
9@import '../../globals/scss/helper-mixins';
10@import '../../globals/scss/functions';
11@import '../../globals/scss/layer';
12@import '../../globals/scss/vendor/@carbon/elements/scss/import-once/import-once';
13@import '../../globals/scss/css--reset';
14@import 'mixins';
15@import 'left-nav-trigger';
16@import 'global-header';
17@import 'topnav';
18@import 'left-nav';
19@import 'account-switcher';
20
21@mixin unified-header {
22 @include deprecate(
23 'The `unified-header` component in `carbon-components` has been deprecated. ' +
24 'It will be removed in the next major release.'
25 ) {
26 .#{$prefix}--unified-header {
27 @include reset;
28 position: fixed;
29 z-index: z('header');
30 }
31 }
32}
33
34@include exports('unified-header') {
35 @if not(feature-flag-enabled('breaking-changes-x')) {
36 @include unified-header;
37 }
38}