Skip to content

Commit

Permalink
Add missing _ripple.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
djibe committed Jun 22, 2020
1 parent 00ec022 commit dbe73eb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ djibe-material/
│ ├── material.min.css
│ └── material.min.css.map
├── docs/
│ └── 4.4/
│ └── 4.5/
└── js/
├── material.js
├── material.js.map
Expand All @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions assets/scss/utilities/_ripple.scss
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit dbe73eb

Please sign in to comment.