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
3 * found in the LICENSE file. */
6 -webkit-border-image: url
(chrome://theme
/IDR_APP_NOTIFICATION_SMALL_BUBBLE
)
8 -webkit-box-sizing: border-box
;
9 -webkit-user-select: none
;
10 border-width: 5px 5px 7px 6px;
13 display: inline-block
;
19 .expandable-bubble::after {
21 content: url
(chrome://theme
/IDR_APP_NOTIFICATION_NUB
);
25 right: 5px; /* TODO(finnur): Need to handle RTL properly. */
29 .expandable-bubble > .expandable-bubble-contents > .expandable-bubble-title {
30 display: inline-block
;
37 .expandable-bubble
[masked
] > .expandable-bubble-contents
>
38 .expandable-bubble-title::after {
39 content: url
(chrome://theme
/IDR_APP_NOTIFICATION_NUB_MASK
);
49 .expandable-bubble
[expanded
] > .expandable-bubble-contents
>
50 .expandable-bubble-title {
56 .expandable-bubble-close {
65 .expandable-bubble[expanded] {
67 z-index: 3; /* One higher then the close button on an unexpanded bubble. */
70 .expandable-bubble[expanded] > .expandable-bubble-close {
74 .expandable-bubble-close {
75 background-image: -webkit-image-set
(
76 url
(../../../resources/default_100_percent/close_2.png) 1x,
77 url
(../../../resources/default_200_percent/close_2.png) 2x);
80 .expandable-bubble-close:hover {
81 background-image: -webkit-image-set
(
82 url
(../../../resources/default_100_percent/close_2_hover.png) 1x,
83 url
(../../../resources/default_200_percent/close_2_hover.png) 2x);
86 .expandable-bubble-close:active {
87 background-image: -webkit-image-set
(
88 url
(../../../resources/default_100_percent/close_2_pressed.png) 1x,
89 url
(../../../resources/default_200_percent/close_2_pressed.png) 2x);