OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 | 2 |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-resizable-behavior /iron-resizable-behavior.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-material/paper-ma terial-shared-styles.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> |
5 <link rel="import" href="drag_behavior.html"> | 5 <link rel="import" href="drag_behavior.html"> |
6 <link rel="import" href="layout_behavior.html"> | 6 <link rel="import" href="layout_behavior.html"> |
7 <link rel="import" href="../settings_shared_css.html"> | 7 <link rel="import" href="../settings_shared_css.html"> |
8 | 8 |
9 <dom-module id="display-layout"> | 9 <dom-module id="display-layout"> |
10 <template> | 10 <template> |
11 <style include="settings-shared paper-material-shared-styles"> | 11 <style include="settings-shared"> |
dpapad
2017/06/03 02:19:46
I had converted <paper-material> usage to paper-ma
| |
12 /* Use relative position with no offset so that display divs (children), | 12 /* Use relative position with no offset so that display divs (children), |
13 which have absolute positions, are offset from the displayArea div. */ | 13 which have absolute positions, are offset from the displayArea div. */ |
14 #displayArea { | 14 #displayArea { |
15 height: 100%; | 15 height: 100%; |
16 overflow: hidden; | 16 overflow: hidden; |
17 position: relative; | 17 position: relative; |
18 width: 100%; | 18 width: 100%; |
19 } | 19 } |
20 | 20 |
21 /* Note: the size of the border / box shadow affects the style generated | 21 /* Note: the size of the border / box shadow affects the style generated |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 draggable="[[dragEnabled]]" on-tap="onSelectDisplayTap_" | 69 draggable="[[dragEnabled]]" on-tap="onSelectDisplayTap_" |
70 style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]" | 70 style$="[[getDivStyle_(item.id, item.bounds, visualScale)]]" |
71 selected$="[[isSelected_(item, selectedDisplay)]]"> | 71 selected$="[[isSelected_(item, selectedDisplay)]]"> |
72 [[item.name]] | 72 [[item.name]] |
73 </div> | 73 </div> |
74 </template> | 74 </template> |
75 </div> | 75 </div> |
76 </template> | 76 </template> |
77 <script src="display_layout.js"></script> | 77 <script src="display_layout.js"></script> |
78 </dom-module> | 78 </dom-module> |
OLD | NEW |