Chromium Code Reviews| Index: chrome/browser/resources/md_history/shared_style.html |
| diff --git a/chrome/browser/resources/md_history/shared_style.html b/chrome/browser/resources/md_history/shared_style.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..302d2ea235589a8cb4054eff87fe41108c1e03a6 |
| --- /dev/null |
| +++ b/chrome/browser/resources/md_history/shared_style.html |
| @@ -0,0 +1,33 @@ |
| +<dom-module id="shared-style"> |
| + <template> |
| + <style> |
| + :host { |
| + @apply(--layout-center); |
| + @apply(--layout-vertical); |
| + padding: 0 24px 20px 24px; |
| + } |
|
calamity
2016/02/11 00:23:31
Don't think it makes sense to have :host in here.
yingran
2016/02/11 02:06:36
Done.
|
| + |
| + #main-container { |
|
calamity
2016/02/11 00:23:31
This needs a better name now.
history-item-contai
yingran
2016/02/11 02:06:36
Done.
|
| + @apply(--shadow-elevation-2dp); |
| + background: #fff; |
| + border-radius: 2px; |
| + max-width: 960px; |
| + min-width: 500px; |
| + width: 100%; |
| + } |
| + |
| + #card-title { |
|
calamity
2016/02/11 00:23:31
These should all be classes.
yingran
2016/02/11 02:06:36
Done.
|
| + @apply(--layout-center); |
| + @apply(--layout-horizontal); |
| + -webkit-padding-start: 20px; |
| + background: #fafafa; |
| + border-bottom: 1px solid rgba(0, 0, 0, 0.14); |
| + border-radius: 2px 2px 0 0; |
| + color: #333; |
| + font-size: 14px; |
| + font-weight: 500; |
| + height: 48px; |
| + } |
| + </style> |
| + </template> |
| +</dom-module> |