Skip to content

Commit 5964725

Browse files
author
Tina C Lin (RD-TW)
committed
Adjust icon’s style that font size is 14px, and color is #666.
1 parent 54f0673 commit 5964725

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/index.styl

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
.fa {
6565
font-size: 14px;
6666
margin-right: 8px;
67+
color: #666;
6768
}
6869
}
6970

@@ -74,16 +75,6 @@
7475
}
7576
}
7677
}
77-
&.btn-lg,
78-
&.btn-md,
79-
&.btn-sm,
80-
&.btn-xs {
81-
:global {
82-
.fa {
83-
font-size: inherit;
84-
}
85-
}
86-
}
8778

8879
// button with icon
8980
&.btn-icon-only {
@@ -150,6 +141,12 @@
150141
background-repeat: repeat-x;
151142
border-color: #0095ce;
152143

144+
:global {
145+
.fa {
146+
color: inherit;
147+
}
148+
}
149+
153150
&:active,
154151
&.active {
155152
color: #fff;
@@ -197,6 +194,12 @@
197194
background-repeat: repeat-x;
198195
border-color: #d8262b;
199196

197+
:global {
198+
.fa {
199+
color: inherit;
200+
}
201+
}
202+
200203
&:active,
201204
&.active {
202205
color: #fff;

0 commit comments

Comments
 (0)