forked from epicmaxco/vuestic-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix colors in globalConfig * fix round buttons * remove VaSidebar conf * add brealpoints, rename classes * fix grid page * restore colors config * fix pages layouts * fix yarn build * restore changes * fix color picker dropdown * refactor: rename prop name * remove buttons config * update version * fix: dashboard * added layout classes * fix tree view * fix color names * remove useless colors form components * refactor: change class names * apply useColors util * fix removed colors ar 404 page * remove useless gradiet at 404 page * replace css var with colors * remove background * chore: bump version * fix: add vModel to display dropdown * refactor: add presets, use presets * fix: align text, update text color * fix: update markup * fix: fix top navigation * fix colors in map * fix remove debug color * replace margin by class helper * remove v-model bcs dropdown is statefull in new version * replace p tag ny h2 tag, replace margin by helper class * replace margin by helper class * fix colors * change vuestci version * add themes from the box * fix toggle in color dropdown * fix asva review * add text computed to grid Co-authored-by: azgiliat <[email protected]> Co-authored-by: Rustem Nasyrov <[email protected]> Co-authored-by: Rustem Nasyrov <[email protected]> Co-authored-by: azgiliat <[email protected]> Co-authored-by: azgiliat <[email protected]>
- Loading branch information
1 parent
891077a
commit 8ad0d79
Showing
59 changed files
with
846 additions
and
685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,44 @@ | ||
<template> | ||
<div class="app-layout__navbar"> | ||
<va-navbar> | ||
<template #left> | ||
<div class="left"> | ||
<va-icon-menu-collapsed | ||
:class="{ 'x-flip': isSidebarMinimized }" | ||
class="va-navbar__item" | ||
:color="colors.primary" | ||
@click="isSidebarMinimized = !isSidebarMinimized" | ||
/> | ||
<router-link to="/"> | ||
<vuestic-logo class="logo" /> | ||
</router-link> | ||
</div> | ||
</template> | ||
<template #center> | ||
<span class="app-navbar__text"> | ||
{{ t('navbar.messageUs') }} | ||
<a href="mailto:[email protected]" target="_blank" :style="{ color: colors.primary }"> [email protected] </a> | ||
<va-button | ||
href="https://github.com/epicmaxco/vuestic-admin" | ||
color="#000000" | ||
class="app-navbar__github-button" | ||
icon="github" | ||
target="_blank" | ||
> | ||
{{ t('navbar.repository') }} | ||
</va-button> | ||
</span> | ||
</template> | ||
<template #right> | ||
<app-navbar-actions class="app-navbar__actions md5 lg4" :user-name="userName" /> | ||
</template> | ||
</va-navbar> | ||
</div> | ||
<va-navbar class="app-layout-navbar"> | ||
<template #left> | ||
<div class="left"> | ||
<va-icon-menu-collapsed | ||
:class="{ 'x-flip': isSidebarMinimized }" | ||
class="va-navbar__item" | ||
:color="colors.primary" | ||
@click="isSidebarMinimized = !isSidebarMinimized" | ||
/> | ||
<router-link to="/"> | ||
<vuestic-logo class="logo" /> | ||
</router-link> | ||
</div> | ||
</template> | ||
<template #center> | ||
<div class="app-navbar-center"> | ||
<span class="app-navbar-center__text mr-2">{{ t('navbar.messageUs') }}</span> | ||
<a | ||
class="app-navbar-center__mail mr-2" | ||
href="mailto:[email protected]" | ||
target="_blank" | ||
:style="{ color: colors.primary }" | ||
> | ||
[email protected] | ||
</a> | ||
<va-button | ||
href="https://github.com/epicmaxco/vuestic-admin" | ||
color="#000000" | ||
class="app-navbar-center__github-button" | ||
icon="github" | ||
target="_blank" | ||
> | ||
{{ t('navbar.repository') }} | ||
</va-button> | ||
</div> | ||
</template> | ||
<template #right> | ||
<app-navbar-actions class="app-navbar__actions md5 lg4" :user-name="userName" /> | ||
</template> | ||
</va-navbar> | ||
</template> | ||
|
||
<script setup> | ||
|
@@ -60,23 +65,11 @@ | |
box-shadow: var(--va-box-shadow); | ||
z-index: 2; | ||
&__center { | ||
@media screen and (max-width: 1200px) { | ||
.app-navbar__github-button { | ||
display: none; | ||
} | ||
} | ||
@media screen and (max-width: 950px) { | ||
.app-navbar__text { | ||
display: none; | ||
} | ||
} | ||
} | ||
@media screen and (max-width: 950px) { | ||
.left { | ||
width: 100%; | ||
} | ||
.app-navbar__actions { | ||
width: 100%; | ||
display: flex; | ||
|
@@ -88,9 +81,11 @@ | |
.left { | ||
display: flex; | ||
align-items: center; | ||
& > * { | ||
margin-right: 1.5rem; | ||
} | ||
& > *:last-child { | ||
margin-right: 0; | ||
} | ||
|
@@ -100,10 +95,20 @@ | |
transform: scaleX(-100%); | ||
} | ||
.app-navbar__text > * { | ||
margin-right: 0.5rem; | ||
&:last-child { | ||
margin-right: 0; | ||
.app-navbar-center { | ||
display: flex; | ||
align-items: center; | ||
@media screen and (max-width: 1200px) { | ||
&__github-button { | ||
display: none; | ||
} | ||
} | ||
@media screen and (max-width: 950px) { | ||
&__text { | ||
display: none; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.