Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: chrome/browser/resources/bluetooth_internals/bluetooth_internals.css

Issue 2617923002: bluetooth: Add service list to DeviceDetailsPage in internals page. (Closed)
Patch Set: Add semicolon, inline serviceViewObj Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 --expandable-list-item-border: 1px solid gray;
7 --fade-duration: 225ms; 8 --fade-duration: 225ms;
8 --header-height: 48px; 9 --header-height: 48px;
9 --md-timing-function: cubic-bezier(.4, 0, .6, 1); 10 --md-timing-function: cubic-bezier(.4, 0, .6, 1);
10 --sidebar-width: 155px; 11 --sidebar-width: 155px;
11 --sidebar-neg-width: calc(var(--sidebar-width) * -1); 12 --sidebar-neg-width: calc(var(--sidebar-width) * -1);
12 } 13 }
13 14
14 html, 15 html,
15 body { 16 body {
16 margin: 0; 17 margin: 0;
17 padding: 0; 18 padding: 0;
18 } 19 }
19 20
20 h1 { 21 h1 {
21 color: rgb(92, 97, 102); 22 color: rgb(92, 97, 102);
22 } 23 }
23 24
24 .toggle-status { 25 .toggle-status {
25 background-image: url(../../../../ui/webui/resources/images/cancel_red.svg); 26 background-image: url(../../../../ui/webui/resources/images/cancel_red.svg);
26 background-repeat: no-repeat; 27 background-repeat: no-repeat;
27 min-height: 24px; 28 min-height: 24px;
28 min-width: 24px; 29 min-width: 24px;
29 } 30 }
30 31
31 .toggle-status.checked { 32 .toggle-status.checked {
32 background-image: 33 background-image:
33 url(../../../../ui/webui/resources/images/check_circle_green.svg); 34 url(../../../../ui/webui/resources/images/check_circle_green.svg);
34 } 35 }
35 36
37 /* Expandable List */
38 list {
39 list-style-type: none;
40 outline: none;
41 }
42
43 list .spinner {
44 height: 48px;
45 margin: 0 auto;
46 pointer-events: none;
47 width: 48px;
48 }
49
50 .expandable-list-item .brief-content {
51 align-items: center;
52 background-color: whitesmoke;
53 border-left: var(--expandable-list-item-border);
54 border-right: var(--expandable-list-item-border);
55 border-top: var(--expandable-list-item-border);
56 cursor: pointer;
57 display: flex;
58 font-weight: 600;
59 height: 40px;
60 padding: 8px;
61 }
62
63 .expandable-list-item.expanded > .brief-content {
64 border-bottom: var(--expandable-list-item-border);
65 }
66
67 .expandable-list-item:nth-last-child(2) > .brief-content {
68 border-bottom: var(--expandable-list-item-border);
69 }
70
71 .expandable-list-item > .expanded-content {
72 height: 0;
73 overflow: hidden;
74 }
75
76 .expandable-list-item.expanded > .expanded-content {
77 height: auto;
78 }
79
80 .expandable-list-item .info-container {
81 padding: 0 0 8px;
82 }
83
36 /* Page container */ 84 /* Page container */
37 #page-container { 85 #page-container {
38 -webkit-margin-start: var(--sidebar-width); 86 -webkit-margin-start: var(--sidebar-width);
39 } 87 }
40 88
41 @media screen and (max-width: 600px) { 89 @media screen and (max-width: 600px) {
42 #page-container { 90 #page-container {
43 -webkit-margin-start: 0; 91 -webkit-margin-start: 0;
44 } 92 }
45 } 93 }
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 .object-fieldset .status div:first-child { 377 .object-fieldset .status div:first-child {
330 -webkit-margin-end: 1em; 378 -webkit-margin-end: 1em;
331 white-space: nowrap; 379 white-space: nowrap;
332 } 380 }
333 381
334 .object-fieldset .status:last-child { 382 .object-fieldset .status:last-child {
335 margin-bottom: 0; 383 margin-bottom: 0;
336 } 384 }
337 385
338 /* Object Fieldset Container */ 386 /* Object Fieldset Container */
387 .flex {
388 overflow-x: auto;
389 }
390
339 @media screen and (min-width: 601px) { 391 @media screen and (min-width: 601px) {
340 .flex { 392 .flex {
341 display: flex; 393 display: flex;
342 } 394 }
343 } 395 }
344 396
345 /* Device Details Page */ 397 /* Device Details Page */
346 .device-details-page section { 398 .device-details-page section,
399 .info-container fieldset {
347 -webkit-margin-start: 1em; 400 -webkit-margin-start: 1em;
348 } 401 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/bluetooth_internals/bluetooth_internals.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698