mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
do not reset outline, start over for accessibility reasons
This commit is contained in:
6
src/components/app/normalize.scss
vendored
6
src/components/app/normalize.scss
vendored
@ -47,12 +47,6 @@ a {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Improve readability when focused and also mouse hovered in all browsers.
|
|
||||||
a:active,
|
|
||||||
a:hover {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Text-level semantics
|
// Text-level semantics
|
||||||
// ==========================================================================
|
// ==========================================================================
|
||||||
|
@ -49,7 +49,6 @@ $button-small-icon-size: 2.1rem !default;
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
outline: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@include user-select(none);
|
@include user-select(none);
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ $item-padding: 15px !default;
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
|
||||||
text-align: initial;
|
text-align: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ $search-bar-min-height: 44px !default;
|
|||||||
border: none;
|
border: none;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
@include appearance(none);
|
@include appearance(none);
|
||||||
outline: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-bar-cancel {
|
.search-bar-cancel {
|
||||||
|
@ -51,7 +51,6 @@ $tab-bar-item-max-width: 160px !default;
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@include user-select(none);
|
@include user-select(none);
|
||||||
outline: 0;
|
|
||||||
|
|
||||||
border: 0;
|
border: 0;
|
||||||
background: none;
|
background: none;
|
||||||
|
Reference in New Issue
Block a user