1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-23 02:10:01 +01:00

fix tooltip and uncss

This commit is contained in:
Matthias Kretschmann 2015-12-02 21:27:55 +01:00
parent 1c2bcf6061
commit 7eef5a96c9
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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'));
}