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

Side by Side Diff: chrome/browser/resources/chromeos/login/bubble.css

Issue 9310050: [cros] Error bubble on login is displayed to the left of Gaia frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License fixes. Created 8 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/bubble.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 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 * Css based bubble. 5 * Css based bubble.
6 */ 6 */
7 7
8 .bubble { 8 .bubble {
9 -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); 9 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
10 background: white; 10 background: white;
11 border: 1px solid rgba(0, 0, 0, 0.25); 11 border: 1px solid rgba(0, 0, 0, 0.25);
12 border-radius: 10px; 12 font: normal 12px 'Open Sans';
13 margin: 10px 2px 2px 2px; 13 margin: 2px;
14 padding: 10px; 14 padding: 16px;
15 position: absolute; 15 position: absolute;
16 max-width: 250px; 16 max-width: 250px;
17 } 17 }
18 18
19 .bubble:before { 19 .bubble:before {
20 content: ""; 20 content: "";
21 border-color: transparent transparent rgba(0, 0, 0, 0.25) transparent;
22 border-style: solid; 21 border-style: solid;
23 border-width: 8px; 22 border-width: 8px;
24 display: block; 23 display: block;
25 left: 10px;
26 position: absolute; 24 position: absolute;
25 }
26
27 .bubble-top:before {
28 border-color: rgba(0, 0, 0, 0.25) transparent transparent transparent;
29 bottom: -16px;
30 }
31
32 html[dir=ltf] .bubble-top:before {
Dan Beam 2012/12/05 07:23:48 Hello Ivan, I noticed this says [dir=ltf] here and
Ivan Korotkov 2012/12/05 08:06:39 Ouch. Thanks for noticing! I'll fix that.
33 left: 17px;
34 }
35
36 html[dir=rtl] .bubble-top:before {
37 right: 17px;
38 }
39
40 html[dir=ltr] .bubble-right:before,
41 html[dir=rtl] .bubble-left:before {
42 border-color: transparent rgba(0, 0, 0, 0.25) transparent transparent;
43 left: -16px;
44 top: 17px;
45 }
46
47 .bubble-bottom:before {
48 border-color: transparent transparent rgba(0, 0, 0, 0.25) transparent;
27 top: -16px; 49 top: -16px;
28 } 50 }
29 51
52 html[dir=ltr] .bubble-bottom:before {
53 left: 17px;
54 }
55
56 html[dir=rtl] .bubble-bottom:before {
57 right: 17px;
58 }
59
60 html[dir=ltr] .bubble-left:before,
61 html[dir=rtl] .bubble-right:before {
62 border-color: transparent transparent transparent rgba(0, 0, 0, 0.25);
63 right: -16px;
64 top: 17px;
65 }
66
30 .bubble:after { 67 .bubble:after {
31 content: ""; 68 content: "";
32 border-color: transparent transparent white transparent;
33 border-style: solid; 69 border-style: solid;
34 border-width: 8px; 70 border-width: 8px;
35 display: block; 71 display: block;
36 left: 10px;
37 position: absolute; 72 position: absolute;
73 }
74
75 .bubble-top:after {
76 border-color: white transparent transparent transparent;
77 bottom: -15px;
78 }
79
80 html[dir=ltr] .bubble-top:after {
81 left: 17px;
82 }
83
84 html[dir=rtl] .bubble-top:after {
85 right: 17px;
86 }
87
88 html[dir=ltr] .bubble-right:after,
89 html[dir=rtl] .bubble-left:after {
90 border-color: transparent white transparent transparent;
91 left: -15px;
92 top: 17px;
93 }
94
95 .bubble-bottom:after {
96 border-color: transparent transparent white transparent;
38 top: -15px; 97 top: -15px;
39 } 98 }
99
100 html[dir=ltr] .bubble-bottom:after {
101 left: 17px;
102 }
103
104 html[dir=rtl] .bubble-bottom:after {
105 right: 17px;
106 }
107
108 html[dir=ltr] .bubble-left:after,
109 html[dir=rtl] .bubble-right:after {
110 border-color: transparent transparent transparent white;
111 right: -15px;
112 top: 17px;
113 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/bubble.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698