From 45f776cf9a307987b1fba5d144d8b77d5098b7ab Mon Sep 17 00:00:00 2001 From: Kathryn Tipton Date: Tue, 20 Mar 2018 08:55:44 -0400 Subject: [PATCH 1/3] Correctly center featured reports. Bumps #598 --- lib/Tuba/files/templates/index.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tuba/files/templates/index.html.ep b/lib/Tuba/files/templates/index.html.ep index 952d29f3..eb91dc51 100644 --- a/lib/Tuba/files/templates/index.html.ep +++ b/lib/Tuba/files/templates/index.html.ep @@ -76,7 +76,7 @@ <%= link_to "metrics" => { format => 'yaml' } => class => 'label label-primary' => begin %>YAML<%= end %>

-
+

Featured USGCRP reports :

%= include 'h/featured_reports'

From ae17ed344912f9f8b861502fda4a5cf15fbd77c7 Mon Sep 17 00:00:00 2001 From: Kathryn Tipton Date: Tue, 20 Mar 2018 09:45:57 -0400 Subject: [PATCH 2/3] Highlight Feature Reports in a well Bumps #598 --- lib/Tuba/files/templates/index.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tuba/files/templates/index.html.ep b/lib/Tuba/files/templates/index.html.ep index eb91dc51..f6cd8aff 100644 --- a/lib/Tuba/files/templates/index.html.ep +++ b/lib/Tuba/files/templates/index.html.ep @@ -76,7 +76,7 @@ <%= link_to "metrics" => { format => 'yaml' } => class => 'label label-primary' => begin %>YAML<%= end %>

-
+

Featured USGCRP reports :

%= include 'h/featured_reports'

From 03916413b2088def7dfdf014f586a0e27284e7f3 Mon Sep 17 00:00:00 2001 From: Kathryn Tipton Date: Tue, 20 Mar 2018 14:38:17 -0400 Subject: [PATCH 3/3] Brought colors in line with USGCRP identity Bumps #598 --- lib/Tuba/files/public/css/gcis.css | 15 ++++++++++++--- lib/Tuba/files/templates/index.html.ep | 8 ++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/lib/Tuba/files/public/css/gcis.css b/lib/Tuba/files/public/css/gcis.css index 3ffcd226..a4df253b 100644 --- a/lib/Tuba/files/public/css/gcis.css +++ b/lib/Tuba/files/public/css/gcis.css @@ -1,5 +1,12 @@ body { padding-top: 0 !important; + +} +a { + color: #0F9EFB; +} +.label-primary { + background-color: #096BA3; } html, body { height: 100%; @@ -26,7 +33,7 @@ table.squeeze tr th { padding-bottom:0px; } form label.required:after { - color: #e32; + color: #CA2C3A; content: '*'; display:inline; } @@ -39,7 +46,7 @@ form label.required:after { margin-right: 0; } div.required_note:before { - color: #e32; + color: #CA2C3A; content: '*'; display:inline; } @@ -62,7 +69,7 @@ body.front-page p.lead { font-size: 22px; } h3.sub-title { - color: #626e7c; + color: #3D4044; font-weight: normal; } .centered { @@ -289,4 +296,6 @@ table tr td.non_numeric { left:40%; right:40%; white-space:nowrap; + background-color: #FF9405; + border-color: #FF9405; } diff --git a/lib/Tuba/files/templates/index.html.ep b/lib/Tuba/files/templates/index.html.ep index f6cd8aff..20a8f249 100644 --- a/lib/Tuba/files/templates/index.html.ep +++ b/lib/Tuba/files/templates/index.html.ep @@ -24,7 +24,7 @@ .jumbotron h1 { font-size: 50px; line-height: 1; - color: #013d87; + color: #096BA3; } .lead { font-size: 24px; @@ -41,10 +41,14 @@ margin: 30px 0 30px; } #svgwrap a text { - fill: #0088cc; + fill: #0F9EFB; } h2 { font-size: 20px; + color: #10252A; + } + h3 { + color: #10252A; } .row .front-footer { text-align: center;