Tweaks to scss build script

This commit is contained in:
PMKuipers 2023-08-26 17:12:22 +02:00
parent 19e2bf7312
commit 413f5c3e4f
3 changed files with 17 additions and 19 deletions

View File

@ -14,7 +14,16 @@
--incomplete: var(--gray);
}
/**** generic.scss ****/
.path-local-treestudyplan div.tab-pane:target {
margin-top: 0px;
}
.path-local-treestudyplan [v-cloak] {
visibility: hidden;
}
.path-local-treestudyplan .vue-loader {
width: 32px;
margin: auto;
}
/**** invitemanager.scss ****/
/*******************
*
@ -65,14 +74,7 @@
margin-left: 7px;
margin-right: 7px;
}
/**** readme-moodle.txt ****/
/**** studyplan.scss ****/
.path-local-treestudyplan, .features-treestudyplan {
/* Track */
/* Handle */
/******************************************************************************/
}
.path-local-treestudyplan .t-toolbox-preface, .features-treestudyplan .t-toolbox-preface {
margin: 10px;
}

View File

@ -1,7 +1,5 @@
.path-local-treestudyplan, .features-treestudyplan
{
.path-local-treestudyplan, .features-treestudyplan {
.t-toolbox-preface {
margin: 10px;
}
@ -49,13 +47,11 @@
width: 8px;
}
/* Track */
.t-studyplan-scrollable::-webkit-scrollbar-track,
.r-studyplan-scrollable::-webkit-scrollbar-track {
background: color-mix(in srgb, var(--primary) 20%, white);
}
/* Handle */
.t-studyplan-scrollable::-webkit-scrollbar-thumb,
.r-studyplan-scrollable::-webkit-scrollbar-thumb {
background:var(--primary);
@ -599,8 +595,6 @@
transform: translate(-50%, -50%);
}
/******************************************************************************/
.r-report-tabs .list-group-item-action {
width: inherit;
}

View File

@ -45,11 +45,13 @@ fs.readdir(directoryPath, function (err, files) {
}
//listing all files using forEach
files.forEach(function (file) {
if (file.endsWith(".scss")) {
const result = sass.compile(file);
console.info(`Processing ${file}...`)
if ( result ) {
css = css + `/**** ${file} ****/\n` + result.css + "\n";
}
}
});
console.info(`Storing ${output}`);