/*
 * Copyright (c) 2019-present Sonatype, Inc.
 * This program and the accompanying materials are made available under
 * the terms of the Eclipse Public License 2.0 which accompanies this
 * distribution and is available at https://www.eclipse.org/legal/epl-2.0/.
 */
@use '../scss-shared/nx-container-helpers';
@use '../scss-shared/nx-text-helpers';

.nx-system-notice, .nx-system-notice-container {
  grid-area: notices; // see .nx-page grid-template
}

.nx-system-notice {
  @include nx-text-helpers.truncate-ellipsis;

  background-color: var(--nx-color-system-notice-background);
  color: var(--nx-color-system-notice-text);
  padding: var(--nx-spacing-3x) var(--nx-spacing-6x);

  @include nx-container-helpers.container-horizontal;
}

.nx-system-notice--alert {
  background-color: var(--nx-color-system-notice-background-alert);
}
