Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit d7d8524

Browse files
author
Yvonne Yip
committed
contacts-v2: highlight focused item in contact create
1 parent dd78066 commit d7d8524

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

shiny/Contacts-v2/components/contacts-create-item.html

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
font-family: 'Helvetica Neue Medium', HelveticaNeue-Medium, Helvetica, sans-serif;
2121
box-sizing: border-box;
2222
height: 60px;
23+
background: transparent;
2324
}
2425
input:focus {
2526
outline: none;

shiny/Contacts-v2/components/contacts-create.html

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
border: 1px solid #ccc;
2727
border-radius: 3px;
2828
}
29+
contacts-create-item[active], contacts-create-phone-item[active] {
30+
background: #f2f2f2 -webkit-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15));
31+
background: #f2f2f2 -moz-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15));
32+
background: #f2f2f2 -ms-linear-gradient(top, rgba(197,197,197,0), rgba(197,197,197,0.15));
33+
}
2934
</style>
3035
<polymer-ui-toolbar>
3136
<button on-tap="cancelAction">Cancel</button>

0 commit comments

Comments
 (0)