75 lines
2.1 KiB
CSS
75 lines
2.1 KiB
CSS
/*
|
|
Copyright 2019 Adobe. All rights reserved.
|
|
This file is licensed to you 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 REPRESENTATIONS
|
|
OF ANY KIND, either express or implied. See the License for the specific language
|
|
governing permissions and limitations under the License.
|
|
*/
|
|
|
|
.spectrum-Toast {
|
|
background-color: var(--spectrum-toast-neutral-background-color);
|
|
color: var(--spectrum-toast-neutral-background-color);
|
|
}
|
|
|
|
.spectrum-Toast-content {
|
|
color: var(--spectrum-toast-neutral-text-color);
|
|
}
|
|
|
|
.spectrum-Toast-typeIcon {
|
|
color: white;
|
|
}
|
|
|
|
.spectrum-Toast-buttons {
|
|
border-inline-start-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.spectrum-Toast--warning {
|
|
background-color: var(--spectrum-toast-warning-background-color);
|
|
color: var(--spectrum-toast-warning-background-color);
|
|
|
|
.spectrum-Toast-closeButton {
|
|
&:focus-ring:not(:active) {
|
|
color: var(--spectrum-toast-warning-background-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.spectrum-Toast--negative,
|
|
/** @deprecated */.spectrum-Toast--error {
|
|
background-color: var(--spectrum-toast-negative-background-color);
|
|
color: var(--spectrum-toast-negative-background-color);
|
|
|
|
.spectrum-Toast-closeButton {
|
|
&:focus-ring:not(:active) {
|
|
color: var(--spectrum-toast-negative-background-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.spectrum-Toast--info {
|
|
background-color: var(--spectrum-toast-info-background-color);
|
|
color: var(--spectrum-toast-info-background-color);
|
|
|
|
.spectrum-Toast-closeButton {
|
|
&:focus-ring:not(:active) {
|
|
color: var(--spectrum-toast-info-background-color);
|
|
}
|
|
}
|
|
}
|
|
|
|
.spectrum-Toast--positive,
|
|
/** @deprecated */.spectrum-Toast--success {
|
|
background-color: var(--spectrum-toast-positive-background-color);
|
|
color: var(--spectrum-toast-positive-background-color);
|
|
|
|
.spectrum-Toast-closeButton {
|
|
&:focus-ring:not(:active) {
|
|
color: var(--spectrum-toast-positive-background-color);
|
|
}
|
|
}
|
|
}
|