| Index: appengine/swarming/elements/res/imp/common/swarming-app.html
|
| diff --git a/appengine/swarming/elements/res/imp/common/swarming-app.html b/appengine/swarming/elements/res/imp/common/swarming-app.html
|
| index 2ff5f8d91d1a4cf39d7dfba9141b29e1ad24bcff..d5e2ca04a9292330338661268083617b2421b845 100644
|
| --- a/appengine/swarming/elements/res/imp/common/swarming-app.html
|
| +++ b/appengine/swarming/elements/res/imp/common/swarming-app.html
|
| @@ -8,9 +8,15 @@
|
|
|
| <swarming-app>
|
|
|
| - Usage:
|
| + <swarming-app> is meant to be used in top level elements to provide the header
|
| + toolbar and authentication.
|
|
|
| - <swarming-app></swarming-app>
|
| + It contains the definition of the following style modules:
|
| +
|
| + swarming-app-style
|
| +
|
| + <style include="shared-style"> contains styles to be shared among all
|
| + apps, such as colors.
|
|
|
| Properties:
|
| auth_headers: Object, Use this in iron-ajax to set oauth2 headers.
|
| @@ -25,8 +31,8 @@
|
| -->
|
|
|
| <link rel="import" href="/res/imp/bower_components/app-layout/app-layout.html">
|
| -<link rel="import" href="/res/imp/bower_components/paper-spinner/paper-spinner-lite.html">
|
| <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-layout-classes.html">
|
| +<link rel="import" href="/res/imp/bower_components/paper-spinner/paper-spinner-lite.html">
|
|
|
| <link rel="import" href="/res/imp/common/auth-signin.html">
|
|
|
| @@ -42,7 +48,7 @@
|
| }
|
|
|
| app-toolbar {
|
| - background-color: #4285f4;
|
| + background-color: #1F78B4;
|
| color: #fff;
|
| }
|
|
|
| @@ -59,6 +65,10 @@
|
| padding: 3px;
|
| }
|
|
|
| + .main-content a {
|
| + color: #1F78B4;
|
| + }
|
| +
|
| paper-spinner-lite {
|
| --paper-spinner-color: var(--google-yellow-500);
|
| }
|
| @@ -104,4 +114,16 @@
|
|
|
| });
|
| </script>
|
| +</dom-module>
|
| +
|
| +<dom-module id="swarming-app-style">
|
| + <style>
|
| + * {
|
| + font-family: sans-serif;
|
| + }
|
| + /* Only style anchor tags that are actually linking somewhere.*/
|
| + a[href] {
|
| + color: #1F78B4;
|
| + }
|
| + </style>
|
| </dom-module>
|
|
|