mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 13:14:45 +00:00
This commit is contained in:
parent
fdc48805e9
commit
083f69d018
1 changed files with 23 additions and 0 deletions
|
|
@ -989,3 +989,26 @@ a.ui-link-inherit {
|
|||
-webkit-box-shadow: 0px 1px 0 rgba(255,255,255,.4);
|
||||
box-shadow: 0px 1px 0 rgba(255,255,255,.4);
|
||||
}
|
||||
|
||||
/* Focus state - set here for specificity
|
||||
-----------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
.ui-focus {
|
||||
-moz-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
|
||||
-webkit-box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
|
||||
box-shadow: 0px 0px 12px #387bbe /*{global-active-background-color}*/;
|
||||
}
|
||||
|
||||
/* unset box shadow in browsers that don't do it right
|
||||
-----------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
.ui-mobile-nosupport-boxshadow * {
|
||||
-moz-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* ...and bring back focus */
|
||||
.ui-mobile-nosupport-boxshadow .ui-focus {
|
||||
outline-width: 2px;
|
||||
}
|
||||
Loading…
Reference in a new issue