mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-30 21:52:05 +02:00
remove touch active style, use tap-highlight-color
This commit is contained in:
parent
d432092cf0
commit
9f1e10719e
|
@ -43,7 +43,7 @@ module.exports = function(grunt){
|
||||||
},
|
},
|
||||||
production: {
|
production: {
|
||||||
options: {
|
options: {
|
||||||
lsi: true
|
//lsi: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
development: {
|
development: {
|
||||||
|
@ -104,7 +104,6 @@ module.exports = function(grunt){
|
||||||
'bower_components/masonry/index.js',
|
'bower_components/masonry/index.js',
|
||||||
'bower_components/imagesloaded/imagesloaded.js',
|
'bower_components/imagesloaded/imagesloaded.js',
|
||||||
'bower_components/simpleJekyllSearch/index.js',
|
'bower_components/simpleJekyllSearch/index.js',
|
||||||
'<%= config.src %>/<%= config.assets.js %>/helper.js',
|
|
||||||
'<%= config.src %>/<%= config.assets.js %>/app.js'
|
'<%= config.src %>/<%= config.assets.js %>/app.js'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
/**
|
|
||||||
* MBP - Mobile boilerplate helper functions
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(document) {
|
|
||||||
|
|
||||||
window.MBP = window.MBP || {};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable CSS active pseudo styles in Mobile Safari
|
|
||||||
* http://alxgbsn.co.uk/2011/10/17/enable-css-active-pseudo-styles-in-mobile-safari/
|
|
||||||
*/
|
|
||||||
|
|
||||||
MBP.enableActive = function() {
|
|
||||||
document.addEventListener('touchstart', function() {}, false);
|
|
||||||
};
|
|
||||||
|
|
||||||
})(document);
|
|
|
@ -1,7 +1,6 @@
|
||||||
html {
|
html {
|
||||||
// remove tap highlight cause we're using the active styles
|
-webkit-tap-highlight-color: fade(@link-color, 20%);
|
||||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
tap-highlight-color: fade(@link-color, 20%);
|
||||||
tap-highlight-color: rgba(0,0,0,0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user