mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
fix tooltip and uncss
This commit is contained in:
parent
1c2bcf6061
commit
7eef5a96c9
@ -11,22 +11,22 @@
|
|||||||
display: block
|
display: block
|
||||||
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
// 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.
|
// 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.
|
// We deliberately do NOT reset font-size.
|
||||||
font-style: normal;
|
font-style: normal
|
||||||
font-weight: normal;
|
font-weight: normal
|
||||||
letter-spacing: normal;
|
letter-spacing: normal
|
||||||
line-break: auto;
|
line-break: auto
|
||||||
line-height: $line-height-base;
|
line-height: $line-height-base
|
||||||
text-align: left; // Fallback for where `start` is not supported
|
text-align: left; // Fallback for where `start` is not supported
|
||||||
text-align: start;
|
text-align: start
|
||||||
text-decoration: none;
|
text-decoration: none
|
||||||
text-shadow: none;
|
text-shadow: none
|
||||||
text-transform: none;
|
text-transform: none
|
||||||
white-space: normal;
|
white-space: normal
|
||||||
word-break: normal;
|
word-break: normal
|
||||||
word-spacing: normal;
|
word-spacing: normal
|
||||||
word-wrap: normal;
|
word-wrap: normal
|
||||||
font-size: $font-size-mini
|
font-size: $font-size-mini
|
||||||
|
|
||||||
opacity: 0
|
opacity: 0
|
||||||
|
@ -186,7 +186,7 @@ gulp.task('uncss', function () {
|
|||||||
return gulp.src(DIST + '/assets/css/kremalicious3.min.css')
|
return gulp.src(DIST + '/assets/css/kremalicious3.min.css')
|
||||||
.pipe($.uncss({
|
.pipe($.uncss({
|
||||||
html: [DIST + '/**/*.html'],
|
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'));
|
.pipe(gulp.dest(DIST + '/assets/css'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user