Commit c7af3384f8e0b9e66109c6803f6eca03b4cc9d9e

Authored by Edmar Moretti
1 parent 4a3c82c3

Download para uso local das fontes material-icons

admin1/head.php
... ... @@ -16,7 +16,7 @@ echo "
16 16 <link rel='stylesheet' type='text/css' href='" . ONDEI3GEO . "/pacotes/jquery/jquery-ui/jquery-ui.min.css'>
17 17 <!-- Material Design fonts -->
18 18 <link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=Roboto:300,400,500,700'>
19   - <link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/icon?family=Material+Icons'>
  19 + <link rel='stylesheet' type='text/css' href='" . ONDEI3GEO . "/css/font/material-icons.css'>
20 20 <!-- Bootstrap core CSS -->
21 21 <link href='" . ONDEI3GEO . "/pacotes/bootstrap/css/bootstrap.min.css' rel='stylesheet'>
22 22 <!-- Bootstrap Material Design -->
... ...
css/font/MaterialIcons-Regular.eot 0 → 100644
No preview for this file type
css/font/MaterialIcons-Regular.ttf 0 → 100644
No preview for this file type
css/font/MaterialIcons-Regular.woff 0 → 100644
No preview for this file type
css/font/MaterialIcons-Regular.woff2 0 → 100644
No preview for this file type
css/font/material-icons.css 0 → 100644
... ... @@ -0,0 +1,36 @@
  1 +@font-face {
  2 + font-family: 'Material Icons';
  3 + font-style: normal;
  4 + font-weight: 400;
  5 + src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
  6 + src: local('Material Icons'),
  7 + local('MaterialIcons-Regular'),
  8 + url(MaterialIcons-Regular.woff2) format('woff2'),
  9 + url(MaterialIcons-Regular.woff) format('woff'),
  10 + url(MaterialIcons-Regular.ttf) format('truetype');
  11 +}
  12 +
  13 +.material-icons {
  14 + font-family: 'Material Icons';
  15 + font-weight: normal;
  16 + font-style: normal;
  17 + font-size: 24px; /* Preferred icon size */
  18 + display: inline-block;
  19 + line-height: 1;
  20 + text-transform: none;
  21 + letter-spacing: normal;
  22 + word-wrap: normal;
  23 + white-space: nowrap;
  24 + direction: ltr;
  25 +
  26 + /* Support for all WebKit browsers. */
  27 + -webkit-font-smoothing: antialiased;
  28 + /* Support for Safari and Chrome. */
  29 + text-rendering: optimizeLegibility;
  30 +
  31 + /* Support for Firefox. */
  32 + -moz-osx-font-smoothing: grayscale;
  33 +
  34 + /* Support for IE. */
  35 + font-feature-settings: 'liga';
  36 +}
... ...
css/i3geo7.css.php 100644 → 100755
js/i3geo.js
... ... @@ -123,7 +123,7 @@ OpenLayers = {
123 123 }
124 124 }
125 125 }
126   - document.write("<link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/icon?family=Material+Icons'/>");
  126 + document.write("<link rel='stylesheet' type='text/css' href='" + scriptLocation + "../css/font/material-icons.css'/>");
127 127 document.write("<link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=Roboto:300,400,500,700'>");
128 128 document.write("<link rel='stylesheet' type='text/css' href='" + scriptLocation + "../pacotes/yui290/build/button/assets/skins/sam/button.css'></link>");
129 129 document.write("<link rel='stylesheet' type='text/css' href='" + scriptLocation + "../css/i3geo7.css.php'></link>");
... ...
js/i3geo_tudo_compacto7.js.php 100644 → 100755
js/i3geonaocompacto.js
... ... @@ -169,7 +169,7 @@ OpenLayers = {
169 169 var currentCssTag = "<link rel='stylesheet' type='text/css' href='" + scriptLocation + cssfiles[i] + "?" + nocache + "'/>";
170 170 allCssTags += currentCssTag;
171 171 }
172   - allCssTags += "<link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/icon?family=Material+Icons'/>";
  172 + allCssTags += "<link rel='stylesheet' type='text/css' href='../css/font/material-icons.css'/>";
173 173 allCssTags += "<link rel='stylesheet' type='text/css' href='//fonts.googleapis.com/css?family=Roboto:300,400,500,700'>";
174 174 document.write(allCssTags);
175 175 document.write(allScriptTags);
... ...