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

Unified Diff: dart/site/try/index.html

Issue 261413002: Use ShadowRoot to hide non-user content (for example, diagnostics). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Kasper's comments. Created 6 years, 7 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 | « no previous file | dart/site/try/src/decoration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/index.html
diff --git a/dart/site/try/index.html b/dart/site/try/index.html
index 5af116b833b8f8793deb181ffccf6f31162fccfa..7e121463d3de9077de71dc29f84a219adc2ba6f8 100644
--- a/dart/site/try/index.html
+++ b/dart/site/try/index.html
@@ -26,10 +26,10 @@ a.diagnostic {
a:hover.diagnostic {
text-decoration: none;
}
-a.diagnostic span {
+a.diagnostic>span {
display: none;
}
-a:hover.diagnostic span {
+a:hover.diagnostic>span {
display: block;
position: absolute;
/* left: 1em; */
@@ -52,7 +52,7 @@ a:hover.diagnostic span {
display: 'inline-block';
}
-.dart-code-completion-holder *.dart-code-completion {
+.dart-code-completion-holder /deep/ *.dart-code-completion {
display: none;
position: absolute;
left: 0px;
@@ -64,11 +64,11 @@ a:hover.diagnostic span {
padding-left: 5px;
}
-.dart-code-completion-holder.active *.dart-code-completion {
+.dart-code-completion-holder.active /deep/ *.dart-code-completion {
display: block;
}
-.dart-static {
+body /deep/ .dart-static {
width: 198px;
overflow: auto;
}
@@ -100,35 +100,35 @@ a:hover.diagnostic span {
* }
*/
-.dart-limited-height {
+body /deep/ .dart-limited-height {
/* TODO(ahe): Make sure to compute this height to avoid jumping in the UI. */
max-height: 66px;
}
-.dart-server {
+body /deep/ .dart-server {
width: 198px;
border-top: 1px solid black;
}
-.activeEntry {
+body /deep/ .activeEntry {
background: #86b4bf;
}
-.doubleplusgood {
+body /deep/ .doubleplusgood {
font-weight: 700;
}
-.dart-entry {
+body /deep/ .dart-entry {
max-width: 198px;
overflow: hidden;
white-space: nowrap;
}
-.hazed-suggestion {
+body /deep/ .hazed-suggestion {
color: #aaa;
}
-.hazed-suggestion:after {
+body /deep/ .hazed-suggestion:after {
content: " ";
}
« no previous file with comments | « no previous file | dart/site/try/src/decoration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698