Chromium Code Reviews| Index: chrome/browser/resources/md_history/side_bar.html |
| diff --git a/chrome/browser/resources/md_history/side_bar.html b/chrome/browser/resources/md_history/side_bar.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3296b948fb646bc8e15edba01547a75a89a7b389 |
| --- /dev/null |
| +++ b/chrome/browser/resources/md_history/side_bar.html |
| @@ -0,0 +1,50 @@ |
| +<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripple.html"> |
| + |
| +<dom-module id="side-bar"> |
| + <template> |
| + <style> |
| + #navigation-menu { |
| + padding-top: 5px; |
| + width: 200px; |
| + } |
| + |
| + .nav-button { |
| + @apply(--layout-center); |
| + @apply(--layout-horizontal); |
| + cursor: pointer; |
| + height: 48px; |
| + position: relative; |
| + } |
| + |
| + p { |
| + -webkit-padding-start: 25px; |
| + color: #333; |
| + font-size: 14px; |
| + font-weight: 500; |
| + margin: 0; |
| + } |
| + |
| + .selected { |
| + cursor: default; |
|
calamity
2016/02/11 00:23:31
I think it makes sense to have the same cursor for
yingran
2016/02/11 02:06:36
Done.
|
| + } |
| + |
| + .selected p { |
| + color: #47d; |
| + } |
| + </style> |
| + <div id="navigation-menu"> |
| + <div on-tap="changeDisplay" id="history-button" |
| + class="nav-button selected"> |
| + <p i18n-content="title"></p> |
| + <paper-ripple></paper-ripple> |
| + </div> |
| + <div on-tap="changeDisplay" id="synced-tabs-button" class="nav-button"> |
| + <p>Open Tabs</p> |
| + <paper-ripple></paper-ripple> |
| + </div> |
| + </div> |
| + </template> |
| + <script src="chrome://history/side_bar.js"></script> |
| +</dom-module> |