diff options
| author | Jesper Nellemann Jakobsen | 2017-05-08 12:24:35 +0200 |
|---|---|---|
| committer | Jesper Nellemann Jakobsen | 2017-05-08 12:24:35 +0200 |
| commit | 38981e3a23aa886cbd7e5a3e12f55b5314bc589e (patch) | |
| tree | 7779fde2ff8b7157a1d4a5347e578510c2109c5f | |
| parent | 8a74fd31f3086538cfad50df30e0e2c87cd0a6cc (diff) | |
| download | vimium-38981e3a23aa886cbd7e5a3e12f55b5314bc589e.tar.bz2 | |
Update linear gradient syntax to avoid deprecation
This updated syntax avoids the following deprecation warning in Chrome Canary v60.0.3090.0:
```[Deprecation] -webkit-gradient is deprecated. Please use linear-gradient or radial-gradient instead.```
This syntax is also supported in Firefox (and [all other modern browsers](https://caniuse.com/#feat=css-gradients)), which could help transitioning the Firefox version, which is in the works.
| -rw-r--r-- | content_scripts/vimium.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium.css b/content_scripts/vimium.css index 3e8f65d6..54256199 100644 --- a/content_scripts/vimium.css +++ b/content_scripts/vimium.css @@ -80,7 +80,7 @@ div.internalVimiumHintMarker { overflow: hidden; font-size: 11px; padding: 1px 3px 0px 3px; - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542)); + background: linear-gradient(to bottom, #FFF785 0%,#FFC542 100%); border: solid 1px #C38A22; border-radius: 3px; box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.3); |
