Index: chrome/browser/resources/options/intents_view.css |
diff --git a/chrome/browser/resources/options/intents_view.css b/chrome/browser/resources/options/intents_view.css |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c06f3be44918f87e3482643b90266c6a716ded87 |
--- /dev/null |
+++ b/chrome/browser/resources/options/intents_view.css |
@@ -0,0 +1,184 @@ |
+/* |
+Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+Use of this source code is governed by a BSD-style license that can be |
+found in the LICENSE file. |
+*/ |
+ |
+/* styles for the intents list elements in intents_view.html */ |
+ |
+#intents-column-headers { |
+ position: relative; |
+ width: 100%; |
+} |
+ |
+#intents-column-headers h3 { |
+ font-size: 105%; |
+ font-weight: bold; |
+ margin: 10px 0; |
+} |
+ |
+/* notice the width and padding for these columns match up with those below */ |
James Hawkins
2011/08/17 03:18:39
Capitalize sentence, add period.
HAE
Greg Billock
2011/08/17 18:49:50
Done.
|
+#intents-site-column { |
+ display: inline-block; |
+ font-weight: bold; |
+ width: 11em; |
+} |
+ |
+#intents-data-column { |
+ -webkit-padding-start: 7px; |
+ display: inline-block; |
+ font-weight: bold; |
+} |
+ |
+#intents-list { |
+ border: 1px solid #D9D9D9; |
James Hawkins
2011/08/17 03:18:39
Lower-case letters in hex.
Greg Billock
2011/08/17 18:49:50
Done.
|
+ margin: 0; |
+} |
+ |
+ |
+/* enable animating the height of items */ |
+list.intents-list .deletable-item { |
+ -webkit-transition: height .15s ease-in-out; |
+} |
+ |
+/* disable webkit-box display */ |
+list.intents-list .deletable-item > :first-child { |
+ display: block; |
+} |
+ |
+/* force the X for deleting an origin to stay at the top */ |
+list.intents-list > .deletable-item > .close-button { |
+ position: absolute; |
+ right: 2px; |
James Hawkins
2011/08/17 03:18:39
RTL
Greg Billock
2011/08/17 18:49:50
The rtl is right below. I assume that's because we
|
+ top: 8px; |
+} |
+ |
+html[dir=rtl] list.intents-list > .deletable-item > .close-button { |
+ left: 2px; |
+ right: auto; |
+} |
+ |
+ |
+/* styles for the site (aka origin) and its summary */ |
+.intents-site { |
+ /* notice that the width, margin, and padding match up with those above */ |
+ -webkit-margin-end: 2px; |
+ -webkit-padding-start: 5px; |
+ display: inline-block; |
+ overflow: hidden; |
+ text-overflow: ellipsis; |
+ width: 11em; |
+} |
+ |
+list.intents-list > .deletable-item[selected] .intents-site { |
+ -webkit-user-select: text; |
+} |
+ |
+.intents-data { |
+ display: inline-block; |
+} |
+ |
+list.intents-list > .deletable-item[selected] .intents-data { |
+ -webkit-user-select: text; |
+} |
+ |
+ |
+.intents-items { |
+ display: table; |
+ /* notice that the margin and padding match up with those above */ |
+ -webkit-margin-start: 11em; |
+ -webkit-padding-start: 7px; |
+ -webkit-transition: .15s ease-in-out; |
+ height: 0; |
+ opacity: 0; |
+ /* make the intents items wrap correctly */ |
+ white-space: normal; |
+} |
+ |
+.measure-items .intents-items { |
+ -webkit-transition: none; |
+ height: auto; |
+ visibility: hidden; |
+} |
+ |
+.show-items .intents-items { |
+ opacity: 1; |
+} |
+ |
+.intents-items .intents-item { |
+ display: table-row; |
James Hawkins
2011/08/17 03:18:39
Alphabetize
Greg Billock
2011/08/17 18:49:50
Done.
|
+ -webkit-box-orient: horizontal; |
+ -webkit-box-pack: start; |
+ background: #E0E9F5; |
+ border: 1px solid #8392AE; |
+ font-size: 85%; |
+ height: auto; |
+ margin: 2px 4px 2px 0; |
+ overflow: hidden; |
+ padding: 0 3px; |
+ text-align: center; |
+ text-overflow: ellipsis; |
+} |
+ |
+ |
+.intents-item .intents-item-action { |
+ display: table-cell; |
+ padding: 2px 5px 2px 5px; |
+} |
+ |
+.intents-item .intents-item-types { |
+ display: table-cell; |
+ padding: 2px 5px 2px 5px; |
+ overflow: hidden; |
+} |
+ |
+.intents-item .intents-item-url { |
+ display: table-cell; |
+ text-overflow: ellipsis; |
+ padding: 2px 5px 2px 5px; |
+ overflow: hidden; |
+} |
+ |
+.intents-items .intents-item:hover { |
+ background: #EEF3F9; |
+ border-color: #647187; |
+} |
+ |
+.intents-items .intents-item[selected] { |
+ background: #F5F8F8; |
+ border-color: #B2B2B2; |
+} |
+ |
+.intents-items .intents-item[selected]:hover { |
+ background: #F5F8F8; |
+ border-color: #647187; |
+} |
+ |
+ |
+/* styles for the intents details box */ |
+.intents-details { |
+ background: #F5F8F8; |
+ border-radius: 5px; |
+ border: 1px solid #B2B2B2; |
+ margin-top: 2px; |
+ padding: 5px; |
+} |
+ |
+list.intents-list > .deletable-item[selected] .intents-details { |
+ -webkit-user-select: text; |
+} |
+ |
+.intents-details-table { |
+ table-layout: fixed; |
+ width: 100%; |
+} |
+ |
+.intents-details-label { |
+ vertical-align: top; |
+ white-space: pre; |
+ width: 10em; |
+} |
+ |
+.intents-details-value { |
+ word-wrap: break-word; |
+} |