From bc0156211bb02de84f05497815f12819670130e7 Mon Sep 17 00:00:00 2001 From: saber-nyan Date: Mon, 25 Nov 2019 19:32:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B8=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=20?= =?UTF-8?q?=D0=BF=D0=B0=D1=82=D1=82=D0=B5=D1=80=D0=BD=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 13 ++++ src/components/Navbar.vue | 22 +++--- src/components/Packet.vue | 2 +- src/components/PatternsDropdown.vue | 63 ++++++++++++++++ src/views/AddPattern.vue | 108 ++++++++++++++++++++++++++++ 5 files changed, 193 insertions(+), 15 deletions(-) create mode 100644 src/components/PatternsDropdown.vue create mode 100644 src/views/AddPattern.vue diff --git a/src/App.vue b/src/App.vue index f3e1b88..379ea0a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -17,6 +17,7 @@ + @@ -25,9 +26,11 @@ import Settings from './views/Settings'; import AddService from './views/AddService'; import EditService from './views/EditService'; + import AddPattern from './views/AddPattern'; export default { components: { + AddPattern, AddService, EditService, Settings, @@ -127,6 +130,16 @@ opacity: 0; } + /* Patterns dropdown fix */ + /*noinspection CssUnusedSymbol*/ + .dropdown-menu.show { + position: fixed !important; + /*transform: translate3d(15px, 38px, 0) !important;*/ + transform: none !important; + left: 15px !important; + top: 38px !important; + } + [role="main"] { padding-top: 55px; /* Space for fixed navbar */ } diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index cb9e09e..deedf66 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -1,9 +1,11 @@