diff --git a/src/assets/scss/material-kit/_navbars.scss b/src/assets/scss/material-kit/_navbars.scss index ea56595..1c18dbe 100644 --- a/src/assets/scss/material-kit/_navbars.scss +++ b/src/assets/scss/material-kit/_navbars.scss @@ -5,12 +5,6 @@ border-radius: 3px; margin-bottom: 20px; - .md-toolbar-section-start { - .md-list { - display: none; - } - } - &.md-transparent{ background-color: transparent !important; box-shadow: none; @@ -26,6 +20,13 @@ } } + .md-toolbar-section-end .md-list { + justify-content: flex-end; + } + .md-toolbar-section-start .md-list { + justify-content: flex-start; + } + &.md-absolute { position: fixed; z-index: 1030; @@ -225,6 +226,7 @@ .md-title { height: 50px; + min-width: 50px; display: flex; align-items: center; font-size: 18px; diff --git a/src/assets/scss/material-kit/_responsive.scss b/src/assets/scss/material-kit/_responsive.scss index a17dda4..fe4a3e1 100644 --- a/src/assets/scss/material-kit/_responsive.scss +++ b/src/assets/scss/material-kit/_responsive.scss @@ -20,6 +20,12 @@ background-color: rgba(0, 0, 0, 0.45); } + .md-toolbar-section-start { + .md-list { + display: none; + } + } + .footer .container { flex-direction: column; text-align: center; @@ -61,6 +67,10 @@ flex-flow: column; } + .md-collapse-wrapper { + height: calc(100vh - 61px); + } + .dropdown-toggle:not(.md-button):after, .dropdown-toggle .md-ripple:after, .md-list-item .md-button.md-button-link:not(.md-just-icon):not(.md-btn-fab):not(.md-icon-button):not(.md-toolbar-toggle) .md-ripple .md-button-content i, @@ -134,15 +144,16 @@ display: none; } - &:after { - width: calc(100% - 30px); - content: ""; - display: block; - height: 1px; - margin-left: 15px; - background-color: #e5e5e5; - } + } + .nav-mobile-section-start .md-list-item:last-child:after, + .md-list-item:after { + width: calc(100% - 30px); + content: ""; + display: block; + height: 1px; + margin-left: 15px; + background-color: #e5e5e5; } .md-list-item-container { @@ -161,7 +172,6 @@ position: relative; z-index: 4; overflow-y:scroll; - height: calc(100vh - 61px); width: 100%; } &::before{ @@ -380,6 +390,11 @@ .md-tabs-navigation { flex-direction: column; + + .md-button { + max-width: none; + margin: 0 !important; + } } .modal-wrapper .modal-container { @@ -411,6 +426,10 @@ max-width: 960px; } + .md-list.nav-mobile-menu { + display: none; + } + .hidden-lg { display: none !important; } diff --git a/src/layout/MainNavbar.vue b/src/layout/MainNavbar.vue index d2e646f..dfe1c84 100644 --- a/src/layout/MainNavbar.vue +++ b/src/layout/MainNavbar.vue @@ -12,93 +12,98 @@
- -
  • - - - -
  • +
    + + + + +
  • + + + +
  • - - content_paste -

    Documentation

    -
    + + content_paste +

    Documentation

    +
    - - cloud_download -

    Download

    -
    + + cloud_download +

    Download

    +
    -
  • - - - -
  • +
  • + + + +
  • - - - - Follow us on Twitter - - - - - Like us on Facebook - - - - - Follow us on Instagram - -
    + + + + Follow us on Twitter + + + + + Like us on Facebook + + + + + Follow us on Instagram + + +
    @@ -119,7 +124,11 @@ function resizeThrottler(actualResizeHandler) { } } +import MobileMenu from "@/layout/MobileMenu"; export default { + components: { + MobileMenu + }, props: { type: { type: String, diff --git a/src/layout/MobileMenu.vue b/src/layout/MobileMenu.vue new file mode 100644 index 0000000..c9859a1 --- /dev/null +++ b/src/layout/MobileMenu.vue @@ -0,0 +1,17 @@ + + + diff --git a/src/views/Index.vue b/src/views/Index.vue index 93b444a..bb3ea2f 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -5,7 +5,7 @@

    Vue Material Kit.

    -

    A Badass VueMaterial.io Kit based on Material Design.

    +

    Badass VueJs Kit based on Material Design.

    @@ -128,11 +128,11 @@
    -
    +

    Do you love this UI Kit?

    Cause if you do, it can be yours for FREE. Hit the buttons below to navigate to our website where you can find the kit. Our friends from ThemeIsle created a Wordpress Theme which can be also downloaded for free. Start a new project or give an old Bootstrap project a new look!

    -
    +
    Free HTML Download Wordpress Theme
    @@ -140,12 +140,15 @@

    -
    +

    Want more?

    -

    We've just launched Material Kit PRO. It has a huge number of components, sections and example pages. Start Your Development With A Badass Bootstrap UI Kit inspired by Material Design.

    +

    We've just launched Vue Material Dashboard PRO. It has a huge number of components, sections and example pages. Start Your Development With A Badass Bootstrap UI Kit inspired by Material Design.

    -
    - unarchive Upgrade to PRO +
    +
    + unarchiveVue Material Kit PRO + unarchiveVue Material Dashboard PRO +
    @@ -239,4 +242,10 @@ export default { margin-left: 5px; } } + +@media all and (min-width: 991px) { + .btn-container { + display: flex; + } +} diff --git a/src/views/Login.vue b/src/views/Login.vue index 00951ea..291a1b7 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -3,7 +3,7 @@