Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa09eb4

Browse files
committed
side nag update
1 parent 0ab35c0 commit fa09eb4

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

public/_includes/_docs-nav.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav
4949
ul.side-nav-tertiary
5050
for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data
5151
name = page.menuTitle || page.title
52-
selected = current.path[4] == slug ? 'is-selected':''
52+
selected = current.path[5] == slug ? 'is-selected':''
5353
li(class="#{selected}")<a href="/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" md-button>#{name}</a>

public/docs/js/latest/index.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ div.c4
2222
div.c4
2323
md-card.card
2424
md-card-content
25-
h3.text-headline.text-uppercase <span class="icon-book"></span> API
26-
p.text-body Proposal for v2.0 API
25+
h3.text-headline.text-uppercase <span class="icon-book"></span> API Preview
26+
p.text-body API 2.0 Preview
2727

2828
footer
2929
a(href="/docs/#{current.path[1]}/#{current.path[2]}/api/" class="button" md-button) View API

public/resources/css/module/_card.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@
4848
background: $mist;
4949
}
5050
}
51+
}
52+
}
5153

54+
footer {
55+
a {
56+
color: $blueberry;
57+
font-size: 13px;
5258
}
5359
}
5460
}

public/resources/css/module/_side-nav.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167

168168
> a {
169169
line-height: ($unit * 5) - 1;
170-
padding: 0px ($unit * 2) 0px ($unit * 5);
170+
padding: 0px ($unit * 2) 0px ($unit * 4);
171171
font-size: 13px;
172172
}
173173

@@ -187,12 +187,15 @@
187187
.side-nav-tertiary {
188188
padding-bottom: ($unit * 1);
189189
margin: 0px;
190+
padding: 0px;
190191

191192
> li {
193+
margin: 0px;
194+
192195
&.is-selected {
193196
> a {
194-
background: transparent;
195-
color: $coal;
197+
background: darken($fog, 3%);
198+
color: $blueberry;
196199
}
197200
}
198201

@@ -208,8 +211,9 @@
208211
display: block;
209212
text-decoration: none;
210213
font-weight: 400;
211-
padding: 0px $unit;
214+
padding: 0px $unit 0px ($unit * 7);
212215
line-height: 34px;
216+
color: $metal;
213217
}
214218
}
215219
}

0 commit comments

Comments
 (0)