From fa09eb4a817f0afb1cb16a07ba6357c4832ee9bb Mon Sep 17 00:00:00 2001 From: Alex Wolfe Date: Wed, 22 Apr 2015 08:48:20 -0700 Subject: [PATCH] side nag update --- public/_includes/_docs-nav.jade | 2 +- public/docs/js/latest/index.jade | 4 ++-- public/resources/css/module/_card.scss | 6 ++++++ public/resources/css/module/_side-nav.scss | 12 ++++++++---- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/public/_includes/_docs-nav.jade b/public/_includes/_docs-nav.jade index 65fc4f5593..52c6a88151 100644 --- a/public/_includes/_docs-nav.jade +++ b/public/_includes/_docs-nav.jade @@ -49,5 +49,5 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav ul.side-nav-tertiary for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data name = page.menuTitle || page.title - selected = current.path[4] == slug ? 'is-selected':'' + selected = current.path[5] == slug ? 'is-selected':'' li(class="#{selected}")#{name} diff --git a/public/docs/js/latest/index.jade b/public/docs/js/latest/index.jade index b6691e81fe..08b8f840b0 100644 --- a/public/docs/js/latest/index.jade +++ b/public/docs/js/latest/index.jade @@ -22,8 +22,8 @@ div.c4 div.c4 md-card.card md-card-content - h3.text-headline.text-uppercase API - p.text-body Proposal for v2.0 API + h3.text-headline.text-uppercase API Preview + p.text-body API 2.0 Preview footer a(href="/docs/#{current.path[1]}/#{current.path[2]}/api/" class="button" md-button) View API diff --git a/public/resources/css/module/_card.scss b/public/resources/css/module/_card.scss index f1c7efefd9..5a90d549cf 100644 --- a/public/resources/css/module/_card.scss +++ b/public/resources/css/module/_card.scss @@ -48,7 +48,13 @@ background: $mist; } } + } + } + footer { + a { + color: $blueberry; + font-size: 13px; } } } \ No newline at end of file diff --git a/public/resources/css/module/_side-nav.scss b/public/resources/css/module/_side-nav.scss index 6f00912885..1a83973b1b 100644 --- a/public/resources/css/module/_side-nav.scss +++ b/public/resources/css/module/_side-nav.scss @@ -167,7 +167,7 @@ > a { line-height: ($unit * 5) - 1; - padding: 0px ($unit * 2) 0px ($unit * 5); + padding: 0px ($unit * 2) 0px ($unit * 4); font-size: 13px; } @@ -187,12 +187,15 @@ .side-nav-tertiary { padding-bottom: ($unit * 1); margin: 0px; + padding: 0px; > li { + margin: 0px; + &.is-selected { > a { - background: transparent; - color: $coal; + background: darken($fog, 3%); + color: $blueberry; } } @@ -208,8 +211,9 @@ display: block; text-decoration: none; font-weight: 400; - padding: 0px $unit; + padding: 0px $unit 0px ($unit * 7); line-height: 34px; + color: $metal; } } }