OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
11 * documentation and/or other materials provided with the distribution. | 11 * documentation and/or other materials provided with the distribution. |
12 * | 12 * |
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' | 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' |
14 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | 14 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS | 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS |
17 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 17 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
18 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 18 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | 20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 /* FIXME: This should really be in actions.css. */ | 26 /* FIXME: This should really be in actions.css. */ |
27 ul.actions>li { | 27 ul.actions > li { |
28 display: inline-block; | 28 display: inline-block; |
29 } | 29 } |
30 | 30 |
31 ol.notifications { | 31 ol.notifications { |
32 list-style: none; | 32 list-style: none; |
33 padding: 0; | 33 padding: 0; |
34 margin: 0; | 34 margin: 0; |
35 } | 35 } |
36 | 36 |
37 ol.notifications ul { | 37 ol.notifications ul { |
38 list-style: none; | 38 list-style: none; |
39 padding: 0; | 39 padding: 0; |
40 } | 40 } |
41 | 41 |
42 ol.notifications>li { | 42 ol.notifications > li { |
43 display: -webkit-box; | 43 display: flex; |
| 44 flex-wrap: wrap; |
44 position: relative; | 45 position: relative; |
45 width: 100%; | 46 width: 100%; |
46 padding: 10px; | 47 padding: 10px; |
47 box-sizing: border-box; | 48 box-sizing: border-box; |
48 border-top: 1px solid Gray; | 49 border-top: 1px solid Gray; |
49 } | 50 } |
50 | 51 |
51 ol.notifications div.how { | 52 ol.notifications div.how { |
52 width: 350px; | 53 width: 350px; |
53 } | 54 } |
54 | 55 |
55 ol.notifications time { | 56 ol.notifications time { |
56 display: block; | 57 display: block; |
57 color: #888; | 58 color: #888; |
58 padding: 0 0 20px 0; | 59 padding: 0 0 20px 0; |
59 } | 60 } |
60 | 61 |
61 ol.notifications div.what { | 62 ol.notifications div.what { |
62 display: -webkit-box; | 63 display: -webkit-box; |
63 -webkit-box-orient: vertical; | 64 -webkit-box-orient: vertical; |
64 padding: 0 0 0 10px; | 65 padding: 0 0 0 10px; |
65 -webkit-box-flex: 1; | 66 flex: 1; |
66 } | 67 } |
67 | 68 |
68 ol.notifications>li div.what ul.effects>li.builder { | 69 ol.notifications > li div.what ul.effects > li.builder { |
69 display: inline; | 70 display: inline; |
70 padding-right: 5px; | 71 padding-right: 5px; |
71 } | 72 } |
72 | 73 |
73 ol.notifications ul.causes>li, ol.notifications div.problem { | 74 ol.notifications ul.causes > li, ol.notifications div.problem { |
74 display: -webkit-box; | 75 display: -webkit-box; |
75 } | 76 } |
76 | 77 |
77 ol.notifications ul.causes div.description, ol.notifications div.problem ul.effe
cts { | 78 ol.notifications ul.causes div.description, ol.notifications div.problem ul.effe
cts { |
78 -webkit-box-flex: 1; | 79 -webkit-box-flex: 1; |
79 } | 80 } |
80 | 81 |
81 ol.notifications>li div.problem { | 82 ol.notifications > li div.problem { |
82 padding-bottom: 10px; | 83 padding-bottom: 10px; |
83 } | 84 } |
84 | 85 |
85 ol.notifications>li div.problem>ul.actions { | 86 ol.notifications > li div.problem > ul.actions { |
86 visibility: hidden; | 87 visibility: hidden; |
87 } | 88 } |
88 | 89 |
89 ol.notifications>li:hover div.problem>ul.actions { | 90 ol.notifications > li:hover div.problem > ul.actions { |
90 visibility: visible; | 91 visibility: visible; |
91 } | 92 } |
92 | 93 |
93 ol.notifications>li table.failures { | 94 ol.notifications > li table.failures { |
94 opacity: 0.2; | 95 opacity: 0.2; |
95 -webkit-transition: opacity 0.5s; | 96 -webkit-transition: opacity 0.5s; |
96 } | 97 } |
97 | 98 |
98 ol.notifications>li:hover table.failures { | 99 ol.notifications > li:hover table.failures { |
99 opacity: 1; | 100 opacity: 1; |
100 } | 101 } |
101 | 102 |
102 ol.notifications>li ul.causes>li>ul.actions { | 103 ol.notifications > li ul.causes > li > ul.actions { |
103 } | 104 } |
104 | 105 |
105 ol.notifications>li ul.causes>li>div.description { | 106 ol.notifications > li ul.causes > li > div.description { |
106 padding: 0 10px 5px 0; | 107 padding: 0 10px 5px 0; |
107 display: -webkit-box; | 108 display: -webkit-box; |
108 } | 109 } |
109 | 110 |
110 ol.notifications>li ul.causes>li>div.description>a { | 111 ol.notifications > li ul.causes > li > div.description > a { |
111 padding: 5px 10px 5px 10px; | 112 padding: 5px 10px 5px 10px; |
112 margin: -5px 10px -2px 0; | 113 margin: -5px 10px -2px 0; |
113 border-radius: 4px; | 114 border-radius: 4px; |
114 display: inline-block; | 115 display: inline-block; |
115 } | 116 } |
116 | 117 |
117 ol.notifications>li ul.causes>li:hover>div.description>a { | 118 ol.notifications > li ul.causes > li:hover > div.description > a { |
118 background-color: #555; | 119 background-color: #555; |
119 color: White; | 120 color: White; |
120 } | 121 } |
121 | 122 |
122 ol.notifications>li ul.causes>li:hover>div.description>a::after { | 123 ol.notifications > li ul.causes > li:hover > div.description > a::after
{ |
123 content: ''; | 124 content: ''; |
124 width: 0; | 125 width: 0; |
125 height: 0; | 126 height: 0; |
126 margin-top: 5px; | 127 margin-top: 5px; |
127 position: absolute; | 128 position: absolute; |
128 margin-left: 10px; | 129 margin-left: 10px; |
129 border-top: 5px solid White; | 130 border-top: 5px solid White; |
130 border-left: 5px solid #555; | 131 border-left: 5px solid #555; |
131 border-bottom: 5px solid White; | 132 border-bottom: 5px solid White; |
132 } | 133 } |
133 | 134 |
134 ol.notifications>li ul.causes>li>div.description>span { | 135 ol.notifications > li ul.causes > li > div.description > span { |
135 padding: 0 10px 0 0; | 136 padding: 0 10px 0 0; |
136 display: block; | 137 display: block; |
137 cursor: default; | 138 cursor: default; |
138 pointer-events: none; | 139 pointer-events: none; |
139 -webkit-box-flex: 1; | 140 -webkit-box-flex: 1; |
140 } | 141 } |
141 | 142 |
142 ol.notifications>li ul.causes>li>div.description>span>span.author { | 143 ol.notifications > li ul.causes > li > div.description > span > span.aut
hor { |
143 padding: 0 0 0 5px; | 144 padding: 0 0 0 5px; |
144 font-style: italic; | 145 font-style: italic; |
145 } | 146 } |
146 | 147 |
147 ol.notifications>li ul.causes>li>div.description>span>span.reviewer { | 148 ol.notifications > li ul.causes > li > div.description > span > span.rev
iewer { |
148 color: Gray; | 149 color: Gray; |
149 } | 150 } |
150 | 151 |
151 ol.notifications>li ul.causes>li>div.description>span>span.bugID::before
{ | 152 ol.notifications > li ul.causes > li > div.description > span > span.bug
ID::before { |
152 content: '[bug '; | 153 content: '[bug '; |
153 padding-left: 8px; | 154 padding-left: 8px; |
154 } | 155 } |
155 | 156 |
156 ol.notifications>li ul.causes>li>div.description>span>span.bugID::after
{ | 157 ol.notifications > li ul.causes > li > div.description > span > span.bug
ID::after { |
157 content: ']'; | 158 content: ']'; |
158 } | 159 } |
159 | 160 |
160 ol.notifications>li ul.causes>li>div.description>span>span.bugID>a { | 161 ol.notifications > li ul.causes > li > div.description > span > span.bug
ID > a { |
161 cursor: hand; | 162 cursor: hand; |
162 pointer-events: auto; | 163 pointer-events: auto; |
163 } | 164 } |
164 | 165 |
165 ol.notifications>li ul.causes>li>div.description>span>span.reviewer::bef
ore { | 166 ol.notifications > li ul.causes > li > div.description > span > span.rev
iewer::before { |
166 content: ' ('; | 167 content: ' ('; |
167 } | 168 } |
168 | 169 |
169 ol.notifications>li ul.causes>li>div.description>span>span.reviewer::aft
er { | 170 ol.notifications > li ul.causes > li > div.description > span > span.rev
iewer::after { |
170 content: ')'; | 171 content: ')'; |
171 } | 172 } |
172 | 173 |
173 ol.notifications>li ul.causes>li>ul.actions { | 174 ol.notifications > li ul.causes > li > ul.actions { |
174 visibility: hidden; | 175 visibility: hidden; |
175 } | 176 } |
176 | 177 |
177 ol.notifications>li ul.causes>li:hover>ul.actions { | 178 ol.notifications > li ul.causes > li:hover > ul.actions { |
178 visibility: visible; | 179 visibility: visible; |
179 } | 180 } |
180 | 181 |
181 ol.notifications>li ul.causes>li li { | 182 ol.notifications > li ul.causes > li li { |
182 padding: 10px 0 0 0; | 183 padding: 10px 0 0 0; |
183 display: inline; | 184 display: inline; |
184 } | 185 } |
185 | 186 |
186 ol.notifications table.failures { | 187 ol.notifications table.failures { |
187 border-collapse: collapse; | 188 border-collapse: collapse; |
188 table-layout: fixed; | 189 table-layout: fixed; |
189 font-size: 11px; | 190 font-size: 11px; |
190 width: 350px; | 191 width: 350px; |
191 } | 192 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 background-color: #bfdfff; | 232 background-color: #bfdfff; |
232 } | 233 } |
233 | 234 |
234 ol.notifications table.failures tbody tr.IMAGE td:first-child span { | 235 ol.notifications table.failures tbody tr.IMAGE td:first-child span { |
235 background-color: #69f; | 236 background-color: #69f; |
236 } | 237 } |
237 | 238 |
238 ol.notifications table.failures tbody tr.IMAGE\+TEXT td:first-child span { | 239 ol.notifications table.failures tbody tr.IMAGE\+TEXT td:first-child span { |
239 background-color: #96f; | 240 background-color: #96f; |
240 } | 241 } |
OLD | NEW |