From 1e19213f7672917933c460ff8154613bc8c38a67 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Tue, 19 Apr 2022 02:45:36 +0900 Subject: [PATCH] =?UTF-8?q?feat(wip):=20=EC=97=B0=EA=B0=90=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=A7=80=EB=8F=84=EB=A5=BC=20=EB=B6=80=EB=A5=B4?= =?UTF-8?q?=EB=8A=94=20=EC=9E=91=EC=97=85=20=EC=A4=80=EB=B9=84=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/scss/history.scss | 42 +++++++++++++ hwe/ts/PageHistory.vue | 139 +++++++++++++++++++++++++++++------------ hwe/ts/v_history.ts | 6 +- hwe/v_history.php | 7 +++ 4 files changed, 150 insertions(+), 44 deletions(-) create mode 100644 hwe/scss/history.scss diff --git a/hwe/scss/history.scss b/hwe/scss/history.scss new file mode 100644 index 00000000..e78a16eb --- /dev/null +++ b/hwe/scss/history.scss @@ -0,0 +1,42 @@ +@import "./common/bootstrap5.scss"; +@import "./editor_component.scss"; +@import "./util.scss"; + +@include media-1000px { + #container { + width: 1000px; + margin: 0 auto; + padding: 0; + } + .year-selector{ + margin-left: 100%/24*5; + } + + .map_position{ + flex: 0 0 auto; + width: 700px; + } + + .nation_position{ + flex: 0 0 auto; + width: 300px; + } +} + +@include media-500px { + #container { + width: 500px; + margin: 0 auto; + padding: 0; + } + + .map_position{ + flex: 0 0 auto; + width: 100%; + } + + .nation_position{ + flex: 0 0 auto; + width: 100%; + } +} diff --git a/hwe/ts/PageHistory.vue b/hwe/ts/PageHistory.vue index 48c4f52a..223fba80 100644 --- a/hwe/ts/PageHistory.vue +++ b/hwe/ts/PageHistory.vue @@ -1,25 +1,53 @@