mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
new tab focus style and mixin
This commit is contained in:
+17
-3
@@ -7,7 +7,7 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
// Clearfix
|
||||
// -------------------------
|
||||
// --------
|
||||
// For clearing floats like a boss h5bp.com/q
|
||||
.clearfix() {
|
||||
*zoom: 1;
|
||||
@@ -21,8 +21,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Webkit-style focus
|
||||
// ------------------
|
||||
.tab-focus() {
|
||||
// Default
|
||||
outline: thin dotted;
|
||||
// Webkit
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
// Firefox
|
||||
-moz-outline: 5px auto -moz-mac-focusring;
|
||||
-moz-outline-radius: 6px;
|
||||
-moz-outline-offset: 0;
|
||||
}
|
||||
|
||||
// Center-align a block level element
|
||||
// -------------------------
|
||||
// ----------------------------------
|
||||
.center-block() {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
@@ -30,7 +44,7 @@
|
||||
}
|
||||
|
||||
// IE7 inline-block
|
||||
// -------------------------
|
||||
// ----------------
|
||||
.ie7-inline-block() {
|
||||
*display: inline; /* IE7 inline-block hack */
|
||||
*zoom: 1;
|
||||
|
||||
Reference in New Issue
Block a user