From af954c73b9ca3c1147a46468f039816f630744b1 Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Tue, 21 Apr 2020 19:22:17 +0200 Subject: [PATCH 1/5] change logo --- public/img/logo.svg | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/public/img/logo.svg b/public/img/logo.svg index 0dbdf48..7375c23 100644 --- a/public/img/logo.svg +++ b/public/img/logo.svg @@ -7,25 +7,27 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - viewBox="0 0 24 24" - class="fill-current" + width="100mm" + height="100mm" + viewBox="0 0 100 100" version="1.1" - id="svg6" - sodipodi:docname="logo.svg" + id="svg4659" + sodipodi:docname="portal-logo.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"> + id="metadata4665"> image/svg+xml + + id="defs4663" /> - Portal - + inkscape:current-layer="svg4659" /> + + + From 659ef1c9442aa90c55b2286757e89ef5989eb7ae Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sat, 25 Apr 2020 16:02:42 +0200 Subject: [PATCH 2/5] fix modal --- resources/js/views/Memo/MemoShow.vue | 17 +++++++------- resources/sass/components/modal.scss | 33 ++++++++++++++-------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/resources/js/views/Memo/MemoShow.vue b/resources/js/views/Memo/MemoShow.vue index 36cde34..acfce01 100755 --- a/resources/js/views/Memo/MemoShow.vue +++ b/resources/js/views/Memo/MemoShow.vue @@ -2,6 +2,14 @@
+ +
< Back -
Edit Delete diff --git a/resources/sass/components/modal.scss b/resources/sass/components/modal.scss index b32ff51..a0b0e2e 100644 --- a/resources/sass/components/modal.scss +++ b/resources/sass/components/modal.scss @@ -2,25 +2,26 @@ $modal-duration: 1s; .modal-container { background-color: rgba(0,0,0,0.6); - //display: none; position: fixed; + z-index: 10; top: 0; bottom: 0; left: 0; right: 0; - - .modal { - background-color: #fff; - border-radius: 5px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); - position: absolute; - overflow: hidden; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - max-width: 100%; - width: 400px; - animation-name: modalopen; - animation-duration: $modal-duration; - } +} + +.modal { + background-color: #fff; + border-radius: 5px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); + position: absolute; + z-index: 20; + overflow: hidden; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + max-width: 100%; + width: 400px; + animation-name: modalopen; + animation-duration: $modal-duration; } From ca7177f676ca830187cc371d321faa9773e2f4cb Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sun, 26 Apr 2020 11:50:06 +0200 Subject: [PATCH 3/5] add Tailwing & CssPurge --- package.json | 4 +- resources/js/components/App.vue | 4 +- resources/js/components/Avatar.vue | 4 +- resources/js/components/Nav.vue | 30 ++-- resources/js/components/TopBar.vue | 14 +- resources/js/views/Memo/MemoIndex.vue | 18 +- resources/sass/app.scss | 55 +++--- resources/sass/components/_btn.scss | 125 ++++++++------ resources/sass/components/nav.scss | 237 +++++++++++++++++--------- tailwind.config.js | 11 ++ webpack.mix.js | 9 +- 11 files changed, 317 insertions(+), 194 deletions(-) create mode 100644 tailwind.config.js diff --git a/package.json b/package.json index d06d4b6..879612a 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "eslint-plugin-vue": "^6.2.2", "laravel-mix": "^5.0.1", "laravel-mix-eslint": "^0.1.3", + "laravel-mix-purgecss": "^5.0.0-rc.2", "lodash": "^4.17.13", "resolve-url-loader": "^2.3.1", "sass": "^1.20.1", @@ -32,6 +33,7 @@ "dropzone": "^5.7.0", "laravel-mix-svg-vue": "^0.2.6", "markdown-it": "^10.0.0", - "markdown-it-checkbox": "^1.1.0" + "markdown-it-checkbox": "^1.1.0", + "tailwindcss": "^1.3.5" } } diff --git a/resources/js/components/App.vue b/resources/js/components/App.vue index 41ee1f7..64b82c7 100644 --- a/resources/js/components/App.vue +++ b/resources/js/components/App.vue @@ -1,9 +1,9 @@