cmcnulty
2013-11-11 c07b7b7143ea8bd42c545b25423fc012d0591539
apply focused styles to address book and classic skin
3 files modified
40 ■■■■■ changed files
skins/classic/addressbook.css 13 ●●●●● patch | view | raw | blame | history
skins/classic/mail.css 14 ●●●●● patch | view | raw | blame | history
skins/larry/addressbook.css 13 ●●●●● patch | view | raw | blame | history
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;
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;
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;
}