Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2012 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 html[dir='rtl'] body.uber-frame > .page { | 5 html[dir='rtl'] body.uber-frame > .page { |
| 6 -webkit-margin-end: 0; | 6 -webkit-margin-end: 0; |
| 7 } | 7 } |
| 8 | 8 |
| 9 body.uber-frame > .page.big-topbar-page { | 9 body.uber-frame > .page.big-topbar-page { |
| 10 padding-top: 78px; | 10 padding-top: 78px; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 163 background-color: buttonface; | 163 background-color: buttonface; |
| 164 background-image: -webkit-linear-gradient(rgb(237, 237, 237), | 164 background-image: -webkit-linear-gradient(rgb(237, 237, 237), |
| 165 rgb(237, 237, 237) 38%, | 165 rgb(237, 237, 237) 38%, |
| 166 rgb(222, 222, 222)); | 166 rgb(222, 222, 222)); |
| 167 border: 1px solid rgba(0, 0, 0, 0.25); | 167 border: 1px solid rgba(0, 0, 0, 0.25); |
| 168 border-radius: 0; | 168 border-radius: 0; |
| 169 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), | 169 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), |
| 170 inset 0 1px 2px rgba(255, 255, 255, 0.75); | 170 inset 0 1px 2px rgba(255, 255, 255, 0.75); |
| 171 box-sizing: border-box; | 171 box-sizing: border-box; |
| 172 color: rgb(68, 68, 68); | 172 color: rgb(68, 68, 68); |
| 173 cursor: default; | |
| 174 display: inline-block; | 173 display: inline-block; |
| 175 letter-spacing: normal; | 174 letter-spacing: normal; |
| 176 line-height: 2em; | 175 line-height: 2em; |
| 177 margin-left: -1px; | 176 margin-left: -1px; |
| 178 margin-right: -1px; | 177 margin-right: -1px; |
| 179 min-height: 2em; | 178 min-height: 2em; |
| 180 min-width: 4em; | 179 min-width: 4em; |
| 181 text-align: center; | 180 text-align: center; |
| 182 text-indent: 0; | 181 text-indent: 0; |
| 183 text-shadow: 0 1px 0 rgb(240, 240, 240); | 182 text-shadow: 0 1px 0 rgb(240, 240, 240); |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 240 width: 45px; | 239 width: 45px; |
| 241 } | 240 } |
| 242 | 241 |
| 243 .no-checkboxes .gap { | 242 .no-checkboxes .gap { |
| 244 width: 25px; | 243 width: 25px; |
| 245 } | 244 } |
| 246 | 245 |
| 247 .entry-box, | 246 .entry-box, |
| 248 .site-domain-row { | 247 .site-domain-row { |
| 249 align-items: center; | 248 align-items: center; |
| 250 cursor: default; | |
| 251 display: flex; | 249 display: flex; |
| 252 /* An odd line-height ensures a consistent baseline on all platforms. */ | |
| 253 line-height: 1.75em; | |
| 254 margin-bottom: 6px; | 250 margin-bottom: 6px; |
| 255 /* The box should be no bigger than its parent. */ | 251 /* The box should be no bigger than its parent. */ |
| 256 max-width: 100%; | 252 max-width: 100%; |
| 257 min-height: 2em; | 253 min-height: 2em; |
| 258 overflow: hidden; | 254 overflow: hidden; |
| 259 padding-bottom: 1px; | 255 padding-bottom: 1px; |
| 260 } | 256 } |
| 261 | 257 |
| 258 .entry-box { | |
| 259 /* An odd line-height ensures a consistent baseline on all platforms. */ | |
|
Evan Stade
2014/09/23 20:41:29
this comment doesn't make sense because 1.75 is no
Dan Beam
2014/09/23 20:55:22
Done.
| |
| 260 line-height: 1.75em; | |
| 261 } | |
| 262 | |
| 262 .site-domain-wrapper { | 263 .site-domain-wrapper { |
| 263 cursor: pointer; | 264 cursor: pointer; |
| 264 display: flex; | 265 display: flex; |
| 265 width: 100%; | 266 width: 100%; |
| 266 } | 267 } |
| 267 | 268 |
| 268 .search-results, | 269 .search-results, |
| 269 .day-results { | 270 .day-results { |
| 270 margin: 0 0 24px 0; | 271 margin: 0 0 24px 0; |
| 271 padding: 0; | 272 padding: 0; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 454 background-position-y: center; | 455 background-position-y: center; |
| 455 background-repeat: no-repeat; | 456 background-repeat: no-repeat; |
| 456 background-size: 16px; | 457 background-size: 16px; |
| 457 } | 458 } |
| 458 | 459 |
| 459 html[dir='rtl'] .entry .visit-entry, | 460 html[dir='rtl'] .entry .visit-entry, |
| 460 html[dir='rtl'] .site-domain { | 461 html[dir='rtl'] .site-domain { |
| 461 background-position-x: right; | 462 background-position-x: right; |
| 462 } | 463 } |
| 463 | 464 |
| 464 .site-domain button { | |
| 465 color: rgb(48, 57, 66); | |
| 466 } | |
| 467 | |
| 468 .site-domain button:hover { | 465 .site-domain button:hover { |
| 469 text-decoration: none; | 466 text-decoration: none; |
| 470 } | 467 } |
| 471 | 468 |
| 472 .site-domain-arrow { | 469 .site-domain-arrow { |
| 473 -webkit-transform: rotate(0); | 470 -webkit-transform: rotate(0); |
| 474 -webkit-transition: -webkit-transform 300ms linear; | 471 -webkit-transition: -webkit-transform 300ms linear; |
| 475 background: url(../disclosure_triangle_small.png) no-repeat; | 472 background: url(../disclosure_triangle_small.png) no-repeat; |
| 476 background-position: 5px 5px; | 473 background-position: 5px 5px; |
| 477 color: rgb(143, 143, 143); | 474 color: rgb(143, 143, 143); |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 499 display: inline-block; | 496 display: inline-block; |
| 500 height: 15px; | 497 height: 15px; |
| 501 min-width: 15px; | 498 min-width: 15px; |
| 502 visibility: hidden; | 499 visibility: hidden; |
| 503 } | 500 } |
| 504 | 501 |
| 505 .entry .starred { | 502 .entry .starred { |
| 506 visibility: visible; | 503 visibility: visible; |
| 507 } | 504 } |
| 508 | 505 |
| 509 .entry .title > a { | 506 .entry .title > a, |
| 507 .site-domain .link-button { | |
| 510 color: rgb(48, 57, 66); | 508 color: rgb(48, 57, 66); |
| 511 margin: 2px; | 509 margin: 2px; |
| 512 padding: 2px; | 510 padding: 2px; |
| 513 /* Focus outlines are rendered differently for each platform. */ | 511 /* Focus outlines are rendered differently for each platform. */ |
| 514 <if expr="is_macosx"> | 512 <if expr="is_macosx"> |
| 515 margin: 4px; | 513 margin: 4px; |
| 516 padding: 0; | 514 padding: 0; |
| 517 </if> | 515 </if> |
| 518 <if expr="is_win"> | 516 <if expr="is_win"> |
| 519 padding: 0 2px; | 517 padding: 0 2px; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 622 background-image: url(../../../../ui/webui/resources/images/phone_small.png); | 620 background-image: url(../../../../ui/webui/resources/images/phone_small.png); |
| 623 background-position: 14px center; | 621 background-position: 14px center; |
| 624 padding-left: 43px; | 622 padding-left: 43px; |
| 625 } | 623 } |
| 626 | 624 |
| 627 #action-menu[data-devicetype='tablet']::before { | 625 #action-menu[data-devicetype='tablet']::before { |
| 628 background-image: url(../../../../ui/webui/resources/images/tablet_small.png); | 626 background-image: url(../../../../ui/webui/resources/images/tablet_small.png); |
| 629 background-position: 17px center; | 627 background-position: 17px center; |
| 630 padding-left: 49px; | 628 padding-left: 49px; |
| 631 } | 629 } |
| OLD | NEW |