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 body, | 5 body, |
| 6 html { | 6 html { |
| 7 color: rgb(48, 57, 66); | 7 color: rgb(48, 57, 66); |
| 8 font-family: Arial, sans-serif; | 8 font-family: Arial, sans-serif; |
| 9 font-size: 90%; | 9 font-size: 90%; |
| 10 overflow: visible; | 10 overflow: visible; |
| 11 } | 11 } |
| 12 | 12 |
| 13 hr { | 13 hr { |
| 14 color: rgb(115, 111, 110); | 14 color: rgb(115, 111, 110); |
| 15 margin: 15px 0; | 15 margin: 15px 0; |
| 16 } | 16 } |
| 17 | 17 |
| 18 /* Override the visual style of tabs. */ | 18 /* Override the visual style of tabs. */ |
| 19 | 19 |
| 20 #tabs-header-container { | |
| 21 border-bottom: 1px solid #e0e0e0; | |
| 22 height: calc(100% - 53px); | |
| 23 } | |
| 24 | |
| 25 #tabs { | |
| 26 border-bottom: none; | |
| 27 margin: 5px auto 0 auto; | |
|
Dan Beam
2013/05/23 23:06:48
5px auto 0
dvh
2013/05/24 04:33:42
Done.
| |
| 28 padding: 0 5px; | |
| 29 width: 800px; | |
| 30 } | |
| 31 | |
| 20 tabs tab { | 32 tabs tab { |
| 33 border-color: #e0e0e0; | |
| 21 min-width: 150px; | 34 min-width: 150px; |
| 22 padding: 5px 20px; | 35 padding: 5px 20px; |
| 23 } | 36 } |
| 24 | 37 |
| 38 tabs > [selected] { | |
| 39 background: white; | |
| 40 border-color: #e0e0e0; | |
| 41 } | |
| 42 | |
| 43 html.focus-outline-visible tabs:focus > [selected] { | |
| 44 background: white; | |
| 45 border-color: rgb(160, 160, 255); | |
| 46 outline: none; | |
| 47 } | |
| 48 | |
| 49 tabs > :not([selected]) { | |
| 50 background: none; | |
| 51 border-color: #e0e0e0; | |
| 52 } | |
| 53 | |
| 54 tabs > :not([selected]):hover { | |
| 55 background: rgba(255, 255, 255, 0.9); | |
| 56 } | |
| 57 | |
| 58 tabpanels { | |
| 59 height: 100%; | |
| 60 padding: 0; | |
| 61 width: 100%; | |
| 62 } | |
| 63 | |
| 64 tabpanel { | |
| 65 margin: 0 auto; | |
| 66 padding-top: 80px; | |
| 67 width: 800px; | |
| 68 } | |
| 69 | |
| 70 /* Header */ | |
| 71 | |
| 72 #header { | |
| 73 background-color: rgba(255, 255, 255, 0.9); | |
| 74 position: fixed; | |
| 75 top: 0; | |
| 76 width: 100%; | |
| 77 z-index: 1; | |
| 78 } | |
| 79 | |
| 80 #developer-controls { | |
| 81 margin-top: 0; | |
| 82 max-width: none; | |
| 83 padding: 3px 10px 8px 10px; | |
|
Dan Beam
2013/05/23 23:06:48
3px 10px 8px
dvh
2013/05/24 04:33:42
Done.
| |
| 84 width: calc(100% - 20px); | |
| 85 } | |
| 86 | |
| 87 #header-title { | |
| 88 display: inline-block; | |
| 89 font-size: 1.2em; | |
| 90 margin-left: 50px; | |
|
Dan Beam
2013/05/23 23:06:48
RTL? -webkit-margin-start: 50px; might be what you
dvh
2013/05/24 04:33:42
Done.
| |
| 91 position: relative; | |
| 92 top: 3px; | |
|
Dan Beam
2013/05/23 23:06:48
^ why are you using relative + top? wouldn't marg
dvh
2013/05/24 04:33:42
I just tried it and since buttons and the header-t
| |
| 93 } | |
| 94 | |
| 95 #header-bottom-gradient { | |
| 96 background: linear-gradient(to bottom, rgba(255, 255, 255, 1.0), | |
|
Dan Beam
2013/05/23 23:06:48
does this work without -webkit? also rgba(255, 255
dvh
2013/05/24 04:33:42
I found that it works in practice.
http://dev.w3.
| |
| 97 rgba(255, 255, 255, 0)); | |
| 98 height: 30px; | |
| 99 left: 0; | |
|
Dan Beam
2013/05/23 23:06:48
RTL? just adding right: 0; may be enough...
dvh
2013/05/24 04:33:42
Removed left:0.
| |
| 100 position: fixed; | |
|
Dan Beam
2013/05/23 23:06:48
^ does this app ever scroll?
dvh
2013/05/24 04:33:42
The "toolbar" + the gradient at the bottom of the
| |
| 101 top: 80px; | |
| 102 width: 100%; | |
| 103 } | |
| 104 | |
| 105 #search { | |
| 106 float: right; | |
| 107 margin-right: 0; | |
|
Dan Beam
2013/05/23 23:06:48
^ RTL
dvh
2013/05/24 04:33:42
I removed "margin-right: 0".
I'll investigate "flo
| |
| 108 margin-top: 7px; | |
| 109 padding: 4px; | |
| 110 width: 200px; | |
| 111 } | |
| 112 | |
| 25 /* Contents */ | 113 /* Contents */ |
| 26 | 114 |
| 27 #extension-settings { | 115 #extension-settings { |
| 28 margin: 30px; | 116 margin: 0; |
| 29 max-width: 800px; | 117 max-width: 100%; |
| 118 padding: 10px 0; | |
| 30 } | 119 } |
| 31 | 120 |
| 32 #no-extensions-message, | 121 #no-extensions-message, |
| 33 #no-apps-message { | 122 #no-apps-message { |
| 34 font-weight: bold; | 123 font-weight: bold; |
| 35 } | 124 } |
| 36 | 125 |
| 37 .empty-item-list { | 126 .empty-item-list { |
| 38 height: 3em; | 127 height: 3em; |
| 39 } | 128 } |
| 40 | 129 |
| 41 #developer-controls { | |
| 42 margin-top: 15px; | |
| 43 max-width: 750px; | |
| 44 } | |
| 45 | |
| 46 #search { | |
| 47 float: right; | |
| 48 } | |
| 49 | |
| 50 html[dir='rtl'] #search { | 130 html[dir='rtl'] #search { |
| 51 float: left; | 131 float: left; |
| 52 } | 132 } |
| 53 | 133 |
| 54 #no-extensions, | 134 #no-extensions, |
| 55 #no-apps { | 135 #no-apps { |
| 56 margin: 10px 10px; | 136 margin: 10px 10px; |
| 57 } | 137 } |
| 58 | 138 |
| 59 .loading #no-extensions, | 139 .loading #no-extensions, |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 256 } | 336 } |
| 257 | 337 |
| 258 a { | 338 a { |
| 259 color: rgb(17, 85, 204); | 339 color: rgb(17, 85, 204); |
| 260 text-decoration: underline; | 340 text-decoration: underline; |
| 261 } | 341 } |
| 262 | 342 |
| 263 a:active { | 343 a:active { |
| 264 color: rgb(5, 37, 119); | 344 color: rgb(5, 37, 119); |
| 265 } | 345 } |
| OLD | NEW |