From c07b7b7143ea8bd42c545b25423fc012d0591539 Mon Sep 17 00:00:00 2001
From: cmcnulty <cmcnulty@kznf.com>
Date: Mon, 11 Nov 2013 08:54:56 -0500
Subject: [PATCH] apply focused styles to address book and classic skin

---
 skins/classic/mail.css        |   14 ++++++++++++++
 skins/classic/addressbook.css |   13 +++++++++++++
 skins/larry/addressbook.css   |   13 +++++++++++++
 3 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/skins/classic/addressbook.css b/skins/classic/addressbook.css
index 9575ae2..e4e88ca 100644
--- a/skins/classic/addressbook.css
+++ b/skins/classic/addressbook.css
@@ -224,6 +224,19 @@
   -o-text-overflow: ellipsis;
 }
 
+/* This padding-left should be equal to the focused border-left + the focused padding-left */
+#contacts-table thead tr td:first-child,
+#contacts-table tbody tr td:first-child {
+	border-left: 0;
+	padding-left: 8px;
+}
+
+/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */
+#contacts-table tbody tr.focused > td:first-child {
+	border-left: 4px solid #EBEBEB;
+	padding-left: 4px;
+}
+
 #contacts-table .contact.readonly td
 {
   font-style: italic;
diff --git a/skins/classic/mail.css b/skins/classic/mail.css
index dce49b3..23350dd 100644
--- a/skins/classic/mail.css
+++ b/skins/classic/mail.css
@@ -958,6 +958,20 @@
   color: #CC0000;
 }
 
+/* This padding-left minus the focused padding left should be half of the focused border-left */
+.messagelist thead tr td:first-child,
+.messagelist tbody tr td:first-child {
+	border-left: 0;
+	padding-left: 6px;
+}
+
+
+/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */
+.messagelist tbody tr.focused > td:first-child {
+	border-left: 8px solid #EBEBEB;
+	padding-left: 2px;
+}
+
 .messagelist tr.selected td
 {
   color: #FFFFFF;
diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css
index 39d0cce..a70b1ba 100644
--- a/skins/larry/addressbook.css
+++ b/skins/larry/addressbook.css
@@ -159,6 +159,19 @@
 	font-weight: bold;
 }
 
+/* This padding-left should be equal to the focused border-left + the focused padding-left */
+#contacts-table thead tr td:first-child,
+#contacts-table tbody tr td:first-child {
+	border-left: 0;
+}
+
+/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */
+#contacts-table tbody tr.focused > td:first-child {
+	border-left: 2px ridge #ffffff;
+	padding-left: 34px;
+	background-position-x: 4px !important; /* important to override selected class */	
+}
+
 #contacts-table .group td.name {
 	background-position: 6px -1555px;
 }

--
Gitblit v1.9.1