File tree Expand file tree Collapse file tree 6 files changed +51
-21
lines changed Expand file tree Collapse file tree 6 files changed +51
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<li class =" nav-dropdown-container ecosystem" >
2
2
<a class =" nav-link" >Ecosystem</a ><span class =" arrow" ></span >
3
3
<ul class =" nav-dropdown" >
4
- <li ><a href =" https://router.vuejs.org/" class =" nav-link" target =" _blank" >vue-router</a ></li >
5
- <li ><a href =" https://vuex.vuejs.org/" class =" nav-link" target =" _blank" >vuex</a ></li >
6
- <li ><a href =" https://github.com/vuejs/vue-cli" class =" nav-link" target =" _blank" >vue-cli</a ></li >
7
- <li ><a href =" https://github.com/vuejs/awesome-vue" class =" nav-link" target =" _blank" >awesome-vue</a ></li >
4
+ <li ><h4 >Help</h4 ></li >
5
+ <li ><ul >
6
+ <li ><a href =" http://forum.vuejs.org" class =" nav-link" target =" _blank" >Forum</a ></li >
7
+ <li ><a href =" https://gitter.im/vuejs/vue" class =" nav-link" target =" _blank" >Chat</a ></li >
8
+ <li ><a href =" https://github.com/vuejs-templates" class =" nav-link" target =" _blank" >Templates</a ></li >
9
+ </ul ></li >
10
+ <li ><h4 >News</h4 ></li >
11
+ <li ><ul >
12
+ <li ><a href =" https://twitter.com/vuejs" class =" nav-link" target =" _blank" >Twitter</a ></li >
13
+ <li ><a href =" https://medium.com/the-vue-point" class =" nav-link" target =" _blank" >Blog</a ></li >
14
+ <li ><a href =" https://vuejsjob.com/?ref=vuejs" class =" nav-link" target =" _blank" >Jobs</a ></li >
15
+ </ul ></li >
16
+ <li ><h4 >Core Plugins</h4 ></li >
17
+ <li ><ul >
18
+ <li ><a href =" https://router.vuejs.org/" class =" nav-link" target =" _blank" >Vue Router</a ></li >
19
+ <li ><a href =" https://vuex.vuejs.org/" class =" nav-link" target =" _blank" >Vuex</a ></li >
20
+ </ul ></li >
21
+ <li ><h4 >Resource Lists</h4 ></li >
22
+ <li ><ul >
23
+ <li ><a href =" https://github.com/vuejs" class =" nav-link" target =" _blank" >Official Repos</a ></li >
24
+ <li ><a href =" https://github.com/vuejs/awesome-vue" class =" nav-link" target =" _blank" >Awesome Vue</a ></li >
25
+ </ul ></li >
8
26
</ul >
9
27
</li >
28
+
29
+
Original file line number Diff line number Diff line change 1
1
<li class =" nav-dropdown-container language" >
2
- <a class =" nav-link" >Language </a ><span class =" arrow" ></span >
2
+ <a class =" nav-link" >Translations </a ><span class =" arrow" ></span >
3
3
<ul class =" nav-dropdown" >
4
4
<li ><a href =" https://cn.vuejs.org/" class =" nav-link" target =" _blank" >中文</a ></li >
5
5
<li ><a href =" https://jp.vuejs.org/" class =" nav-link" target =" _blank" >日本語</a ></li >
Original file line number Diff line number Diff line change 6
6
<li ><a href =" /v2/guide/" class =" nav-link<%- page.path.match(/guide/) ? ' current' : '' %>" >Guide</a ></li >
7
7
<li ><a href =" /v2/api/" class =" nav-link<%- page.path.match(/api/) ? ' current' : '' %>" >API</a ></li >
8
8
<li ><a href =" /v2/examples/" class =" nav-link<%- page.path.match(/examples/) ? ' current' : '' %>" >Examples</a ></li >
9
- <li ><a href =" https://medium.com/the-vue-point" target =" _blank" class =" nav-link<%- page.path.match(/blog/) ? ' current' : '' %>" >Blog</a ></li >
10
- <% - partial (' partials/community_dropdown' ) %>
11
9
<% - partial (' partials/ecosystem_dropdown' ) %>
12
10
<% - partial (' partials/language_dropdown' ) %>
Original file line number Diff line number Diff line change @@ -150,13 +150,18 @@ a.button
150
150
& :hover
151
151
.nav-dropdown
152
152
display block
153
- & .ecosystem , & . language
153
+ & .language
154
154
margin-left 20px
155
+ .arrow
156
+ pointer-events none
155
157
.nav-dropdown
156
158
display none
159
+ box-sizing border-box
160
+ max-height "calc(100vh - %s)" % $header-height
161
+ overflow-y scroll
157
162
position absolute
158
163
top 100%
159
- left 0
164
+ right - 15 px
160
165
background-color #f f f
161
166
padding 10px 0
162
167
border 1px solid #d d d
@@ -168,11 +173,24 @@ a.button
168
173
line-height 1.8em
169
174
margin 0
170
175
display block
176
+ > ul
177
+ padding-left : 0
178
+ & :first-child
179
+ h4
180
+ margin-top 0
181
+ padding-top : 0
182
+ border-top : 0
183
+ a , h4
184
+ padding 0 24px 0 20px
185
+ h4
186
+ // text-transform uppercase
187
+ margin .45em 0 0
188
+ padding-top : .45em
189
+ border-top : 1px solid #e e e
171
190
a
172
- color $light
191
+ color lighten ( $dark , 10 % )
173
192
font-size .9em
174
193
display block
175
- padding 0 24px 0 20px
176
194
& :hover
177
195
color $green
178
196
.arrow
Original file line number Diff line number Diff line change 75
75
padding 4px 0
76
76
text-align center
77
77
margin-bottom 20px
78
+ .nav-dropdown
79
+ h4
80
+ font-weight normal
81
+ margin : 0
78
82
79
83
@media screen and (max-width : 900px )
80
84
.sidebar
You can’t perform that action at this time.
0 commit comments