diff --git a/css/config.css b/css/config.css new file mode 100644 index 0000000..0cd23d2 --- /dev/null +++ b/css/config.css @@ -0,0 +1,246 @@ +@charset "utf-8"; +body { + color: white; + background-color: black; + font-family: 'Pretendard'; +} + +table { + border: solid 1px; + border-spacing: 0px; + border-collapse: separate; + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; + padding: 0px; + font-size: 14px; + word-break: break-all; + text-align: center; +} + +th, +td { + border: solid 1px; + border-spacing: 0px; + border-collapse: separate; + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; + padding: 0px; + font-size: 14px; + word-break: break-all; + text-align: center; +} + +a.just_link { + text-decoration: none; +} + +.with_border { + margin: 0; + border: solid 1px; + border-spacing: 0px; + border-collapse: separate; + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; +} + +.section_title { + height: 50px; + line-height: 50px; + font-size: 30px; + font-weight: bold; + text-align: center; + color: white; + padding: 0; +} + +.legacy_layout div { + border: solid 1px; + border-spacing: 0px; + border-collapse: separate; + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; + padding: 0px; + font-size: 14px; + word-break: break-all; + text-align: center; +} + +.obj_fill { + display: block; + width: 100%; + height: 100%; +} + +button.with_skin { + padding: 0 4px; + background-color: #191919; + color: white; + font-size: 14px; + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; +} + +button.with_skin:disabled { + background-color: #333; +} + +input.with_skin { + background-color: #191919; + color: white; + font-size: 14px; +} + +input.with_skin[type=button], input.with_skin[type=submit]{ + border-top-color: gray; + border-left-color: gray; + border-right-color: black; + border-bottom-color: black; +} + +input.with_skin:disabled { + background-color: #333; +} + +.font0 { + font-size: 10px; +} + +.font1 { + font-size: 14px; +} + +.font2 { + font-size: 15px; +} + +.font3 { + font-size: 20px; +} + +.font4 { + font-size: 30px; +} + +.font5 { + font-size: 50px; +} + +caption.section_title { + caption-side: top; +} + +.samButton { + float: left; + display: block; + padding: 0; + margin: 0; + text-decoration: none; + position: relative; +} + +a.samButton.disabled { + pointer-events: none; + cursor: default; +} + +.samButtonOuter { + display: table; + border: outset 2px white; + box-sizing: border-box; + font-weight: bold; + padding: 1px 6px; + width: 125px; + height: 30px; + background-color: #000000; + color: #ffffff; +} + +.samButtonOuter:active { + border: inset 2px white; +} + +.samButtonInner { + display: table-cell; + vertical-align: middle; + width: 100%; + margin: 0 auto; + text-align: center; + user-select: none; +} + +.samToolbarButton>.samButtonOuter { + width: 125px; + height: 30px; + background-color: #225500; + color: white; +} + +.samToolbarButton2>.samButtonOuter { + width: 125px; + height: 30px; + background-color: #225500; + color: magenta; +} + +.samCommandButton>.samButtonOuter { + width: 111px; + height: 30px; +} + +.samCommandButton.disabled>.samButtonOuter { + background-color: transparent !important; + color: gray !important; + border-color: transparent !important; +} + +.samCommandButton.disabled>.samButtonOuter>.samButtonInner::before { + content: '【' +} + +.samCommandButton.disabled>.samButtonOuter>.samButtonInner::after { + content: '】' +} + +.tooltip_copyable_info .tooltiptext { + display: inline; + color: rgba(0, 0, 0, 0); + font-size: 0; +} + +.tooltiptext { + display: none; +} + +.hidden_but_copyable { + color: rgba(0, 0, 0, 0); + font-size: 0; +} + +.vertical_flex { + height: 100%; + display: flex; + align-content: center; + flex-direction: column; + align-items: stretch; +} + +.vertical_flex .item { + display: block; + flex-grow: 1; +} + +.fill_box { + display: block; + width: 100%; + height: 100%; +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 53c9417..b985188 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,6 +26,13 @@ export default defineConfig(({ command, mode }) => { }, outDir: resolve(__dirname, `dist_js/version/ingame_vue`), }, + resolve: { + alias: { + '@': tsDir, + '@scss': resolve(__dirname, `${target}/scss/`), + '@util': resolve(tsDir, `util`), + } + }, plugins: [vue()] }