| /* |
| * Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| |
| .close-button { |
| width: 14px; |
| height: 14px; |
| cursor: default; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| |
| .hover-icon, .active-icon { |
| display: none; |
| } |
| |
| .close-button:hover .default-icon, .close-button:active .default-icon { |
| display: none; |
| } |
| |
| .close-button:hover .hover-icon { |
| display: block; |
| } |
| |
| .close-button[data-keyboard-focus="true"]:focus .default-icon, .close-button:active .default-icon { |
| display: none; |
| } |
| |
| .close-button[data-keyboard-focus="true"]:focus .hover-icon { |
| display: block; |
| } |
| |
| .close-button:active .hover-icon { |
| display: none !important; |
| } |
| |
| .close-button:active .active-icon { |
| display: block; |
| } |