зеркало из https://github.com/Azure/BatchExplorer.git
Fix toast button focus outline contrast ratio
Fixes AB#1137
This commit is contained in:
Родитель
d437e661d2
Коммит
79f774c38f
|
@ -41,6 +41,22 @@ bl-toast {
|
||||||
background-color: $warn-color;
|
background-color: $warn-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.success > .focus-outline.focus-visible {
|
||||||
|
outline-color: $success-contrast-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.error > .focus-outline.focus-visible {
|
||||||
|
outline-color: $danger-contrast-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.info > .focus-outline.focus-visible {
|
||||||
|
outline-color: $primary-contrast-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.warn > .focus-outline.focus-visible {
|
||||||
|
outline-color: $warn-contrast-color;
|
||||||
|
}
|
||||||
|
|
||||||
&.notification-hidden {
|
&.notification-hidden {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
@ -58,6 +74,7 @@ bl-toast {
|
||||||
|
|
||||||
> .dismiss-btn {
|
> .dismiss-btn {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: 2px;
|
||||||
.fa-times {
|
.fa-times {
|
||||||
color: $primary-contrast-color;
|
color: $primary-contrast-color;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче