Skip to content

Commit

Permalink
Fix CSS on iOS (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoChevalier authored and flodolo committed Jan 17, 2017
1 parent 2876888 commit 278fdc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
25 changes: 2 additions & 23 deletions web/img/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion web/style/transvision.css
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ input[type='submit'] {
border: none;
cursor: pointer;
text-transform: uppercase;
-webkit-appearance: none;
}

.button:hover,
Expand Down Expand Up @@ -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;
Expand All @@ -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 {
Expand Down

0 comments on commit 278fdc4

Please sign in to comment.