OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 html { | 4 html { |
5 height: 100%; | 5 height: 100%; |
6 } | 6 } |
7 | 7 |
8 body { | 8 body { |
9 height: 100%; | 9 height: 100%; |
10 width: 100%; | 10 width: 100%; |
11 } | 11 } |
12 | 12 |
13 a { | 13 a { |
14 height: 100%; | 14 height: 100%; |
15 line-height: 117%; | 15 line-height: 117%; |
16 overflow: hidden; | 16 overflow: hidden; |
17 text-align: center; /* Can be overridden in JS. */ | 17 text-align: center; /* Can be overridden in JS. */ |
18 text-overflow: clip; /* Can be overridden in JS. */ | 18 text-overflow: ellipsis; /* Can be overridden in JS. */ |
19 white-space: pre-wrap; /* Can be overridden in JS. */ | 19 white-space: nowrap; /* Can be overridden in JS. */ |
| 20 } |
| 21 |
| 22 a.multiline { |
| 23 text-overflow: clip; |
| 24 white-space: pre-wrap; |
| 25 word-wrap: break-word; |
20 } | 26 } |
21 | 27 |
22 a:focus { | 28 a:focus { |
23 outline: none; /* Remove outline from tabIndex = -1. */ | 29 outline: none; /* Remove outline from tabIndex = -1. */ |
24 } | 30 } |
OLD | NEW |