|
@@ -2,11 +2,11 @@
|
|
|
|
|
|
.aria-active {
|
|
|
.aria-theme-default {
|
|
|
- &:focus {
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
outline: 3px solid red;
|
|
|
}
|
|
|
* {
|
|
|
- &:focus {
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
outline: 3px solid red;
|
|
|
}
|
|
|
}
|
|
@@ -15,13 +15,13 @@
|
|
|
.aria-theme-white {
|
|
|
background-color: white !important;
|
|
|
color: black !important;
|
|
|
- &:focus {
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
outline: 3px solid black;
|
|
|
}
|
|
|
* { // TODO: 看看博物馆项目代码有没有精细地只给需要变色的元素添加class。
|
|
|
background-color: white !important;
|
|
|
color: black !important;
|
|
|
- &:focus {
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
outline: 3px solid black;
|
|
|
}
|
|
|
}
|
|
@@ -41,14 +41,14 @@
|
|
|
.aria-theme-blue {
|
|
|
background-color: blue !important;
|
|
|
color: yellow !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid blue;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid yellow;
|
|
|
}
|
|
|
* {
|
|
|
background-color: blue !important;
|
|
|
color: yellow !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid blue;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid yellow;
|
|
|
}
|
|
|
}
|
|
|
a {
|
|
@@ -67,14 +67,14 @@
|
|
|
.aria-theme-yellow {
|
|
|
background-color: yellow !important;
|
|
|
color: black !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid yellow;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid black;
|
|
|
}
|
|
|
* {
|
|
|
background-color: yellow !important;
|
|
|
color: black !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid yellow;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid black;
|
|
|
}
|
|
|
}
|
|
|
a {
|
|
@@ -93,14 +93,14 @@
|
|
|
.aria-theme-black {
|
|
|
background-color: black !important;
|
|
|
color: yellow !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid black;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid yellow;
|
|
|
}
|
|
|
* {
|
|
|
background-color: black !important;
|
|
|
color: yellow !important;
|
|
|
- &:focus {
|
|
|
- outline: 3px solid black;
|
|
|
+ &:focus:not([tabindex='-1']) {
|
|
|
+ outline: 3px solid yellow;
|
|
|
}
|
|
|
}
|
|
|
a {
|