// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.

//
// Office UI Fabric
// --------------------------------------------------
// Form field label styles

@mixin ms-Label-is-disabled {
  color: $ms-color-neutralTertiary; 

  @media screen and (-ms-high-contrast: active) {
    color: $ms-color-contrastBlackDisabled;
  }

  @media screen and (-ms-high-contrast: black-on-white) {
    color: $ms-color-contrastWhiteDisabled;
  }
}

@mixin ms-Label-is-required {
  &:after {
    content: ' *';
    color: $ms-color-error;
  }
}


.ms-Label {
	@include ms-font-s;
	@include ms-u-normalize;
	box-sizing: border-box;
	display: block;
	padding: 5px 0;

	&.is-required {
		@include ms-Label-is-required;
	}

	&.is-disabled {
		 @include ms-Label-is-disabled;
	}
}

.is-disabled {
  .ms-Label {
    @include ms-Label-is-disabled;
  }
}
