|
1 | 1 | <template>
|
2 |
| - <VBtn |
| 2 | + <a |
3 | 3 | color="error"
|
4 |
| - class="product-upgrade-to-pro" |
5 |
| - href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/" |
| 4 | + class="buy-now-button" |
| 5 | + href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/" |
6 | 6 | target="_blank"
|
7 | 7 | rel="noopener noreferrer"
|
8 | 8 | >
|
9 | 9 | Upgrade to Pro
|
10 | 10 |
|
| 11 | + <span class="button-inner" /> |
| 12 | + |
11 | 13 | <VMenu
|
12 | 14 | open-on-hover
|
13 | 15 | activator="parent"
|
|
17 | 19 | transition="slide-y-reverse-transition"
|
18 | 20 | >
|
19 | 21 | <VCard>
|
20 |
| - <VImg src="https://cdn.jsdelivr.net/gh/themeselection/ts-assets/master/master-vuetify-vuejs-admin-template/banner/banner.png" /> |
21 |
| - <VCardTitle>Master - Vuetify Admin Template</VCardTitle> |
| 22 | + <VImg src="https://cdn.jsdelivr.net/gh/themeselection/ts-assets/materio/materio-vuetify-vuejs-admin-template/banner/banner.png" /> |
| 23 | + <VCardTitle>Materio - Vuetify Admin Template</VCardTitle> |
22 | 24 | <VCardText>
|
23 |
| - Master Admin is the most developer friendly & highly customisable Admin Dashboard Template based on Vuetify. |
| 25 | + Materio Admin is the most developer friendly & highly customisable Admin Dashboard Template based on Vuetify. |
24 | 26 | </VCardText>
|
25 | 27 | <VCardText>Click on below button to explore PRO version.</VCardText>
|
26 | 28 | <VCardText>
|
27 | 29 | <VBtn
|
28 | 30 | class="me-4"
|
29 |
| - href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/?tab=details#details" |
| 31 | + href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/?tab=details#details" |
30 | 32 | target="_blank"
|
31 | 33 | rel="noopener noreferrer"
|
32 | 34 | >
|
33 | 35 | Demo
|
34 | 36 | </VBtn>
|
35 | 37 | <VBtn
|
36 | 38 | variant="outlined"
|
37 |
| - href="https://themeselection.com/item/master-vuetify-vuejs-admin-template/" |
| 39 | + href="https://themeselection.com/item/materio-vuetify-vuejs-admin-template/" |
38 | 40 | target="_blank"
|
39 | 41 | rel="noopener noreferrer"
|
40 | 42 | >
|
|
43 | 45 | </VCardText>
|
44 | 46 | </VCard>
|
45 | 47 | </VMenu>
|
46 |
| - </VBtn> |
| 48 | + </a> |
47 | 49 | </template>
|
48 | 50 |
|
49 | 51 | <style lang="scss" scoped>
|
50 |
| -.product-upgrade-to-pro { |
51 |
| - position: fixed; |
| 52 | +.buy-now-button, |
| 53 | +.button-inner { |
| 54 | + display: inline-flex; |
| 55 | + box-sizing: border-box; |
| 56 | + align-items: center; |
| 57 | + justify-content: center; |
| 58 | + border: 0; |
| 59 | + border-radius: 6px; |
| 60 | + margin: 0; |
| 61 | + animation: anime 12s linear infinite; |
| 62 | + appearance: none; |
| 63 | + background: linear-gradient(-45deg, #ffa63d, #ff3d77, #338aff, #3cf0c5); |
| 64 | + background-size: 600%; |
| 65 | + color: rgba(255, 255, 255, 90%); |
| 66 | + cursor: pointer; |
| 67 | + font-size: 0.9375rem; |
| 68 | + font-weight: 500; |
| 69 | + letter-spacing: 0.43px; |
| 70 | + line-height: 1.2; |
| 71 | + min-inline-size: 50px; |
| 72 | + outline: 0; |
| 73 | + padding-block: 0.625rem; |
| 74 | + padding-inline: 1.25rem; |
| 75 | + text-decoration: none; |
| 76 | + text-transform: none; |
| 77 | + vertical-align: middle; |
| 78 | +} |
52 | 79 |
|
53 |
| - // To keep upgrade to pro button on top of v-layout |
| 80 | +.buy-now-button { |
| 81 | + position: fixed; |
54 | 82 | z-index: 999;
|
55 | 83 | inset-block-end: 5%;
|
56 | 84 | inset-inline-end: 79px;
|
57 | 85 |
|
58 |
| - .v-application &.v-btn.v-btn--elevated { |
59 |
| - box-shadow: 0 1px 20px 1px rgb(var(--v-theme-error)) !important; |
| 86 | + &:hover { |
| 87 | + color: white; |
| 88 | + text-decoration: none; |
| 89 | + } |
| 90 | +
|
| 91 | + .button-inner { |
| 92 | + position: absolute; |
| 93 | + z-index: -1; |
| 94 | + filter: blur(12px); |
| 95 | + inset: 0; |
| 96 | + opacity: 0; |
| 97 | + transition: opacity 200ms ease-in-out; |
| 98 | + } |
| 99 | +
|
| 100 | + &:not(:hover) .button-inner { |
| 101 | + opacity: 0.8; |
| 102 | + } |
| 103 | +} |
| 104 | +
|
| 105 | +@keyframes anime { |
| 106 | + 0% { |
| 107 | + background-position: 0% 50%; |
| 108 | + } |
| 109 | +
|
| 110 | + 50% { |
| 111 | + background-position: 100% 50%; |
| 112 | + } |
60 | 113 |
|
61 |
| - &:hover { |
62 |
| - box-shadow: none !important; |
63 |
| - } |
| 114 | + 100% { |
| 115 | + background-position: 0% 50%; |
64 | 116 | }
|
65 | 117 | }
|
66 | 118 | </style>
|
0 commit comments