Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> | |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> | |
| 4 | |
| 5 <dom-module id="side-bar"> | |
|
tsergeant
2016/03/01 03:58:23
I think we should keep all of these element names
calamity
2016/03/08 02:46:51
Done.
| |
| 6 <template> | |
| 7 <style> | |
| 8 #navigation-menu { | |
| 9 padding-top: 5px; | |
| 10 width: 200px; | |
| 11 } | |
| 12 | |
| 13 .nav-button { | |
| 14 @apply(--layout-center); | |
| 15 @apply(--layout-horizontal); | |
| 16 cursor: pointer; | |
| 17 height: 48px; | |
| 18 position: relative; | |
| 19 } | |
| 20 | |
| 21 p { | |
| 22 -webkit-padding-start: 25px; | |
| 23 -webkit-user-select: none; | |
| 24 color: #333; | |
| 25 font-size: 14px; | |
| 26 font-weight: 500; | |
| 27 margin: 0; | |
| 28 } | |
| 29 | |
| 30 .selected p { | |
| 31 color: rgb(68, 119, 221); | |
| 32 } | |
| 33 </style> | |
| 34 <div id="navigation-menu"> | |
|
tsergeant
2016/03/01 03:58:23
Can you get rid of #navigation-menu and just use :
calamity
2016/03/08 02:46:51
Done.
| |
| 35 <div on-tap="changeDisplay" id="history-button" | |
| 36 class="nav-button selected"> | |
| 37 <p i18n-content="title"></p> | |
| 38 <paper-ripple></paper-ripple> | |
| 39 </div> | |
| 40 <div on-tap="changeDisplay" id="synced-tabs-button" class="nav-button"> | |
| 41 <p>Open Tabs</p> | |
|
tsergeant
2016/03/01 03:58:23
i18n this string
calamity
2016/03/08 02:46:51
Done.
| |
| 42 <paper-ripple></paper-ripple> | |
| 43 </div> | |
| 44 </div> | |
| 45 </template> | |
| 46 <script src="chrome://history/side_bar.js"></script> | |
| 47 </dom-module> | |
| OLD | NEW |