Chromium Code Reviews| 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/html/cr/ui.html"> | 2 <link rel="import" href="chrome://resources/html/cr/ui.html"> |
| 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> | 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/a pp-drawer.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/a pp-drawer.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-location. html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-location. html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-route.htm l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-route.htm l"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> |
| 9 <link rel="import" href="chrome://history/history_toolbar.html"> | 9 <link rel="import" href="chrome://history/history_toolbar.html"> |
| 10 <link rel="import" href="chrome://history/list_container.html"> | 10 <link rel="import" href="chrome://history/list_container.html"> |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 <style include="shared-style"> | 23 <style include="shared-style"> |
| 24 :host { | 24 :host { |
| 25 display: block; | 25 display: block; |
| 26 height: 100%; | 26 height: 100%; |
| 27 overflow: hidden; | 27 overflow: hidden; |
| 28 } | 28 } |
| 29 | 29 |
| 30 /* Sizing this with flex causes slow load performance, see | 30 /* Sizing this with flex causes slow load performance, see |
| 31 crbug.com/618153. */ | 31 * crbug.com/618153. TODO(dbeam): is this still an issue? */ |
|
tsergeant
2016/08/23 23:06:59
It's not, I just haven't had a chance to get back
| |
| 32 #main-container { | 32 #main-container { |
| 33 height: calc(100% - var(--toolbar-height)); | 33 height: calc(100% - var(--toolbar-height)); |
| 34 } | 34 } |
| 35 | 35 |
| 36 :host([grouped_]) #main-container { | 36 :host([grouped_]) #main-container { |
| 37 height: calc(100% - var(--toolbar-grouped-height)); | 37 height: calc(100% - var(--toolbar-grouped-height)); |
| 38 } | 38 } |
| 39 | 39 |
| 40 #content-side-bar { | 40 #content-side-bar { |
| 41 float: left; | 41 float: left; |
| 42 } | 42 } |
| 43 | 43 |
| 44 :host-context([dir='rtl']) #content-side-bar { | |
| 45 float: right; | |
| 46 } | |
| 47 | |
| 44 #content, | 48 #content, |
| 45 #content > * { | 49 #content > * { |
| 46 height: 100%; | 50 height: 100%; |
| 47 } | 51 } |
| 48 | 52 |
| 49 #drawer-header { | 53 #drawer-header { |
| 50 align-items: center; | 54 align-items: center; |
| 51 border-bottom: 1px solid rgba(0, 0, 0, 0.08); | 55 border-bottom: 1px solid rgba(0, 0, 0, 0.08); |
| 52 display: flex; | 56 display: flex; |
| 53 height: var(--toolbar-height); | 57 height: var(--toolbar-height); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 </history-side-bar> | 115 </history-side-bar> |
| 112 </app-drawer> | 116 </app-drawer> |
| 113 </template> | 117 </template> |
| 114 | 118 |
| 115 <iron-media-query query="(max-width: 1023px)" | 119 <iron-media-query query="(max-width: 1023px)" |
| 116 query-matches="{{hasDrawer_}}"> | 120 query-matches="{{hasDrawer_}}"> |
| 117 </iron-media-query> | 121 </iron-media-query> |
| 118 </template> | 122 </template> |
| 119 <script src="chrome://history/app.js"></script> | 123 <script src="chrome://history/app.js"></script> |
| 120 </dom-module> | 124 </dom-module> |
| OLD | NEW |