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

Side by Side Diff: ui/login/bubble.css

Issue 2467783002: ChromeOS: update alignment of user POD error bubble. (Closed)
Patch Set: Implemented side positioning. Removed debug. Created 4 years, 1 month 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
OLDNEW
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; 9 -webkit-transition: opacity 200ms ease-in-out;
10 background: rgba(0, 0, 0, 0.8); 10 background: rgba(0, 0, 0, 0.8);
11 border-radius: 2px; 11 border-radius: 2px;
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); 13 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
14 font-size: 12px; 14 font-size: 12px;
15 margin: 2px; 15 margin: 2px;
16 max-width: 250px; 16 max-width: 250px;
17 padding: 16px; 17 padding: 16px;
18 position: absolute; 18 position: absolute;
19 } 19 }
20 20
21 .error-message-bubble { 21 .error-message-bubble {
22 -webkit-padding-start: 30px; 22 -webkit-padding-start: 30px;
23 background: url(chrome://theme/IDR_WARNING) left top no-repeat; 23 background: url(chrome://theme/IDR_WARNING) left top no-repeat;
24 background-size: 24px; 24 background-size: 24px;
25 } 25 }
26 26
27 .bubble[match-width] .error-message-bubble {
28 -webkit-padding-start: unset;
29 padding-top: 20px;
30 }
31
27 .error-message-bubble-padding { 32 .error-message-bubble-padding {
28 margin-bottom: 10px; 33 margin-bottom: 10px;
29 } 34 }
30 35
31 html[dir=rtl] .error-message-bubble { 36 html[dir=rtl] .error-message-bubble {
32 background-position: right top; 37 background-position: right top;
33 } 38 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698