From dbe73eb8ecb97dd393b4299b9de5ef83758f9f50 Mon Sep 17 00:00:00 2001 From: djibe Date: Mon, 22 Jun 2020 08:43:02 +0200 Subject: [PATCH] Add missing _ripple.scss --- .browserslistrc | 13 +++++++++++++ README.md | 4 ++-- assets/scss/utilities/_ripple.scss | 5 +++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .browserslistrc create mode 100644 assets/scss/utilities/_ripple.scss diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 000000000..1bfd19753 --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,13 @@ +# https://github.com/browserslist/browserslist#readme + +>= 1% +last 1 major version +not dead +Chrome >= 45 +Firefox >= 38 +Edge >= 12 +Explorer >= 10 +iOS >= 9 +Safari >= 9 +Android >= 4.4 +Opera >= 30 diff --git a/README.md b/README.md index 61d83579e..8052382cc 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ djibe-material/ │ ├── material.min.css │ └── material.min.css.map ├── docs/ -│ └── 4.4/ +│ └── 4.5/ └── js/ ├── material.js ├── material.js.map @@ -100,7 +100,7 @@ Material's 2 documentation that is included in this repo located in the root dir ### Running Documentation Locally -1. Run through the [tooling setup](http://djibe.github.io/material/docs/4.4/getting-started/tooling/#getting-started) to install Jekyll and other Ruby dependencies with `bundle install`. +1. Run through the [tooling setup](http://djibe.github.io/material/docs/4.5/getting-started/tooling/#getting-started) to install Jekyll and other Ruby dependencies with `bundle install`. 2. Run `npm install` to install Node.js dependencies. 3. Run `npm run dist` and `npm run docs` to rebuild distributed CSS and JavaScript files, as well as docs assets. 4. If you had end-of-line errors when running the commands indicated in step #3 then, please follow [this step](#end-of-line-fix) before proceeding, or else proceed to step #5. diff --git a/assets/scss/utilities/_ripple.scss b/assets/scss/utilities/_ripple.scss new file mode 100644 index 000000000..27f9db764 --- /dev/null +++ b/assets/scss/utilities/_ripple.scss @@ -0,0 +1,5 @@ +[data-ripplet]:not(:disabled):not(.disabled) { + cursor: pointer; + -webkit-tap-highlight-color: transparent; // Erase tap highlight effect for iOS + touch-action: manipulation; // Disable tap-to-hover behavior and double-tap-to-zoom behavior for iOS +}