File tree Expand file tree Collapse file tree 14 files changed +89
-45
lines changed Expand file tree Collapse file tree 14 files changed +89
-45
lines changed Original file line number Diff line number Diff line change 1
1
<div id =" header" >
2
+ <ul id =" nav" >
3
+ <% - partial (' partials/main_menu' , { context: ' nav' }) %>
4
+ </ul >
2
5
<a id =" logo" href =" <%- url_for(" /" ) %>" >
3
6
<img src =" <%- url_for(" /images /logo.png " ) %>" alt =" vue logo" >
4
7
<span >Vue.js</span >
5
8
</a >
6
- <ul id =" nav" >
7
- <% - partial (' partials/main_menu' , { context: ' nav' }) %>
8
- </ul >
9
9
</div >
Original file line number Diff line number Diff line change 1
- <li >
2
- <form id =" search-form" >
3
- <input type =" text" id =" search-query-<%- context %>" class =" search-query st-default-search-input" >
4
- </form >
5
- </li >
1
+
6
2
<% - partial (' partials/learn_dropdown' ) %>
7
3
<% - partial (' partials/ecosystem_dropdown' ) %>
8
4
<li >
9
5
<a href =" <%- url_for(" /v2 /guide /team.html " ) %>" class =" nav-link team<%- page.path.match(/team\.html/) ? ' current' : '' %>" >Team</a >
10
6
</li >
11
7
<% - partial (' partials/support_vue_dropdown' ) %>
12
8
<% - partial (' partials/language_dropdown' ) %>
9
+
10
+ <li >
11
+ <form id =" search-form" >
12
+ <input type =" text" id =" search-query-<%- context %>" class =" search-query st-default-search-input" >
13
+ </form >
14
+ </li >
Original file line number Diff line number Diff line change 5
5
position : fixed
6
6
z-index : 99
7
7
bottom : 10px
8
- right : 10px
8
+ left : 10px
9
9
padding : 10px
10
10
background-color : #f f f
11
11
border-radius : 3px
Original file line number Diff line number Diff line change 41
41
margin : 0 2px
42
42
border-radius : 2px
43
43
white-space : nowrap
44
+ text-align : left
45
+ direction : ltr
44
46
45
47
em
46
48
color : $light
@@ -63,7 +65,7 @@ input.button
63
65
text-indent : 1.4em ;
64
66
> svg
65
67
position : absolute
66
- left : 0.4em
68
+ right : 0.4em
67
69
top : 0.4em
68
70
width : 2em
69
71
& .white
@@ -79,7 +81,9 @@ input.button
79
81
z-index : 1
80
82
padding : 0 60px 30px
81
83
overflow-x : hidden
82
-
84
+ text-align : right
85
+ direction : rtl
86
+
83
87
#nav
84
88
.nav-link
85
89
cursor : pointer
@@ -101,7 +105,7 @@ input.button
101
105
overflow-y : auto
102
106
position : absolute
103
107
top : 100%
104
- right : - 15 px
108
+ left : - 20 px
105
109
background-color : #f f f
106
110
padding : 10px 0
107
111
border : 1px solid #d d d
Original file line number Diff line number Diff line change 9
9
-ms- user-select : none
10
10
user-select : none
11
11
overflow-x : auto
12
+ & .ltr
13
+ text-align : left
14
+ direction : ltr
12
15
h1
13
16
margin : 0 0 .5em
14
17
font-size : 1.8em
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ body.docs
30
30
margin : 0
31
31
padding : 0
32
32
position : absolute
33
- right : 30 px
33
+ left : 80 px
34
34
top : $heading-padding-vertical
35
35
height : $header-height
36
36
line-height : $header-height
@@ -42,6 +42,7 @@ body.docs
42
42
margin : 0 .6em
43
43
44
44
.nav-dropdown
45
+ text-align : right
45
46
.nav-link
46
47
& :hover , & .current
47
48
border-bottom : none
@@ -93,7 +94,7 @@ body.docs
93
94
color : $dark
94
95
outline : none
95
96
border-radius : 15px
96
- margin-right : 10 px
97
+ margin-left : 10 %
97
98
transition : border-color .2s ease
98
99
background : #f f f url (../images /search .png ) 8px 5px no-repeat
99
100
background-size : 20px
@@ -108,9 +109,11 @@ body.docs
108
109
color : $dark
109
110
font-family : $logo-font
110
111
font-weight : 500
112
+ position : absolute
113
+ left : 89%
111
114
img
112
115
vertical-align : middle
113
- margin-right : 6px
116
+ margin-left : 6px
114
117
width : $header-height
115
118
height : $header-height
116
119
Original file line number Diff line number Diff line change 7
7
a
8
8
color #48 64 91 !important
9
9
position relative
10
- padding-left 36px
10
+ padding-right 36px
11
+ display block
12
+ font-weight normal !important
13
+ line-height 25px
11
14
& :before
12
15
content ''
13
16
position absolute
14
17
display block
15
18
width 30px
16
19
height 30px
17
20
top - 5px
18
- left - 4px
21
+ right - 4px
19
22
border-radius 50%
20
23
background-color #73 ab fe
21
24
& :after
25
28
width 0
26
29
height 0
27
30
top 5px
28
- left 8 px
31
+ right 6 px
29
32
border-top 5px solid transparent
30
33
border-bottom 5px solid transparent
31
34
border-left 8px solid #f f f
Original file line number Diff line number Diff line change 2
2
3
3
.sidebar
4
4
position : absolute
5
+ direction : ltr
6
+ border-left : solid 1px #e e e
5
7
z-index : 10
6
8
top : $header-height
7
- left : 0
9
+ right : 0
8
10
bottom : 0
9
11
overflow-x : hidden
10
12
overflow-y : auto
20
22
li
21
23
margin-top : .5em
22
24
.sidebar-inner
25
+ direction rtl
23
26
width : 260px
24
- padding : $content-padding-top + 40px 0 px 60px 20 px
27
+ padding : $content-padding-top + 40px 20 px 60px 0 px
25
28
.version-select
26
29
vertical-align : middle
27
30
margin-left : 5px
28
31
.menu-root
29
32
padding-left : 0
33
+ padding-inline-start : 0
30
34
.sidebar-link
31
35
color : $light
32
36
& .current
63
67
margin : 0
64
68
65
69
@media screen and (max-width : 900px )
70
+ #ad
71
+ display : none
66
72
.sidebar
67
73
position : fixed
68
74
z-index : 10
69
75
background-color : #f9 f9 f9
70
76
height : 100%
71
77
top : 0
72
- left : 0
78
+ right : 0
73
79
box-shadow : 0 0 10px rgba (0 ,0 ,0 ,.2 )
74
80
transition : all .4s cubic-bezier (0.4 , 0 , 0 , 1 )
75
- -webkit- transform : translate (- 280px , 0 )
76
- transform : translate (- 280px , 0 )
81
+ -webkit- transform : translate (280px , 0 )
82
+ transform : translate (280px , 0 )
77
83
.sidebar-inner
78
- padding : 50 px 10px 10px 20px
84
+ padding : 10 px 10px 10px 20px
79
85
box-sizing : border-box
80
86
.sidebar-inner-index
81
87
padding : 10px 10px 10px 20px
87
93
& .open
88
94
-webkit- transform : translate (0 , 0 )
89
95
transform : translate (0 , 0 )
96
+ padding-inline-start : 10px
97
+ ul
98
+ padding-inline-start : 10px
99
+ div .list
100
+ display : none
90
101
91
102
@media print
92
103
.sidebar
Original file line number Diff line number Diff line change 1
1
#sponsors
2
+ direction : rtl
2
3
text-align : center
3
4
padding : 35px 40px 45px
4
5
background-color : #f6 f6 f6
Original file line number Diff line number Diff line change 36
36
position fixed
37
37
z-index 99
38
38
top 90px
39
- right 20px
39
+ left 20px
40
40
41
41
@media screen and (min-width : 1300px )
42
42
#sidebar-sponsors-platinum-left
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ pre code
12
12
display : block
13
13
14
14
.hljs
15
+ & -comment
16
+ display inline-block
17
+ direction rtl
18
+
15
19
& -tag ,
16
20
& -tag & -title ,
17
21
& -change ,
Original file line number Diff line number Diff line change 8
8
a
9
9
color #48 64 91 !important
10
10
position relative
11
- padding-left 36px
11
+ padding-right 36px
12
+ display block
13
+ font-weight normal !important
14
+ line-height 25px
12
15
& :before
13
16
content ''
14
17
position absolute
15
18
display block
16
19
width 30px
17
20
height 30px
18
21
top - 5px
19
- left - 4px
22
+ right - 4px
20
23
border-radius 50%
21
24
background-color #73 ab fe
22
25
& :after
26
29
width 0
27
30
height 0
28
31
top 5px
29
- left 8 px
32
+ right 6 px
30
33
border-top 5px solid transparent
31
34
border-bottom 5px solid transparent
32
- border-left 8px solid #f f f
35
+ border-left 8px solid #f f f
Original file line number Diff line number Diff line change 29
29
30
30
#hero ,
31
31
#news
32
+ direction : rtl
32
33
padding : $space 40px 30px
33
34
background-color : #f f f
34
35
.inner
44
45
.hero-logo
45
46
width : 215px
46
47
height : 215px
47
- float : right
48
- margin-right : 60px
48
+ float : left
49
+ margin-left : 60px
49
50
h1
50
- font-weight : 300
51
+ font-weight : 200
51
52
margin : 0
52
- font-size : 3.2em
53
+ font-size : 2.5em
54
+ line-height : 2em
53
55
h2
54
56
font-family : $logo-font
55
57
font-weight : 500
88
90
.newsletter-input
89
91
width : 100%
90
92
box-sizing : border-box
91
- padding : 10px 80 px 10px 20 px
93
+ padding : 10px 20 px 10px 80 px
92
94
height : 50px
93
95
border-radius : 50px
94
96
border : 1px solid #c c c
101
103
padding : 4px 20px
102
104
margin : 0
103
105
height : calc (100% - 8px )
104
- right : 4px
106
+ left : 4px
105
107
top : 4px
106
108
107
109
#special-sponsor
121
123
#highlights
122
124
background-color : #f f f
123
125
padding-bottom : 70px
126
+ direction : rtl
124
127
.inner
125
128
max-width : $width
126
129
margin : 0 auto
144
147
padding : $space 0
145
148
color : #f f f
146
149
text-align : center
150
+ direction : rtl
147
151
.social-icon
148
152
margin 0 5px
149
153
svg
You can’t perform that action at this time.
0 commit comments