Chromium Code Reviews| Index: chrome/browser/resources/sync_confirmation/sync_confirmation.css |
| diff --git a/chrome/browser/resources/sync_confirmation/sync_confirmation.css b/chrome/browser/resources/sync_confirmation/sync_confirmation.css |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3f594ae92ac18f9f5682b2de586942b91ff6e31a |
| --- /dev/null |
| +++ b/chrome/browser/resources/sync_confirmation/sync_confirmation.css |
| @@ -0,0 +1,147 @@ |
| +/* Copyright 2015 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
|
Dan Beam
2016/01/06 22:57:57
* found in the LICENSE file. */
anthonyvd
2016/01/08 22:39:41
Done.
|
| + */ |
| + |
| +html { |
| + font-family: 'Roboto Regular', 'Helvetica Neue', 'Lucida Grande', sans-serif; |
|
Dan Beam
2016/01/06 22:57:57
use text_defaults.css instead
anthonyvd
2016/01/08 22:39:41
Acknowledged. Our mocks specify this exact font li
Dan Beam
2016/01/21 03:57:33
text_defaults_md.css**
anthonyvd
2016/01/21 22:36:10
Ah! That file was only added 6 days ago but it see
|
| +} |
| + |
| +body { |
| + margin: 0; |
| + padding: 0; |
| +} |
| + |
| +a { |
| + color: rgb(85, 149, 254); |
| + text-decoration: none; |
| +} |
| + |
| +.picture img { |
| + border-radius: 50%; |
| + max-height: 100%; |
| + max-width: 100%; |
| +} |
| + |
| +.container { |
| + background-color: white; |
| + height: 360px; |
| + overflow: hidden; |
| + width: 450px; |
| +} |
| + |
| +.top-title-bar { |
| + align-items: center; |
| + border-bottom: 1px solid lightgray; |
| + color: #333; |
| + display: flex; |
| + font-size: 17px; |
| + height: 60px; |
| + padding-left: 22px; |
|
Dan Beam
2016/01/06 22:57:57
RTL
anthonyvd
2016/01/08 22:39:41
Not super familiar with this. Is ensuring the same
Dan Beam
2016/01/21 03:57:33
Chrome supports right-to-left UI languages like He
anthonyvd
2016/01/21 22:36:10
Thanks for the amazing info. I've switched to -web
|
| +} |
| + |
| +.details { |
| + display: flex; |
| + flex-direction: column; |
| + height: 276px; |
| + justify-content: space-between; |
| + padding-bottom: 12px; |
| + padding-top: 12px; |
| +} |
| + |
| +.sync-message { |
| + color: #595959; |
| + font-size: 13.5px; |
|
Dan Beam
2016/01/06 22:57:57
use % for font-size so zoom works
anthonyvd
2016/01/08 22:39:41
This all happens in a fixed-size tab-modal window,
Dan Beam
2016/01/21 03:57:33
oh, sorry: this might actually be a function of sc
anthonyvd
2016/01/21 22:36:10
I see, that's indeed the case. However the problem
|
| + padding-left: 22px; |
| + padding-right: 22px; |
| +} |
| + |
| +.picture-container { |
| + align-items: center; |
| + display: flex; |
| + justify-content: center; |
| + padding-bottom: 22px; |
| + padding-top: 22px; |
| +} |
| + |
| +.picture { |
| + height: 96px; |
| + position: relative; |
| + width: 96px; |
| +} |
| + |
| +#profile-picture, |
| +.checkmark-bubble { |
| + position: absolute; |
| +} |
| + |
| +.checkmark-bubble { |
| + background-color: white; |
| + background-image: url(//resources/images/check_circle.svg); |
| + background-size: 100%; |
| + border: 1px solid white; |
| + border-radius: 50%; |
| + display: inline-block; |
| + height: 30px; |
| + left: 64px; |
|
Dan Beam
2016/01/06 22:57:57
RTL
anthonyvd
2016/01/08 22:39:41
Again, not super familiar with this. This is a che
Dan Beam
2016/01/21 03:57:33
do you have screenshots?
anthonyvd
2016/01/21 22:36:10
Sure, here's what this looks like in RTL. The whit
Dan Beam
2016/01/22 01:26:57
did you mean to paste a link here?
anthonyvd
2016/01/22 17:19:56
Well, this is embarassing!
Here it is: https://dr
|
| + top: 66px; |
| + width: 30px; |
| +} |
| + |
| +.action-container { |
| + align-items: baseline; |
| + display: flex; |
| + justify-content: flex-end; |
| + padding-left: 22px; |
| + padding-right: 22px; |
| +} |
| + |
| +.action-button-wrapper { |
| + display: inline-block; |
| +} |
| + |
| +.action-button { |
| + background-color: rgb(66, 133, 244); |
| + border-color: white; |
| + border-radius: 2px; |
| + border-style: none; |
| + border-width: 0; |
|
Dan Beam
2016/01/06 22:57:57
use `border` shorthand
anthonyvd
2016/01/08 22:39:41
Acknowledged.
|
| + color: white; |
| + cursor: pointer; |
| + display: inline-block; |
| + margin-bottom: 16px; |
| + margin-top: 16px; |
| + min-width: 88px; |
| +} |
| + |
| +.action-button-label { |
| + -webkit-user-select: none; |
| + display: block; |
| + font-size: 13.5px; |
| + line-height: 24px; |
| + padding-bottom: 6px; |
| + padding-left: 16px; |
| + padding-right: 16px; |
| + padding-top: 6px; |
|
Dan Beam
2016/01/06 22:57:57
use shorthand `padding` rule
anthonyvd
2016/01/08 22:39:41
Acknowledged.
|
| + position: static; |
| + text-align: center; |
| + text-decoration: none; |
| + text-transform: uppercase; |
|
Dan Beam
2016/01/06 22:57:57
is this mimicking material design style? because
anthonyvd
2016/01/08 22:39:41
Thanks for the heads up, I wasn't aware we had acc
|
| +} |
| + |
| +.link-wrapper { |
| + display: inline-block; |
| +} |
| + |
| +.link { |
| + -webkit-user-select: none; |
| + color: #5A5A5A; |
| + cursor: pointer; |
| + font-size: 13.5px; |
| + line-height: 24px; |
| + padding-bottom: 6px; |
| + padding-left: 16px; |
| + padding-right: 16px; |
| + padding-top: 6px; |
| + text-transform: uppercase; |
| +} |