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/polymer/v1_0/iron-collapse/iron-coll apse.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 4 <link rel="import" href="chrome://history/constants.html"> | 4 <link rel="import" href="chrome://history/constants.html"> |
| 5 <link rel="import" href="chrome://history/history_item.html"> | 5 <link rel="import" href="chrome://history/history_item.html"> |
| 6 <link rel="import" href="chrome://history/shared_style.html"> | 6 <link rel="import" href="chrome://history/shared_style.html"> |
| 7 | 7 |
| 8 <dom-module id="history-grouped-list"> | 8 <dom-module id="history-grouped-list"> |
| 9 <template> | 9 <template> |
| 10 <style include="shared-style"> | 10 <style include="shared-style"> |
| 11 :host { | 11 :host { |
| 12 display: block; | 12 display: block; |
| 13 overflow: auto; | 13 overflow: auto; |
| 14 position: relative; | 14 position: relative; |
| 15 } | 15 } |
| 16 | 16 |
| 17 #main-container { | 17 #main-container { |
| 18 @apply(--card-container-filter); | |
|
tsergeant
2016/08/05 01:21:37
I just noticed a problem with the grouped list: ex
calamity
2016/08/05 04:01:58
#background now hidden in embedded mode.
| |
| 18 @apply(--card-sizing); | 19 @apply(--card-sizing); |
| 19 align-items: center; | 20 align-items: center; |
| 20 display: flex; | 21 display: flex; |
| 21 flex-direction: column; | 22 flex-direction: column; |
| 22 padding-top: var(--first-card-padding-top); | 23 padding-top: var(--first-card-padding-top); |
| 23 } | 24 } |
| 24 | 25 |
| 25 .domain-heading { | 26 .domain-heading { |
| 26 align-items: center; | 27 align-items: center; |
| 27 display: flex; | 28 display: flex; |
| 28 height: var(--item-height); | 29 height: var(--item-height); |
| 29 padding: 0 20px; | 30 padding: 0 20px; |
| 30 } | 31 } |
| 31 | 32 |
| 32 .domain-count { | 33 .domain-count { |
| 33 color: rgb(151, 156, 160); | 34 color: rgb(151, 156, 160); |
| 34 padding-left: 10px; | 35 padding-left: 10px; |
| 35 } | 36 } |
| 36 | 37 |
| 37 .domain-heading-text { | 38 .domain-heading-text { |
| 38 display: flex; | 39 display: flex; |
| 39 } | 40 } |
| 40 | 41 |
| 41 .group-container { | 42 .group-container { |
| 42 background: #fff; | 43 background: #fff; |
| 43 border: 1px solid var(--card-border-color); | |
| 44 border-bottom-width: 2px; | |
| 45 border-radius: 2px; | 44 border-radius: 2px; |
| 46 margin-bottom: var(--card-padding-between); | 45 margin-bottom: var(--card-padding-between); |
| 47 max-width: var(--card-max-width); | 46 max-width: var(--card-max-width); |
| 48 min-width: var(--card-min-width); | 47 min-width: var(--card-min-width); |
| 49 width: 100%; | 48 width: 100%; |
| 50 } | 49 } |
| 51 | 50 |
| 52 .card-title { | 51 .card-title { |
| 53 margin-bottom: var(--card-first-last-item-padding); | 52 margin-bottom: var(--card-first-last-item-padding); |
| 54 } | 53 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 108 </template> | 107 </template> |
| 109 </iron-collapse> | 108 </iron-collapse> |
| 110 </div> | 109 </div> |
| 111 </template> | 110 </template> |
| 112 </div> | 111 </div> |
| 113 </template> | 112 </template> |
| 114 </div> | 113 </div> |
| 115 </template> | 114 </template> |
| 116 <script src="chrome://history/grouped_list.js"></script> | 115 <script src="chrome://history/grouped_list.js"></script> |
| 117 </dom-module> | 116 </dom-module> |
| OLD | NEW |