From 76d75b712eb3c0fed38f35f94f87ea1634ce5c4d Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Wed, 11 Nov 2009 09:03:19 +0000
Subject: [PATCH] Updates to "midnight" console theme.

---
 .../themes/console/midnight/console.css       | 48 +++++++++++-----
 .../themes/console/midnight/console_big.css   |  4 +-
 .../themes/console/midnight/default.css       |  2 +-
 .../themes/console/midnight/ieshim.css        | 55 ++++---------------
 4 files changed, 48 insertions(+), 61 deletions(-)

diff --git a/installer/resources/themes/console/midnight/console.css b/installer/resources/themes/console/midnight/console.css
index 38f83a7d71..acc81de777 100644
--- a/installer/resources/themes/console/midnight/console.css
+++ b/installer/resources/themes/console/midnight/console.css
@@ -4,7 +4,7 @@
 
 
 body {
-     margin: 2px 0 0 2px;
+     margin: 2px 0 0 5px;
      padding: 0;
      text-align: left;
      background: #000;
@@ -148,10 +148,19 @@ div.routersummaryouter {
      clear: left; /* fixes a bug in Opera */
 }
 
-div.routersummary { background: #00000A; width: 190px; color: inherit; margin: 0; 
-padding: 10px 1px 7px 1px; text-align: center !important; border: 1px solid 
-#99f; font-size: 9pt; word-wrap: break-word; font: 9pt/125%; -moz-box-shadow: 
-inset 0px 0px 0px 1px #00000A; }
+div.routersummary { 
+     background: #00000A; 
+     width: 190px; 
+     color: inherit; 
+     margin: 0; 
+     padding: 10px 1px 7px 1px; 
+     text-align: center !important; 
+     border: 1px solid #99f; 
+     font-size: 9pt; 
+     word-wrap: break-word; 
+     font: 9pt/125%; 
+     -moz-box-shadow: inset 0px 0px 0px 1px #00000A; 
+}
 
 div.routersummary input[type=text] {
      text-align: right !important;
@@ -163,7 +172,6 @@ div.routersummary hr {
      height: 1px;
      border-bottom: 0px solid #99f;
      margin: 8px -1px 7px -1px;
-/*     -moz-box-shadow: inset 0px 1px 1px 1px #99f;*/
 }
 
 div.routersummary h3 {
@@ -176,7 +184,7 @@ div.routersummary h3 {
      text-transform: uppercase;
 }
 
-div.routersummary h3 a {
+div.routersummary h3 a, div.routersummary h4 a {
      text-decoration: none;
      line-height: 105%;
 }
@@ -218,8 +226,9 @@ div.routersummary tr {
 }
 
 div.tunnels table{
-     margin: -2px 0 -4px -4px !important;
-     text-align: right !important;
+     margin: -2px 0px -4px 2px !important;
+     text-align: center !important;
+     width: 186px;
 }
 
 .tunnels tr {
@@ -227,11 +236,14 @@ div.tunnels table{
 }
 
 .tunnels td:first-child {
+     width: 16px;
      padding-right: 2px;
 }
 
 .tunnels td:last-child {
      width: 16px;
+     text-align: right;
+     margin-right: -2px;
 }     
      
 div.routersummary form {
@@ -488,7 +500,7 @@ h1 {
      line-height: 93%;
      text-transform: uppercase;
      letter-spacing: 0.3em;
-     background: #001;
+     background: #000008;
      min-width: 600px;
      -moz-box-shadow: inset 0px 0px 4px 2px #00000A;
      line-height: 100%;
@@ -497,16 +509,17 @@ h1 {
 
 h2 {
      font-size: 14pt;
-     padding: 5px 10px 10px 10px;
-     border: 1px solid #99f;
+     padding: 10px 10px 10px 10px;
+     border: 1px solid #77f;
      border-top: 1px solid #99f;
+     border-left: 1px solid #99f;
      letter-spacing: 0.04em;
-     background: #000008;
+     background: #00000A;
 }
 
 h3 {
      font-size: 12pt;
-     padding: 0 10px 10px 10px;
+     padding: 0 0px 5px 0px;
      border-bottom: 1px solid #99f;
      border-top: 0px solid #99f;
      letter-spacing: 0.04em;
@@ -692,7 +705,7 @@ p {
 }
 
 .langbox {
-     margin: 15px -20px 0px 5px;
+     margin: 17px -20px 0px 5px;
      color: #eef;
      font-size: 7pt;
      width: 220px;
@@ -709,6 +722,7 @@ p {
      padding-bottom: -2px;
      text-align: justify;
      margin-top: 5px !important;
+     margin-left:5px !important;     
 }
 
 .links li {
@@ -814,4 +828,8 @@ div.graphspanel form:last-child {
 div.graphspanel h3 {
      text-align: left;
      margin: 10px 20px 10px 20px;
+}
+
+table code {
+     font-size: 8.5pt;
 }
\ No newline at end of file
diff --git a/installer/resources/themes/console/midnight/console_big.css b/installer/resources/themes/console/midnight/console_big.css
index 00e07f10fb..9a1796aeaa 100644
--- a/installer/resources/themes/console/midnight/console_big.css
+++ b/installer/resources/themes/console/midnight/console_big.css
@@ -1,5 +1,5 @@
-/* I2P Theme: I2P Classic & Midnight Theme Override */
-/* I2P Description: Larger fontsize override for sidepanel to accomodate foreign charactersets */
+/* I2P Theme: Midnight Theme Override */
+/* Description: Larger fontsize & styling override to accomodate foreign charactersets */
 /* Author: Dr|Z3d */
 
 
diff --git a/installer/resources/themes/console/midnight/default.css b/installer/resources/themes/console/midnight/default.css
index 61c8dc03f9..5ee0603fae 100644
--- a/installer/resources/themes/console/midnight/default.css
+++ b/installer/resources/themes/console/midnight/default.css
@@ -1,5 +1,5 @@
 /* I2P Theme: Midnight - I2P Tunnel Manager */
-/* I2P Description: Minimalist Midnight Blue, based on Classic theme.*/
+/* Description: Minimalist Midnight Blue, based on Classic theme.*/
 /* Author: Dr|Z3d */
 
 body {
diff --git a/installer/resources/themes/console/midnight/ieshim.css b/installer/resources/themes/console/midnight/ieshim.css
index 4feeadb80c..aa9f29f9fe 100644
--- a/installer/resources/themes/console/midnight/ieshim.css
+++ b/installer/resources/themes/console/midnight/ieshim.css
@@ -1,5 +1,5 @@
 /* I2P Theme: Midnight - IE Override */
-/* I2P Description: Minimalist Midnight Blue, based on Classic theme.*/
+/* Description: Minimalist Midnight Blue, based on Classic theme.*/
 /* Author: Dr|Z3d */
 
 /* Welcome to the wonderful world of kludgey IE fixes */
@@ -91,9 +91,9 @@ div.news {
 }
 
 div.news hr {
-     color: #bbf;
-     background: #bbf;
-     height: 3px;
+     color: #99f;
+     background: #99f;
+     height: 1px;
      border: 0px;
      margin: 0 -10px 0 -13px !important;
 }     
@@ -101,7 +101,7 @@ div.news hr {
 div.routersummary {
      color: #001;
      padding-left: 0px;
-     border-left: 5px solid #bbf;
+     border-left: 5px solid #000;
      text-align: center !important;
      overflow: hidden; /* prevents IE from borking the sidepanel */
 }
@@ -116,36 +116,32 @@ div.routersummary input[type=text] {
 }
 
 div.routersummary hr {
-     color: #eef;
-     background: #eef;
-     height: 2px;
-     border-bottom: 1px solid #eef;
+     color: #99f;
+     background: #99f;
+     height: 1px;
+     border-bottom: 1px solid #99f;
      margin: 8px 1px 7px 1px;
-     -moz-box-shadow: inset 0px 1px 1px 1px #99f;
 }
 
 div.routersummary h3 {
-     border: 0px solid #f00;
+     border: 0;
      text-align: center !important;
      font-size: 9pt;
      letter-spacing: 0.05em;
      margin: -14px 0px -15px 1px;
      padding: 5px 0px 5px 0px;
-     background: #c5d5fb;
      text-transform: uppercase;
 }
 
 div.routersummary h4 {
-     border: 0px solid #f00;
+     border: 0;
      border-bottom: 0 !important;
      font-size: 8.5pt;
      letter-spacing: 0.05em;
      margin: -14px 0px -15px 1px !important;
      padding: 2px 3px 3px 3px;
-     background: #c1d1f7;
      text-transform: capitalize;
      text-decoration: none !important;
-     color: #2b2;
      text-align: center !important;
 }
 
@@ -178,38 +174,12 @@ div.routersummary p {
      padding: 0;
 }     
 
-/*
-div.routersummary img {
-     margin: 5px -10px -5px -10px;
-     overflow: hidden;
-}     
-*/
-
-div.routersummary a:link, div.routersummary a:visited {
-     text-shadow: 0px 0px 1px rgba(0, 0, 32, 0.3);
-}
-
-div.routersummary a:hover {
-     text-shadow: 0px 0px 1px rgba(255, 96, 0, 0.7);
-     color: #f60;
-}
-
 div.routersummary td {
      padding: 2px 4px;
      background-image: none !important;
      border: 0 !important;
 }
 
-div.routersummary tr:nth-child(even) {
-     background-color: #f60;
-     background-image: none !important;
-}
-
-div.routersummarytr:nth-child(odd) {
-     background-color: #f00;
-     background-image: none !important;
-}
-
 div.news li {
      padding-top: 0px	0px !important;
      margin-bottom: -23px !important;
@@ -249,8 +219,7 @@ input {
 div.graphspanel img {
      border: 1px solid #99f;
      margin: 6px 0 !important;
-     background: #ddf;
-     -moz-box-shadow: inset 0px 0px 1px 1px #99f;
+     background: #001;
 }
 
 div.graphspanel hr {
-- 
GitLab