| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* Outer frame of the dialog. */ | 7 /* Outer frame of the dialog. */ |
| 8 body { | 8 body { |
| 9 -webkit-box-flex: 1; | 9 -webkit-box-flex: 1; |
| 10 -webkit-box-orient: vertical; | 10 -webkit-box-orient: vertical; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 } | 88 } |
| 89 | 89 |
| 90 /* The > arrow between breadcrumbs. */ | 90 /* The > arrow between breadcrumbs. */ |
| 91 .breadcrumb-spacer { | 91 .breadcrumb-spacer { |
| 92 -webkit-margin-start: 7px; | 92 -webkit-margin-start: 7px; |
| 93 -webkit-margin-end: 4px; | 93 -webkit-margin-end: 4px; |
| 94 color: #aaa; | 94 color: #aaa; |
| 95 font-size: 12px; | 95 font-size: 12px; |
| 96 } | 96 } |
| 97 | 97 |
| 98 button.detail-view { |
| 99 margin-right: 0; |
| 100 } |
| 101 |
| 102 button.thumbnail-view { |
| 103 margin-left: 0; |
| 104 } |
| 105 |
| 106 .list-container { |
| 107 -webkit-box-orient: vertical; |
| 108 -webkit-box-flex: 1; |
| 109 display: -webkit-box; |
| 110 position: relative; |
| 111 } |
| 112 |
| 113 /* The cr.ui.Grid representing the detailed file list. */ |
| 114 .thumbnail-grid { |
| 115 position: absolute; |
| 116 top: 0; |
| 117 left: 0; |
| 118 border: 0; |
| 119 } |
| 120 |
| 121 /* An item in the thumbnail view. */ |
| 122 .thumbnail-item { |
| 123 margin: 10px; |
| 124 width: 120px; |
| 125 height: 120px; |
| 126 text-align: center; |
| 127 } |
| 128 |
| 129 .thumbnail-item > img { |
| 130 padding-top: 8px; |
| 131 max-width: 100px; |
| 132 max-height: 85px; |
| 133 } |
| 134 |
| 135 .thumbnail-item > div { |
| 136 overflow: hidden; |
| 137 text-overflow: ellipsis; |
| 138 white-space: nowrap; |
| 139 } |
| 140 |
| 98 /* The cr.ui.Table representing the detailed file list. */ | 141 /* The cr.ui.Table representing the detailed file list. */ |
| 99 .detail-table { | 142 .detail-table { |
| 100 -webkit-box-orient: vertical; | 143 position: absolute; |
| 101 -webkit-box-flex: 1; | 144 top: 0; |
| 102 display: -webkit-box; | 145 left: 0; |
| 103 border: 0; | 146 border: 0; |
| 104 } | 147 } |
| 105 | 148 |
| 106 /* The actual element containing the list items. */ | |
| 107 .detail-table > .list { | |
| 108 /* TODO(rginda): The list is not able to adjust to the available height, | |
| 109 * so we have to hardcode it for now. | |
| 110 */ | |
| 111 height: 417px; | |
| 112 } | |
| 113 | |
| 114 /* The right-column 'Preview' column container. */ | 149 /* The right-column 'Preview' column container. */ |
| 115 .preview-container { | 150 .preview-container { |
| 116 -webkit-border-start: 1px #aaa solid; | 151 -webkit-border-start: 1px #aaa solid; |
| 117 -webkit-box-orient: vertical; | 152 -webkit-box-orient: vertical; |
| 118 display: -webkit-box; | 153 display: -webkit-box; |
| 119 width: 225px; | 154 width: 225px; |
| 120 } | 155 } |
| 121 | 156 |
| 122 /* cr.ui.Table has a black focus border by default, which we don't want. */ | 157 /* cr.ui.Table has a black focus border by default, which we don't want. */ |
| 123 .detail-table:focus { | 158 .detail-table:focus { |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 -webkit-box-flex: 1; | 308 -webkit-box-flex: 1; |
| 274 display: -webkit-box; | 309 display: -webkit-box; |
| 275 } | 310 } |
| 276 | 311 |
| 277 /* A vertical spring. */ | 312 /* A vertical spring. */ |
| 278 .vertical-spacer { | 313 .vertical-spacer { |
| 279 -webkit-box-orient: vertical; | 314 -webkit-box-orient: vertical; |
| 280 -webkit-box-flex: 1; | 315 -webkit-box-flex: 1; |
| 281 display: -webkit-box; | 316 display: -webkit-box; |
| 282 } | 317 } |
| OLD | NEW |