From 7eef5a96c94f2c3e1e07ba2840486c1360dac479 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 2 Dec 2015 21:27:55 +0100 Subject: [PATCH] fix tooltip and uncss --- _src/_assets/styl/tooltips.styl | 28 ++++++++++++++-------------- gulpfile.js | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/_src/_assets/styl/tooltips.styl b/_src/_assets/styl/tooltips.styl index 62b35e5e..dfe1974e 100644 --- a/_src/_assets/styl/tooltips.styl +++ b/_src/_assets/styl/tooltips.styl @@ -11,22 +11,22 @@ display: block // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element. // So reset our font and text properties to avoid inheriting weird values. - font-family: $font-family-base; + font-family: $font-family-base // We deliberately do NOT reset font-size. - font-style: normal; - font-weight: normal; - letter-spacing: normal; - line-break: auto; - line-height: $line-height-base; + font-style: normal + font-weight: normal + letter-spacing: normal + line-break: auto + line-height: $line-height-base text-align: left; // Fallback for where `start` is not supported - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - white-space: normal; - word-break: normal; - word-spacing: normal; - word-wrap: normal; + text-align: start + text-decoration: none + text-shadow: none + text-transform: none + white-space: normal + word-break: normal + word-spacing: normal + word-wrap: normal font-size: $font-size-mini opacity: 0 diff --git a/gulpfile.js b/gulpfile.js index 01a4ff85..4cb340cc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -186,7 +186,7 @@ gulp.task('uncss', function () { return gulp.src(DIST + '/assets/css/kremalicious3.min.css') .pipe($.uncss({ html: [DIST + '/**/*.html'], - ignore: [/\.has\S+\W+\S+/, /is-ready/, /animation-slideDown/, /animation-bounceOutUp/, /transition/, /gpuacceleration/, /hide/, /show/, /search-popover/, /search-results/, /search-link/] + ignore: [/\.has\S+\W+\S+/, /is-ready/, /animation-slideDown/, /animation-bounceOutUp/, /transition/, /gpuacceleration/, /hide/, /show/, /search-popover/, /search-results/, /search-link/, /tooltip/] })) .pipe(gulp.dest(DIST + '/assets/css')); }