Skip to content

Commit a5d027b

Browse files
dragoscthastommarcosmourahissalhtrarestoma
authored
feat: active theme section move to navbar + code fund re-style (#2225)
* fix(MdRadio): internal radio not being checked (#2063) * fix(MdMenu): unexpected close on item click (#2062) * docs: add funding * test: add a "testURL" field to jest config (#2082) fixes the " SecurityError: localStorage is not available for opaque origins" error message that everyone seems to get on their PRs. Using the solution provided here jestjs/jest#3630 * Docs/restyle (#2139) * Changed 'roboto mono' to 'roboto' * Changed code fund position to bottom right * updates Added ‘supported by Creative Tim’ in About page Added open collective * added links to header * Removed disclaimer, added sponsors, changed footer * Add premium-themes page and link to it from the footer * Added products to premium themes page * Finished premium page * Finished installation/usage/premium-themes section * Installed vue-github-buttons * Added GitHub star button * Added license, download and chat buttons * Changed order in gh star button * Changed page transition * Added vue-toc * Style modified for toc * Added ids on getting started for vue-toc * Added ids on themes-congifuration for vue-toc * Added ids on layouts for vue-toc * Added ids on typography * Added ids on components->app for vue-toc * Added ids on buttomBar for vue-toc * Added ids on Button for vue-toc * Added ids on Card for vue-toc * Added ids on datepicker for vue-toc * Added ids on Dialog for vue-toc * Added ids on Drawer for vue-toc * Added ids on autocomplete for vue-toc * Added ids on Chips for vue-toc * Added ids on Input for vue-toc * Added ids on Icon for vue-toc * Added ids on List for vue-toc * Added ids on Menu for vue-toc * Added ids on speedDial for vue-toc * Added ids on steppers for vue-toc * Added ids on table for vue-toc * Added ids on Tabs for vue-toc * Added ids on toolbar for vue-toc * Added ids on Tooltip for vue-toc * Updated license * Added key to vue-toc * Small change * Changed codeinwp logo * updates * Css changes for logo and gh-button * Added more space between buttons * Removed arrow down & nabber buttons hidden on mobile * style changes, added premium themes in navbar, centered premium themes * Cards change * toc style * Changed style for code-fund * restyle codefund * Restyled home premium section * Commented contribuitors section * Changed Patreon text to Open Collective * Changed home premium background color * Removed open collective * Added link to premium-themes from themes image * Added target blank * Restyled vue-toc * added refs * Responsive changes * Changed margin on title * Added custom development link * Added links from sponsors * lint fix * add margin left * Updated footer links (#2145) * Docs/restyle (#2150) * Added dropdown in nabber * Added sponsors * restyled codefund * Codefund restyle * Restyled footer * Restyled footer * Footer restyle on responsive * Add "new" tag and modify logo in footer * Cleaned console.log test texts * Added arrow on dropdown * Modified sponsors and dropdown * Codefund on responsive * Footer restyle on responsive * Added tag manager (#2153) * [MdTabs] fix mdActiveTab not selecting set tab on load (#2164) content and indicator were not initializing to the set active tab * [core] RTL support #80 (#2181) added rtl support to tabs component with mdIsRtl prop * update the work with Vue router page grammar (#2100) * docs: fix typo (#2080) * Update About.vue (#2117) Fix typo * docs(Tabs): add prop `md-is-rtl` to tabs table component (#2198) * docs(Tabs): add prop `md-is-rtl` to tabs table component * docs(Tabs): prop `md-is-rtl` move last item in table * Fix typo (#1819) * Fix typo I'm pretty sure you meant to write here `md-alignment-[vertical]-[horizontal]`, but in the docs it says `md-alignment-[horizontal]-[vertical]`. That threw me off for a bit. Overall, this is a super awesome package! I love working with it!! * fix typo in api section I noticed that at the bottom of the page, in the API section, the order also needs to be reversed. "x" should refer to horizontal, and "y" should refer to vertical. Co-authored-by: dragosct <17456857+dragosct10@users.noreply.github.com> * Added index to "md-table-row" slot-scope (#2064) Co-authored-by: hastom <aklyavlin@onvis.ru> * Improved grammar in Table.vue (docs) (#2178) * build: 1.0.0-beta-12 * build: release * build: changelog 1.0.0-beta-12 * Moving observers to setTimeout (#2201) Co-authored-by: hastom <aklyavlin@onvis.ru> * fix: Drawer detection (#1929) * fix(MdDialog):change position principle from transform to flex wrapper (#2023) * Changed dialog positioning to flex * Revert to transition root element Co-authored-by: hastom <aklyavlin@onvis.ru> * Fixed dialog transitions (#2021) Co-authored-by: hastom <aklyavlin@onvis.ru> Co-authored-by: dragosct <17456857+dragosct10@users.noreply.github.com> * Prevent tabs overflow inside dialog content (#2065) Co-authored-by: hastom <aklyavlin@onvis.ru> * fix(MdApp): remove height 100 to make md-app-content span content height (#1957) * remove height 100 to make md-app-content span content height * use min-height of 100 instead of height Co-authored-by: xxRockOnxx <xxRockOnxx@users.noreply.github.com> * build: 1.0.0-beta-13 * build: release * build: changelog 1.0.0-beta-13 * fix(MdDialog): position centered * fix(MdDialog): revert * Datepicker now emits the md-clear event when cleared, and has the option to not be clearable (#1967) * fix(components,doc): fix the character counter not reseting when (#2081) reseting the form fixes #2054 Co-authored-by: BOUTIGNY Adrien <adrien.boutigny@akka.eu> * Fix checking mouseevent in IE11 (#2091) * fix undefined dom.contains in IE11 (#2090) * Allow false as a value for an MdOption (#2183) * Auto insert in MdChips after focusout (#2189) * Implemented the function of automatically adding a value in the MdChips component, in case of loss of focus * fixed code format * Fix/md dialog position centered (#2211) * docs(Tabs): add prop `md-is-rtl` to tabs table component * docs(Tabs): add prop `md-is-rtl` to tabs table component * docs(Tabs): prop `md-is-rtl` move last item in table * docs(Tabs): prop `md-is-rtl` move last item in table * fix(MdDialog): position centered * fix(MdStep): set tabindex for not active step (#2215) * fix(MdStep): set tabindex for not active step * feat(MdStep): add v-show to hide content Co-authored-by: Samuell1 <samuell.patro@gmail.com> * fix(components,doc): fix the character counter not reseting when (#2213) reseting the form fixes #2054 Co-authored-by: BOUTIGNY Adrien <adrien.boutigny@akka.eu> Co-authored-by: hastom <aklyavlin@onvis.ru> * Fix checking mouseevent in IE11 (#2212) Co-authored-by: kmsheng <kmsh3ng@gmail.com> Co-authored-by: hastom <aklyavlin@onvis.ru> * Revert "fix undefined dom.contains in IE11 (#2090)" (#2220) This reverts commit 05649bb. * Util to replace Node.contains (#2214) * fix undefined dom.contains in IE11 * Added util to polyfill Node.contains Co-authored-by: kmsheng <kmsh3ng@gmail.com> Co-authored-by: hastom <aklyavlin@onvis.ru> * Feature/add open collective (#2224) * feat: code-fund re-positioned * refactor: remove patreon add opencollective * feature: change active theme position on dropdown * feature: fixed white spaces * feature: fixed white spaces Co-authored-by: hastom <hastomit@gmail.com> Co-authored-by: Marcos Moura <marcosvmmoura@gmail.com> Co-authored-by: Adrien Boutigny <mounch-man@hotmail.fr> Co-authored-by: rarestoma <tomairares@gmail.com> Co-authored-by: gaby64 <gaby_64@live.ca> Co-authored-by: tom dorofeyev <tomdorofey@gmail.com> Co-authored-by: Brett Kinnamon <b.kinnamon@icloud.com> Co-authored-by: Jason Cooke <Jason-Cooke@users.noreply.github.com> Co-authored-by: Amit Gurbani <amit1994.gurbani@gmail.com> Co-authored-by: Avraham Appel <33736292+avrahamappel@users.noreply.github.com> Co-authored-by: hastom <aklyavlin@onvis.ru> Co-authored-by: starsky135 <starsky135@gmail.com> Co-authored-by: Marcu Beniamin <marqbeniamin@yahoo.com> Co-authored-by: Hugome <Hugome@users.noreply.github.com> Co-authored-by: Lemuel Flores <is101.lemuel@gmail.com> Co-authored-by: xxRockOnxx <xxRockOnxx@users.noreply.github.com> Co-authored-by: Shira Gold <shira14@gmail.com> Co-authored-by: BOUTIGNY Adrien <adrien.boutigny@akka.eu> Co-authored-by: kmsheng <kmsh3ng@gmail.com> Co-authored-by: Jaryd Carolin <jaryd@upgear.com.au> Co-authored-by: Konstantin Mohov <htmlmak@gmail.com> Co-authored-by: Oliver Ni <oliver.ni@gmail.com> Co-authored-by: Samuell1 <samuell.patro@gmail.com>
1 parent 8e4f8e2 commit a5d027b

File tree

7 files changed

+39
-78
lines changed

7 files changed

+39
-78
lines changed

FUNDING.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
patreon: marcosmoura
2-
custom: http://bit.ly/VueMaterialPaypal
1+
open_collective: vue-material

ROADMAP.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ Well. All kind of help are welcome. If you want to contribute with the project,
230230
## Awesome! I want to pay you a coffee!
231231
Vue Material do not run under the umbrella of any company or something like that, and is an independent project created by me on spare time. It became one of the most used UI Libraries for Vue.js.
232232

233-
If you think that this project helped you or your company in some way, you can consider become a backer/sponsor on Patreon:
233+
If you think that this project helped you or your company in some way, you can consider become a backer/sponsor on Open Collective:
234234
<p>
235-
<a href="https://www.patreon.com/marcosmoura" target="_blank">
236-
<img width="150" src="https://c5.patreon.com/external/logo/become_a_patron_button.png">
235+
<a href="https://opencollective.com/vue-material" target="_blank">
236+
<img src="https://opencollective.com/vue-material/tiers/backer.svg?avatarHeight=36">
237237
</a>
238238
</p>
239239

docs/app/components/AdManager.vue

+5-21
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,12 @@
6262
font-size: 12px;
6363
line-height: 1.5em;
6464
65-
@media (min-width: $ad-responsive-big) {
66-
margin: 0;
67-
position: fixed;
68-
top: 80px;
69-
right: 24px;
70-
z-index: 1000;
71-
}
72-
73-
@media (max-width: $ad-responsive-small) {
74-
max-width: none;
75-
margin: 8px auto 16px;
76-
float: none;
77-
}
78-
7965
.splash-container & {
80-
@media (max-width: $ad-responsive-big) {
81-
max-width: 530px;
82-
min-height: 100px;
83-
margin: 0px auto 8px;
84-
float: none;
85-
background: none !important;
86-
}
66+
max-width: 530px;
67+
min-height: 100px;
68+
margin: 0px auto 8px;
69+
float: none;
70+
background: none !important;
8771
}
8872
}
8973
</style>

docs/app/components/PageContainer.vue

+12
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
@import "~vue-material/components/MdAnimation/variables";
4444
@import "~vue-material/theme/engine";
4545
46+
$ad-responsive-big: 1690px;
47+
4648
.page-container.centered {
4749
max-width: 1100px;
4850
margin: 0 auto;
@@ -113,6 +115,16 @@
113115
position: fixed;
114116
}
115117
118+
@media (min-width: $ad-responsive-big) {
119+
.ad-manager >>> .code-fund {
120+
margin: 0;
121+
position: fixed;
122+
bottom: 0;
123+
right: 24px;
124+
z-index: 1000;
125+
}
126+
}
127+
116128
@media(max-width: 960px){
117129
.ad-manager{
118130
position: relative;

docs/app/pages/Home/Home.vue

+3
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@
132132
display: flex !important;
133133
align-items: center;
134134
flex-direction: row;
135+
max-width: none;
136+
margin: 8px auto 16px;
137+
float: none;
135138
136139
.code-fund-image {
137140
max-width: 175px;

docs/app/pages/Home/HomeSponsors.vue

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
<a href="https://www.creative-tim.com/?ref=vuematerial.io" target="_blank">
2020
<img src="/assets/sponsors/creative-tim.png" class="home-sponsors-open-1 logo-2">
2121
</a>
22-
<a href="https://vuetifyjs.com/?ref=vuematerial.io" target="_blank">
23-
<img src="/assets/sponsors/vuetify-logo.webp" class="home-sponsors-open-1 logo-3">
24-
<img src="/assets/sponsors/vuetify-name.webp" class="home-sponsors-open-1 logo-4">
25-
26-
</a>
2722
</div>
2823
<!-- <p>{{ $t('pages.home.beACollective') }}:</p> -->
2924
<!--

docs/app/template/MainHeader.vue

+15-47
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,6 @@
1919
</div>
2020

2121
<div class="md-toolbar-section-end">
22-
<div v-if="!isSplash">
23-
<div class="floating-theme-selector" :class="{ active: themeMenuActive }">
24-
<div class="floating-theme-selector-items">
25-
<md-list class="md-dense">
26-
<md-list-item @click="themeMenuActive = !themeMenuActive">
27-
<md-avatar class="md-small md-primary"></md-avatar> Active Theme
28-
</md-list-item>
29-
30-
<md-list-item :class="getPrimaryClass('default')" @click="setTheme('default')">
31-
<md-avatar md-theme="default" class="md-small md-primary"></md-avatar> Light
32-
</md-list-item>
33-
34-
<md-list-item :class="getPrimaryClass('default-dark')" @click="setTheme('default-dark')">
35-
<md-avatar md-theme="default-dark" class="md-small md-primary"></md-avatar> Dark
36-
</md-list-item>
37-
38-
<md-list-item :class="getPrimaryClass('light-green')" @click="setTheme('light-green')">
39-
<md-avatar md-theme="light-green" class="md-small md-primary"></md-avatar> Light Green
40-
</md-list-item>
41-
42-
<md-list-item :class="getPrimaryClass('dark-green')" @click="setTheme('dark-green')">
43-
<md-avatar md-theme="dark-green" class="md-small md-primary"></md-avatar> Dark Green
44-
</md-list-item>
45-
</md-list>
46-
</div>
47-
</div>
48-
49-
<md-menu
50-
class="fixed-theme-selector"
51-
md-size="auto"
52-
md-direction="bottom-end"
53-
md-align-trigger>
54-
<md-button :class="{ active: themeMenuActive }" md-menu-trigger>
55-
<md-avatar class="md-small md-primary"></md-avatar>
56-
<span>Theme</span>
57-
</md-button>
58-
59-
<md-menu-content class="fixed-theme-selector-items">
60-
<md-menu-item :class="getPrimaryClass('default')" @click="setTheme('default')">Light</md-menu-item>
61-
<md-menu-item :class="getPrimaryClass('default-dark')" @click="setTheme('default-dark')">Dark</md-menu-item>
62-
<md-menu-item :class="getPrimaryClass('light-green')" @click="setTheme('light-green')">Light Green</md-menu-item>
63-
<md-menu-item :class="getPrimaryClass('dark-green')" @click="setTheme('dark-green')">Dark Green</md-menu-item>
64-
</md-menu-content>
65-
</md-menu>
66-
</div>
67-
6822
<div class="md-medium-hide">
6923
<md-button href="/getting-started">
7024
Docs
@@ -126,7 +80,17 @@
12680
<md-icon md-src="/assets/icon-github.svg" class="icon-github" />
12781
</md-button>
12882

129-
83+
<md-menu md-align-trigger>
84+
<md-button class="button-theme md-icon-button md-dense md-raised md-primary" md-menu-trigger>
85+
<md-icon class="icon-github">invert_colors</md-icon>
86+
</md-button>
87+
<md-menu-content class="fixed-theme-selector-items">
88+
<md-menu-item class="align-center" :class="getPrimaryClass('default')" @click="setTheme('default')"><md-avatar md-theme="default" class="md-small md-primary"></md-avatar> Light</md-menu-item>
89+
<md-menu-item class="align-center" :class="getPrimaryClass('default-dark')" @click="setTheme('default-dark')"><md-avatar md-theme="default-dark" class="md-small md-primary"></md-avatar> Dark</md-menu-item>
90+
<md-menu-item class="align-center" :class="getPrimaryClass('light-green')" @click="setTheme('light-green')"><md-avatar md-theme="light-green" class="md-small md-primary"></md-avatar> Light Green</md-menu-item>
91+
<md-menu-item class="align-center" :class="getPrimaryClass('dark-green')" @click="setTheme('dark-green')"><md-avatar md-theme="dark-green" class="md-small md-primary"></md-avatar> Dark Green</md-menu-item>
92+
</md-menu-content>
93+
</md-menu>
13094
</div>
13195
</div>
13296
</md-toolbar>
@@ -200,6 +164,10 @@
200164
@import "~vue-material/components/MdElevation/mixins";
201165
@import "~components/MdLayout/mixins";
202166
167+
.align-center >>> .md-list-item-content {
168+
justify-content: flex-start;
169+
}
170+
203171
.main-header {
204172
margin: auto;
205173
max-width: 100%;

0 commit comments

Comments
 (0)