Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: chrome/browser/resources/md_history/shared_style.html

Issue 1717213003: [MD History] Extract shared stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/md_history/history_toolbar.html ('k') | chrome/browser/ui/webui/md_history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c55e2bb04fdf00b4dd6f591a8f1ca7f7de1fc8a3
--- /dev/null
+++ b/chrome/browser/resources/md_history/shared_style.html
@@ -0,0 +1,42 @@
+<dom-module id="shared-style">
+ <template>
+ <style>
+ :root {
+ --card-border-color: rgba(0, 0, 0, 0.14);
+ --card-max-width: 960px;
+ --card-min-width: 500px;
+ }
+
+ .card-title {
+ @apply(--layout-center);
+ @apply(--layout-horizontal);
+ -webkit-padding-start: 20px;
+ background: #fafafa;
+ border-bottom: 1px solid var(--card-border-color);
+ border-radius: 2px 2px 0 0;
+ color: #333;
+ font-size: 14px;
+ font-weight: 500;
+ height: 48px;
+ }
+
+ .website-icon {
+ -webkit-margin-end: 16px;
+ height: 16px;
+ min-width: 16px;
+ }
+
+ .website-title {
+ color: #333;
+ overflow: hidden;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
+
+ .website-title:hover {
+ text-decoration: underline;
+ }
+ </style>
+ </template>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/md_history/history_toolbar.html ('k') | chrome/browser/ui/webui/md_history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698