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

Unified 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 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..154b20cf08662d45abcdff7b8f26d6f081e5db4d 100644
--- a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
+++ b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
@@ -4,6 +4,7 @@
*/
:root {
+ --expandable-list-item-border: 1px solid gray;
--fade-duration: 225ms;
--header-height: 48px;
--md-timing-function: cubic-bezier(.4, 0, .6, 1);
@@ -33,6 +34,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: var(--expandable-list-item-border);
+ border-right: var(--expandable-list-item-border);
+ border-top: var(--expandable-list-item-border);
+ cursor: pointer;
+ display: flex;
+ font-weight: 600;
+ height: 40px;
+ padding: 8px;
+}
+
+.expandable-list-item.expanded > .brief-content {
+ border-bottom: var(--expandable-list-item-border);
+}
+
+.expandable-list-item:nth-last-child(2) > .brief-content {
+ border-bottom: var(--expandable-list-item-border);
+}
+
+.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 +384,10 @@ table .removed {
}
/* Object Fieldset Container */
+.flex {
+ overflow-x: auto;
+}
+
@media screen and (min-width: 601px) {
.flex {
display: flex;
@@ -343,6 +395,7 @@ table .removed {
}
/* Device Details Page */
-.device-details-page section {
+.device-details-page section,
+.info-container fieldset {
-webkit-margin-start: 1em;
-}
+}
« 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