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

Unified Diff: chrome/browser/resources/history/history.css

Issue 11975053: History: Add option to group visits by domain (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some strings and CSS Created 7 years, 11 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
Index: chrome/browser/resources/history/history.css
diff --git a/chrome/browser/resources/history/history.css b/chrome/browser/resources/history/history.css
index bf70cd03bbf8f7058333a806f4acfd46090a63c8..fefd09e0396e061ee9b0412ff5912ff290e8af12 100644
--- a/chrome/browser/resources/history/history.css
+++ b/chrome/browser/resources/history/history.css
@@ -15,6 +15,11 @@ body:not(.uber-frame) {
</if>
}
+#search-button {
+ /* Remove the margin to align the button to the right side */
Patrick Dubroy 2013/01/21 14:35:44 I don't think you need this comment.
Sergiu 2013/01/21 18:19:50 Done.
+ margin: 0;
+}
+
#loading-spinner[hidden] {
display: inline-block;
}
@@ -24,13 +29,26 @@ body:not(.uber-frame) {
top: 3px;
}
+#editing-controls,
+#filter-controls,
+#results-display {
+ max-width: 718px;
+}
+
#editing-controls button:first-of-type {
-webkit-margin-start: 0;
}
+#filter-controls div {
+ display: inline-block;
+}
+
+#display-filter-controls {
+ float: right;
+}
+
#results-display {
margin: 16px 0 0 0;
- max-width: 740px;
}
.edit-button {
@@ -45,9 +63,10 @@ body:not(.uber-frame) {
text-decoration: underline;
}
-.gap,
.entry,
-.no-entries {
+.gap,
+.no-entries,
+.site-entry {
list-style: none;
margin: 0;
padding: 0;
@@ -64,7 +83,8 @@ body:not(.uber-frame) {
overflow: auto; /* Make sure it's at least as large as its children. */
}
-.entry-box {
+.entry-box,
+.site-domain-wrapper {
-webkit-box-orient: horizontal;
cursor: default;
display: -webkit-box;
@@ -78,6 +98,10 @@ body:not(.uber-frame) {
padding-bottom: 1px;
}
+.site-domain-wrapper {
+ cursor: pointer;
+}
+
html[dir=rtl] .entry-box {
float: right; /* To make the box shrink to fit its content. */
}
@@ -92,6 +116,18 @@ html[dir=rtl] .entry-box {
padding: 0;
}
+.site-results {
+ -webkit-transition: height 350ms ease-in-out;
+ clear: left;
+ margin: 0;
+ overflow: hidden;
+ padding: 0;
+}
+
+h2.timeframe {
+ font-size: 1.5em;
+}
+
.snippet {
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
@@ -111,6 +147,14 @@ html[dir=rtl] .entry-box {
padding-right: 6px;
}
+.site-results .domain {
+ display: none;
+}
+
+.number-visits {
+ color: rgb(151, 156, 160);
+}
+
.drop-down {
-webkit-margin-end: 5px;
background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px;
@@ -192,13 +236,32 @@ html[dir='rtl'] .entry .title {
white-space: nowrap;
}
-.entry .title {
+.day-results > .entry .title,
+.search-results > .entry .title,
+.site-domain {
/* Make room for the favicon. */
-webkit-padding-start: 20px;
/* Control the favicon appearance. */
background-position-y: 3px;
background-repeat: no-repeat;
+ background-size: 16px;
+}
+
+.site-domain-arrow {
+ -webkit-transition: -webkit-transform 300ms linear;
+ /* Make room for the arrow and place it. */
+ background: url('../twisty_closed.png') no-repeat center center;
+ height: 21px;
+ width: 21px;
+}
+
+.site-domain-arrow.collapse {
+ -webkit-transform: rotate(0);
+}
+
+.site-domain-arrow.expand {
+ -webkit-transform: rotate(90deg);
}
.entry .starred {

Powered by Google App Engine
This is Rietveld 408576698