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

Unified Diff: runtime/observatory/lib/src/elements/css/shared.css

Issue 2119733003: Wrapping leaf nodes in non polymer elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Converted vm-connect Created 4 years, 5 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: runtime/observatory/lib/src/elements/css/shared.css
diff --git a/runtime/observatory/lib/src/elements/css/shared.css b/runtime/observatory/lib/src/elements/css/shared.css
index 3442d98f5b172b9b73e543f323d31d408a847d2c..5d97a9accc70d6636125754cede3499a92f7e206 100644
--- a/runtime/observatory/lib/src/elements/css/shared.css
+++ b/runtime/observatory/lib/src/elements/css/shared.css
@@ -7,6 +7,10 @@
box-sizing: border-box;
}
+body {
+ padding-top: 56px;
+}
+
.content {
padding-left: 10%;
font: 400 14px 'Montserrat', sans-serif;
@@ -298,6 +302,11 @@ body.busy, body.busy * {
0 2px 5px 0 rgba(0, 0, 0, 0.26);
}
+input.textbox {
+ width: 20em;
+ font: 400 16px 'Montserrat', sans-serif;
+}
+
@-webkit-keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
@@ -354,3 +363,157 @@ body.busy, body.busy * {
animation: shake 0.5s;
-webkit-animation: shake 0.5s;
}
+
+/* error-ref */
+/* TODO(cbernaschina) fix error-ref-wrapped to error-ref when wrapper removed */
+
+error-ref-wrapped > pre {
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ padding: 10px;
+ font-family: consolas, courier, monospace;
+ font-size: 1em;
+ line-height: 1.2em;
+ white-space: pre;
+}
+
+/* isolate-ref */
+/* TODO(cbernaschina) fix isolate-ref-wrapped to isolate-ref when wrapper
+removed */
+
+isolate-ref-wrapped > a {
+ color: #0489c3;
+ text-decoration: none;
+}
+
+isolate-ref-wrapped > a:hover {
+ text-decoration: underline;
+}
+
+/* nav-notify */
+/* TODO(cbernaschina) fix nav-notify-ref-wrapped to nav-notify-ref when wrapper
+removed */
+nav-notify-wrapped > div {
+ float: right;
+}
+nav-notify-wrapped > div > div {
+ display: block;
+ position: absolute;
+ top: 98%;
+ right: 0;
+ margin: 0;
+ padding: 0;
+ width: auto;
+ z-index: 1000;
+ background: none;
+}
+
+/* nav-exception & nav-event */
+
+nav-exception > div, nav-event > div {
+ position: relative;
+ padding: 16px;
+ margin-top: 10px;
+ margin-right: 10px;
+ padding-right: 25px;
+ width: 500px;
+ color: #ddd;
+ background: rgba(0,0,0,.6);
+ border: solid 2px white;
+ box-shadow: 0 0 5px black;
+ border-radius: 5px;
+ animation: fadein 1s;
+}
+
+nav-exception *, nav-event * {
+ color: #ddd;
+ font-size: 12px;
+}
+
+nav-exception > div > a, nav-event > div > a {
+ color: white;
+ text-decoration: none;
+}
+
+nav-exception > div > a:hover, nav-event > div > a:hover {
+ text-decoration: underline;
+}
+
+nav-exception > div > div {
+ margin-left:20px;
+ white-space: pre
+}
+
+nav-exception > div > button, nav-event > div > button {
+ background: transparent;
+ border: none;
+ position: absolute;
+ display: block;
+ top: 4px;
+ right: 4px;
+ height: 18px;
+ width: 18px;
+ line-height: 16px;
+ border-radius: 9px;
+ color: white;
+ font-size: 18px;
+ cursor: pointer;
+ text-align: center;
+}
+
+nav-exception > div > button:hover, nav-event > div > button:hover {
+ background: rgba(255,255,255,0.5);
+}
+
+/* nav-refresh */
+/* TODO(cbernaschina) fix nav-refresh-wrapped to nav-refresh when wrapper
+removed */
+
+nav-refresh-wrapped > li > button {
+ color: #000;
+ margin: 3px;
+ padding: 8px;
+ border-width: 2px;
+ line-height: 13px;
+ font: 400 13px 'Montserrat', sans-serif;
+}
+nav-refresh-wrapped > li > button[disabled] {
+ color: #aaa;
+ cursor: wait;
+}
+nav-refresh-wrapped > li {
+ float: right;
+ margin: 0;
+}
+
+/* view-footer */
+
+view-footer {
+ padding: 1em;
+ padding-top: 10.3em;
+ float: right;
+ align-content: right;
+}
+
+view-footer > a {
+ margin-bottom: 0.17em;
+ font-size: 90%;
+ float: right;
+ clear: both;
+ display: block;
+}
+
+/* vm-connect-target */
+/* TODO(cbernaschina) fix vm-connect-target-wrapped to vm-connect-target
+when wrapper removed */
+
+vm-connect-target > button.delete-button {
+ margin-left: 0.28em;
+ padding: 4px;
+ background: transparent;
+ border: none !important;
+}
+
+vm-connect-target > button.delete-button:hover {
+ background: #ff0000;
+}
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.html ('k') | runtime/observatory/lib/src/elements/curly_block.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698