OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 /* Don't use the main frame div when the error is in a subframe. */ | 5 /* Don't use the main frame div when the error is in a subframe. */ |
6 html[subframe] #main-frame-error { | 6 html[subframe] #main-frame-error { |
7 display: none; | 7 display: none; |
8 } | 8 } |
9 | 9 |
10 /* Don't use the subframe error div when the error is in a main frame. */ | 10 /* Don't use the subframe error div when the error is in a main frame. */ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 padding-top: 20px; | 51 padding-top: 20px; |
52 } | 52 } |
53 | 53 |
54 .icon-offline { | 54 .icon-offline { |
55 content: -webkit-image-set( | 55 content: -webkit-image-set( |
56 url(default_100_percent/offline/100-error-offline.png) 1x, | 56 url(default_100_percent/offline/100-error-offline.png) 1x, |
57 url(default_200_percent/offline/200-error-offline.png) 2x); | 57 url(default_200_percent/offline/200-error-offline.png) 2x); |
58 position: relative; | 58 position: relative; |
59 } | 59 } |
60 | 60 |
| 61 .error-code { |
| 62 display: block; |
| 63 } |
| 64 |
61 #content-top { | 65 #content-top { |
62 margin: 20px; | 66 margin: 20px; |
63 } | 67 } |
64 | 68 |
65 #help-box-inner { | 69 #help-box-inner { |
66 background-color: #f9f9f9; | 70 background-color: #f9f9f9; |
67 border-top: 1px solid #EEE; | 71 border-top: 1px solid #EEE; |
68 color: #444; | 72 color: #444; |
69 padding: 20px; | 73 padding: 20px; |
70 text-align: start; | 74 text-align: start; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 } | 127 } |
124 | 128 |
125 #search-image { | 129 #search-image { |
126 content: | 130 content: |
127 -webkit-image-set( | 131 -webkit-image-set( |
128 url(../../app/theme/default_100_percent/common/omnibox_search_button_l
oupe.png) 1x, | 132 url(../../app/theme/default_100_percent/common/omnibox_search_button_l
oupe.png) 1x, |
129 url(../../app/theme/default_200_percent/common/omnibox_search_button_l
oupe.png) 2x); | 133 url(../../app/theme/default_200_percent/common/omnibox_search_button_l
oupe.png) 2x); |
130 margin: auto; | 134 margin: auto; |
131 } | 135 } |
132 | 136 |
| 137 .secondary-button { |
| 138 -webkit-margin-end: 16px; |
| 139 background: #d9d9d9; |
| 140 color: #696969; |
| 141 } |
| 142 |
133 .hidden { | 143 .hidden { |
134 display: none; | 144 display: none; |
135 } | 145 } |
136 | 146 |
137 .suggestions { | 147 .suggestions { |
138 margin-top: 18px; | 148 margin-top: 18px; |
139 } | 149 } |
140 | 150 |
141 .suggestion-header { | 151 .suggestion-header { |
142 font-weight: bold; | 152 font-weight: bold; |
143 margin-bottom: 4px; | 153 margin-bottom: 4px; |
144 } | 154 } |
145 | 155 |
146 .suggestion-body { | 156 .suggestion-body { |
147 color: #777; | 157 color: #777; |
148 } | 158 } |
149 | 159 |
150 .error-code { | |
151 color: #A0A0A0; | |
152 font-size: .825em; | |
153 margin-top: 15px; | |
154 } | |
155 | |
156 /* Increase line height at higher resolutions. */ | 160 /* Increase line height at higher resolutions. */ |
157 @media (min-width: 641px) and (min-height: 641px) { | 161 @media (min-width: 641px) and (min-height: 641px) { |
158 #help-box-inner { | 162 #help-box-inner { |
159 line-height: 18px; | 163 line-height: 18px; |
160 } | 164 } |
161 } | 165 } |
162 | 166 |
163 /* Decrease padding at low sizes. */ | 167 /* Decrease padding at low sizes. */ |
164 @media (max-width: 640px), (max-height: 640px) { | 168 @media (max-width: 640px), (max-height: 640px) { |
165 h1 { | 169 h1 { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 #sub-frame-error .icon-generic { | 237 #sub-frame-error .icon-generic { |
234 height: auto; | 238 height: auto; |
235 margin: 0; | 239 margin: 0; |
236 padding-top: 0; | 240 padding-top: 0; |
237 width: 25px; | 241 width: 25px; |
238 } | 242 } |
239 } | 243 } |
240 | 244 |
241 /* details-button is special; it's a <button> element that looks like a link. */ | 245 /* details-button is special; it's a <button> element that looks like a link. */ |
242 #details-button { | 246 #details-button { |
243 background-color: inherit; | |
244 background-image: none; | |
245 border: none; | |
246 box-shadow: none; | 247 box-shadow: none; |
247 min-width: 0; | 248 min-width: 0; |
248 padding: 0; | |
249 text-decoration: underline; | |
250 } | 249 } |
251 | 250 |
252 /* Styles for platform dependent separation of controls and details button. */ | 251 /* Styles for platform dependent separation of controls and details button. */ |
253 .suggested-left > #control-buttons, | 252 .suggested-left > #control-buttons, |
254 .suggested-right > #details-button { | 253 .suggested-left #stale-load-button, |
| 254 .suggested-right > #details-button { |
255 float: left; | 255 float: left; |
256 } | 256 } |
257 | 257 |
258 .suggested-right > #control-buttons, | 258 .suggested-right > #control-buttons, |
259 .suggested-left > #details-button { | 259 .suggested-right #stale-load-button, |
| 260 .suggested-left > #details-button { |
260 float: right; | 261 float: right; |
261 } | 262 } |
262 | 263 |
| 264 .suggested-left .secondary-button { |
| 265 -webkit-margin-end: 0px; |
| 266 -webkit-margin-start: 16px; |
| 267 } |
| 268 |
263 #details-button.singular { | 269 #details-button.singular { |
264 float: none; | 270 float: none; |
265 } | 271 } |
266 | 272 |
267 #buttons::after { | 273 #buttons::after { |
268 clear: both; | 274 clear: both; |
269 content: ''; | 275 content: ''; |
270 display: block; | 276 display: block; |
271 width: 100%; | 277 width: 100%; |
272 } | 278 } |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 | 358 |
353 @media (max-height: 320px) and (orientation: landscape) { | 359 @media (max-height: 320px) and (orientation: landscape) { |
354 .icon-offline { | 360 .icon-offline { |
355 margin-bottom: 0; | 361 margin-bottom: 0; |
356 } | 362 } |
357 | 363 |
358 .offline .runner-container { | 364 .offline .runner-container { |
359 top: 10px; | 365 top: 10px; |
360 } | 366 } |
361 } | 367 } |
OLD | NEW |