OLD | NEW |
1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 -webkit-user-select: none; | 6 -webkit-user-select: none; |
7 background: none transparent; | 7 background: none transparent; |
8 color: #323232; | 8 color: #323232; |
9 margin: 0; | 9 margin: 0; |
10 overflow: hidden; | 10 overflow: hidden; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 width: 0; | 135 width: 0; |
136 } | 136 } |
137 | 137 |
138 .mv-title { | 138 .mv-title { |
139 border: none; | 139 border: none; |
140 overflow: hidden; | 140 overflow: hidden; |
141 position: absolute; | 141 position: absolute; |
142 text-overflow: clip; | 142 text-overflow: clip; |
143 } | 143 } |
144 | 144 |
| 145 .mv-title.multiline { |
| 146 white-space: pre-wrap; |
| 147 word-wrap: break-word; |
| 148 } |
| 149 |
145 .thumb-ntp .mv-title { | 150 .thumb-ntp .mv-title { |
146 -webkit-mask-image: | 151 -webkit-mask-image: |
147 linear-gradient(to right, #000, #000, 100px, transparent); | 152 linear-gradient(to right, #000, #000, 100px, transparent); |
148 height: 15px; | 153 height: 15px; |
149 left: 31px; | 154 left: 31px; |
150 line-height: 14px; | 155 line-height: 14px; |
151 padding: 0; | 156 padding: 0; |
152 top: 8px; | 157 top: 8px; |
153 width: calc(156px - 32px - 4px); | 158 width: calc(156px - 32px - 4px); |
154 } | 159 } |
(...skipping 18 matching lines...) Expand all Loading... |
173 text-align: right; | 178 text-align: right; |
174 } | 179 } |
175 | 180 |
176 .icon-ntp .mv-title { | 181 .icon-ntp .mv-title { |
177 height: 28px; | 182 height: 28px; |
178 left: auto; | 183 left: auto; |
179 line-height: 117%; | 184 line-height: 117%; |
180 right: auto; | 185 right: auto; |
181 text-align: center; | 186 text-align: center; |
182 top: 76px; | 187 top: 76px; |
183 white-space: pre-wrap; | |
184 width: 100%; | 188 width: 100%; |
185 z-index: 5; | 189 z-index: 5; |
186 } | 190 } |
187 | 191 |
188 .mv-thumb { | 192 .mv-thumb { |
189 border: none; | 193 border: none; |
190 cursor: pointer; | 194 cursor: pointer; |
191 display: block; | 195 display: block; |
192 overflow: hidden; | 196 overflow: hidden; |
193 position: absolute; | 197 position: absolute; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 background-image: -webkit-image-set( | 368 background-image: -webkit-image-set( |
365 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x, | 369 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x, |
366 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x); | 370 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x); |
367 background-repeat: no-repeat; | 371 background-repeat: no-repeat; |
368 background-size: 16px 16px; | 372 background-size: 16px 16px; |
369 } | 373 } |
370 | 374 |
371 .mv-favicon.failed-favicon img { | 375 .mv-favicon.failed-favicon img { |
372 display: none; | 376 display: none; |
373 } | 377 } |
OLD | NEW |