Skip to content

Commit

Permalink
Merge branch 'accuracy' of github.com:Mortega5/traffic-incidents into…
Browse files Browse the repository at this point in the history
… accuracy
  • Loading branch information
Miguel Ortega Moreno committed Jan 19, 2017
2 parents bb77d8c + 5fcdf15 commit ebdea15
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
3 changes: 1 addition & 2 deletions traffic-incidents-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
<template>
<style>
:host {
display: inline-block;
box-sizing: border-box;
display:none;
}
</style>

Expand Down
22 changes: 21 additions & 1 deletion traffic-incidents.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,25 @@
<link rel="import" href="../iron-icons/iron-icons.html">
<link rel="import" href="../paper-spinner/paper-spinner.html">
<link href="https://fonts.googleapis.com/css?family=Dosis" rel="stylesheet">
<!-- Fix bug with font-face and shadow dom-->
<style>
@font-face {
font-family: "Flaticon";
src: url("fonts/Flaticon.eot");
src: url("fonts/Flaticon.eot?#iefix") format("embedded-opentype"),
url("fonts/Flaticon.woff") format("woff"),
url("fonts/Flaticon.ttf") format("truetype"),
url("fonts/Flaticon.svg#Flaticon") format("svg");
font-weight: normal;
font-style: normal;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: "Flaticon";
src: url("./fonts/Flaticon.svg#Flaticon") format("svg");
}
}
</style>



Expand All @@ -59,6 +78,8 @@
box-sizing: border-box;
width: var(--ti-width, 400px);
height: var(--ti-height, 450px);
min-width:300px;
min-height:250px;
}
paper-header-panel {
width: 100%;
Expand All @@ -76,7 +97,6 @@
font-weight: bold;
transition: height 0.2s;
background-color:#B2002F;
z-index:10;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
@apply(--ti-header);
Expand Down

0 comments on commit ebdea15

Please # to comment.