- Fixed scss structure
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
// Other global files
|
|
||||||
@import '_variables';
|
|
||||||
@import '_fonts';
|
|
||||||
|
|
||||||
// RESETS
|
// RESETS
|
||||||
html {
|
html {
|
||||||
font-size: $font-size-root;
|
font-size: $font-size-root;
|
||||||
@@ -9,7 +5,7 @@ html {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
color: $primary--base;
|
color: $primary-base;
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
* {
|
* {
|
||||||
@@ -42,10 +38,11 @@ hr {
|
|||||||
border-top-color: rgba($black, .25);
|
border-top-color: rgba($black, .25);
|
||||||
}
|
}
|
||||||
|
|
||||||
// BOOTSTRAP
|
// BOOTSTRAP OVERRIDES
|
||||||
.nav-link {
|
.nav-link {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
@@ -53,6 +50,10 @@ hr {
|
|||||||
.word-break{ word-wrap: break-word; }
|
.word-break{ word-wrap: break-word; }
|
||||||
.cursor-pointer{ cursor: pointer; }
|
.cursor-pointer{ cursor: pointer; }
|
||||||
|
|
||||||
|
.font-weight-black {
|
||||||
|
font-weight: $heavy;
|
||||||
|
}
|
||||||
|
|
||||||
// LAYOUTS
|
// LAYOUTS
|
||||||
.fullpage {
|
.fullpage {
|
||||||
min-height: calc(100vh - 56px);
|
min-height: calc(100vh - 56px);
|
||||||
|
|||||||
@@ -1,28 +1,31 @@
|
|||||||
|
|
||||||
//// COLOURS
|
//// COLOURS
|
||||||
// Global colours
|
// Global colours
|
||||||
$white: #FFF;
|
$white: #FFF;
|
||||||
$black: #000;
|
$black: #000;
|
||||||
$dull--black: #0D0D0D;
|
$dull-black: #0D0D0D;
|
||||||
|
|
||||||
$primary--base: #2c3e50;
|
$primary-base: #2c3e50;
|
||||||
$primary--blue: #599EF4;
|
$primary-blue: #599EF4;
|
||||||
$secondary--blue: #355F91;
|
$secondary-blue: #355F91;
|
||||||
|
|
||||||
$valid: #6AC47B;
|
$valid: #6AC47B;
|
||||||
$warning: #F7A758;
|
$warning: #F7A758;
|
||||||
$alert: #F44E4E;
|
$alert: #F44E4E;
|
||||||
|
|
||||||
// Spell colours
|
|
||||||
$spell-card--innerborder: #f5ebd8;
|
|
||||||
|
|
||||||
// FONT FAMILY BASES
|
// FONT FAMILY BASES
|
||||||
$font-family: 'Lato', sans-serif;
|
$font-family: 'Lato', sans-serif !default;
|
||||||
|
|
||||||
$font-light: 300;
|
$light: 300;
|
||||||
$font-regular: 400;
|
$regular: 400;
|
||||||
$font-bold: 700;
|
$bold: 700;
|
||||||
|
$heavy: 900;
|
||||||
|
|
||||||
$font-size-root: 15px !default;
|
$font-size-root: 16px !default;
|
||||||
$font-size-base: 1.2rem !default;
|
$font-size-base: 1rem !default;
|
||||||
$line-height-base: 1.3 !default;
|
$line-height-base: 1.3 !default;
|
||||||
|
|
||||||
|
// Breakpoints
|
||||||
|
$bp-sm: 576px;
|
||||||
|
$bp-md: 768px;
|
||||||
|
$bp-lg: 992px;
|
||||||
|
$bp-xl: 1200px;
|
||||||
@@ -23,7 +23,10 @@ window.$ = jquery
|
|||||||
window.jquery = jquery
|
window.jquery = jquery
|
||||||
|
|
||||||
// Styles
|
// Styles
|
||||||
|
// Fonts
|
||||||
|
import './assets/scss/_fonts.scss'
|
||||||
import './assets/scss/_global.scss'
|
import './assets/scss/_global.scss'
|
||||||
|
|
||||||
import 'bootstrap/dist/css/bootstrap.css'
|
import 'bootstrap/dist/css/bootstrap.css'
|
||||||
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
||||||
import 'bootstrap/dist/js/bootstrap.js'
|
import 'bootstrap/dist/js/bootstrap.js'
|
||||||
|
|||||||
@@ -3,9 +3,18 @@ const path = require('path')
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
"~": path.resolve(__dirname, 'src/')
|
"~": path.resolve(__dirname, 'src/')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
css: {
|
||||||
|
loaderOptions: {
|
||||||
|
scss: {
|
||||||
|
prependData: `
|
||||||
|
@import "@/assets/scss/_variables.scss";
|
||||||
|
`
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user