| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2017 The LUCI Authors. All rights reserved. | 2 Copyright 2017 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="../../bower_components/polymer/polymer.html"> | 7 <link rel="import" href="../../bower_components/polymer/polymer.html"> |
| 8 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht
ml"> | 8 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht
ml"> |
| 9 <link rel="import" href="../../bower_components/app-route/app-location.html"> | 9 <link rel="import" href="../../bower_components/app-route/app-location.html"> |
| 10 <link rel="import" href="../../bower_components/app-route/app-route.html"> | 10 <link rel="import" href="../../bower_components/app-route/app-route.html"> |
| 11 <link rel="import" href="../../bower_components/app-layout/app-drawer-layout/app
-drawer-layout.html"> | 11 <link rel="import" href="../../bower_components/app-layout/app-drawer-layout/app
-drawer-layout.html"> |
| 12 <link rel="import" href="../../bower_components/app-layout/app-header/app-header
.html"> | 12 <link rel="import" href="../../bower_components/app-layout/app-header/app-header
.html"> |
| 13 <link rel="import" href="../../bower_components/app-layout/app-header-layout/app
-header-layout.html"> | 13 <link rel="import" href="../../bower_components/app-layout/app-header-layout/app
-header-layout.html"> |
| 14 <link rel="import" href="../../bower_components/app-layout/app-toolbar/app-toolb
ar.html"> | 14 <link rel="import" href="../../bower_components/app-layout/app-toolbar/app-toolb
ar.html"> |
| 15 | 15 |
| 16 <link rel="import" href="../../common/auth-signin.html"> | 16 <link rel="import" href="../../common/auth-signin.html"> |
| 17 <link rel="import" href="config-set.html"> | 17 <link rel="import" href="config-set.html"> |
| 18 <link rel="import" href="front-page.html"> | 18 <link rel="import" href="front-page.html"> |
| 19 | 19 |
| 20 <dom-module id="config-ui"> | 20 <dom-module id="config-ui"> |
| 21 <template> | 21 <template> |
| 22 <style> | 22 <style> |
| 23 @media only screen and (min-width: 768px) { |
| 24 app-toolbar { |
| 25 height: 60px; |
| 26 } |
| 27 |
| 28 .logo { |
| 29 height: 50px; |
| 30 } |
| 31 |
| 32 .right { margin-left:15px; } |
| 33 } |
| 34 |
| 23 * { font-family: sans-serif; } | 35 * { font-family: sans-serif; } |
| 24 | 36 |
| 25 app-toolbar { | 37 app-toolbar { |
| 26 background-color: var(--google-blue-500); | 38 background-color: var(--google-blue-500); |
| 27 color: #232323; | 39 color: #232323; |
| 28 height: 60px; | |
| 29 } | |
| 30 | |
| 31 .logo { | |
| 32 height: 50px; | |
| 33 } | |
| 34 | |
| 35 .right { margin-left:15px; } | |
| 36 | |
| 37 .title { | |
| 38 font-size: 125%; | |
| 39 color: white; | |
| 40 } | 40 } |
| 41 | 41 |
| 42 .link { | 42 .link { |
| 43 font-size: 75%; | 43 font-size: 75%; |
| 44 color: white; | 44 color: white; |
| 45 margin-right: 10px; | 45 margin-right: 10px; |
| 46 } | 46 } |
| 47 |
| 48 .title { |
| 49 color: white; |
| 50 font-size: 125%; |
| 51 } |
| 47 </style> | 52 </style> |
| 48 | 53 |
| 49 <app-drawer-layout fullbleed force-narrow> | 54 <app-drawer-layout fullbleed force-narrow> |
| 50 <app-header-layout> | 55 <app-header-layout> |
| 51 <app-header reveals slot="header"> | 56 <app-header reveals slot="header"> |
| 52 <app-toolbar> | 57 <app-toolbar> |
| 53 <!--<image class="logo" src="/static/images/chromium.png"/>--> | 58 <!--<image class="logo" src="/static/images/chromium.png"/>--> |
| 54 <div class="title" main-title> | 59 <div class="title" main-title> |
| 55 Configuration Service | 60 Configuration Service |
| 56 </div> | 61 </div> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // If the path is blank, redirect to / | 136 // If the path is blank, redirect to / |
| 132 if (!this.route.path) { | 137 if (!this.route.path) { |
| 133 this.set('route.path', '/'); | 138 this.set('route.path', '/'); |
| 134 } | 139 } |
| 135 }); | 140 }); |
| 136 }, | 141 }, |
| 137 | 142 |
| 138 }); | 143 }); |
| 139 </script> | 144 </script> |
| 140 </dom-module> | 145 </dom-module> |
| OLD | NEW |