Jelajahi Sumber

updating actual font, css, & less files

Dave Gandy 13 tahun lalu
induk
melakukan
1512812061
6 mengubah file dengan 28 tambahan dan 18 penghapusan
  1. 5 0
      css/font-awesome-ie7.css
  2. TEMPAT SAMPAH
      font/fontawesome-webfont.eot
  3. 5 4
      font/fontawesome-webfont.svg
  4. TEMPAT SAMPAH
      font/fontawesome-webfont.ttf
  5. TEMPAT SAMPAH
      font/fontawesome-webfont.woff
  6. 18 14
      less/font-awesome.less

+ 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;
 }

TEMPAT SAMPAH
font/fontawesome-webfont.eot


File diff ditekan karena terlalu besar
+ 5 - 4
font/fontawesome-webfont.svg


TEMPAT SAMPAH
font/fontawesome-webfont.ttf


TEMPAT SAMPAH
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;
+    }
   }
 }
 

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini