Bug 527943 - Row highlights when user clicks on input field within that row [r=mark.finkle]
--- a/mobile/themes/hildon/browser.css
+++ b/mobile/themes/hildon/browser.css
@@ -565,17 +565,17 @@ placeitem {
color: black;
background-color: white;
padding: 2px 4px;
border-bottom: 1px solid rgb(207,207,207);
min-height: 70px; /* row size */
}
autocompleteresult:active,
-placelist placeitem:active,
+placelist placeitem:active:not([selected="true"]),
.autocompleteresult-selected {
background-color: #8db8d8;
}
.autocomplete-item-label,
.bookmark-item-label {
margin: 0;
padding: 0;
--- a/mobile/themes/hildon/platform.css
+++ b/mobile/themes/hildon/platform.css
@@ -431,17 +431,17 @@ richlistitem description.normal-bold {
white-space: pre-wrap;
}
richlistitem[selected="true"] {
color: black;
background-color: white;
}
-richlistitem:active {
+richlistitem:active:not([selected="true"]) {
background-color: #8db8d8;
}
richlistitem.section-header,
richlistitem[selected="true"].section-header {
font-weight: bold;
color: #000;
background-color: lightgray;
--- a/mobile/themes/wince/browser.css
+++ b/mobile/themes/wince/browser.css
@@ -323,17 +323,17 @@ placeitem {
color: black;
background-color: white;
padding: 1.25mm 0.5mm;
border-bottom: 0.05mm solid rgb(207,207,207);
min-height: 9.2mm; /* row size */
}
autocompleteresult:active,
-placelist placeitem:active,
+placelist placeitem:active:not([selected="true"]),
.autocompleteresult-selected {
background-color: #8db8d8;
}
.autocomplete-item-label,
.bookmark-item-label {
margin: 0;
padding: 0;
--- a/mobile/themes/wince/platform.css
+++ b/mobile/themes/wince/platform.css
@@ -628,17 +628,17 @@ richlistitem description.normal-bold {
white-space: pre-wrap;
}
richlistitem[selected="true"] {
color: black;
background-color: white;
}
-richlistitem:active {
+richlistitem:active:not([selected="true"]) {
background-color: #8db8d8;
}
richlistitem.section-header,
richlistitem[selected="true"].section-header {
font-weight: bold;
color: #000;
background-color: lightgray;