koel/resources/assets/css/app.pcss

44 lines
1.3 KiB
Text
Raw Normal View History

2024-04-04 20:13:35 +00:00
@import './partials/vars.pcss';
@import './partials/hack.pcss';
2024-04-04 22:20:42 +00:00
@import './partials/mixins.pcss';
2024-04-04 20:13:35 +00:00
@import '@modules/nouislider/distribute/nouislider.min.css';
@import './vendor/plyr.pcss';
@import './vendor/nprogress.pcss';
@import './partials/skeleton.pcss';
@import './partials/tooltip.pcss';
2024-04-04 22:20:42 +00:00
@import './partials/context-menu.pcss';
2024-04-04 20:13:35 +00:00
@import './partials/shared.pcss';
2024-04-04 22:20:42 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2022-04-15 14:24:30 +00:00
2024-04-04 22:20:42 +00:00
@layer utilities {
.fade-top {
-webkit-mask-image: linear-gradient(to bottom, transparent, black var(--fade-size));
mask-image: linear-gradient(to bottom, transparent, black var(--fade-size));
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
.fade-bottom {
-webkit-mask-image: linear-gradient(to top, transparent, black var(--fade-size));
mask-image: linear-gradient(to top, transparent, black var(--fade-size));
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
.fade-top.fade-bottom {
-webkit-mask:
linear-gradient(to bottom, transparent, black var(--fade-size)) top,
linear-gradient(to top, transparent, black var(--fade-size)) bottom;
2024-04-04 22:20:42 +00:00
-webkit-mask-size: 100% 51%;
-webkit-mask-repeat: no-repeat;
2022-04-15 14:24:30 +00:00
mask:
linear-gradient(to bottom, transparent, black var(--fade-size)) top,
linear-gradient(to top, transparent, black var(--fade-size)) bottom;
2024-04-04 22:20:42 +00:00
mask-size: 100% 51%;
mask-repeat: no-repeat;
2022-04-15 14:24:30 +00:00
}
}