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

Unified Diff: Source/devtools/front_end/inspectorCommon.css

Issue 596323002: DevTools: make ElementsTreeOutline shadow dom-based. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests fixed Created 6 years, 2 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
« no previous file with comments | « Source/devtools/front_end/elementsTreeOutline.css ('k') | Source/devtools/front_end/inspectorStyle.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/inspectorCommon.css
diff --git a/Source/devtools/front_end/inspectorCommon.css b/Source/devtools/front_end/inspectorCommon.css
index 439f6617a14543eeae3751b32c41cbd735510e16..a746fe1b065c7f364a98e276a608d978be16b4b3 100644
--- a/Source/devtools/front_end/inspectorCommon.css
+++ b/Source/devtools/front_end/inspectorCommon.css
@@ -3,51 +3,84 @@ html {
}
body {
- cursor: default;
- position: relative;
height: 100%;
width: 100%;
+ position: relative;
overflow: hidden;
+ margin: 0;
+}
+
+body /deep/ .component-root {
+ cursor: default;
font-family: Lucida Grande, sans-serif;
font-size: 12px;
- margin: 0;
tab-size: 4;
-webkit-user-select: none;
color: #222;
}
-body.platform-linux {
- color: rgb(48, 57, 66);
- font-family: Ubuntu, Arial, sans-serif;
+body.platform-linux /deep/ .component-root {
+ color: rgb(48, 57, 66);
+ font-family: Ubuntu, Arial, sans-serif;
+}
+
+body.platform-mac /deep/ .component-root {
+ color: rgb(48, 57, 66);
+ font-family: 'Lucida Grande', sans-serif;
}
-body.platform-mac {
- color: rgb(48, 57, 66);
- font-family: 'Lucida Grande', sans-serif;
+body.platform-windows /deep/ .component-root {
+ font-family: 'Segoe UI', Tahoma, sans-serif;
}
-body.platform-windows {
- font-family: 'Segoe UI', Tahoma, sans-serif;
+body.platform-mac /deep/ .monospace,
+body.platform-mac /deep/ .source-code {
+ font-size: 11px !important;
+ font-family: Menlo, monospace;
+}
+
+body.platform-mac.platform-mac-tiger /deep/ .monospace,
+body.platform-mac.platform-mac-tiger /deep/ .source-code {
+ font-size: 10px !important;
+ font-family: Monaco, monospace;
+}
+
+body.platform-windows /deep/ .monospace,
+body.platform-windows /deep/ .source-code {
+ font-size: 12px !important;
+ font-family: Consolas, Lucida Console, monospace;
+}
+
+body.platform-linux /deep/ .monospace,
+body.platform-linux /deep/ .source-code {
+ font-size: 11px !important;
+ font-family: dejavu sans mono, monospace;
+}
+
+body /deep/ .source-code {
+ font-family: monospace;
+ font-size: 11px !important;
+ white-space: pre-wrap;
}
-* {
+body /deep/ * {
box-sizing: border-box;
}
-:focus {
+body /deep/ :focus {
outline: none;
}
-img {
+body /deep/ img {
-webkit-user-drag: none;
}
-iframe,
-a img {
+body /deep/ iframe,
+body /deep/ a img {
border: none;
}
-iframe.view {
+body /deep/ iframe.view {
position: absolute;
width: 100%;
height: 100%;
@@ -57,16 +90,16 @@ iframe.view {
bottom: 0;
}
-.hidden {
+body /deep/ .hidden {
display: none !important;
}
-.monospace {
+body /deep/ .monospace {
font-size: 10px !important;
font-family: monospace;
}
-.highlighted-search-result {
+body /deep/ .highlighted-search-result {
border-radius: 1px;
padding: 1px;
margin: -1px;
« no previous file with comments | « Source/devtools/front_end/elementsTreeOutline.css ('k') | Source/devtools/front_end/inspectorStyle.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698