From 87c73709bf382a6eea01b460128f28ad8a625a44 Mon Sep 17 00:00:00 2001 From: dsc Date: Mon, 5 Mar 2012 00:47:53 -0800 Subject: [PATCH] Better tab-container. --- lib/template/graph.jade | 2 +- www/css/graph.styl | 11 +++++++++++ www/presets/root.yaml | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/template/graph.jade b/lib/template/graph.jade index 02e8e49..264ca81 100644 --- a/lib/template/graph.jade +++ b/lib/template/graph.jade @@ -13,13 +13,13 @@ section.graph(id=graph_id) .tabbable ul.nav.subnav.nav-pills + li: h3 Graph li.active: a(href="#graph-#{graph_id}-info", data-toggle="tab") Info li: a(href="#graph-#{graph_id}-data", data-toggle="tab") Data li: a(href="#graph-#{graph_id}-options", data-toggle="tab") Options .tab-content .graph-info-pane.tab-pane.active(id="graph-#{graph_id}-info") - h3 Graph Info .row-fluid .half.control-group label.slug.control-label(for='slug') Slug diff --git a/www/css/graph.styl b/www/css/graph.styl index d784be4..2835b6c 100644 --- a/www/css/graph.styl +++ b/www/css/graph.styl @@ -7,6 +7,17 @@ section.graph * position relative + .nav + li h3 + line-height 14px + margin 2px + padding 8px 12px + border-radius 5px + li + margin-right 4px + .tab-content + padding 0.5em + .graph-label position absolute z-index 100 diff --git a/www/presets/root.yaml b/www/presets/root.yaml index 8897e6e..63b19f5 100644 --- a/www/presets/root.yaml +++ b/www/presets/root.yaml @@ -25,7 +25,7 @@ options : # xlabel : Date axisLineColor : black # axisTickSize : 3.0 - axisLabelColor : '#333333' + axisLabelColor : '#666666' # axisLabelFontSize : 14 # showRoller : false # rollPeriod : 1 -- 1.7.0.4