Tweak borders and paddings of focused/selected list rows. Don't show focus indicator when selected
| | |
| | | |
| | | /* 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; |
| | | border-left: 4px solid #ddd; |
| | | padding-left: 4px; |
| | | } |
| | | |
| | | #contacts-table tbody tr.selected.focused > td:first-child { |
| | | border-left: 0; |
| | | padding-left: 8px; |
| | | } |
| | | |
| | | #contacts-table .contact.readonly td |
| | | { |
| | | font-style: italic; |
| | |
| | | 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; |
| | | border-left: 6px solid #ddd; |
| | | padding-left: 3px; |
| | | } |
| | | |
| | | /* 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, |
| | | .messagelist tbody tr.selected.focused > td:first-child { |
| | | border-left: 0; |
| | | padding-left: 6px; |
| | | } |
| | | |
| | | .messagelist tr.selected td |
| | |
| | | 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; |
| | | border-left: 2px solid #b0ccd7; |
| | | padding-left: 34px; |
| | | background-position-x: 4px !important; /* important to override selected class */ |
| | | background-position-x: 4px; |
| | | } |
| | | |
| | | /* 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, |
| | | #contacts-table tbody tr.selected.focused > td:first-child { |
| | | border-left: 0; |
| | | padding-left: 36px; |
| | | } |
| | | |
| | | #contacts-table .group td.name { |
| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | | /* 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; |
| | | border-left: 4px solid #b0ccd7; |
| | | padding-left: 2px; |
| | | } |
| | | |
| | | /* 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, |
| | | .records-table tbody tr.selected.focused > td:first-child { |
| | | border-left: 0; |
| | | padding-left: 6px; |
| | | } |
| | | |
| | | .records-table tr.selected td { |
| | | color: #fff !important; |
| | | background: #019bc6; |