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 /* TODO(dbeam): remove perspective when http://crbug.com/374970 is fixed. */ | 10 /* TODO(dbeam): remove perspective when http://crbug.com/374970 is fixed. */ |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 .overlay .page > .close-button:hover { | 92 .overlay .page > .close-button:hover { |
93 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H); | 93 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H); |
94 } | 94 } |
95 | 95 |
96 .overlay .page > .close-button:active { | 96 .overlay .page > .close-button:active { |
97 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P); | 97 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P); |
98 } | 98 } |
99 | 99 |
100 .overlay .page h1 { | 100 .overlay .page h1 { |
101 -webkit-padding-end: 24px; | 101 -webkit-padding-end: 24px; |
102 -webkit-user-select: none; | |
103 color: #333; | 102 color: #333; |
104 /* 120% of the body's font-size of 84% is 16px. This will keep the relative | 103 /* 120% of the body's font-size of 84% is 16px. This will keep the relative |
105 * size between the body and these titles consistent. */ | 104 * size between the body and these titles consistent. */ |
106 font-size: 120%; | 105 font-size: 120%; |
107 /* TODO(flackr): Pages like sync-setup and delete user collapse the margin | 106 /* TODO(flackr): Pages like sync-setup and delete user collapse the margin |
108 * above the top of the page. Use padding instead to make sure that the | 107 * above the top of the page. Use padding instead to make sure that the |
109 * headers of these pages have the correct spacing, but this should not be | 108 * headers of these pages have the correct spacing, but this should not be |
110 * necessary. See http://crbug.com/119029. */ | 109 * necessary. See http://crbug.com/119029. */ |
111 margin: 0; | 110 margin: 0; |
112 padding: 14px 17px 14px; | 111 padding: 14px 17px 14px; |
113 text-shadow: white 0 1px 2px; | 112 text-shadow: white 0 1px 2px; |
| 113 user-select: none; |
114 } | 114 } |
115 | 115 |
116 .overlay .page .content-area { | 116 .overlay .page .content-area { |
117 -webkit-box-flex: 1; | 117 -webkit-box-flex: 1; |
118 overflow: auto; | 118 overflow: auto; |
119 padding: 6px 17px 6px; | 119 padding: 6px 17px 6px; |
120 position: relative; | 120 position: relative; |
121 } | 121 } |
122 | 122 |
123 .overlay .page .action-area { | 123 .overlay .page .action-area { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 #overlay-container-1 { | 196 #overlay-container-1 { |
197 z-index: 11; | 197 z-index: 11; |
198 } | 198 } |
199 #overlay-container-2 { | 199 #overlay-container-2 { |
200 z-index: 12; | 200 z-index: 12; |
201 } | 201 } |
202 | 202 |
203 .transparent { | 203 .transparent { |
204 opacity: 0; | 204 opacity: 0; |
205 } | 205 } |
OLD | NEW |