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

Unified Diff: chrome/browser/resources/bluetooth_internals/bluetooth_internals.css

Issue 2617923002: bluetooth: Add service list to DeviceDetailsPage in internals page. (Closed)
Patch Set: Rearrage decorate function, display full UUID 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
diff --git a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
index 5fa4b2c06a19af04f648e17438755c18eb2764fa..804d7310e51febefed06b4c9129001608c5a1026 100644
--- a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
+++ b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
@@ -33,6 +33,53 @@ h1 {
url(../../../../ui/webui/resources/images/check_circle_green.svg);
}
+/* Expandable List */
+list {
+ list-style-type: none;
+ outline: none;
+}
+
+list .spinner {
+ height: 48px;
+ margin: 0 auto;
+ pointer-events: none;
+ width: 48px;
+}
+
+.expandable-list-item .brief-content {
+ align-items: center;
+ background-color: whitesmoke;
+ border-left: 1px solid gray;
dpapad 2017/01/13 22:17:20 Let's use a CSS variable where possible.
mbrunson 2017/01/13 23:26:46 Done.
+ border-right: 1px solid gray;
+ border-top: 1px solid gray;
+ cursor: pointer;
+ display: flex;
+ font-weight: 600;
+ height: 40px;
+ padding: 8px;
+}
+
+.expandable-list-item.expanded > .brief-content {
+ border-bottom: 1px solid gray;
+}
+
+.expandable-list-item:nth-last-child(2) > .brief-content {
+ border-bottom: 1px solid gray;
+}
+
+.expandable-list-item > .expanded-content {
+ height: 0;
+ overflow: hidden;
+}
+
+.expandable-list-item.expanded > .expanded-content {
+ height: auto;
+}
+
+.expandable-list-item .info-container {
+ padding: 0 0 8px;
+}
+
/* Page container */
#page-container {
-webkit-margin-start: var(--sidebar-width);
@@ -336,6 +383,10 @@ table .removed {
}
/* Object Fieldset Container */
+.flex {
+ overflow-x: auto;
+}
+
@media screen and (min-width: 601px) {
.flex {
display: flex;
@@ -343,6 +394,7 @@ table .removed {
}
/* Device Details Page */
-.device-details-page section {
+.device-details-page section,
+.info-container fieldset {
-webkit-margin-start: 1em;
-}
+}

Powered by Google App Engine
This is Rietveld 408576698