/*
 * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import "variables";

.ant-alert {
  color: @application-color;
}

.ant-alert.ant-alert-success {
  background-color: @alert-success-background;
  border-color: @alert-success-border;
}

.ant-alert.ant-alert-info {
  background-color: @alert-info-background;
  border-color: @alert-info-border;
}

.ant-alert.ant-alert-error {
  background-color: @alert-error-background;
  border-color: @alert-error-border;
}

.ant-alert.ant-alert-warning {
  background-color: @alert-warning-background;
  border-color: @alert-warning-border;
}

.ant-alert.ant-alert-success .ant-alert-icon,
.ant-message .ant-message-success .anticon {
  color: @alert-success-icon;
}

.ant-alert.ant-alert-info .ant-alert-icon,
.ant-message .ant-message-info .anticon {
  color: @alert-info-icon;
}

.ant-alert.ant-alert-error .ant-alert-icon,
.ant-message .ant-message-error .anticon {
  color: @alert-error-icon;
}

.ant-alert.ant-alert-warning .ant-alert-icon,
.ant-message .ant-message-warning .anticon {
  color: @alert-warning-icon;
}

.ant-message .ant-message-loading .anticon {
  color: @alert-info-icon;
}

.ant-message-notice .ant-message-notice-content {
  background-color: @card-background-color;
  color: @application-color;
  box-shadow: 0 2px 8px @card-hovered-shadow-color;
}
