| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .responsive-design { | 7 .responsive-design { |
| 8 overflow: hidden; | 8 overflow: hidden; |
| 9 position: relative; | 9 position: relative; |
| 10 } | 10 } |
| 11 | 11 |
| 12 .responsive-design-reset-button { | |
| 13 position: absolute; | |
| 14 left: 0; | |
| 15 top: 0; | |
| 16 background-color: rgb(54, 54, 54); | |
| 17 } | |
| 18 | |
| 19 .responsive-design-reset-button:hover { | 12 .responsive-design-reset-button:hover { |
| 20 box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.5); | 13 box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.5); |
| 21 } | 14 } |
| 22 | 15 |
| 23 .responsive-design-sliders-container { | 16 .responsive-design-sliders-container { |
| 24 position: absolute; | 17 position: absolute; |
| 25 overflow: visible; | 18 overflow: visible; |
| 26 } | 19 } |
| 27 | 20 |
| 28 .responsive-design-slider-width, | 21 .responsive-design-slider-width, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 63 |
| 71 .responsive-design-resolution-width { | 64 .responsive-design-resolution-width { |
| 72 top: 0; | 65 top: 0; |
| 73 } | 66 } |
| 74 | 67 |
| 75 .responsive-design-resolution-height { | 68 .responsive-design-resolution-height { |
| 76 left: 0; | 69 left: 0; |
| 77 } | 70 } |
| 78 | 71 |
| 79 .responsive-design-toolbar { | 72 .responsive-design-toolbar { |
| 73 display: flex; |
| 80 flex: none; | 74 flex: none; |
| 81 background-color: rgb(64, 64, 64); | 75 background-color: rgb(64, 64, 64); |
| 82 color: rgb(180, 180, 180); | 76 color: rgb(180, 180, 180); |
| 77 overflow: hidden; |
| 78 border: 1px solid rgb(163, 163, 163); |
| 83 } | 79 } |
| 84 | 80 |
| 85 .responsive-design-toolbar fieldset, | 81 .responsive-design-toolbar fieldset, |
| 86 .responsive-design-toolbar p { | 82 .responsive-design-toolbar p { |
| 87 margin: 0; | 83 margin: 0; |
| 88 padding: 0; | 84 padding: 0; |
| 89 border: 0; | 85 border: 0; |
| 90 display: inline-block; | 86 display: inline-block; |
| 91 } | 87 } |
| 92 | 88 |
| 93 .responsive-design-toolbar .responsive-design-section { | 89 .responsive-design-toolbar .responsive-design-section { |
| 94 display: inline-flex; | 90 display: flex; |
| 91 flex: 1 0 auto; |
| 92 flex-direction: row; |
| 95 height: 24px; | 93 height: 24px; |
| 96 border: 1px solid rgb(163, 163, 163); | |
| 97 border-left: none; | |
| 98 margin-top: -1px; | 94 margin-top: -1px; |
| 99 white-space: nowrap; | 95 white-space: nowrap; |
| 100 align-items: center; | 96 align-items: center; |
| 97 justify-content: flex-start; |
| 101 padding-right: 3px; | 98 padding-right: 3px; |
| 102 } | 99 } |
| 103 | 100 |
| 101 .responsive-design-toolbar .responsive-design-section.vbox { |
| 102 height: auto; |
| 103 padding: 0; |
| 104 } |
| 105 |
| 106 .responsive-design-toolbar .responsive-design-composite-section { |
| 107 align-items: stretch; |
| 108 flex: none; |
| 109 } |
| 110 |
| 111 .responsive-design-toolbar .responsive-design-composite-section.vbox:not(.solid)
> :not(:nth-child(1)) { |
| 112 border-top: 1px solid rgb(163, 163, 163); |
| 113 } |
| 114 |
| 115 .responsive-design-toolbar .responsive-design-composite-section.hbox:not(.solid)
> :not(:nth-child(1)) { |
| 116 border-left: 1px solid rgb(163, 163, 163); |
| 117 } |
| 118 |
| 119 .responsive-design-toolbar > .responsive-design-composite-section { |
| 120 border-right: 1px solid rgb(163, 163, 163); |
| 121 } |
| 122 |
| 104 .responsive-design-toolbar .field-error-message { | 123 .responsive-design-toolbar .field-error-message { |
| 105 display: none; | 124 display: none; |
| 106 } | 125 } |
| 107 | 126 |
| 108 .responsive-design-toolbar input[type='text'] { | 127 .responsive-design-toolbar input[type='text'] { |
| 109 color: rgb(255, 156, 0); | 128 color: rgb(255, 156, 0); |
| 110 text-align: center; | 129 text-align: center; |
| 111 background-color: transparent; | 130 background-color: transparent; |
| 112 border: none; | 131 border: none; |
| 113 margin: 0; | 132 margin: 0; |
| 114 padding: 3px 0; | 133 padding-bottom: 4px; |
| 134 } |
| 135 |
| 136 .responsive-design-toolbar input[type='text']:not(.numeric) { |
| 137 width: 100%; |
| 138 margin-left: 7px; |
| 115 } | 139 } |
| 116 | 140 |
| 117 .responsive-design-toolbar input:disabled, | 141 .responsive-design-toolbar input:disabled, |
| 142 .responsive-design-toolbar input[readonly], |
| 118 .responsive-design-toolbar button:disabled { | 143 .responsive-design-toolbar button:disabled { |
| 119 opacity: 0.7; | 144 opacity: 0.7; |
| 120 } | 145 } |
| 121 | 146 |
| 122 .responsive-design-toolbar input[type='checkbox'] { | 147 .responsive-design-toolbar input[type='checkbox'] { |
| 123 -webkit-appearance: none; | 148 -webkit-appearance: none; |
| 124 margin: 0 5px 0 7px; | 149 margin: 0 5px 0 7px; |
| 125 border: 1px solid rgb(45, 45, 45); | 150 border: 1px solid rgb(45, 45, 45); |
| 126 border-radius: 3px; | 151 border-radius: 3px; |
| 127 background-color: rgb(102, 102, 102); | 152 background-color: rgb(102, 102, 102); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 148 text-decoration: line-through; | 173 text-decoration: line-through; |
| 149 } | 174 } |
| 150 | 175 |
| 151 .responsive-design-toolbar select { | 176 .responsive-design-toolbar select { |
| 152 width: 150px; | 177 width: 150px; |
| 153 background-color: transparent; | 178 background-color: transparent; |
| 154 color: rgb(255, 156, 0); | 179 color: rgb(255, 156, 0); |
| 155 border: 0; | 180 border: 0; |
| 156 margin-left: 10px; | 181 margin-left: 10px; |
| 157 line-height: 16px; | 182 line-height: 16px; |
| 183 } |
| 184 |
| 185 body.platform-mac .responsive-design-toolbar select { |
| 158 position: relative; | 186 position: relative; |
| 159 top: 1px; | 187 top: 1px; |
| 160 } | 188 } |
| 161 | 189 |
| 162 .responsive-design-toolbar input:focus { | 190 .responsive-design-toolbar input:focus { |
| 163 background-color: rgb(102, 102, 102) | 191 background-color: rgb(102, 102, 102) |
| 164 } | 192 } |
| 165 | 193 |
| 166 .responsive-design-icon { | 194 .responsive-design-icon { |
| 167 background-color: rgb(180, 180, 180); | 195 background-color: rgb(180, 180, 180); |
| 168 -webkit-mask-image: url(Images/responsiveDesign.png); | 196 -webkit-mask-image: url(Images/responsiveDesign.png); |
| 169 -webkit-mask-size: 48px 16px; | 197 -webkit-mask-size: 64px 16px; |
| 170 display: inline-block; | 198 display: inline-block; |
| 171 width: 16px; | 199 width: 16px; |
| 172 height: 16px; | 200 height: 16px; |
| 173 position: relative; | 201 position: relative; |
| 174 top: 3px; | 202 top: 3px; |
| 175 } | 203 } |
| 176 | 204 |
| 177 @media (-webkit-min-device-pixel-ratio: 1.5) { | 205 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 178 .responsive-design-icon { | 206 .responsive-design-icon { |
| 179 -webkit-mask-image: url(Images/responsiveDesign_2x.png); | 207 -webkit-mask-image: url(Images/responsiveDesign_2x.png); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 } | 239 } |
| 212 | 240 |
| 213 .responsive-design-icon-swap:hover { | 241 .responsive-design-icon-swap:hover { |
| 214 opacity: 1; | 242 opacity: 1; |
| 215 } | 243 } |
| 216 | 244 |
| 217 .responsive-design-icon-swap:active { | 245 .responsive-design-icon-swap:active { |
| 218 opacity: 0.8; | 246 opacity: 0.8; |
| 219 } | 247 } |
| 220 | 248 |
| 249 .responsive-design-expand { |
| 250 height: 19px; |
| 251 min-width: 70px; |
| 252 background: rgb(64, 64, 64); |
| 253 display: flex; |
| 254 align-items: center; |
| 255 justify-content: center; |
| 256 margin: 3px; |
| 257 } |
| 258 |
| 259 .responsive-design-expand:hover, |
| 260 .responsive-design-expand:active { |
| 261 background: linear-gradient(to top, rgb(102, 102, 102), rgb(64, 64, 64)); |
| 262 } |
| 263 |
| 264 .responsive-design-icon-expand { |
| 265 -webkit-mask-position: -48px 0; |
| 266 top: 0 !important; |
| 267 margin-right: 2px; |
| 268 } |
| 269 |
| 270 .responsive-design-expand.expanded .responsive-design-icon-expand { |
| 271 transform: rotate(180deg); |
| 272 } |
| 273 |
| 221 .responsive-design-warning { | 274 .responsive-design-warning { |
| 222 background-color: rgb(64, 64, 64); | 275 background-color: rgb(64, 64, 64); |
| 223 color: rgb(180, 180, 180); | 276 color: rgb(180, 180, 180); |
| 224 height: 19px; | 277 height: 19px; |
| 225 padding: 2px; | 278 padding: 2px; |
| 279 white-space: nowrap; |
| 226 } | 280 } |
| 227 | 281 |
| 228 .responsive-design-warning::before { | 282 .responsive-design-warning::before { |
| 229 background-image: url(Images/statusbarButtonGlyphs.png); | 283 background-image: url(Images/statusbarButtonGlyphs.png); |
| 230 background-size: 320px 144px; | 284 background-size: 320px 144px; |
| 231 width: 10px; | 285 width: 10px; |
| 232 height: 10px; | 286 height: 10px; |
| 233 content: ""; | 287 content: ""; |
| 234 position: relative; | 288 position: relative; |
| 235 top: 2px; | 289 top: 2px; |
| 236 background-position: -202px -107px; | 290 background-position: -202px -107px; |
| 237 float: left; | 291 float: left; |
| 238 margin-right: 4px; | 292 margin-right: 4px; |
| 239 margin-left: 2px; | 293 margin-left: 2px; |
| 240 } | 294 } |
| 241 | 295 |
| 242 @media (-webkit-min-device-pixel-ratio: 1.5) { | 296 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 243 .responsive-design-warning::before { | 297 .responsive-design-warning::before { |
| 244 background-image: url(Images/statusbarButtonGlyphs_2x.png); | 298 background-image: url(Images/statusbarButtonGlyphs_2x.png); |
| 245 } | 299 } |
| 246 } /* media */ | 300 } /* media */ |
| OLD | NEW |