OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 .expandable-bubble { | 5 .expandable-bubble { |
6 -webkit-border-image: url(chrome://theme/IDR_APP_NOTIFICATION_SMALL_BUBBLE) | 6 -webkit-border-image: url(chrome://theme/IDR_APP_NOTIFICATION_SMALL_BUBBLE) |
7 5 5 7 6 stretch; | 7 5 5 7 6 stretch; |
8 -webkit-box-sizing: border-box; | 8 -webkit-box-sizing: border-box; |
9 -webkit-user-select: none; | |
10 border-width: 5px 5px 7px 6px; | 9 border-width: 5px 5px 7px 6px; |
11 color: #444; | 10 color: #444; |
12 cursor: pointer; | 11 cursor: pointer; |
13 display: inline-block; | 12 display: inline-block; |
14 font-size: 12px; | 13 font-size: 12px; |
15 position: absolute; | 14 position: absolute; |
| 15 user-select: none; |
16 z-index: 1; | 16 z-index: 1; |
17 } | 17 } |
18 | 18 |
19 .expandable-bubble::after { | 19 .expandable-bubble::after { |
20 bottom: -1px; | 20 bottom: -1px; |
21 content: url(chrome://theme/IDR_APP_NOTIFICATION_NUB); | 21 content: url(chrome://theme/IDR_APP_NOTIFICATION_NUB); |
22 display: block; | 22 display: block; |
23 height: 7px; | 23 height: 7px; |
24 position: absolute; | 24 position: absolute; |
25 right: 5px; /* TODO(finnur): Need to handle RTL properly. */ | 25 right: 5px; /* TODO(finnur): Need to handle RTL properly. */ |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 background-image: -webkit-image-set( | 81 background-image: -webkit-image-set( |
82 url(../../../resources/default_100_percent/close_2_hover.png) 1x, | 82 url(../../../resources/default_100_percent/close_2_hover.png) 1x, |
83 url(../../../resources/default_200_percent/close_2_hover.png) 2x); | 83 url(../../../resources/default_200_percent/close_2_hover.png) 2x); |
84 } | 84 } |
85 | 85 |
86 .expandable-bubble-close:active { | 86 .expandable-bubble-close:active { |
87 background-image: -webkit-image-set( | 87 background-image: -webkit-image-set( |
88 url(../../../resources/default_100_percent/close_2_pressed.png) 1x, | 88 url(../../../resources/default_100_percent/close_2_pressed.png) 1x, |
89 url(../../../resources/default_200_percent/close_2_pressed.png) 2x); | 89 url(../../../resources/default_200_percent/close_2_pressed.png) 2x); |
90 } | 90 } |
OLD | NEW |