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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 background-image: url('chrome://resources/images/x-hover.png'); | 75 background-image: url('chrome://resources/images/x-hover.png'); |
76 } | 76 } |
77 | 77 |
78 .overlay .page h1 { | 78 .overlay .page h1 { |
79 -webkit-padding-end: 24px; | 79 -webkit-padding-end: 24px; |
80 -webkit-user-select: none; | 80 -webkit-user-select: none; |
81 color: #333; | 81 color: #333; |
82 /* 120% of the body's font-size of 84% is 16px. This will keep the relative | 82 /* 120% of the body's font-size of 84% is 16px. This will keep the relative |
83 * size between the body and these titles consistent. */ | 83 * size between the body and these titles consistent. */ |
84 font-size: 120%; | 84 font-size: 120%; |
85 margin: 0; | 85 margin: 14px 17px 14px; |
86 padding: 14px 17px 0; | |
87 text-shadow: white 0 1px 2px; | 86 text-shadow: white 0 1px 2px; |
88 } | 87 } |
89 | 88 |
90 .overlay .page .content-area { | 89 .overlay .page .content-area { |
91 -webkit-box-flex: 1; | 90 -webkit-box-flex: 1; |
92 overflow: auto; | 91 overflow: auto; |
93 padding: 14px 17px 6px; | 92 padding: 6px 17px 6px; |
94 } | 93 } |
95 | 94 |
96 .overlay .page .action-area { | 95 .overlay .page .action-area { |
97 -webkit-box-align: center; | 96 -webkit-box-align: center; |
98 -webkit-box-orient: horizontal; | 97 -webkit-box-orient: horizontal; |
99 -webkit-box-pack: end; | 98 -webkit-box-pack: end; |
100 display: -webkit-box; | 99 display: -webkit-box; |
101 padding: 14px; | 100 padding: 14px; |
102 } | 101 } |
103 | 102 |
104 html[dir='rtl'] .overlay .page .action-area { | 103 html[dir='rtl'] .overlay .page .action-area { |
105 left: 0; | 104 left: 0; |
106 } | 105 } |
107 | 106 |
108 .overlay .page .action-area-right { | 107 .overlay .page .action-area-right { |
109 display: -webkit-box; | 108 display: -webkit-box; |
110 } | 109 } |
111 | 110 |
112 .overlay .page .button-strip { | 111 .overlay .page .button-strip { |
113 -webkit-box-orient: horizontal; | 112 -webkit-box-orient: horizontal; |
114 display: -webkit-box; | 113 display: -webkit-box; |
115 } | 114 } |
116 | 115 |
117 .overlay .page .button-strip > button { | 116 .overlay .page .button-strip > button { |
118 -webkit-margin-start: 10px; | 117 -webkit-margin-start: 10px; |
119 display: block; | 118 display: block; |
120 } | 119 } |
OLD | NEW |