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

Unified Diff: Tools/GardeningServer/ui/ct-failure-card.html

Issue 400353006: Fix a bunch of UI nits in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Tools/GardeningServer/ui/ct-failure-card.html
diff --git a/Tools/GardeningServer/ui/ct-failure-card.html b/Tools/GardeningServer/ui/ct-failure-card.html
index 7abefd99189b67f0c58ce3da2f36849516debf8d..c1926d1ff366eaaece957ea797730edcf54c5f37 100644
--- a/Tools/GardeningServer/ui/ct-failure-card.html
+++ b/Tools/GardeningServer/ui/ct-failure-card.html
@@ -15,23 +15,53 @@ found in the LICENSE file.
display: flex;
}
+ /* FIXME: All this paper-button styling should go in a cr-button component so that
+ we can use buttons in different places and have them all look the same. */
paper-button {
- background: papayawhip;
+ -webkit-user-select: none;
+ background: #f5f5f5;
+ border-radius: 2px;
+ border: 1px solid #dcdcdc;
+ color: #444;
+ padding: 0 16px;
+ text-align: center;
+ }
+
+ paper-button:focus {
+ border: 1px solid #4d90fe;
+ outline: none;
+ }
+
+ paper-button:active {
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
+ }
+
+ paper-button:active, paper-button:hover {
+ background: #f8f8f8;
+ border-color: #c6c6c6;
+ box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
+ color: #222;
}
ct-builder-grid {
margin-right: 10px;
}
+
+ .failure {
+ flex: 1;
+ }
+
+ #examine {
+ align-self: flex-start;
+ }
</style>
<ct-builder-grid failures="{{failures}}"></ct-builder-grid>
- <div style="flex: 1">
+ <div class="failure">
<ct-test-list tests="{{failures|testNames}}"></ct-test-list>
<ct-commit-list first="{{failures[0].newestPassingRevision + 1}}"
last="{{failures[0].oldestFailingRevision}}"></ct-commit-list>
</div>
- <div>
- <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button>
- </div>
+ <paper-button id="examine" on-tap="{{examine}}">Examine</paper-button>
</template>
<script>
Polymer({

Powered by Google App Engine
This is Rietveld 408576698