Permalink
Browse files

Fix CSS on iOS (#837)

  • Loading branch information...
TheoChevalier authored and flodolo committed Jan 17, 2017
1 parent 2876888 commit 278fdc4468dda4f47fc45fb17ef6e4b1d7475d3c
Showing with 5 additions and 24 deletions.
  1. +2 −23 web/img/check.svg
  2. +3 −1 web/style/transvision.css
View
@@ -1,25 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="21" height="21" viewBox="0 0 21 21">
<style>
use:not(:target) {
display: none;
}
use {
fill: #2292d0;
}
use[id$="-inverted"] {
fill: #fff;
stroke: #0095dd;
stroke-width: 0.5;
}
use[id$="-native"] {
fill: -moz-dialogText;
}
</style>
<defs style="display: none;">
<path id="check-shape" d="M 9.39,16.5 16.28,6 14.77,4.5 9.37,12.7 6.28,9.2 4.7,10.7 z"/>
</defs>
<use id="check" xlink:href="#check-shape"/>
<use id="check-inverted" xlink:href="#check-shape"/>
<use id="check-native" xlink:href="#check-shape"/>
</svg>
<path style="fill: #2292d0;" d="M 9.39,16.5 16.28,6 14.77,4.5 9.37,12.7 6.28,9.2 4.7,10.7 z"/>
</svg>
@@ -559,6 +559,7 @@ input[type='submit'] {
border: none;
cursor: pointer;
text-transform: uppercase;
-webkit-appearance: none;
}
.button:hover,
@@ -607,6 +608,7 @@ input[type="checkbox"] + label:before {
border: 1px solid #c1c1c1;
margin: -2px 7px 0 0;
background-color: #f1f1f1;
background-size: 16px;
background-image: linear-gradient(#fff, rgba(255, 255, 255, 0.8));
background-position: center center;
background-repeat: no-repeat;
@@ -619,7 +621,7 @@ input[type="checkbox"]:not(:disabled) + label:hover::before {
}
input[type="checkbox"]:checked + label:before {
background-image: url(/img/check.svg#check), linear-gradient(#fff, rgba(255, 255, 255, 0.8));
background-image: url(/img/check.svg), linear-gradient(#fff, rgba(255, 255, 255, 0.8));
}
input[type="checkbox"]:disabled + label:before {

0 comments on commit 278fdc4

Please sign in to comment.