mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix missing flatpickr styles, thought you need to run: grunt cssmin
This commit is contained in:
parent
22954466c8
commit
3f2c156914
@ -40,6 +40,7 @@ module.exports = function (grunt) {
|
||||
pixelegg: {
|
||||
files: {
|
||||
"pixelegg/css/pixelegg.min.css": [
|
||||
"node_modules/flatpickr/dist/themes/light.css",
|
||||
"api/js/jquery/chosen/chosen.css",
|
||||
"api/js/jquery/jquery-ui/themes/themes/redmond/jquery-ui.css",
|
||||
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
||||
@ -58,6 +59,7 @@ module.exports = function (grunt) {
|
||||
"pixelegg/print.css"
|
||||
],
|
||||
"pixelegg/css/mobile.min.css": [
|
||||
"node_modules/flatpickr/dist/themes/light.css",
|
||||
"api/js/jquery/chosen/chosen.css",
|
||||
"api/js/jquery/jquery-ui/themes/themes/redmond/jquery-ui.css",
|
||||
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
||||
@ -76,6 +78,7 @@ module.exports = function (grunt) {
|
||||
"pixelegg/print.css"
|
||||
],
|
||||
"pixelegg/mobile/fw_mobile.min.css": [
|
||||
"node_modules/flatpickr/dist/themes/light.css",
|
||||
"api/js/jquery/chosen/chosen.css",
|
||||
"api/js/jquery/jquery-ui/themes/themes/redmond/jquery-ui.css",
|
||||
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
||||
@ -93,6 +96,7 @@ module.exports = function (grunt) {
|
||||
"pixelegg/print.css"
|
||||
],
|
||||
"pixelegg/css/monochrome.min.css": [
|
||||
"node_modules/flatpickr/dist/themes/light.css",
|
||||
"api/js/jquery/chosen/chosen.css",
|
||||
"api/js/jquery/jquery-ui/themes/themes/redmond/jquery-ui.css",
|
||||
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
||||
@ -111,6 +115,7 @@ module.exports = function (grunt) {
|
||||
"pixelegg/print.css"
|
||||
],
|
||||
"pixelegg/css/modern.min.css": [
|
||||
"node_modules/flatpickr/dist/themes/light.css",
|
||||
"api/js/jquery/chosen/chosen.css",
|
||||
"api/js/jquery/jquery-ui/themes/themes/redmond/jquery-ui.css",
|
||||
"vendor/egroupware/magicsuggest/magicsuggest.css",
|
||||
@ -216,4 +221,4 @@ module.exports = function (grunt) {
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask("default", ["newer:cssmin"]);//, 'hub']);
|
||||
};
|
||||
};
|
@ -31,13 +31,4 @@ export const dateStyles = [
|
||||
background-position-y: 1px;
|
||||
background-size: 18px;
|
||||
}
|
||||
`];
|
||||
|
||||
// The lit-flatpickr package uses a CDN, in violation of best practices
|
||||
// I've downloaded it
|
||||
const themeUrl = "api/js/etemplate/Et2Date/flatpickr_material_blue.css";
|
||||
const styleElem = document.createElement('link');
|
||||
styleElem.rel = 'stylesheet';
|
||||
styleElem.type = 'text/css';
|
||||
styleElem.href = themeUrl;
|
||||
document.head.append(styleElem);
|
||||
`];
|
Loading…
Reference in New Issue
Block a user