Merge "Remove background change on hover/active in gr-dropdown"

This commit is contained in:
Andrew Bonventre
2017-01-10 21:51:12 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -36,11 +36,9 @@ limitations under the License.
</style>
<gr-dropdown items=[[links]] top-content=[[topContent]]
horizontal-align="right">
<gr-button link class="dropdown-trigger" id="trigger">
<span hidden$="[[_hasAvatars]]" hidden>[[account.name]]</span>
<gr-avatar account="[[account]]" hidden$="[[!_hasAvatars]]" hidden
image-size="56"></gr-avatar>
</gr-button>
</gr-dropdown>
<gr-rest-api-interface id="restAPI"></gr-rest-api-interface>
</template>

View File

@@ -46,6 +46,11 @@ limitations under the License.
gr-button[link] {
padding: 1em 0;
}
gr-button:focus:not([primary]):not([secondary]),
gr-button:hover:not([primary]):not([secondary]) {
background-color: transparent;
border-color: transparent;
}
ul {
list-style: none;
}