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 { | 5 html { |
| 6 height: 100%; | 6 height: 100%; |
| 7 overflow: hidden; | 7 overflow: hidden; |
| 8 } | 8 } |
| 9 | 9 |
| 10 body { | 10 body { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 117 margin: 0; | 117 margin: 0; |
| 118 margin-bottom: 10px; | 118 margin-bottom: 10px; |
| 119 } | 119 } |
| 120 | 120 |
| 121 h1 { | 121 h1 { |
| 122 color: #808080; | 122 color: #808080; |
| 123 font-weight: 300; | 123 font-weight: 300; |
| 124 } | 124 } |
| 125 | 125 |
| 126 #print-preview .navbar-link { | 126 #print-preview .navbar-link { |
| 127 -webkit-margin-start: 20px; | 127 margin: 8px 20px; |
| 128 min-height: 32px; | |
| 129 outline: 0; | |
| 130 padding: 0; | |
| 131 text-align: start; | |
| 132 text-decoration: none; | |
| 133 } | 128 } |
| 134 | 129 |
| 135 #print-preview .navbar-link:hover:not(:disabled) { | 130 #print-preview .navbar-link:hover:not(:disabled) { |
| 136 text-decoration: underline; | 131 text-decoration: underline; |
|
Dan Beam
2014/10/29 00:41:48
is this necessary as well?
Aleksey Shlyapnikov
2014/10/29 02:15:21
Done.
| |
| 137 } | 132 } |
| 138 | 133 |
| 139 #print-preview .navbar-link:disabled { | 134 #print-preview .navbar-link:disabled { |
| 140 color: rgba(0, 0, 0, .5); | 135 color: rgba(0, 0, 0, .5); |
|
Dan Beam
2014/10/29 00:41:48
why is this here? specificity issues? intentiona
Aleksey Shlyapnikov
2014/10/29 02:15:21
I suppose, links were made gray to match the rest
| |
| 141 cursor: default; | 136 cursor: default; |
| 142 text-shadow: none; | 137 text-shadow: none; |
| 143 } | 138 } |
| 144 | 139 |
| 145 button.loading { | 140 button.loading { |
| 146 cursor: progress; | 141 cursor: progress; |
| 147 } | 142 } |
| 148 | 143 |
| 149 #print-preview button.default { | 144 #print-preview button.default { |
| 150 font-weight: bold; | 145 font-weight: bold; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 297 -webkit-margin-start: 9px; | 292 -webkit-margin-start: 9px; |
| 298 display: block; | 293 display: block; |
| 299 } | 294 } |
| 300 | 295 |
| 301 #link-container { | 296 #link-container { |
| 302 -webkit-box-orient: vertical; | 297 -webkit-box-orient: vertical; |
| 303 display: -webkit-box; | 298 display: -webkit-box; |
| 304 margin: 7px 0; | 299 margin: 7px 0; |
| 305 } | 300 } |
| 306 | 301 |
| 302 #link-container > div { | |
| 303 display: flex; | |
| 304 } | |
| 305 | |
| 306 #link-container > div > .throbber { | |
| 307 margin: 8px; | |
| 308 min-height: 16px; | |
| 309 min-width: 16px; | |
| 310 } | |
| 311 | |
| 307 #main-container { | 312 #main-container { |
| 308 -webkit-border-start: 1px solid #dcdcdc; | 313 -webkit-border-start: 1px solid #dcdcdc; |
| 309 -webkit-box-flex: 1; | 314 -webkit-box-flex: 1; |
| 310 -webkit-box-orient: vertical; | 315 -webkit-box-orient: vertical; |
| 311 display: -webkit-box; | 316 display: -webkit-box; |
| 312 height: 100%; | 317 height: 100%; |
| 313 position: relative; | 318 position: relative; |
| 314 } | 319 } |
| 315 | 320 |
| 316 html:not(.focus-outline-visible) | 321 html:not(.focus-outline-visible) |
| 317 :enabled:focus:-webkit-any(input[type='checkbox'], | 322 :enabled:focus:-webkit-any(input[type='checkbox'], |
| 318 input[type='radio'], | 323 input[type='radio'], |
| 319 button) { | 324 button) { |
| 320 /* Cancel border-color for :focus specified in widgets.css. */ | 325 /* Cancel border-color for :focus specified in widgets.css. */ |
| 321 border-color: rgba(0,0,0,0.25); | 326 border-color: rgba(0,0,0,0.25); |
| 322 } | 327 } |
| 323 | 328 |
| 324 html:not(.focus-outline-visible) [is='action-link']:focus { | 329 html:not(.focus-outline-visible) [is='action-link']:focus { |
| 325 outline: none; | 330 outline: none; |
| 326 } | 331 } |
| OLD | NEW |