OLD | NEW |
1 /* Copyright 2016 The Chromium Authors. All rights reserved. | 1 /* Copyright 2016 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 | 5 |
6 :root { | 6 :root { |
7 --fade-duration: 225ms; | 7 --fade-duration: 225ms; |
8 --header-height: 48px; | 8 --header-height: 48px; |
9 --md-timing-function: cubic-bezier(.4, 0, .6, 1); | 9 --md-timing-function: cubic-bezier(.4, 0, .6, 1); |
10 --sidebar-width: 155px; | 10 --sidebar-width: 155px; |
(...skipping 15 matching lines...) Expand all Loading... |
26 background-repeat: no-repeat; | 26 background-repeat: no-repeat; |
27 min-height: 24px; | 27 min-height: 24px; |
28 min-width: 24px; | 28 min-width: 24px; |
29 } | 29 } |
30 | 30 |
31 .toggle-status.checked { | 31 .toggle-status.checked { |
32 background-image: | 32 background-image: |
33 url(../../../../ui/webui/resources/images/check_circle_green.svg); | 33 url(../../../../ui/webui/resources/images/check_circle_green.svg); |
34 } | 34 } |
35 | 35 |
| 36 /* Expandable List */ |
| 37 list { |
| 38 list-style-type: none; |
| 39 outline: none; |
| 40 } |
| 41 |
| 42 list .spinner { |
| 43 height: 48px; |
| 44 margin: 0 auto; |
| 45 pointer-events: none; |
| 46 width: 48px; |
| 47 } |
| 48 |
| 49 .expandable-list-item .brief-content { |
| 50 align-items: center; |
| 51 background-color: whitesmoke; |
| 52 border-left: 1px solid gray; |
| 53 border-right: 1px solid gray; |
| 54 border-top: 1px solid gray; |
| 55 cursor: pointer; |
| 56 display: flex; |
| 57 font-weight: 600; |
| 58 height: 40px; |
| 59 padding: 8px; |
| 60 } |
| 61 |
| 62 .expandable-list-item.expanded > .brief-content { |
| 63 border-bottom: 1px solid gray; |
| 64 } |
| 65 |
| 66 .expandable-list-item:nth-last-child(2) > .brief-content { |
| 67 border-bottom: 1px solid gray; |
| 68 } |
| 69 |
| 70 .expandable-list-item > .expanded-content { |
| 71 height: 0; |
| 72 overflow: hidden; |
| 73 } |
| 74 |
| 75 .expandable-list-item.expanded > .expanded-content { |
| 76 height: auto; |
| 77 } |
| 78 |
| 79 .expandable-list-item .info-container { |
| 80 padding: 0 0 8px; |
| 81 } |
| 82 |
36 /* Page container */ | 83 /* Page container */ |
37 #page-container { | 84 #page-container { |
38 -webkit-margin-start: var(--sidebar-width); | 85 -webkit-margin-start: var(--sidebar-width); |
39 } | 86 } |
40 | 87 |
41 @media screen and (max-width: 600px) { | 88 @media screen and (max-width: 600px) { |
42 #page-container { | 89 #page-container { |
43 -webkit-margin-start: 0; | 90 -webkit-margin-start: 0; |
44 } | 91 } |
45 } | 92 } |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 .object-fieldset .status div:first-child { | 376 .object-fieldset .status div:first-child { |
330 -webkit-margin-end: 1em; | 377 -webkit-margin-end: 1em; |
331 white-space: nowrap; | 378 white-space: nowrap; |
332 } | 379 } |
333 | 380 |
334 .object-fieldset .status:last-child { | 381 .object-fieldset .status:last-child { |
335 margin-bottom: 0; | 382 margin-bottom: 0; |
336 } | 383 } |
337 | 384 |
338 /* Object Fieldset Container */ | 385 /* Object Fieldset Container */ |
| 386 .flex { |
| 387 overflow-x: auto; |
| 388 } |
| 389 |
339 @media screen and (min-width: 601px) { | 390 @media screen and (min-width: 601px) { |
340 .flex { | 391 .flex { |
341 display: flex; | 392 display: flex; |
342 } | 393 } |
343 } | 394 } |
344 | 395 |
345 /* Device Details Page */ | 396 /* Device Details Page */ |
346 .device-details-page section { | 397 .device-details-page section, |
| 398 .info-container fieldset { |
347 -webkit-margin-start: 1em; | 399 -webkit-margin-start: 1em; |
348 } | 400 } |
OLD | NEW |