diff options
author | cmcnulty <cmcnulty@kznf.com> | 2013-11-09 20:49:23 -0600 |
---|---|---|
committer | cmcnulty <cmcnulty@kznf.com> | 2013-11-09 20:49:23 -0600 |
commit | 1f705968827f9dea3ee66e5ea9d35f00d360ad9a (patch) | |
tree | 3d4e610dfb6b2343f641f3b7eefdf5c518beacc7 /skins | |
parent | 9a7258a368ddca14e5d55fff77a76889a1f23871 (diff) |
CSS only solution to focused messages
Diffstat (limited to 'skins')
-rw-r--r-- | skins/larry/mail.css | 5 | ||||
-rw-r--r-- | skins/larry/styles.css | 12 |
2 files changed, 6 insertions, 11 deletions
diff --git a/skins/larry/mail.css b/skins/larry/mail.css index 0c6166485..f3b95b850 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -453,11 +453,6 @@ a.iconbutton.threadmode.selected { /*** message list ***/ -/* this is necessary to make FF3 display borders */ -body:-moz-last-node #messagelist { - border-collapse: separate; -} - table.messagelist { z-index: 1; } diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 172637028..f0d5ddd84 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -1291,18 +1291,18 @@ table.records-table { background-color: #fff; } +/* This padding-left minus the focused padding left should be half of the focused border-left */ .records-table thead tr td:first-child, .records-table tbody tr td:first-child { border-left: 0; + padding-left: 6px; } -.records-table td.focus { - width: 2px; -} -.records-table tr.selected > td.focus { - filter: none; - background: white; +/* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */ +.records-table tbody tr.focused > td:first-child { + border-left: 8px solid #DDDDDD; + padding-left: 2px; } .records-table tr.selected td, .records-table tr.focused > td.focus { |