OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 .panel-enabler-view { | 30 .panel-enabler-view { |
31 z-index: 1000; | |
32 position: absolute; | |
33 top: 0; | |
34 left: 0; | |
35 right: 0; | |
36 bottom: 0; | |
37 background-color: white; | 31 background-color: white; |
38 font-size: 13px; | 32 font-size: 13px; |
39 text-align: center; | 33 text-align: center; |
40 overflow-x: hidden; | 34 overflow-x: hidden; |
41 overflow-y: overlay; | 35 overflow-y: overlay; |
42 display: none; | 36 flex: auto; |
43 } | 37 display: flex; |
44 | |
45 .panel-enabler-view.visible { | |
46 display: block; | |
47 } | |
48 | |
49 .panel-enabler-view .panel-enabler-view-content { | |
50 position: absolute; | |
51 top: 0; | |
52 left: 0; | |
53 right: 0; | |
54 bottom: 0; | |
55 max-height: 390px; | |
56 margin: auto; | |
57 white-space: nowrap; | |
58 } | 38 } |
59 | 39 |
60 .panel-enabler-view h1 { | 40 .panel-enabler-view h1 { |
61 color: rgb(110, 116, 128); | 41 color: rgb(110, 116, 128); |
62 font-size: 16px; | 42 font-size: 16px; |
63 line-height: 20px; | 43 line-height: 20px; |
64 font-weight: normal; | 44 font-weight: normal; |
65 margin-top: 0; | 45 margin-top: 0; |
66 } | 46 } |
67 | 47 |
68 .panel-enabler-disclaimer { | |
69 font-size: 10px; | |
70 color: rgb(110, 116, 128); | |
71 margin-bottom: 12px; | |
72 margin-left: 20px; | |
73 } | |
74 | |
75 .panel-enabler-disclaimer:empty { | |
76 display: none; | |
77 } | |
78 | |
79 .panel-enabler-view img { | 48 .panel-enabler-view img { |
80 height: 100%; | 49 height: 100%; |
81 min-height: 200px; | 50 min-height: 200px; |
82 max-width: 100%; | 51 max-width: 100%; |
83 top: 0; | 52 top: 0; |
84 bottom: 0; | 53 bottom: 0; |
85 padding: 20px 0 20px 20px; | 54 padding: 20px 0 20px 20px; |
86 margin: auto; | 55 margin: auto; |
87 vertical-align: middle; | 56 vertical-align: middle; |
88 } | 57 } |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 125 |
157 .panel-enabler-view input[type="radio"]:checked { | 126 .panel-enabler-view input[type="radio"]:checked { |
158 background: url(Images/radioDot.png) center no-repeat, | 127 background: url(Images/radioDot.png) center no-repeat, |
159 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 25
2, 252)), to(rgb(223, 223, 223))); | 128 -webkit-gradient(linear, left top, left bottom, from(rgb(252, 25
2, 252)), to(rgb(223, 223, 223))); |
160 } | 129 } |
161 | 130 |
162 .panel-enabler-view input[type="radio"]:checked:active { | 131 .panel-enabler-view input[type="radio"]:checked:active { |
163 background: url(Images/radioDot.png) center no-repeat, | 132 background: url(Images/radioDot.png) center no-repeat, |
164 -webkit-gradient(linear, left top, left bottom, from(rgb(194, 19
4, 194)), to(rgb(239, 239, 239))); | 133 -webkit-gradient(linear, left top, left bottom, from(rgb(194, 19
4, 194)), to(rgb(239, 239, 239))); |
165 } | 134 } |
OLD | NEW |