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

Side by Side Diff: appengine/swarming/elements/res/imp/common/single-page-style.html

Issue 2338383002: Refactor prior to adding task-page (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: Address nits Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file.
5
6 This contains the shared styles for the "single page" look, e.g. bot-page.
7 To use, include this file and then
8
9 <style include="single-page-style">
10
11 -->
12
13 <dom-module id="single-page-style">
14 <template>
15 <style>
16 .header {
17 max-width: 450px;
18 }
19
20 .title {
21 font-size: 1.5em;
22 font-weight: bold;
23 margin-top: 5px;
24 margin-bottom: 5px;
25 }
26 .id_input {
27 --paper-input-container-input: {
28 font-size: 2em;
29 };
30 }
31 .refresh {
32 max-width: 50px;
33 max-height: 50px;
34 width: initial;
35 height: initial;
36 }
37
38 table {
39 border-collapse: collapse;
40 margin-left: 5px;
41 margin-bottom: 5px;
42 }
43 td,
44 th {
45 border: 1px solid #BBB;
46 padding: 5px;
47 }
48
49 .tabs {
50 background-color: #1F78B4;
51 color: #fff;
52 max-width: 600px;
53 --paper-checkbox-label-color: #fff;
54 margin-left: 5px;
55 }
56
57 paper-tab {
58 background-color: #A6CEE3;
59 color: #000;
60 }
61
62 paper-tab.iron-selected {
63 background-color: #1F78B4;
64 color: #fff;
65 font-weight: bold;
66 text-decoration: underline;
67 }
68
69 paper-tab[disabled] {
70 background-color: #AAA;
71 text-decoration: line-through;
72 }
73
74 /* These colors are from buildbot */
75 .quarantined,
76 .failed_task {
77 background-color: #ffdddd;
78 }
79 .dead,
80 .bot_died {
81 background-color: #cccccc;
82 }
83 .exception {
84 background-color: #edd2ff;
85 }
86 .pending {
87 background-color: #fffc6c;
88 }
89
90 </style>
91 </template>
92 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698