OLD | NEW |
1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 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 * Css based bubble. | 5 * Css based bubble. |
6 */ | 6 */ |
7 | 7 |
8 .bubble { | 8 .bubble { |
9 -webkit-transition: opacity 200ms ease-in-out; | |
10 background: rgba(0, 0, 0, 0.8); | 9 background: rgba(0, 0, 0, 0.8); |
11 border-radius: 2px; | 10 border-radius: 2px; |
| 11 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
12 color: rgba(255, 255, 255, 0.87); | 12 color: rgba(255, 255, 255, 0.87); |
13 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
14 font-size: 12px; | 13 font-size: 12px; |
15 margin: 2px; | 14 margin: 2px; |
16 max-width: 250px; | 15 max-width: 250px; |
17 padding: 8px; | 16 padding: 8px; |
18 position: absolute; | 17 position: absolute; |
| 18 transition: opacity 200ms ease-in-out; |
19 } | 19 } |
20 | 20 |
21 /* --- oldstyle begin --- */ | 21 /* --- oldstyle begin --- */ |
22 | 22 |
23 .bubble[oldstyle] { | 23 .bubble[oldstyle] { |
24 background: white; | 24 background: white; |
25 border: 1px solid rgba(0, 0, 0, 0.25); | 25 border: 1px solid rgba(0, 0, 0, 0.25); |
26 color: unset; | 26 color: unset; |
27 } | 27 } |
28 | 28 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 text-decoration: none; | 153 text-decoration: none; |
154 } | 154 } |
155 | 155 |
156 .error-message-bubble-padding { | 156 .error-message-bubble-padding { |
157 margin-bottom: 10px; | 157 margin-bottom: 10px; |
158 } | 158 } |
159 | 159 |
160 html[dir=rtl] .error-message-bubble { | 160 html[dir=rtl] .error-message-bubble { |
161 background-position: right top; | 161 background-position: right top; |
162 } | 162 } |
OLD | NEW |