Tweaks to scss build script
This commit is contained in:
parent
19e2bf7312
commit
413f5c3e4f
|
@ -14,7 +14,16 @@
|
||||||
--incomplete: var(--gray);
|
--incomplete: var(--gray);
|
||||||
}
|
}
|
||||||
/**** generic.scss ****/
|
/**** 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 ****/
|
/**** invitemanager.scss ****/
|
||||||
/*******************
|
/*******************
|
||||||
*
|
*
|
||||||
|
@ -65,14 +74,7 @@
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
margin-right: 7px;
|
margin-right: 7px;
|
||||||
}
|
}
|
||||||
/**** readme-moodle.txt ****/
|
|
||||||
|
|
||||||
/**** studyplan.scss ****/
|
/**** studyplan.scss ****/
|
||||||
.path-local-treestudyplan, .features-treestudyplan {
|
|
||||||
/* Track */
|
|
||||||
/* Handle */
|
|
||||||
/******************************************************************************/
|
|
||||||
}
|
|
||||||
.path-local-treestudyplan .t-toolbox-preface, .features-treestudyplan .t-toolbox-preface {
|
.path-local-treestudyplan .t-toolbox-preface, .features-treestudyplan .t-toolbox-preface {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
.path-local-treestudyplan, .features-treestudyplan
|
.path-local-treestudyplan, .features-treestudyplan {
|
||||||
{
|
|
||||||
|
|
||||||
.t-toolbox-preface {
|
.t-toolbox-preface {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
@ -49,13 +47,11 @@
|
||||||
width: 8px;
|
width: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Track */
|
|
||||||
.t-studyplan-scrollable::-webkit-scrollbar-track,
|
.t-studyplan-scrollable::-webkit-scrollbar-track,
|
||||||
.r-studyplan-scrollable::-webkit-scrollbar-track {
|
.r-studyplan-scrollable::-webkit-scrollbar-track {
|
||||||
background: color-mix(in srgb, var(--primary) 20%, white);
|
background: color-mix(in srgb, var(--primary) 20%, white);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle */
|
|
||||||
.t-studyplan-scrollable::-webkit-scrollbar-thumb,
|
.t-studyplan-scrollable::-webkit-scrollbar-thumb,
|
||||||
.r-studyplan-scrollable::-webkit-scrollbar-thumb {
|
.r-studyplan-scrollable::-webkit-scrollbar-thumb {
|
||||||
background:var(--primary);
|
background:var(--primary);
|
||||||
|
@ -599,8 +595,6 @@
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
.r-report-tabs .list-group-item-action {
|
.r-report-tabs .list-group-item-action {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
10
scssbuild.js
10
scssbuild.js
|
@ -45,10 +45,12 @@ fs.readdir(directoryPath, function (err, files) {
|
||||||
}
|
}
|
||||||
//listing all files using forEach
|
//listing all files using forEach
|
||||||
files.forEach(function (file) {
|
files.forEach(function (file) {
|
||||||
const result = sass.compile(file);
|
if (file.endsWith(".scss")) {
|
||||||
console.info(`Processing ${file}...`)
|
const result = sass.compile(file);
|
||||||
if ( result ) {
|
console.info(`Processing ${file}...`)
|
||||||
css = css + `/**** ${file} ****/\n` + result.css + "\n";
|
if ( result ) {
|
||||||
|
css = css + `/**** ${file} ****/\n` + result.css + "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user