Skip to content

Commit a18d499

Browse files
authored
use paper-toolbar in air client (#2832)
use paper-toolbar
1 parent d8336c1 commit a18d499

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

src/cca/bower.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
"tests"
1414
],
1515
"dependencies": {
16+
"iron-icons": "PolymerElements/iron-icons#^1.2.0",
1617
"paper-button": "PolymerElements/paper-button#^1.0.14",
1718
"paper-card": "PolymerElements/paper-card#^1.1.4",
1819
"paper-header-panel": "PolymerElements/paper-header-panel#^1.1.7",
19-
"paper-input": "PolymerElements/paper-input#^1.1.22"
20+
"paper-icon-button": "PolymerElements/paper-icon-button#^1.1.3",
21+
"paper-input": "PolymerElements/paper-input#^1.1.22",
22+
"paper-toolbar": "PolymerElements/paper-toolbar#^1.1.7"
2023
}
2124
}

src/cca/index.html

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@
77
<meta name='viewport' content='width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes'>
88
<script src='bower_components/webcomponentsjs/webcomponents-lite.min.js'></script>
99

10+
<link rel="import" href="bower_components/iron-icons/iron-icons.html">
1011
<link rel="import" href="bower_components/paper-button/paper-button.html">
1112
<link rel="import" href="bower_components/paper-header-panel/paper-header-panel.html">
13+
<link rel="import" href="bower_components/paper-icon-button/paper-icon-button.html">
14+
<link rel="import" href="bower_components/paper-toolbar/paper-toolbar.html">
15+
1216
<!-- Figure out how to fix the CSP issue with the googleapis font import from iron-meta -->
1317
<!--<link rel="import" href="bower_components/paper-card/paper-card.html">-->
1418
<!--<link rel="import" href="bower_components/paper-input/paper-input.html">-->
@@ -17,18 +21,8 @@
1721
<link href='generic_ui/style/global.css' rel='stylesheet' shim-shadowdom>
1822

1923
<style>
20-
.paper-header {
21-
background-color: #12a391;
22-
color: #FeFeFe;
23-
text-align: left;
24-
padding: 10px;
25-
font-size: 2;
26-
font-size: 1.7em;
27-
font-weight: bold;
28-
}
29-
.paper-button:enabled {
30-
background-color: #12a391;
31-
color: #fefefe;
24+
paper-toolbar.uproxy {
25+
background: #12a391;
3226
}
3327
.server-entry-card, .access-code-card {
3428
background-color: white;
@@ -60,7 +54,6 @@
6054
}
6155
body {
6256
display: block;
63-
text-align: center;
6457
margin: 0;
6558
font-family: Roboto, sans-serif;
6659
font-size: 13px;
@@ -72,7 +65,10 @@
7265

7366
<body touch-action='auto' class='fullbleed layout vertical'>
7467
<paper-header-panel mode='waterfall' class='flex'>
75-
<div class='paper-header'>uProxy</div>
68+
<paper-toolbar class='uproxy'>
69+
<paper-icon-button icon="menu"></paper-icon-button>
70+
<span class="title">uProxy</span>
71+
</paper-toolbar>
7672
<div class='page-content'>
7773
<div id='entry-list'></div>
7874
<div class='access-code-card'>

0 commit comments

Comments
 (0)