From fa5d25ec7a75b66e0986fdc0570e1f5d2c4fc139 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Mon, 26 Nov 2012 04:38:19 +0000 Subject: [PATCH] Diabook - better 1024 resolution support. --- view/theme/diabook/style-network.css | 6 ++--- view/theme/diabook/style-profile.css | 37 +++------------------------- view/theme/diabook/style.css | 8 +----- 3 files changed, 8 insertions(+), 43 deletions(-) diff --git a/view/theme/diabook/style-network.css b/view/theme/diabook/style-network.css index 238d8fb34..b6d682c3c 100644 --- a/view/theme/diabook/style-network.css +++ b/view/theme/diabook/style-network.css @@ -948,8 +948,8 @@ ul.menu-popup .empty { aside { display: table-cell; vertical-align: top; - width: 160px; - padding: 0px 10px 0px 10px; + width: 150px; + padding: 0px 5px 0px 5px; border-right: 1px solid #D2D2D2; float: left; /* background: #F1F1F1; */ @@ -1009,7 +1009,7 @@ aside #profiles-menu { width: 20em; } aside #search-text { - width: 150px; + width: 140px; height: 17px; padding-left: 10px; border-top-left-radius: 15px; diff --git a/view/theme/diabook/style-profile.css b/view/theme/diabook/style-profile.css index 01987dafe..bd63e59b3 100644 --- a/view/theme/diabook/style-profile.css +++ b/view/theme/diabook/style-profile.css @@ -398,7 +398,7 @@ body { font-size: 12.5px; background-color: #ffffff; color: #2d2d2d; - margin: 50px 8%; + margin: 45px 2%; display: table; } @@ -511,21 +511,6 @@ div.jGrowl div.info { padding-left: 58px; } /* header */ -header { - position: fixed; - left: 0%; - right: 80%; - top: 0px; - margin: 0px; - padding: 0px; - width: 22%; - height: 32px; - background: #000; - z-index: 100; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); -} header #site-location { display: none; } @@ -557,20 +542,6 @@ header #banner #logo-text { top: 10%; } /* nav */ -nav { - width: 80%; - height: 32px; - position: fixed; - left: 22%; - top: 0px; - padding: 0px; - background: #000; - color: #ffffff; - z-index: 99; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); -} nav a, nav a:active, nav a:visited, @@ -936,8 +907,8 @@ ul.menu-popup .empty { aside { display: table-cell; vertical-align: top; - width: 160px; - padding: 0px 10px 0px 10px; + width: 150px; + padding: 0px 8px 0px 8px; border-right: 1px solid #D2D2D2; float: left; /* background: #F1F1F1; */ @@ -1137,7 +1108,7 @@ section { display: table-cell; vertical-align: top; width: 90%; - padding: 20px; + padding: 5px; } body .pageheader{ diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index 4c7886cbc..1623f2e75 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -582,9 +582,6 @@ header { height: 32px; background: #000; z-index: 100; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); } header #site-location { display: none; @@ -705,9 +702,6 @@ nav { background: #000; color: #ffffff; z-index: 99; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); } nav a, nav a:active, @@ -1321,7 +1315,7 @@ section { display: table-cell; vertical-align: top; /* width: 90%; */ - /* padding: 20px;*/ + padding: 5px; } body .pageheader{