mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-14 17:20:29 +08:00
Move the background image reset within main styles.
This commit is contained in:
parent
b811269b57
commit
5726d52259
30
sass/font-awesome.scss
vendored
30
sass/font-awesome.scss
vendored
@ -156,6 +156,22 @@ $experimental-support-for-webkit: true !default;
|
|||||||
line-height: .9em;
|
line-height: .9em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Background image reset. */
|
||||||
|
.nav-pills > .active > a > &,
|
||||||
|
.nav-pills > .active > a > &,
|
||||||
|
.nav-list > .active > a > &,
|
||||||
|
.nav-list > .active > a > &,
|
||||||
|
.navbar-inverse .nav > .active > a > &,
|
||||||
|
.navbar-inverse .nav > .active > a > &,
|
||||||
|
.dropdown-menu > li > a:hover > &,
|
||||||
|
.dropdown-menu > li > a:hover > &,
|
||||||
|
.dropdown-menu > .active > a > &,
|
||||||
|
.dropdown-menu > .active > a > &,
|
||||||
|
.dropdown-submenu:hover > a > &,
|
||||||
|
.dropdown-submenu:hover > a > & {
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -163,19 +179,7 @@ $experimental-support-for-webkit: true !default;
|
|||||||
Other Bootstrap sprites.less reset styles.
|
Other Bootstrap sprites.less reset styles.
|
||||||
*/
|
*/
|
||||||
@if $font-awesome-using-bootstrap {
|
@if $font-awesome-using-bootstrap {
|
||||||
.icon-white,
|
.icon-white {
|
||||||
.nav-pills > .active > a > [class^="icon-"],
|
|
||||||
.nav-pills > .active > a > [class*=" icon-"],
|
|
||||||
.nav-list > .active > a > [class^="icon-"],
|
|
||||||
.nav-list > .active > a > [class*=" icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class^="icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class^="icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class*=" icon-"],
|
|
||||||
.dropdown-submenu:hover > a > [class^="icon-"],
|
|
||||||
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user