Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: chrome/browser/resources/shared/css/bubble.css

Issue 7461160: ntp4 info bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: arv review Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /* Copyright (c) 2011 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.
4 */
5
6 .bubble {
7 /* These margins correlate to the difference between the tip of the arrow
8 * and the bottom left of the bubble. */
9 margin-left: -30px;
10 margin-top: -8px;
11 position: absolute;
12 /* Height is dynamic, width fixed. */
13 width: 200px;
14 z-index: 9999;
15 }
16
17 .bubble-contents {
18 left: 1px;
19 padding: 10px;
20 position: relative;
21 text-align: left;
22 top: 1px;
23 width: 198px;
24 z-index: 3;
25 }
26
27 .bubble-shadow {
28 bottom: -2px;
29 left: 0;
30 position: absolute;
31 right: 0;
32 top: 0;
33 z-index: 1;
34 }
35
36 .bubble-arrow {
37 /* The tip of the arrow. */
38 border-bottom-right-radius: 1px;
39 /* No border on the right or top (inner sides of the rotated square) because
40 * it would overlap/darken the content shadow. */
41 border-right: none;
42 border-top: none;
43 height: 15px;
44 left: 22px;
45 position: absolute;
46 bottom: -9px;
47 width: 15px;
48 z-index: 2;
49 -webkit-transform: rotate(45deg);
50 }
51
52 .bubble-contents,
53 .bubble-arrow {
54 background: white;
55 }
56
57 .bubble-shadow,
58 .bubble-arrow {
59 border: 1px solid rgba(0, 0, 0, 0.3);
60 -webkit-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.3);
61 }
62
63 .bubble-shadow,
64 .bubble-contents {
65 border-radius: 6px;
66 box-sizing: border-box;
67 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/resources/shared/js/cr/ui/bubble.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698