OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
12 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of | 13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of |
14 * its contributors may be used to endorse or promote products derived | 14 * its contributors may be used to endorse or promote products derived |
15 * from this software without specific prior written permission. | 15 * from this software without specific prior written permission. |
16 * | 16 * |
17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY | 17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY |
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 .outline-disclosure.revision-history-drawer { | |
30 -webkit-padding-start: 0; | |
31 overflow: auto; | |
32 } | |
33 | |
34 .outline-disclosure.revision-history-drawer ol { | |
35 margin-top: 2px; | |
36 -webkit-padding-start: 0; | |
37 padding-left: 0 !important; | |
38 } | |
39 | |
40 .outline-disclosure.revision-history-drawer > ol { | |
41 padding-left: 0; | |
42 } | |
43 | |
44 .outline-disclosure.revision-history-drawer li { | |
45 padding-left: 6px; | |
46 margin-top: 0; | |
47 margin-bottom: 0; | |
48 height: 13px; | |
49 } | |
50 | |
51 .outline-disclosure.revision-history-drawer li.parent { | |
52 margin-left: 4px; | |
53 } | |
54 | |
55 .revision-history-link { | 29 .revision-history-link { |
56 text-decoration: underline; | 30 text-decoration: underline; |
57 cursor: pointer; | 31 cursor: pointer; |
58 color: #00e; | 32 color: #00e; |
59 padding: 0 4px; | 33 padding: 0 4px; |
60 } | 34 } |
61 | 35 |
62 .revision-history-link-row { | 36 .revision-history-link-row { |
63 padding-left: 16px; | 37 padding-left: 16px; |
64 } | 38 } |
65 | 39 |
66 .outline-disclosure.revision-history-drawer .revision-history-line { | 40 li.revision-history-line { |
67 padding-left: 0; | 41 padding-left: 6px; |
68 -webkit-user-select: text; | 42 -webkit-user-select: text; |
69 } | 43 } |
70 | 44 |
71 .revision-history-drawer .webkit-line-number { | 45 .webkit-line-number { |
72 border-right: 1px solid #BBB; | 46 border-right: 1px solid #BBB; |
73 background-color: #F0F0F0; | 47 background-color: #F0F0F0; |
74 } | 48 } |
75 | 49 |
76 .revision-history-drawer li.revision-history-revision { | 50 li.revision-history-revision { |
77 padding-left: 16px; | 51 padding-left: 16px; |
78 } | 52 } |
79 | 53 |
80 .revision-history-line-added { | 54 .revision-history-line-added { |
81 background-color: rgb(153, 238, 153); | 55 background-color: rgb(153, 238, 153); |
82 } | 56 } |
83 | 57 |
84 .revision-history-line-removed { | 58 .revision-history-line-removed { |
85 background-color: rgb(255, 221, 221); | 59 background-color: rgb(255, 221, 221); |
86 } | 60 } |
87 | 61 |
88 .revision-history-line-separator .webkit-line-number { | 62 .revision-history-line-separator .webkit-line-number { |
89 color: transparent; | 63 color: transparent; |
90 } | 64 } |
91 | 65 |
92 .revision-history-line { | 66 .revision-history-line { |
93 white-space: nowrap; | 67 white-space: nowrap; |
94 } | 68 } |
OLD | NEW |