Font-Awesome/build/assets/font-awesome/less/font-awesome-ie7.less

103 lines
2.3 KiB
Plaintext
Raw Normal View History

---
---
2013-01-12 20:43:19 +00:00
/*!
2013-05-17 00:39:55 +00:00
* Font Awesome 3.2.0
* the iconic font designed for Bootstrap
2013-01-12 20:43:19 +00:00
* -------------------------------------------------------
* The full suite of pictographic icons, examples, and documentation
* can be found at: http://fontawesome.io
2013-01-12 20:43:19 +00:00
*
* License
* -------------------------------------------------------
* - The Font Awesome font is licensed under the SIL Open Font License v1.1 -
* http://scripts.sil.org/OFL
2013-01-12 20:43:19 +00:00
* - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
* http://opensource.org/licenses/mit-license.html
* - Font Awesome documentation licensed under CC BY 3.0 License -
* http://creativecommons.org/licenses/by/3.0/
2013-01-12 20:43:19 +00:00
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
* "Font Awesome by Dave Gandy - http://fontawesome.io"
2013-01-12 20:43:19 +00:00
* Contact
* -------------------------------------------------------
* Email: dave@fontawesome.io
2013-01-12 20:43:19 +00:00
* Twitter: http://twitter.com/fortaweso_me
* Work: Lead Product Designer @ http://kyruus.com
*/
.icon-large {
font-size: 4/3em;
margin-top: -4px;
padding-top: 3px;
margin-bottom: -4px;
padding-bottom: 3px;
vertical-align: middle;
}
.nav {
[class^="icon-"],
[class*=" icon-"] {
2012-12-29 17:38:38 +00:00
vertical-align: inherit;
margin-top: -4px;
padding-top: 3px;
margin-bottom: -4px;
padding-bottom: 3px;
&.icon-large {
vertical-align: -25%;
}
}
}
.nav-pills, .nav-tabs {
[class^="icon-"],
[class*=" icon-"] {
&.icon-large {
line-height: .75em;
margin-top: -7px;
padding-top: 5px;
margin-bottom: -5px;
padding-bottom: 4px;
}
}
}
2013-05-09 22:47:02 +00:00
ul.icons-ul {
text-indent: -1em;
margin-left: 30/14em;
> li {
.icon-li {
width: 1em;
margin-right: 0;
}
}
}
.btn {
[class^="icon-"],
[class*=" icon-"] {
&.pull-left, &.pull-right { vertical-align: inherit; }
&.icon-large {
margin-top: -.5em;
}
}
}
2012-12-29 17:38:38 +00:00
a [class^="icon-"],
a [class*=" icon-"] {
cursor: pointer;
}
.ie7icon(@inner) { *zoom: ~"expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '@{inner}')"; }
{% for icon in icons %}
.icon-{{ icon.id }} {
.ie7icon('&#x{{ icon.unicode }};');
}
{% for alias in icon.aliases %}
.icon-{{ alias }} {
.ie7icon('&#x{{ icon.unicode }};');
}
{% endfor %}
{% endfor %}