From d60da1bf632ca7f26ebfe666dd4c838fe1ac14ac Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Fri, 3 Dec 2010 22:03:41 +0000
Subject: [PATCH] Light&Dark Opera/Webkit enhancements.

---
 .../resources/themes/console/dark/console.css | 20 ++++++++++---------
 .../themes/console/light/console.css          | 12 ++++++++++-
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css
index 61eedb5fe1..99ba9fad95 100644
--- a/installer/resources/themes/console/dark/console.css
+++ b/installer/resources/themes/console/dark/console.css
@@ -3,7 +3,7 @@
 /* Author: dr|z3d */
 
 body {
-     margin: 20px 5px 0 15px;
+     margin: 5px 0px 0 0px;
      padding: 0;
      text-align: center;
      background: #010 url('images/camotile.png') center bottom;
@@ -130,6 +130,8 @@ div.routersummary hr {
      border-bottom: 1px solid #494;
      margin: 8px -10px 7px -10px;
      -moz-box-shadow: inset 0px 1px 1px 1px #000;
+     -khtml-box-shadow: inset 0px 1px 1px 1px #000;
+     box-shadow: inset 0px 1px 1px 1px #000;
 }
 
 div.routersummary h3 {
@@ -270,7 +272,7 @@ div.warning {
 /* console error messages */
 
 div.sorry {
-     margin: 15px 15px 10px 220px;
+     margin: 15px 15px 10px 215px;
      padding: 20px 20px 20px 75px;
      background: #020;
      border: 1px solid #494;
@@ -296,16 +298,16 @@ div.sorry hr {
 }     
 
 div.main {
-     margin: 15px 15px 20px 220px;
+     margin: -3px 5px 5px 205px;
      padding: 0 15px 15px 15px;
      text-align: left;
      color: #EE9;
      width: auto;
 /*  overflow-x: scroll; */
      border: 1px solid #494;
-     -moz-border-radius: 4px;
-     -khtml-border-radius: 4px;
-     border-radius: 4px;
+     -moz-border-radius: 0 0 4px 4px;
+     -khtml-border-radius: 0 0 4px 4px;
+     border-radius: 0 0 4px 4px;
      background: #000;/* url(images/camotile2.png);*/
      min-width: 620px;
      -moz-box-shadow: 0 1px 5px #000;
@@ -318,7 +320,7 @@ div.main textarea {
 }
 
 div.news {
-     margin: 15px 15px 15px 220px;
+     margin: 5px 5px 1px 205px;
      padding: 5px 30px 10px 30px;
      border: 1px solid #494;
      background: #000;
@@ -641,8 +643,8 @@ p {
 h1 {
      text-align: left;
      color: #EE9;
-     padding: 10px 15px;
-     margin: 0 15px 10px 220px;
+     padding: 16px 15px;
+     margin: 0 5px 0px 205px !important;
      font-size: 16pt;
      font-weight: bold;
      font-style: normal;
diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css
index 9404d83eca..f0547c71c4 100644
--- a/installer/resources/themes/console/light/console.css
+++ b/installer/resources/themes/console/light/console.css
@@ -118,6 +118,8 @@ div.routersummary hr {
      border-bottom: 1px solid #ddf;
      margin: 8px -7px 8px -7px;
      -moz-box-shadow: inset 0px 1px 1px 1px #bbf;
+     -khtml-box-shadow: inset 0px 1px 1px 1px #bbf;
+     box-shadow: inset 0px 1px 1px 1px #bbf;
 }
 
 div routersummary hr:last-child {
@@ -134,6 +136,8 @@ div.routersummary h3 {
      background: #ddf url('images/header_on.png') center center repeat-x;
      border: 1px solid #99f !important;
      -moz-border-radius: 3px;
+     -khtml-border-radius: 3px;
+     border-radius: 3px;
      -moz-box-shadow: 0px 1px 5px #bbf;
 }
 
@@ -785,7 +789,7 @@ h4 {
      font-size: 11pt;
 }
 
-button, button:visited {
+button, button:visited{
      font: bold 9pt "Lucida Sans Unicode", "Bitstream Vera Sans", Verdana, Tahoma, Helvetica, sans-serif;
      border: 1px outset #999;
      padding: 1px 3px;
@@ -800,6 +804,8 @@ button, button:visited {
      text-align: center;
      min-width: 80px;
      -moz-box-shadow: inset 0px 2px 8px 0px #fff;
+     -khtml-box-shadow: inset 0px 2px 8px 0px #fff;
+     box-shadow: inset 0px 2px 8px 0px #fff;
      color: #006;
 }
 
@@ -808,6 +814,8 @@ button:hover{
      background: #f60 !important;
      color: #fff;
      -moz-box-shadow: inset 0px 0px 0px 1px #fff;
+     -khtml-box-shadow: inset 0px 0px 0px 1px #fff;
+     box-shadow: inset 0px 0px 0px 1px #fff;
 }
 
 button:active{
@@ -815,6 +823,8 @@ button:active{
      background: #001 !important;
      color: #f60;
      -moz-box-shadow: inset 0px 0px 0px 1px #f60;
+     box-shadow: inset 0px 0px 0px 1px #f60;
+     -khtml-box-shadow: inset 0px 0px 0px 1px #f60;
 }
 
 .underline {
-- 
GitLab