Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!-- | |
| 2 Copyright 2017 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 | |
| 7 <link rel="import" href="../../bower_components/polymer/polymer.html"> | |
| 8 <link rel="import" href="../../bower_components/app-layout/app-layout.html"> | |
| 9 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht ml"> | |
| 10 | |
| 11 <dom-module id="config-ui"> | |
| 12 <template> | |
| 13 <style> | |
| 14 html, body { | |
| 15 margin: 0; | |
| 16 background: #f1f1f1; | |
| 17 } | |
|
turakulov
2017/06/08 01:22:00
Why this style is defined in this file as opposed
| |
| 18 | |
| 19 app-toolbar { | |
| 20 background-color: #efefef; | |
| 21 color: #232323; | |
| 22 } | |
| 23 | |
| 24 app-header { | |
| 25 @apply --layout-fixed-top; | |
| 26 } | |
| 27 | |
| 28 .title { | |
| 29 padding-left: 1%; | |
| 30 padding-bottom: 0.5%; | |
| 31 font-size: 150%; | |
| 32 font-family: sans-serif; | |
| 33 } | |
| 34 | |
| 35 .search { | |
| 36 padding-top: 15%; | |
| 37 } | |
| 38 | |
| 39 paper-search-bar { | |
| 40 border-style: solid; | |
| 41 border-width: 2px; | |
| 42 width: 40%; | |
| 43 margin: auto; | |
| 44 } | |
| 45 </style> | |
| 46 <app-header reveals> | |
| 47 <app-toolbar> | |
| 48 <image src="../../images/google.png"/> | |
|
turakulov
2017/06/08 01:22:00
Is this a Google logo? I am not sure branding team
| |
| 49 <div class="title" main-title>Configuration Service</div> | |
| 50 </app-toolbar> | |
| 51 </app-header> | |
| 52 | |
| 53 <center class="search"> | |
| 54 <paper-search-bar><paper-search-bar> | |
| 55 </center> | |
| 56 </template> | |
| 57 | |
| 58 <script> | |
| 59 Polymer({ | |
| 60 is: 'config-ui' | |
| 61 }); | |
| 62 </script> | |
| 63 </dom-module> | |
| OLD | NEW |