mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-14 16:13:19 -06:00
switch to global variable file import for scss
This commit is contained in:
@@ -9,8 +9,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.card-body h4,
|
.card-body h4,
|
||||||
.breadcrumb-item.active {
|
.breadcrumb-item.active {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
color: $grey-9;
|
color: $grey-9;
|
||||||
background-color: $grey-2;
|
background-color: $grey-2;
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.quote-list > tr {
|
.quote-list > tr {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
|
|||||||
@@ -73,8 +73,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.expandable-result {
|
.expandable-result {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.card-footer {
|
.card-footer {
|
||||||
padding: 0.1em;
|
padding: 0.1em;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
|||||||
@@ -59,8 +59,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
// Make all season cards 'clickable'
|
// Make all season cards 'clickable'
|
||||||
.season-item > .card-body > .card-header {
|
.season-item > .card-body > .card-header {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
<div class="skeleton"></div>
|
<div class="skeleton"></div>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "../assets/scss/_variables";
|
|
||||||
|
|
||||||
.skeleton {
|
.skeleton {
|
||||||
background-color: $grey-4;
|
background-color: $grey-4;
|
||||||
background-image: linear-gradient(90deg, $grey-4, $grey-6, $grey-4);
|
background-image: linear-gradient(90deg, $grey-4, $grey-6, $grey-4);
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
outputDir: '../dist/',
|
outputDir: '../dist/',
|
||||||
assetsDir: './static',
|
assetsDir: './static',
|
||||||
|
css: {
|
||||||
|
loaderOptions: {
|
||||||
|
sass: {
|
||||||
|
prependData: '@import "@/scss/_variables.scss";'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user