| 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 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 pointer-events: none; | 55 pointer-events: none; |
| 56 } | 56 } |
| 57 | 57 |
| 58 .responsive-design-slider-height .responsive-design-thumb-handle { | 58 .responsive-design-slider-height .responsive-design-thumb-handle { |
| 59 transform: rotate(90deg); | 59 transform: rotate(90deg); |
| 60 } | 60 } |
| 61 | 61 |
| 62 .responsive-design-resolution-label { | 62 .responsive-design-resolution-label { |
| 63 position: absolute; | 63 position: absolute; |
| 64 color: white; | 64 color: white; |
| 65 background-color: hsl(41, 100%, 47%); | 65 background-color: rgb(255, 156, 0); |
| 66 padding: 3px; | 66 padding: 3px; |
| 67 font-size: 12px; | 67 font-size: 12px; |
| 68 text-align: center; | 68 text-align: center; |
| 69 text-shadow: hsl(41, 100%, 39%) 1px 1px; | |
| 70 } | 69 } |
| 71 | 70 |
| 72 .responsive-design-resolution-width { | 71 .responsive-design-resolution-width { |
| 73 top: 0; | 72 top: 0; |
| 74 } | 73 } |
| 75 | 74 |
| 76 .responsive-design-resolution-height { | 75 .responsive-design-resolution-height { |
| 77 left: 0; | 76 left: 0; |
| 78 } | 77 } |
| 79 | 78 |
| 80 .responsive-design-toolbar { | 79 .responsive-design-toolbar { |
| 81 flex: 0 0 24px; | 80 flex: 0 0 24px; |
| 82 background-color: rgb(64, 64, 64); | 81 background-color: rgb(64, 64, 64); |
| 83 color: rgb(220, 220, 220); | 82 color: rgb(180, 180, 180); |
| 84 padding-left: 6px; | |
| 85 display: flex; | 83 display: flex; |
| 86 align-items: center; | 84 align-items: center; |
| 87 border-bottom: 1px solid rgb(163, 163, 163); | 85 border-bottom: 1px solid rgb(163, 163, 163); |
| 86 white-space: nowrap; |
| 88 } | 87 } |
| 89 | 88 |
| 90 .responsive-design-toolbar fieldset, | 89 .responsive-design-toolbar fieldset, |
| 91 .responsive-design-toolbar p { | 90 .responsive-design-toolbar p { |
| 92 margin: 0; | 91 margin: 0; |
| 93 padding: 0; | 92 padding: 0; |
| 94 border: 0; | 93 border: 0; |
| 95 display: inline-block; | 94 display: inline-block; |
| 96 } | 95 } |
| 97 | 96 |
| 97 .responsive-design-toolbar fieldset { |
| 98 padding: 0 7px 0 0; |
| 99 height: 23px; |
| 100 } |
| 101 |
| 102 .responsive-design-toolbar .responsive-design-section { |
| 103 border-left: 1px solid rgb(163, 163, 163); |
| 104 } |
| 105 |
| 106 .responsive-design-toolbar fieldset:first-child { |
| 107 border-right: none; |
| 108 } |
| 109 |
| 98 .responsive-design-toolbar .field-error-message { | 110 .responsive-design-toolbar .field-error-message { |
| 99 display: none; | 111 display: none; |
| 100 } | 112 } |
| 101 .responsive-design-toolbar label { | 113 .responsive-design-toolbar fieldset > label { |
| 102 display: inline-flex; | 114 display: inline-flex; |
| 115 height: 22px; |
| 103 align-items: center; | 116 align-items: center; |
| 104 } | 117 } |
| 105 | 118 |
| 106 .responsive-design-toolbar input[type='text'] { | 119 .responsive-design-toolbar input[type='text'] { |
| 107 color: rgb(255, 156, 0); | 120 color: rgb(255, 156, 0); |
| 108 text-align: center; | 121 text-align: center; |
| 109 background-color: transparent; | 122 background-color: transparent; |
| 110 border: none; | 123 border: none; |
| 111 margin: 0 2px; | 124 margin: 0; |
| 112 padding: 3px; | 125 padding: 3px 0; |
| 113 } | 126 } |
| 114 | 127 |
| 115 .responsive-design-toolbar input:disabled, | 128 .responsive-design-toolbar input:disabled, |
| 116 .responsive-design-toolbar button:disabled { | 129 .responsive-design-toolbar button:disabled { |
| 117 opacity: 0.6; | 130 opacity: 0.7; |
| 118 } | 131 } |
| 119 | 132 |
| 120 .responsive-design-toolbar input[type='checkbox'] { | 133 .responsive-design-toolbar input[type='checkbox'] { |
| 121 background: none; | 134 -webkit-appearance: none; |
| 122 margin: 0; | 135 margin: 0 5px 0 7px; |
| 123 margin-right: 5px; | 136 border: 1px solid rgb(45, 45, 45); |
| 137 border-radius: 3px; |
| 138 background-color: rgb(102, 102, 102); |
| 124 } | 139 } |
| 125 | 140 |
| 126 .responsive-design-toolbar input[type='checkbox']:after { | 141 .responsive-design-toolbar input[type='checkbox']:after { |
| 127 content:'\2713'; | 142 content: ''; |
| 128 color: transparent; | |
| 129 line-height: 10px; | 143 line-height: 10px; |
| 130 position: absolute; | 144 position: absolute; |
| 131 cursor: pointer; | 145 cursor: pointer; |
| 132 background: rgb(64, 64, 64); | 146 width: 12px; |
| 133 border: 1px solid hsla(41, 100%, 47%, 0.6); | 147 height: 12px; |
| 148 background: none; |
| 134 } | 149 } |
| 135 | 150 |
| 136 .responsive-design-toolbar input[type='checkbox']:checked:after { | 151 .responsive-design-toolbar input[type='checkbox']:checked:after { |
| 137 color: hsl(41, 100%, 47%); | 152 background: rgb(220, 220, 220); |
| 138 } | 153 } |
| 139 | 154 |
| 140 .responsive-design-toolbar input.error-input { | 155 .responsive-design-toolbar input.error-input { |
| 141 color: red; | 156 color: red; |
| 142 text-decoration: line-through; | 157 text-decoration: line-through; |
| 143 } | 158 } |
| 144 | 159 |
| 145 .responsive-design-override-swap { | 160 .responsive-design-toolbar select { |
| 146 margin-right: 10px; | 161 width: 150px; |
| 162 background-color: transparent; |
| 163 color: rgb(255, 156, 0); |
| 164 border: 0; |
| 165 margin-left: 10px; |
| 166 line-height: 16px; |
| 147 } | 167 } |
| 148 | 168 |
| 149 .responsive-design-toolbar input:focus { | 169 .responsive-design-toolbar input:focus { |
| 150 background-color: rgb(102, 102, 102) | 170 background-color: rgb(102, 102, 102) |
| 151 } | 171 } |
| 152 | 172 |
| 153 .responsive-design-toolbar button { | 173 .responsive-design-icon { |
| 154 color: rgb(255, 156, 0); | 174 background-color: rgb(180, 180, 180); |
| 155 background-color: rgb(64, 64, 64); | 175 -webkit-mask-image: url(Images/responsiveDesign.png); |
| 156 border: none; | 176 -webkit-mask-size: 48px 16px; |
| 157 cursor: pointer; | 177 display: inline-block; |
| 158 } | 178 width: 16px; |
| 179 height: 16px; |
| 180 position: relative; |
| 181 top: 3px; |
| 182 } |
| 183 |
| 184 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 185 .responsive-design-icon { |
| 186 -webkit-mask-image: url(Images/responsiveDesign_2x.png); |
| 187 } |
| 188 } /* media */ |
| 189 |
| 190 .responsive-design-toolbar input[type='checkbox']:after { |
| 191 -webkit-mask-image: url(Images/statusbarButtonGlyphs.png); |
| 192 -webkit-mask-size: 320px 144px; |
| 193 -webkit-mask-position: -128px -110px; |
| 194 } |
| 195 |
| 196 @media (-webkit-min-device-pixel-ratio: 1.5) { |
| 197 .responsive-design-toolbar input[type='checkbox']:after { |
| 198 -webkit-mask-image: url(Images/statusbarButtonGlyphs_2x.png); |
| 199 } |
| 200 } /* media */ |
| 201 |
| 202 .responsive-design-icon-resolution { |
| 203 -webkit-mask-position: 0 0; |
| 204 } |
| 205 |
| 206 .responsive-design-icon-dpr { |
| 207 -webkit-mask-position: -16px 0; |
| 208 } |
| 209 |
| 210 .responsive-design-icon-swap { |
| 211 opacity: 0.9; |
| 212 background-color: rgb(255, 156, 0); |
| 213 -webkit-mask-position: -32px 0; |
| 214 margin-right: 10px; |
| 215 -webkit-appearance: none; |
| 216 padding: 0; |
| 217 border: 0; |
| 218 } |
| 219 |
| 220 .responsive-design-icon-swap:hover { |
| 221 opacity: 1; |
| 222 } |
| 223 |
| 224 .responsive-design-icon-swap:active { |
| 225 opacity: 0.8; |
| 226 } |
| OLD | NEW |