| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 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 :host { | 7 :host { |
| 8 flex: none; | 8 flex: none; |
| 9 padding: 0 2px; | 9 padding: 0 2px; |
| 10 } | 10 } |
| 11 | 11 |
| 12 .toolbar-shadow { | 12 .toolbar-shadow { |
| 13 position: relative; | 13 position: relative; |
| 14 white-space: nowrap; | 14 white-space: nowrap; |
| 15 height: 26px; | 15 height: 26px; |
| 16 contain: strict; |
| 16 overflow: hidden; | 17 overflow: hidden; |
| 17 z-index: 12; | 18 z-index: 12; |
| 18 display: flex; | 19 display: flex; |
| 19 flex: none; | 20 flex: none; |
| 20 align-items: center; | 21 align-items: center; |
| 21 } | 22 } |
| 22 | 23 |
| 23 .toolbar-shadow.wrappable { | 24 .toolbar-shadow.wrappable { |
| 24 flex-wrap: wrap; | 25 flex-wrap: wrap; |
| 25 overflow: visible; | 26 overflow: visible; |
| 27 contain: none; |
| 26 } | 28 } |
| 27 | 29 |
| 28 .toolbar-shadow.wrappable-reverse { | 30 .toolbar-shadow.wrappable-reverse { |
| 29 flex-direction: row-reverse; | 31 flex-direction: row-reverse; |
| 30 } | 32 } |
| 31 | 33 |
| 32 .toolbar-shadow.toolbar-grow-vertical { | 34 .toolbar-shadow.toolbar-grow-vertical { |
| 33 height: initial; | 35 height: initial; |
| 34 } | 36 } |
| 35 | 37 |
| 36 .toolbar-shadow.vertical { | 38 .toolbar-shadow.vertical { |
| 37 flex-direction: column; | 39 flex-direction: column; |
| 38 height: auto; | 40 height: auto; |
| 41 contain: none; |
| 39 align-items: flex-start; | 42 align-items: flex-start; |
| 40 } | 43 } |
| 41 | 44 |
| 42 .toolbar-item { | 45 .toolbar-item { |
| 43 position: relative; | 46 position: relative; |
| 44 display: flex; | 47 display: flex; |
| 45 background-color: transparent; | 48 background-color: transparent; |
| 46 flex: none; | 49 flex: none; |
| 47 align-items: center; | 50 align-items: center; |
| 48 justify-content: center; | 51 justify-content: center; |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 border: 0; | 206 border: 0; |
| 204 border-radius: 0; | 207 border-radius: 0; |
| 205 padding: 0 13px 0 5px; | 208 padding: 0 13px 0 5px; |
| 206 margin-right: -10px; | 209 margin-right: -10px; |
| 207 position: relative; | 210 position: relative; |
| 208 height: 22px; | 211 height: 22px; |
| 209 margin-top: 2px; | 212 margin-top: 2px; |
| 210 margin-bottom: 2px; | 213 margin-bottom: 2px; |
| 211 } | 214 } |
| 212 | 215 |
| 216 .console-context { |
| 217 height: 26px; |
| 218 text-align: left; |
| 219 } |
| 220 |
| 221 .console-context .title { |
| 222 padding-right: 5px; |
| 223 width: 120px; |
| 224 overflow: hidden; |
| 225 text-overflow: ellipsis; |
| 226 } |
| 227 |
| 228 .console-context[data-keyboard-focus="true"]:focus::before { |
| 229 content: ""; |
| 230 position: absolute; |
| 231 top:2px; |
| 232 left:2px; |
| 233 right:2px; |
| 234 bottom:2px; |
| 235 background: rgba(0, 0, 0, 0.08); |
| 236 } |
| 237 |
| 213 select.toolbar-item[data-keyboard-focus="true"]:focus { | 238 select.toolbar-item[data-keyboard-focus="true"]:focus { |
| 214 background: rgba(0, 0, 0, 0.08); | 239 background: rgba(0, 0, 0, 0.08); |
| 215 border-radius: 2px; | 240 border-radius: 2px; |
| 216 } | 241 } |
| 217 | 242 |
| 218 select.toolbar-item[data-keyboard-focus="true"]:focus > * { | 243 select.toolbar-item[data-keyboard-focus="true"]:focus > * { |
| 219 background: white; | 244 background: white; |
| 220 } | 245 } |
| 221 | 246 |
| 222 /* Input */ | 247 /* Input */ |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 left: 2px; | 314 left: 2px; |
| 290 right: 2px; | 315 right: 2px; |
| 291 background-color: rgba(0, 0, 0, 0.08); | 316 background-color: rgba(0, 0, 0, 0.08); |
| 292 border-radius: 2px; | 317 border-radius: 2px; |
| 293 content: ""; | 318 content: ""; |
| 294 } | 319 } |
| 295 | 320 |
| 296 .toolbar-shadow.floating { | 321 .toolbar-shadow.floating { |
| 297 flex-direction: column; | 322 flex-direction: column; |
| 298 height: auto; | 323 height: auto; |
| 324 contain: none; |
| 299 background-color: white; | 325 background-color: white; |
| 300 border: 1px solid #ccc; | 326 border: 1px solid #ccc; |
| 301 margin-top: -1px; | 327 margin-top: -1px; |
| 302 width: 28px; | 328 width: 28px; |
| 303 left: -2px; | 329 left: -2px; |
| 304 } | 330 } |
| 305 | 331 |
| 306 span.toolbar-select-container.toolbar-item.warning { | 332 .console-context.warning { |
| 307 background: #ffd7d7; | 333 background: #ffd7d7; |
| 308 padding: 0 5px 0 0; | |
| 309 margin-right: 1px; | |
| 310 } | 334 } |
| OLD | NEW |