OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-anim
ations.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/web-anim
ations.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma
terial.html"> | |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
5 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
6 | 5 |
7 <dom-module id="viewer-toolbar-dropdown"> | 6 <dom-module id="viewer-toolbar-dropdown"> |
8 <link rel="import" type="css" href="../shared-icon-style.css"> | |
9 <link rel="import" type="css" href="viewer-toolbar-dropdown.css"> | 7 <link rel="import" type="css" href="viewer-toolbar-dropdown.css"> |
10 <template> | 8 <template> |
11 <div on-click="toggleDropdown" id="icon"> | 9 <div on-click="toggleDropdown" id="icon"> |
12 <paper-icon-button id="main-icon" icon="[[dropdownIcon]]" | 10 <paper-icon-button id="main-icon" icon="[[dropdownIcon]]" |
13 aria-label$="{{header}}" title$="{{header}}"> | 11 aria-label$="{{header}}" title$="{{header}}"> |
14 </paper-icon-button> | 12 </paper-icon-button> |
15 <iron-icon icon="cr:arrow-drop-down" id="arrow"></iron-icon> | 13 <iron-icon icon="cr:arrow-drop-down" id="arrow"></iron-icon> |
16 </div> | 14 </div> |
17 | 15 |
18 <div id="container"> | 16 <div id="container"> |
19 <paper-material id="dropdown" style="display: none"> | 17 <div id="dropdown" style="display: none"> |
20 <h1>{{header}}</h1> | 18 <h1>{{header}}</h1> |
21 <div id="scroll-container"> | 19 <div id="scroll-container"> |
22 <content></content> | 20 <content></content> |
23 </div> | 21 </div> |
24 </paper-material> | 22 </div> |
25 </div> | 23 </div> |
26 </template> | 24 </template> |
27 </dom-module> | 25 </dom-module> |
28 | 26 |
29 <script src="viewer-toolbar-dropdown.js"></script> | 27 <script src="viewer-toolbar-dropdown.js"></script> |
OLD | NEW |