Ver Fonte

updating actual font, css, & less files

Dave Gandy há 13 anos atrás
pai
commit
1512812061

+ 5 - 0
css/font-awesome-ie7.css

@@ -5,6 +5,11 @@
     font-weight: normal;
 }
 
+.btn.dropdown-toggle [class^="icon-"], .btn.dropdown-toggle [class*=" icon-"] {
+    /* keeps button heights with and without icons the same */
+    line-height: 1.4em;
+}
+
 .icon-large {
     font-size: 1.3333em;
 }

BIN
font/fontawesome-webfont.eot


Diff do ficheiro suprimidas por serem muito extensas
+ 5 - 4
font/fontawesome-webfont.svg


BIN
font/fontawesome-webfont.ttf


BIN
font/fontawesome-webfont.woff


+ 18 - 14
less/font-awesome.less

@@ -28,12 +28,11 @@
   src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
     url('../font/fontawesome-webfont.woff') format('woff'),
     url('../font/fontawesome-webfont.ttf') format('truetype'),
-    url('../font/fontawesome-webfont.svg#FontAwesomeRegular') format('svg');
+    url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
   font-weight: normal;
   font-style: normal;
 }
 
-
 /*  Font Awesome styles
     ------------------------------------------------------- */
 [class^="icon-"]:before,
@@ -72,24 +71,29 @@ li {
     width: 1.25em;
     text-align: center;
   }
-  .icon-large[class^="icon-"],
-  .icon-large[class*=" icon-"]  {
-  /* 1.5 increased font size for icon-large * 1.25 width */
+  .icon-large:before,
+  .icon-large:before {
+    /* 1.5 increased font size for icon-large * 1.25 width */
     width: 1.5*1.25em;
   }
 }
 
-li[class^="icon-"],
-li[class*=" icon-"] {
-  margin-left: 0;
+ul.icons {
   list-style-type: none;
+  margin-left: 2em;
+  text-indent: -.8em;
 
-  &:before {
-    text-indent: -2em;
-    text-align: center;
-  }
-  &.icon-large:before {
-    text-indent: -4/3em;
+  li {
+    [class^="icon-"],
+    [class*=" icon-"] {
+      width: .8em;
+    }
+    .icon-large:before,
+    .icon-large:before {
+      /* 1.5 increased font size for icon-large * 1.25 width */
+      vertical-align: initial;
+//      width: 1.5*1.25em;
+    }
   }
 }
 

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff