| 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. */ |
| 11 html:not([subframe]) #sub-frame-error { | 11 html:not([subframe]) #sub-frame-error { |
| 12 display: none; | 12 display: none; |
| 13 } | 13 } |
| 14 | 14 |
| 15 #diagnose-button { | 15 #diagnose-button { |
| 16 -webkit-margin-start: 0; | 16 -webkit-margin-start: 0; |
| 17 float: none; | 17 float: none; |
| 18 margin-bottom: 10px; | 18 margin-bottom: 10px; |
| 19 margin-top: 20px; | 19 margin-top: 20px; |
| 20 } | 20 } |
| 21 | 21 |
| 22 h1 { | 22 h1 { |
| 23 margin-top: 0; | 23 margin-top: 0; |
| 24 word-wrap: break-word; |
| 25 } |
| 26 |
| 27 h1 span { |
| 28 font-weight: 500; |
| 24 } | 29 } |
| 25 | 30 |
| 26 h2 { | 31 h2 { |
| 27 color: #666; | 32 color: #666; |
| 28 font-size: 1.2em; | 33 font-size: 1.2em; |
| 29 font-weight: normal; | 34 font-weight: normal; |
| 30 margin: 10px 0; | 35 margin: 10px 0; |
| 31 } | 36 } |
| 32 | 37 |
| 33 a { | 38 a { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 59 | 64 |
| 60 .icon-disabled { | 65 .icon-disabled { |
| 61 content: -webkit-image-set( | 66 content: -webkit-image-set( |
| 62 url(default_100_percent/offline/100-disabled.png) 1x, | 67 url(default_100_percent/offline/100-disabled.png) 1x, |
| 63 url(default_200_percent/offline/200-disabled.png) 2x); | 68 url(default_200_percent/offline/200-disabled.png) 2x); |
| 64 width: 112px; | 69 width: 112px; |
| 65 } | 70 } |
| 66 | 71 |
| 67 .error-code { | 72 .error-code { |
| 68 display: block; | 73 display: block; |
| 74 font-size: .8em; |
| 69 } | 75 } |
| 70 | 76 |
| 71 #content-top { | 77 #content-top { |
| 72 margin: 20px; | 78 margin: 20px; |
| 73 } | 79 } |
| 74 | 80 |
| 75 .gray-button { | 81 .gray-button { |
| 76 background: #d9d9d9; | 82 background: #d9d9d9; |
| 77 color: #696969; | 83 color: #696969; |
| 78 } | 84 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 117 |
| 112 #search-container { | 118 #search-container { |
| 113 /* Prevents a space between controls. */ | 119 /* Prevents a space between controls. */ |
| 114 display: flex; | 120 display: flex; |
| 115 margin-top: 20px; | 121 margin-top: 20px; |
| 116 } | 122 } |
| 117 | 123 |
| 118 #search-box { | 124 #search-box { |
| 119 border: 1px solid #cdcdcd; | 125 border: 1px solid #cdcdcd; |
| 120 flex-grow: 1; | 126 flex-grow: 1; |
| 121 font-size: 16px; | 127 font-size: 1em; |
| 122 height: 26px; | 128 height: 26px; |
| 123 margin-right: 0; | 129 margin-right: 0; |
| 124 padding: 1px 9px; | 130 padding: 1px 9px; |
| 125 } | 131 } |
| 126 | 132 |
| 127 #search-box:focus { | 133 #search-box:focus { |
| 128 border: 1px solid rgb(93, 154, 255); | 134 border: 1px solid rgb(93, 154, 255); |
| 129 outline: none; | 135 outline: none; |
| 130 } | 136 } |
| 131 | 137 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 } | 233 } |
| 228 #help-box-inner { | 234 #help-box-inner { |
| 229 padding: 20px; | 235 padding: 20px; |
| 230 } | 236 } |
| 231 .suggestions { | 237 .suggestions { |
| 232 margin-top: 10px; | 238 margin-top: 10px; |
| 233 } | 239 } |
| 234 .suggestion-header { | 240 .suggestion-header { |
| 235 margin-bottom: 0; | 241 margin-bottom: 0; |
| 236 } | 242 } |
| 237 .error-code { | |
| 238 margin: 10px 0; | |
| 239 } | |
| 240 } | 243 } |
| 241 | 244 |
| 242 /* Don't allow overflow when in a subframe. */ | 245 /* Don't allow overflow when in a subframe. */ |
| 243 html[subframe] body { | 246 html[subframe] body { |
| 244 overflow: hidden; | 247 overflow: hidden; |
| 245 } | 248 } |
| 246 | 249 |
| 247 #sub-frame-error { | 250 #sub-frame-error { |
| 248 -webkit-align-items: center; | 251 -webkit-align-items: center; |
| 249 background-color: #DDD; | 252 background-color: #DDD; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 overflow: inherit; | 454 overflow: inherit; |
| 452 padding: 0 8px; | 455 padding: 0 8px; |
| 453 } | 456 } |
| 454 } | 457 } |
| 455 | 458 |
| 456 @media (max-width: 120px) { | 459 @media (max-width: 120px) { |
| 457 button { | 460 button { |
| 458 width: auto; | 461 width: auto; |
| 459 } | 462 } |
| 460 } | 463 } |
| OLD | NEW |