Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* Copyright 2015 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. | |
|
Dan Beam
2016/01/06 22:57:57
* found in the LICENSE file. */
anthonyvd
2016/01/08 22:39:41
Done.
| |
| 4 */ | |
| 5 | |
| 6 html { | |
| 7 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
| |
| 8 } | |
| 9 | |
| 10 body { | |
| 11 margin: 0; | |
| 12 padding: 0; | |
| 13 } | |
| 14 | |
| 15 a { | |
| 16 color: rgb(85, 149, 254); | |
| 17 text-decoration: none; | |
| 18 } | |
| 19 | |
| 20 .picture img { | |
| 21 border-radius: 50%; | |
| 22 max-height: 100%; | |
| 23 max-width: 100%; | |
| 24 } | |
| 25 | |
| 26 .container { | |
| 27 background-color: white; | |
| 28 height: 360px; | |
| 29 overflow: hidden; | |
| 30 width: 450px; | |
| 31 } | |
| 32 | |
| 33 .top-title-bar { | |
| 34 align-items: center; | |
| 35 border-bottom: 1px solid lightgray; | |
| 36 color: #333; | |
| 37 display: flex; | |
| 38 font-size: 17px; | |
| 39 height: 60px; | |
| 40 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
| |
| 41 } | |
| 42 | |
| 43 .details { | |
| 44 display: flex; | |
| 45 flex-direction: column; | |
| 46 height: 276px; | |
| 47 justify-content: space-between; | |
| 48 padding-bottom: 12px; | |
| 49 padding-top: 12px; | |
| 50 } | |
| 51 | |
| 52 .sync-message { | |
| 53 color: #595959; | |
| 54 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
| |
| 55 padding-left: 22px; | |
| 56 padding-right: 22px; | |
| 57 } | |
| 58 | |
| 59 .picture-container { | |
| 60 align-items: center; | |
| 61 display: flex; | |
| 62 justify-content: center; | |
| 63 padding-bottom: 22px; | |
| 64 padding-top: 22px; | |
| 65 } | |
| 66 | |
| 67 .picture { | |
| 68 height: 96px; | |
| 69 position: relative; | |
| 70 width: 96px; | |
| 71 } | |
| 72 | |
| 73 #profile-picture, | |
| 74 .checkmark-bubble { | |
| 75 position: absolute; | |
| 76 } | |
| 77 | |
| 78 .checkmark-bubble { | |
| 79 background-color: white; | |
| 80 background-image: url(//resources/images/check_circle.svg); | |
| 81 background-size: 100%; | |
| 82 border: 1px solid white; | |
| 83 border-radius: 50%; | |
| 84 display: inline-block; | |
| 85 height: 30px; | |
| 86 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
| |
| 87 top: 66px; | |
| 88 width: 30px; | |
| 89 } | |
| 90 | |
| 91 .action-container { | |
| 92 align-items: baseline; | |
| 93 display: flex; | |
| 94 justify-content: flex-end; | |
| 95 padding-left: 22px; | |
| 96 padding-right: 22px; | |
| 97 } | |
| 98 | |
| 99 .action-button-wrapper { | |
| 100 display: inline-block; | |
| 101 } | |
| 102 | |
| 103 .action-button { | |
| 104 background-color: rgb(66, 133, 244); | |
| 105 border-color: white; | |
| 106 border-radius: 2px; | |
| 107 border-style: none; | |
| 108 border-width: 0; | |
|
Dan Beam
2016/01/06 22:57:57
use `border` shorthand
anthonyvd
2016/01/08 22:39:41
Acknowledged.
| |
| 109 color: white; | |
| 110 cursor: pointer; | |
| 111 display: inline-block; | |
| 112 margin-bottom: 16px; | |
| 113 margin-top: 16px; | |
| 114 min-width: 88px; | |
| 115 } | |
| 116 | |
| 117 .action-button-label { | |
| 118 -webkit-user-select: none; | |
| 119 display: block; | |
| 120 font-size: 13.5px; | |
| 121 line-height: 24px; | |
| 122 padding-bottom: 6px; | |
| 123 padding-left: 16px; | |
| 124 padding-right: 16px; | |
| 125 padding-top: 6px; | |
|
Dan Beam
2016/01/06 22:57:57
use shorthand `padding` rule
anthonyvd
2016/01/08 22:39:41
Acknowledged.
| |
| 126 position: static; | |
| 127 text-align: center; | |
| 128 text-decoration: none; | |
| 129 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
| |
| 130 } | |
| 131 | |
| 132 .link-wrapper { | |
| 133 display: inline-block; | |
| 134 } | |
| 135 | |
| 136 .link { | |
| 137 -webkit-user-select: none; | |
| 138 color: #5A5A5A; | |
| 139 cursor: pointer; | |
| 140 font-size: 13.5px; | |
| 141 line-height: 24px; | |
| 142 padding-bottom: 6px; | |
| 143 padding-left: 16px; | |
| 144 padding-right: 16px; | |
| 145 padding-top: 6px; | |
| 146 text-transform: uppercase; | |
| 147 } | |
| OLD | NEW |