From 78c522725e368a0d2a8995af19e4184028348c8c Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 20 Jul 2011 17:59:40 -0400 Subject: [PATCH] tweak styles so it's better --- sass/style.scss | 18 ++++++++++-------- src/style.css | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index b6c3ae5..35b4094 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -5,14 +5,16 @@ $padding: 10px; body { position: relative; - width: 100%; - height: 100%; + top: 0; + bottom: 0; + left: 0; + right: 0; opacity: 0.85; #resize { position: absolute; - bottom: $padding + 22px; - right: 16px; + bottom: $padding + 20px; + right: $padding; -apple-dashboard-region: dashboard-region(control rectangle); } @@ -22,10 +24,10 @@ body { background: url('banding.png') repeat #181A3A; @include border-radius($padding); - top: $padding; - left: $padding; - bottom: $padding; - right: $padding; + top: 0; + left: 0; + bottom: 0; + right: 0; header { margin-bottom: $padding; diff --git a/src/style.css b/src/style.css index e249fc8..0fc4cbd 100644 --- a/src/style.css +++ b/src/style.css @@ -1,13 +1,15 @@ body { position: relative; - width: 100%; - height: 100%; + top: 0; + bottom: 0; + left: 0; + right: 0; opacity: 0.85; } body #resize { position: absolute; - bottom: 32px; - right: 16px; + bottom: 30px; + right: 10px; -apple-dashboard-region: dashboard-region(control rectangle); } body form { @@ -19,10 +21,10 @@ body form { -ms-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; - top: 10px; - left: 10px; - bottom: 10px; - right: 10px; + top: 0; + left: 0; + bottom: 0; + right: 0; } body form header { margin-bottom: 10px;