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

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

Issue 2880963004: Adjust error message and alert icon position (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 background: rgba(0, 0, 0, 0.8); 9 background: rgba(0, 0, 0, 0.8);
10 border-radius: 2px; 10 border-radius: 2px;
11 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 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 font-size: 12px; 13 font-size: 12px;
14 margin: 2px;
Alexander Alekseev 2017/05/25 01:25:25 This code is used on desktop version. Could you hi
Alexander Alekseev 2017/05/25 01:28:28 It is probably enough to put margin: unset; to t
Wenzhao (Colin) Zang 2017/05/25 02:27:55 Done.
15 max-width: 250px; 14 max-width: 250px;
16 padding: 8px; 15 padding: 8px;
17 position: absolute; 16 position: absolute;
18 transition: opacity 200ms ease-in-out; 17 transition: opacity 200ms ease-in-out;
19 } 18 }
20 19
21 body.chromeos .bubble { 20 body.chromeos .bubble {
22 padding: 16px; 21 padding: 16px;
23 } 22 }
24 23
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 129
131 body.chromeos .error-message-bubble::before { 130 body.chromeos .error-message-bubble::before {
132 -webkit-mask-image: url(../../ui/webui/resources/images/warning.svg); 131 -webkit-mask-image: url(../../ui/webui/resources/images/warning.svg);
133 -webkit-mask-position: left top; 132 -webkit-mask-position: left top;
134 -webkit-mask-repeat: no-repeat; 133 -webkit-mask-repeat: no-repeat;
135 -webkit-mask-size: 20px; 134 -webkit-mask-size: 20px;
136 background-color: rgb(255,255,255); 135 background-color: rgb(255,255,255);
137 content: ''; 136 content: '';
138 display: block; 137 display: block;
139 height: 20px; 138 height: 20px;
140 left: 8px; 139 left: 16px;
141 position: absolute; 140 position: absolute;
142 top: 8px; 141 top: 8px;
143 width: 20px; 142 width: 20px;
144 } 143 }
145 144
146 body:not(.chromeos) .error-message-bubble { 145 body:not(.chromeos) .error-message-bubble {
147 -webkit-padding-start: 30px; 146 -webkit-padding-start: 30px;
148 background: url(chrome://theme/IDR_WARNING) left top no-repeat; 147 background: url(chrome://theme/IDR_WARNING) left top no-repeat;
149 background-size: 24px; 148 background-size: 24px;
150 } 149 }
(...skipping 12 matching lines...) Expand all
163 text-decoration: none; 162 text-decoration: none;
164 } 163 }
165 164
166 .error-message-bubble-padding { 165 .error-message-bubble-padding {
167 margin-bottom: 10px; 166 margin-bottom: 10px;
168 } 167 }
169 168
170 html[dir=rtl] .error-message-bubble { 169 html[dir=rtl] .error-message-bubble {
171 background-position: right top; 170 background-position: right top;
172 } 171 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698