OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 /* The shield that overlays the background. */ | 5 /* The shield that overlays the background. */ |
6 .overlay { | 6 .overlay { |
7 -webkit-box-align: center; | 7 -webkit-box-align: center; |
8 -webkit-box-orient: vertical; | 8 -webkit-box-orient: vertical; |
9 -webkit-box-pack: center; | 9 -webkit-box-pack: center; |
10 -webkit-transition: 200ms opacity; | 10 -webkit-transition: 200ms opacity; |
(...skipping 20 matching lines...) Expand all Loading... |
31 -webkit-border-radius: 3px; | 31 -webkit-border-radius: 3px; |
32 -webkit-box-orient: vertical; | 32 -webkit-box-orient: vertical; |
33 -webkit-transition: 200ms -webkit-transform; | 33 -webkit-transition: 200ms -webkit-transform; |
34 background: white; | 34 background: white; |
35 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15); | 35 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15); |
36 color: #333; | 36 color: #333; |
37 display: -webkit-box; | 37 display: -webkit-box; |
38 min-width: 400px; | 38 min-width: 400px; |
39 padding: 0; | 39 padding: 0; |
40 position: relative; | 40 position: relative; |
| 41 z-index: 0; |
41 } | 42 } |
42 | 43 |
43 /* If the options page is loading don't do the transition. */ | 44 /* If the options page is loading don't do the transition. */ |
44 .loading .overlay, | 45 .loading .overlay, |
45 .loading .overlay .page { | 46 .loading .overlay .page { |
46 -webkit-transition-duration: 0 !important; | 47 -webkit-transition-duration: 0 !important; |
47 } | 48 } |
48 | 49 |
49 /* keyframes used to pulse the overlay */ | 50 /* keyframes used to pulse the overlay */ |
50 @-webkit-keyframes pulse { | 51 @-webkit-keyframes pulse { |
(...skipping 20 matching lines...) Expand all Loading... |
71 | 72 |
72 .overlay .page > .close-button { | 73 .overlay .page > .close-button { |
73 background-image: url('chrome://theme/IDR_WEB_UI_CLOSE'); | 74 background-image: url('chrome://theme/IDR_WEB_UI_CLOSE'); |
74 background-position: center; | 75 background-position: center; |
75 background-repeat: no-repeat; | 76 background-repeat: no-repeat; |
76 height: 14px; | 77 height: 14px; |
77 position: absolute; | 78 position: absolute; |
78 right: 7px; | 79 right: 7px; |
79 top: 7px; | 80 top: 7px; |
80 width: 14px; | 81 width: 14px; |
| 82 z-index: 1; |
81 } | 83 } |
82 | 84 |
83 html[dir='rtl'] .overlay .page > .close-button { | 85 html[dir='rtl'] .overlay .page > .close-button { |
84 left: 10px; | 86 left: 10px; |
85 right: auto; | 87 right: auto; |
86 } | 88 } |
87 | 89 |
88 .overlay .page > .close-button:hover { | 90 .overlay .page > .close-button:hover { |
89 background-image: url('chrome://theme/IDR_WEB_UI_CLOSE_HOVER'); | 91 background-image: url('chrome://theme/IDR_WEB_UI_CLOSE_HOVER'); |
90 } | 92 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 .overlay .page .content-area::-webkit-scrollbar-thumb { | 156 .overlay .page .content-area::-webkit-scrollbar-thumb { |
155 background-color: rgba(0, 0, 0, 0.2); | 157 background-color: rgba(0, 0, 0, 0.2); |
156 border: 2px solid white; | 158 border: 2px solid white; |
157 border-radius: 8px; | 159 border-radius: 8px; |
158 } | 160 } |
159 | 161 |
160 .overlay .page .content-area::-webkit-scrollbar-thumb:hover { | 162 .overlay .page .content-area::-webkit-scrollbar-thumb:hover { |
161 background-color: rgba(0, 0, 0, 0.5); | 163 background-color: rgba(0, 0, 0, 0.5); |
162 } | 164 } |
163 </if> | 165 </if> |
OLD | NEW |