提交 bc4ccda1 编写于 作者: C Catouse

* make icon size customable.

上级 bb7d29c4
......@@ -734,7 +734,7 @@
.icon-zenicon() {
font-family: @icon-font-name;
speak: none;
font-size: 14px;
font-size: @icon-font-size;
font-style: normal;
font-weight: normal;
font-variant: normal;
......
......@@ -705,6 +705,7 @@
@icon-muted-color: @color-gray-light;
@icon-light-color: @color-light;
@icon-dark-color: @color-dark;
@icon-font-size: 14px;
@icons-li-width: 30/14em;
@icon-font-file-name: zenicon;
@icon-font-name: ZenIcon;
......
/// ========================================================================
/// Font Awesome: icons.core.less
/// https://github.com/FortAwesome/Font-Awesome/tree/master/less
///
///
/// ZUI: The file has been changed in ZUI. It will not keep update with the
/// FontAwesome version in the future.
/// http://zui.sexy
......@@ -40,7 +40,7 @@
.icon:before {
display: inline-block;
min-width: 14px;
min-width: @icon-font-size;
text-align: center;
}
......@@ -63,10 +63,10 @@ a {
vertical-align: -10%;
font-size: 4/3em;
}
.icon-2x { font-size: 28px; }
.icon-3x { font-size: 42px; }
.icon-4x { font-size: 56px; }
.icon-5x { font-size: 70px; }
.icon-2x { font-size: @icon-font-size*2; }
.icon-3x { font-size: @icon-font-size*3; }
.icon-4x { font-size: @icon-font-size*4; }
.icon-5x { font-size: @icon-font-size*5; }
// Animated rotating icon
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册