diff --git a/shiny/Contacts-v2/components/contacts-app.html b/shiny/Contacts-v2/components/contacts-app.html index b657741..c97f47f 100644 --- a/shiny/Contacts-v2/components/contacts-app.html +++ b/shiny/Contacts-v2/components/contacts-app.html @@ -77,6 +77,7 @@ margin: 24px; } .contactItem { + position: relative; font-size: 14px; font-family: 'Helvetica Neue', HelveticaNeue, Helvetica, sans-serif; } @@ -108,9 +109,6 @@ .contactItem .firstName { font-weight: bold; } - [desktopLayout] .contactItem.polymer-selected { - background: #f7f7f7; - } .contactItemControls { position: absolute; top: 0; @@ -128,14 +126,30 @@ background: #f5565a; opacity: 0; } + .contactItemInk { + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: #f2f2f2; + visibility: hidden; + } + .contactItem[selected] .contactItemInk { + visibility: visible; + } .contactItemBody { - background-color: white; + position: relative; + background: white; border-style: solid; border-color: rgba(0, 0, 0, 0.15); border-width: 0 1px 1px; box-sizing: border-box; padding: 16px; } + .contactItemBody > :not(.contactItemInk) { + z-index: 1; + } [desktopLayout] #details { min-width: 50%; height: 100%; @@ -226,12 +240,13 @@