From 413f5c3e4f2f7990811dbae4640ba862e42e4e1b Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Sat, 26 Aug 2023 17:12:22 +0200 Subject: [PATCH] Tweaks to scss build script --- css/devstyles.css | 18 ++++++++++-------- scss/studyplan.scss | 8 +------- scssbuild.js | 10 ++++++---- 3 files changed, 17 insertions(+), 19 deletions(-) diff --git a/css/devstyles.css b/css/devstyles.css index aaa72eb..4e295bc 100644 --- a/css/devstyles.css +++ b/css/devstyles.css @@ -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; } diff --git a/scss/studyplan.scss b/scss/studyplan.scss index 53d6bae..102b32f 100644 --- a/scss/studyplan.scss +++ b/scss/studyplan.scss @@ -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; } diff --git a/scssbuild.js b/scssbuild.js index 6f38daa..0c1e148 100755 --- a/scssbuild.js +++ b/scssbuild.js @@ -45,10 +45,12 @@ fs.readdir(directoryPath, function (err, files) { } //listing all files using forEach files.forEach(function (file) { - const result = sass.compile(file); - console.info(`Processing ${file}...`) - if ( result ) { - css = css + `/**** ${file} ****/\n` + result.css + "\n"; + if (file.endsWith(".scss")) { + const result = sass.compile(file); + console.info(`Processing ${file}...`) + if ( result ) { + css = css + `/**** ${file} ****/\n` + result.css + "\n"; + } } });