build: bootstrap.scss 분리
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
|||||||
|
@import "./common/pretendard.scss";
|
||||||
|
|
||||||
|
$body-bg: #000;
|
||||||
|
|
||||||
|
$input-bg: #ddd;
|
||||||
|
$input-color: #303030;
|
||||||
|
|
||||||
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css");
|
||||||
|
|
||||||
|
@import "./common/break_500px.scss";
|
||||||
|
@import "./common/variables.scss";
|
||||||
|
@import "./common/bootswatch_custom_variables.scss";
|
||||||
|
@import "bootstrap/scss/bootstrap.scss";
|
||||||
|
@import "./common/bootswatch_custom.scss";
|
||||||
|
@import "./common/bootstrap_sammo.scss";
|
||||||
|
@import "./common/vue-multiselect.scss";
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
// Lumen 5.1.3
|
// Lumen 5.2.0
|
||||||
// Bootswatch
|
// Bootswatch
|
||||||
|
|
||||||
|
|
||||||
@@ -88,7 +88,6 @@
|
|||||||
|
|
||||||
// Forms
|
// Forms
|
||||||
|
|
||||||
|
|
||||||
.form-control {
|
.form-control {
|
||||||
box-shadow: inset 0 2px 0 rgba(0, 0, 0, .075);
|
box-shadow: inset 0 2px 0 rgba(0, 0, 0, .075);
|
||||||
}
|
}
|
||||||
@@ -120,8 +119,8 @@
|
|||||||
&:not(.disabled):focus,
|
&:not(.disabled):focus,
|
||||||
&.active {
|
&.active {
|
||||||
padding-bottom: add(.5rem, 6px);
|
padding-bottom: add(.5rem, 6px);
|
||||||
border-bottom-color: transparent;
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
border-bottom-color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,16 +153,16 @@
|
|||||||
> li > span {
|
> li > span {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
@include shadow();
|
|
||||||
color: $pagination-color;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: $pagination-color;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
@include shadow();
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
border-bottom-width: 3px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
border-bottom-width: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
@@ -194,8 +193,8 @@
|
|||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active {
|
&:active {
|
||||||
border-left-width: 2px;
|
|
||||||
border-right-width: 2px;
|
border-right-width: 2px;
|
||||||
|
border-left-width: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -317,8 +316,9 @@ a.list-group-item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal,
|
.modal,
|
||||||
.toast {
|
.toast,
|
||||||
|
.offcanvas {
|
||||||
.btn-close {
|
.btn-close {
|
||||||
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>");
|
background-image: escape-svg(url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$black}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ module.exports = (env, argv) => {
|
|||||||
const target = (rawTarget == 'gateway') ? 'hwe' : rawTarget;
|
const target = (rawTarget == 'gateway') ? 'hwe' : rawTarget;
|
||||||
const mode = argv.mode ?? 'production';
|
const mode = argv.mode ?? 'production';
|
||||||
const tsDir = resolve(__dirname, `${target}/ts/`);
|
const tsDir = resolve(__dirname, `${target}/ts/`);
|
||||||
|
const scssDir = resolve(__dirname, `${target}/scss/`);
|
||||||
const build_exports = require(`${tsDir}/build_exports.json`);
|
const build_exports = require(`${tsDir}/build_exports.json`);
|
||||||
|
|
||||||
const versionGitPath = resolve(__dirname, target, 'd_setting', 'VersionGit.json');
|
const versionGitPath = resolve(__dirname, target, 'd_setting', 'VersionGit.json');
|
||||||
@@ -59,6 +60,7 @@ module.exports = (env, argv) => {
|
|||||||
for (const [entry, filePath] of Object.entries(build_exports.ingame) ?? []) {
|
for (const [entry, filePath] of Object.entries(build_exports.ingame) ?? []) {
|
||||||
entryIngame[entry] = `${tsDir}/${filePath}`;
|
entryIngame[entry] = `${tsDir}/${filePath}`;
|
||||||
}
|
}
|
||||||
|
entryIngameVue['bootstrap'] = `${scssDir}/bootstrap.scss`;
|
||||||
const cacheDirectory = path.resolve(__dirname, 'node_modules/.cache/webpack');
|
const cacheDirectory = path.resolve(__dirname, 'node_modules/.cache/webpack');
|
||||||
|
|
||||||
const devtool = mode != 'production' ? 'eval-source-map' : (env.WEBPACK_WATCH ? 'source-map' : undefined);
|
const devtool = mode != 'production' ? 'eval-source-map' : (env.WEBPACK_WATCH ? 'source-map' : undefined);
|
||||||
|
|||||||
Reference in New Issue
Block a user