| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The Chromium Authors. All rights reserved. | 2 * Copyright 2015 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 overflow: hidden; | 8 overflow: hidden; |
| 9 align-items: stretch; | 9 align-items: stretch; |
| 10 flex: auto; | 10 flex: auto; |
| 11 background-color: #fcfcfc; | 11 background-color: #fcfcfc; |
| 12 } | 12 } |
| 13 | 13 |
| 14 .device-mode-toolbar { | 14 .device-mode-toolbar { |
| 15 flex: none; | 15 flex: none; |
| 16 background-color: #f3f3f3; | 16 background-color: #f3f3f3; |
| 17 border-bottom: 1px solid #ccc; | 17 border-bottom: 1px solid #ccc; |
| 18 display: flex; | 18 display: flex; |
| 19 flex-direction: row; | 19 flex-direction: row; |
| 20 align-items: stretch; | 20 align-items: stretch; |
| 21 padding: 0 4px; | 21 padding: 0 4px; |
| 22 } | 22 } |
| 23 | 23 |
| 24 .device-mode-toolbar > .toolbar { | 24 .device-mode-toolbar .toolbar { |
| 25 padding: 0; | 25 padding: 0; |
| 26 overflow: hidden; | 26 overflow: hidden; |
| 27 flex: auto; |
| 28 } |
| 29 |
| 30 .device-mode-toolbar-left { |
| 31 flex: 0 1000 115px; |
| 32 min-width: 93px; |
| 33 } |
| 34 |
| 35 .device-mode-toolbar-right { |
| 36 flex: 0 1000 115px; |
| 37 min-width: 40px; |
| 38 display: flex; |
| 27 } | 39 } |
| 28 | 40 |
| 29 .device-mode-toolbar-middle-container { | 41 .device-mode-toolbar-middle-container { |
| 30 flex: auto; | 42 flex: 1 1 120px; |
| 31 position: relative; | 43 position: relative; |
| 32 } | 44 } |
| 33 | 45 |
| 34 .device-mode-toolbar-middle { | 46 .device-mode-toolbar-middle { |
| 35 display: flex; | 47 display: flex; |
| 36 justify-content: flex-start; | 48 justify-content: flex-start; |
| 37 overflow: hidden; | 49 overflow: hidden; |
| 38 } | 50 } |
| 39 | 51 |
| 40 .device-mode-toolbar-middle .toolbar { | 52 .device-mode-toolbar-middle .toolbar { |
| 41 flex-shrink: 1; | 53 flex: 0 1 auto; |
| 42 } | 54 } |
| 43 | 55 |
| 44 .device-mode-toolbar-spacer { | 56 .device-mode-toolbar-spacer { |
| 45 flex: auto; | 57 flex: auto; |
| 46 } | 58 } |
| 47 | 59 |
| 48 .device-mode-content-clip { | 60 .device-mode-content-clip { |
| 49 overflow: hidden; | 61 overflow: hidden; |
| 50 flex: auto; | 62 flex: auto; |
| 51 } | 63 } |
| 52 | 64 |
| 53 .device-mode-media-container { | 65 .device-mode-media-container { |
| 54 flex: none; | 66 flex: none; |
| 55 overflow: hidden; | 67 overflow: hidden; |
| 68 box-shadow: inset 0 -1px #ccc; |
| 56 } | 69 } |
| 57 | 70 |
| 58 .device-mode-content-area { | 71 .device-mode-content-area { |
| 59 flex: auto; | 72 flex: auto; |
| 60 position: relative; | 73 position: relative; |
| 61 margin: 0; | 74 margin: 0; |
| 62 } | 75 } |
| 63 | 76 |
| 64 .device-mode-screen-area { | 77 .device-mode-screen-area { |
| 65 position: absolute; | 78 position: absolute; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 .device-mode-blueprint > span { | 180 .device-mode-blueprint > span { |
| 168 transition: opacity 150ms; | 181 transition: opacity 150ms; |
| 169 opacity: 0; | 182 opacity: 0; |
| 170 padding: 3px; | 183 padding: 3px; |
| 171 } | 184 } |
| 172 | 185 |
| 173 .device-mode-blueprint:hover > span { | 186 .device-mode-blueprint:hover > span { |
| 174 opacity: 1; | 187 opacity: 1; |
| 175 display: initial; | 188 display: initial; |
| 176 } | 189 } |
| OLD | NEW |