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

Unified Diff: chrome/test/data/extensions/buildbot/buildbot.html

Issue 99172: Part 1 of sample sprucing. (Closed)
Patch Set: Added buildbot.crx, since that seems like something people might want to install. Created 11 years, 8 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/test/data/extensions/buildbot/buildbot.html
diff --git a/chrome/test/data/extensions/buildbot/buildbot.html b/chrome/test/data/extensions/buildbot/buildbot.html
index ee21e7d7af2bdbe14e51ddeda8bfeedd338aa987..e3878e1b7fca352911d8b43f61dab91fd60f22a4 100644
--- a/chrome/test/data/extensions/buildbot/buildbot.html
+++ b/chrome/test/data/extensions/buildbot/buildbot.html
@@ -57,14 +57,8 @@ function statusClick() {
requestStatus();
</script>
+<link rel="stylesheet" type="text/css" href="extensions_toolstrip.css">
<style>
-#main {
- /* TODO(erikkay) this shouldn't be necessary, see extensions_toolstrip.css */
- white-space: nowrap;
- padding-top: 0px;
- height: 100%;
-}
-
.open {
color: green;
}
@@ -73,40 +67,30 @@ requestStatus();
color: red;
}
-.button {
- padding: 2px 5px;
- height: 20px;
- float: left;
- display: table;
-}
-
-.button:hover {
- padding: 0px 4px;
- border: 1px solid silver;
- -webkit-border-radius: 5px;
- background-color: rgb(237, 244, 252);
- cursor: pointer;
-}
-
#bots {
- border: 1px solid rgb(237, 244, 252);
+ border: none;
height: 20px; /* hardcoded height sucks */
width: 435px; /* hardcoded width sucks */
background-color: transparent;
+ display:-webkit-box;
}
-#status {
- display: table-cell;
- vertical-align: middle;
+#frame-wrapper {
+ /* This is used to get us to vertically center the iframe in the vertical
+ space. */
+ display:-webkit-box;
+ -webkit-box-align:center;
+ /* Also, scooch the frame in a bit, under the button, because the content of
+ the frame has some extra built-in left padding. */
+ margin-left:-10px;
}
</style>
-<div id="main">
-<div class="button" onclick="statusClick();">
-<div id="status" class="open">
-tree: open?
-</div>
+<div class="toolstrip-button" onclick="statusClick();">
+<span id="status" class="open">tree: open?</span>
</div>
+
+<div id="frame-wrapper">
<iframe scrolling='no' id='bots' src="http://build.chromium.org/buildbot/waterfall/horizontal_one_box_per_builder"></iframe>
</div>

Powered by Google App Engine
This is Rietveld 408576698