From 4e262f0e1d896fa05d8f6272392fd1ac3f60f067 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Tue, 16 Mar 2010 17:38:38 +0000 Subject: [PATCH] Styling tweaks. git-svn-id: http://google-refine.googlecode.com/svn/trunk@305 7d457c2a-affb-35e4-300a-418c747d4874 --- src/main/webapp/styles/common.css | 7 ++++--- src/main/webapp/styles/project.css | 5 +++-- src/main/webapp/styles/project/history.css | 5 +++-- src/main/webapp/styles/project/menu-bar.css | 2 +- src/main/webapp/styles/views/data-table-view.css | 10 ++++++---- 5 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/styles/common.css b/src/main/webapp/styles/common.css index cec795cf6..41fe49f23 100644 --- a/src/main/webapp/styles/common.css +++ b/src/main/webapp/styles/common.css @@ -139,16 +139,17 @@ img { } #header { - background-color: #ddd; + background: url(../images/freebase-tools-sprite-vertical.png) repeat-x scroll 0 0 #F2F2F2; border-bottom: 1px solid #bbb; - height: 47px; + height: 32px; padding-left: 20px; padding-right: 20px; + padding-bottom: 1px; position: relative; } #logo { display: block; - padding: 13px 0; + padding: 7px 0; } #footer { font-size: 80%; diff --git a/src/main/webapp/styles/project.css b/src/main/webapp/styles/project.css index b9d7339a8..d97ebfda9 100644 --- a/src/main/webapp/styles/project.css +++ b/src/main/webapp/styles/project.css @@ -11,9 +11,10 @@ } #logo { - padding: 13px 0; + padding: 7px 0; padding-right: 13px; - border-right: 1px solid #ccc; + height: 32px; + border-right: 1px solid #ddd; float: left; } #path { diff --git a/src/main/webapp/styles/project/history.css b/src/main/webapp/styles/project/history.css index 48296da30..31f6b5332 100644 --- a/src/main/webapp/styles/project/history.css +++ b/src/main/webapp/styles/project/history.css @@ -35,10 +35,11 @@ padding-bottom: 3px; } .history-now { - padding: 0 0 2px 0; + padding: 3px 0; background: #a9e9fb; - color: black; + color: white; font-size: 80%; + text-transform: uppercase; text-align: center; font-variant: small-caps; font-weight: bold; diff --git a/src/main/webapp/styles/project/menu-bar.css b/src/main/webapp/styles/project/menu-bar.css index 9c79f89ea..153a4ceff 100644 --- a/src/main/webapp/styles/project/menu-bar.css +++ b/src/main/webapp/styles/project/menu-bar.css @@ -1,6 +1,6 @@ .menu-bar { padding: 5px 10px; - background: #eee; + background: #e8e8e8; position: relative; border-bottom: 1px solid #CCCCCC; } diff --git a/src/main/webapp/styles/views/data-table-view.css b/src/main/webapp/styles/views/data-table-view.css index 638753ab5..83887b24a 100644 --- a/src/main/webapp/styles/views/data-table-view.css +++ b/src/main/webapp/styles/views/data-table-view.css @@ -14,12 +14,14 @@ table.data-table > tbody > tr > td { } table.data-table > tbody > tr.odd > td { + border-top: 1px solid #eee; + border-right: 1px solid #eee; } table.data-table > tbody > tr.even > td { - border-top: 1px solid #ddd; + border-top: 1px solid white; + border-right: 1px solid white; background: #eee; - border-bottom: 1px solid #ddd; } table.data-table > tbody > tr.contextual > td > div { @@ -30,10 +32,10 @@ table.data-table > tbody > tr.record.contextual > td { } table.data-table td.column-header { - background: #ddd; + background: #e8e8e8; cursor: pointer; padding: 5px 5px; - border-bottom: 2px solid #aaa; + border-bottom: 1px solid #ccc; white-space: pre; font-weight: bold; }