| 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 body { | 5 body { |
| 6 background-color: #E6E6E6; | 6 background-color: #E6E6E6; |
| 7 font-family: Helvetica, Arial, sans-serif; | 7 font-family: Helvetica, Arial, sans-serif; |
| 8 font-size: 10pt; | 8 font-size: 10pt; |
| 9 margin: 50px 40px 20px 40px; | 9 margin: 50px 40px 20px 40px; |
| 10 } | 10 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 #diagnose-button { | 40 #diagnose-button { |
| 41 margin-top: 20px; | 41 margin-top: 20px; |
| 42 margin-bottom: 10px; | 42 margin-bottom: 10px; |
| 43 -webkit-margin-start: 0px; | 43 -webkit-margin-start: 0px; |
| 44 } | 44 } |
| 45 | 45 |
| 46 #content-top #buttons, | 46 #content-top #buttons, |
| 47 #content-top h1 { | 47 #content-top h1 { |
| 48 color: #666; | 48 color: #666; |
| 49 margin: 10px 0px 30px 0px; | 49 margin: 10px 0px 25px 0px; |
| 50 font-weight: normal; | 50 font-weight: normal; |
| 51 font-size: 1.5em; | 51 font-size: 1.5em; |
| 52 text-align: center; | 52 text-align: center; |
| 53 } | 53 } |
| 54 | 54 |
| 55 h2 { | 55 h2 { |
| 56 color: #666; | 56 color: #666; |
| 57 font-size: 1.2em; | 57 font-size: 1.2em; |
| 58 font-weight: normal; | 58 font-weight: normal; |
| 59 margin: 10px 0; | 59 margin: 10px 0; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 78 url('../../app/theme/default_200_percent/common/error_network_generic.png'
) 2x); | 78 url('../../app/theme/default_200_percent/common/error_network_generic.png'
) 2x); |
| 79 } | 79 } |
| 80 | 80 |
| 81 .icon-offline { | 81 .icon-offline { |
| 82 content: -webkit-image-set( | 82 content: -webkit-image-set( |
| 83 url('../../app/theme/default_100_percent/common/error_network_offline.png'
) 1x, | 83 url('../../app/theme/default_100_percent/common/error_network_offline.png'
) 1x, |
| 84 url('../../app/theme/default_200_percent/common/error_network_offline.png'
) 2x); | 84 url('../../app/theme/default_200_percent/common/error_network_offline.png'
) 2x); |
| 85 } | 85 } |
| 86 | 86 |
| 87 #content-top { | 87 #content-top { |
| 88 margin: 20px; | 88 margin: 20px 20px 20px 25px; |
| 89 } | 89 } |
| 90 | 90 |
| 91 #help-box-outer { | 91 #help-box-outer { |
| 92 overflow: hidden; | 92 overflow: hidden; |
| 93 -webkit-transition: height ease-in 218ms; | 93 -webkit-transition: height ease-in 218ms; |
| 94 } | 94 } |
| 95 | 95 |
| 96 #help-box-inner { | 96 #help-box-inner { |
| 97 background-color: #f9f9f9; | 97 background-color: #f9f9f9; |
| 98 border-top: 1px solid #EEE; | 98 border-top: 1px solid #EEE; |
| 99 color: #444; | 99 color: #444; |
| 100 padding: 20px; | 100 padding: 25px 20px; |
| 101 text-align: start; | 101 text-align: start; |
| 102 } | 102 } |
| 103 | 103 |
| 104 #suggestion { | 104 #suggestions { |
| 105 margin-top: 15px; | 105 margin-top: 15px; |
| 106 } | 106 } |
| 107 | 107 |
| 108 #short-suggestion { | |
| 109 margin-top: 5px; | |
| 110 } | |
| 111 | |
| 112 #sub-frame-error-details { | 108 #sub-frame-error-details { |
| 113 color: #8F8F8F; | 109 color: #8F8F8F; |
| 114 <if expr="not is_android and not is_ios"> | 110 <if expr="not is_android and not is_ios"> |
| 115 /* Not done on mobile for performance reasons. */ | 111 /* Not done on mobile for performance reasons. */ |
| 116 text-shadow: 0 1px 0 rgba(255,255,255,0.3); | 112 text-shadow: 0 1px 0 rgba(255,255,255,0.3); |
| 117 </if> | 113 </if> |
| 118 } | 114 } |
| 119 | 115 |
| 120 [jscontent=failedUrl] { | 116 [jscontent=failedUrl] { |
| 121 overflow-wrap: break-word; | 117 overflow-wrap: break-word; |
| 122 } | 118 } |
| 123 | 119 |
| 124 button { | 120 button { |
| 125 border: 1px solid rgba(0, 0, 0, 0.25); | 121 border: 1px solid rgba(0, 0, 0, 0.25); |
| 126 border-radius: 2px; | 122 border-radius: 2px; |
| 127 color: #444; | 123 color: #444; |
| 124 margin: 0px 5px; |
| 125 min-height: 29px; |
| 126 min-width: 65px; |
| 128 -webkit-user-select: none; | 127 -webkit-user-select: none; |
| 128 padding: 8px 13px; |
| 129 <if expr="not is_android"> | 129 <if expr="not is_android"> |
| 130 /* iOS does not support linear-gradient without a prefix. */ | 130 /* iOS does not support linear-gradient without a prefix. */ |
| 131 background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); | 131 background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede); |
| 132 text-shadow: 0 1px 0 rgb(240, 240, 240); | 132 text-shadow: 0 1px 0 rgb(240, 240, 240); |
| 133 </if> | 133 </if> |
| 134 <if expr="is_android"> | 134 <if expr="is_android"> |
| 135 /* Android uses flat background colors. */ | 135 /* Android uses flat background colors. */ |
| 136 background-color: #ededed; | 136 background-color: #ededed; |
| 137 font-weight: bold; | 137 font-weight: bold; |
| 138 </if> | 138 </if> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 163 background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); | 163 background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); |
| 164 </if> | 164 </if> |
| 165 <if expr="is_android"> | 165 <if expr="is_android"> |
| 166 background-color: #e7e7e7; | 166 background-color: #e7e7e7; |
| 167 </if> | 167 </if> |
| 168 <if expr="not is_android and not is_ios"> | 168 <if expr="not is_android and not is_ios"> |
| 169 box-shadow: none; | 169 box-shadow: none; |
| 170 </if> | 170 </if> |
| 171 } | 171 } |
| 172 | 172 |
| 173 .text-button { | 173 #reload-button { |
| 174 margin: 0px 5px; | |
| 175 min-height: 29px; | |
| 176 min-width: 65px; | |
| 177 padding: 7px 13px; | |
| 178 } | |
| 179 | |
| 180 .blue-button { | |
| 181 color: #fff; | 174 color: #fff; |
| 182 <if expr="not is_android"> | 175 <if expr="not is_android"> |
| 183 background-image: -webkit-linear-gradient(#5d9aff, #5d9aff 38%, #5891f0); | 176 background-image: -webkit-linear-gradient(#5d9aff, #5d9aff 38%, #5891f0); |
| 184 border: 1px solid rgba(45, 102, 195, 1); | 177 border: 1px solid rgba(45, 102, 195, 1); |
| 185 text-shadow: 0 1px 0 rgba(0,0,0,0.5); | 178 text-shadow: 0 1px 0 rgba(0,0,0,0.5); |
| 186 </if> | 179 </if> |
| 187 <if expr="is_android"> | 180 <if expr="is_android"> |
| 188 background-color: rgb(39, 180, 231); | 181 background-color: rgb(39, 180, 231); |
| 189 border: 1px solid rgb(0, 152, 206); | 182 border: 1px solid rgb(0, 152, 206); |
| 190 </if> | 183 </if> |
| 191 <if expr="not is_android and not is_ios"> | 184 <if expr="not is_android and not is_ios"> |
| 192 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0
.2); | 185 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0
.2); |
| 193 </if> | 186 </if> |
| 194 } | 187 } |
| 195 | 188 |
| 196 .blue-button:hover { | 189 #reload-button:hover { |
| 197 <if expr="not is_android"> | 190 <if expr="not is_android"> |
| 198 background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1); | 191 background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1); |
| 199 border: 1px solid rgba(45, 102, 195, 1); | 192 border: 1px solid rgba(45, 102, 195, 1); |
| 200 </if> | 193 </if> |
| 201 <if expr="not is_android and not is_ios"> | 194 <if expr="not is_android and not is_ios"> |
| 202 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0
.2); | 195 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0
.2); |
| 203 </if> | 196 </if> |
| 204 } | 197 } |
| 205 | 198 |
| 206 .blue-button:active { | 199 #reload-button:active { |
| 207 <if expr="not is_android"> | 200 <if expr="not is_android"> |
| 208 background-image: -webkit-linear-gradient(#6095ed, #6095ed 38%, #6095ed); | 201 background-image: -webkit-linear-gradient(#6095ed, #6095ed 38%, #6095ed); |
| 209 border: 1px solid rgb(38, 84, 160); | 202 border: 1px solid rgb(38, 84, 160); |
| 210 </if> | 203 </if> |
| 211 <if expr="is_android"> | 204 <if expr="is_android"> |
| 212 background-color: rgb(0, 152, 206); | 205 background-color: rgb(0, 152, 206); |
| 213 </if> | 206 </if> |
| 214 <if expr="not is_android and not is_ios"> | 207 <if expr="not is_android and not is_ios"> |
| 215 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); | 208 box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); |
| 216 </if> | 209 </if> |
| 217 } | 210 } |
| 218 | 211 |
| 219 #search-container { | |
| 220 /* Prevents a space between controls. */ | |
| 221 display: flex; | |
| 222 margin-top: 20px; | |
| 223 } | |
| 224 | |
| 225 #search-box { | |
| 226 border: 1px solid #cdcdcd; | |
| 227 flex-grow: 1; | |
| 228 font-size: 16px; | |
| 229 height: 26px; | |
| 230 margin-right: 0; | |
| 231 padding: 1px 9px; | |
| 232 } | |
| 233 | |
| 234 #search-box:focus { | |
| 235 border: 1px solid #5d9aff; | |
| 236 outline: none; | |
| 237 } | |
| 238 | |
| 239 #search-button { | |
| 240 border: none; | |
| 241 border-top-left-radius: 0; | |
| 242 border-bottom-left-radius: 0; | |
| 243 box-shadow: none; | |
| 244 display: flex; | |
| 245 height: 30px; | |
| 246 margin: 0; | |
| 247 width: 60px; | |
| 248 padding: 0; | |
| 249 } | |
| 250 | |
| 251 #search-image { | |
| 252 content: | |
| 253 -webkit-image-set( | |
| 254 url('../../app/theme/default_100_percent/common/omnibox_search_button_
loupe.png') 1x, | |
| 255 url('../../app/theme/default_200_percent/common/omnibox_search_button_
loupe.png') 2x); | |
| 256 margin: auto; | |
| 257 } | |
| 258 | |
| 259 .hidden { | 212 .hidden { |
| 260 display: none; | 213 display: none; |
| 261 } | 214 } |
| 262 | 215 |
| 263 .suggestions { | 216 .suggestions { |
| 264 margin-top: 18px; | 217 margin-top: 18px; |
| 265 } | 218 } |
| 266 | 219 |
| 267 .suggestion-header { | 220 .suggestion-header { |
| 268 font-weight: bold; | 221 font-weight: bold; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 visibility: visible; | 295 visibility: visible; |
| 343 } | 296 } |
| 344 | 297 |
| 345 /* If the iframe is too small, always hide the error code. */ | 298 /* If the iframe is too small, always hide the error code. */ |
| 346 /* TODO(mmenke): See if overflow: no-display works better, once supported. */ | 299 /* TODO(mmenke): See if overflow: no-display works better, once supported. */ |
| 347 @media (max-width: 200px), (max-height: 95px) { | 300 @media (max-width: 200px), (max-height: 95px) { |
| 348 #sub-frame-error-details { | 301 #sub-frame-error-details { |
| 349 display: none; | 302 display: none; |
| 350 } | 303 } |
| 351 } | 304 } |
| OLD | NEW |