From 13c1556a3483368d9eee656ca9cf894316cf6032 Mon Sep 17 00:00:00 2001 From: Jay Weisskopf Date: Sun, 1 Jan 2012 00:41:46 -0600 Subject: [PATCH] Changed the cursor color to match the default text color. Red, the previous cursor color, should not be used during nominal operation because most people subconsciously associate it with "bad" or "problem". Additionally, this change makes it more consistent with other widely-used terminal applications. --- demo/styles.css | 6 +++--- demo/usercss-0.css | 28 ++++++++++++++++++++++------ shellinabox/styles.css | 6 +++--- shellinabox/white-on-black.css | 28 ++++++++++++++++++++++------ 4 files changed, 50 insertions(+), 18 deletions(-) mode change 100644 => 100755 demo/usercss-0.css mode change 100644 => 100755 shellinabox/styles.css mode change 100644 => 100755 shellinabox/white-on-black.css diff --git a/demo/styles.css b/demo/styles.css index d7d5d24..42470e7 100644 --- a/demo/styles.css +++ b/demo/styles.css @@ -61,8 +61,8 @@ z-index: 1; } -#vt100 #cursor.bright { - background-color: #e60000; +#vt100 #cursor.bright { + background-color: black; color: white; } @@ -71,7 +71,7 @@ } #vt100 #cursor.inactive { - border: 1px solid #e60000; + border: 1px solid; margin: -1px; } diff --git a/demo/usercss-0.css b/demo/usercss-0.css old mode 100644 new mode 100755 index c64d5b1..e442e7f --- a/demo/usercss-0.css +++ b/demo/usercss-0.css @@ -1,6 +1,22 @@ -#vt100 #scrollable { color: #ffffff; - background-color: #000000; } -#vt100 #scrollable.inverted { color: #000000; - background-color: #ffffff; } -#vt100 .ansi15 { color: #000000; } -#vt100 .bgAnsi0 { background-color: #ffffff; } +#vt100 #cursor.bright { + background-color: white; + color: black; +} + +#vt100 #scrollable { + color: #ffffff; + background-color: #000000; +} + +#vt100 #scrollable.inverted { + color: #000000; + background-color: #ffffff; +} + +#vt100 .ansi15 { + color: #000000; +} + +#vt100 .bgAnsi0 { + background-color: #ffffff; +} diff --git a/shellinabox/styles.css b/shellinabox/styles.css old mode 100644 new mode 100755 index d96855b..9776dc9 --- a/shellinabox/styles.css +++ b/shellinabox/styles.css @@ -61,8 +61,8 @@ z-index: 1; } -#vt100 #cursor.bright { - background-color: #e60000; +#vt100 #cursor.bright { + background-color: black; color: white; } @@ -71,7 +71,7 @@ } #vt100 #cursor.inactive { - border: 1px solid #e60000; + border: 1px solid; margin: -1px; } diff --git a/shellinabox/white-on-black.css b/shellinabox/white-on-black.css old mode 100644 new mode 100755 index c64d5b1..e442e7f --- a/shellinabox/white-on-black.css +++ b/shellinabox/white-on-black.css @@ -1,6 +1,22 @@ -#vt100 #scrollable { color: #ffffff; - background-color: #000000; } -#vt100 #scrollable.inverted { color: #000000; - background-color: #ffffff; } -#vt100 .ansi15 { color: #000000; } -#vt100 .bgAnsi0 { background-color: #ffffff; } +#vt100 #cursor.bright { + background-color: white; + color: black; +} + +#vt100 #scrollable { + color: #ffffff; + background-color: #000000; +} + +#vt100 #scrollable.inverted { + color: #000000; + background-color: #ffffff; +} + +#vt100 .ansi15 { + color: #000000; +} + +#vt100 .bgAnsi0 { + background-color: #ffffff; +}