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

Side by Side 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: Replace images with characters and minor fix. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body:not(.uber-frame) { 5 body:not(.uber-frame) {
6 color: rgb(48, 57, 66); 6 color: rgb(48, 57, 66);
7 margin: 0 8px 0 8px; 7 margin: 0 8px 0 8px;
8 } 8 }
9 9
10 #editing-controls, 10 #editing-controls,
11 #loading-spinner { 11 #loading-spinner {
12 margin-top: 16px; 12 margin-top: 16px;
13 <if expr="not pp_ifdef('android')"> 13 <if expr="not pp_ifdef('android')">
14 white-space: nowrap; 14 white-space: nowrap;
15 </if> 15 </if>
16 } 16 }
17 17
18 #search-button {
19 margin: 0;
20 }
21
18 #loading-spinner[hidden] { 22 #loading-spinner[hidden] {
19 display: inline-block; 23 display: inline-block;
20 } 24 }
21 25
22 #spinner { 26 #spinner {
23 position: relative; 27 position: relative;
24 top: 3px; 28 top: 3px;
25 } 29 }
26 30
31 #editing-controls,
32 #filter-controls,
33 #results-display {
34 max-width: 718px;
35 }
36
27 #editing-controls button:first-of-type { 37 #editing-controls button:first-of-type {
28 -webkit-margin-start: 0; 38 -webkit-margin-start: 0;
29 } 39 }
30 40
41 #filter-controls div {
42 display: inline-block;
43 }
44
45 #display-filter-controls {
46 float: right;
47 }
48
31 #results-display { 49 #results-display {
32 margin: 16px 0 0 0; 50 margin: 16px 0 0 0;
33 max-width: 740px;
34 } 51 }
35 52
36 .edit-button { 53 .edit-button {
37 -webkit-appearance: none; 54 -webkit-appearance: none;
38 background: none; 55 background: none;
39 border: 0; 56 border: 0;
40 color: blue; /* -webkit-link makes it purple :'( */ 57 color: blue; /* -webkit-link makes it purple :'( */
41 cursor: pointer; 58 cursor: pointer;
42 display: inline-block; 59 display: inline-block;
43 font: inherit; 60 font: inherit;
44 padding: 0 9px; 61 padding: 0 9px;
45 text-decoration: underline; 62 text-decoration: underline;
46 } 63 }
47 64
65 .entry,
48 .gap, 66 .gap,
49 .entry, 67 .no-entries,
50 .no-entries { 68 .site-entry {
51 list-style: none; 69 list-style: none;
52 margin: 0; 70 margin: 0;
53 padding: 0; 71 padding: 0;
54 } 72 }
55 73
56 .gap { 74 .gap {
57 -webkit-border-end: 1px solid rgb(192, 195, 198); 75 -webkit-border-end: 1px solid rgb(192, 195, 198);
58 height: 14px; 76 height: 14px;
59 margin: 1px 0; 77 margin: 1px 0;
60 width: 45px; 78 width: 45px;
61 } 79 }
62 80
63 .entry { 81 .entry {
64 overflow: auto; /* Make sure it's at least as large as its children. */ 82 overflow: auto; /* Make sure it's at least as large as its children. */
65 } 83 }
66 84
67 .entry-box { 85 .entry-box,
86 .site-domain-wrapper {
68 -webkit-box-orient: horizontal; 87 -webkit-box-orient: horizontal;
69 cursor: default; 88 cursor: default;
70 display: -webkit-box; 89 display: -webkit-box;
71 float: left; /* Box will shrink to fit its content. */ 90 float: left; /* Box will shrink to fit its content. */
72 /* An odd line-height ensures a consistent baseline on all platforms. */ 91 /* An odd line-height ensures a consistent baseline on all platforms. */
73 line-height: 1.75em; 92 line-height: 1.75em;
74 margin-bottom: 6px; 93 margin-bottom: 6px;
75 /* The box should be no bigger than its parent. */ 94 /* The box should be no bigger than its parent. */
76 max-width: 100%; 95 max-width: 100%;
77 overflow: hidden; 96 overflow: hidden;
78 padding-bottom: 1px; 97 padding-bottom: 1px;
79 } 98 }
80 99
100 .site-domain-wrapper {
101 cursor: pointer;
102 }
103
81 html[dir=rtl] .entry-box { 104 html[dir=rtl] .entry-box {
82 float: right; /* To make the box shrink to fit its content. */ 105 float: right; /* To make the box shrink to fit its content. */
83 } 106 }
84 107
85 .day { 108 .day {
86 white-space: nowrap; 109 white-space: nowrap;
87 } 110 }
88 111
89 .search-results, 112 .search-results,
90 .day-results { 113 .day-results {
91 margin: 0 0 24px 0; 114 margin: 0 0 24px 0;
92 padding: 0; 115 padding: 0;
93 } 116 }
94 117
118 .site-results {
119 -webkit-transition: height 350ms ease-in-out;
120 clear: left;
121 margin: 0;
122 overflow: hidden;
123 padding: 0;
124 }
125
126 h2.timeframe {
127 font-size: 1.5em;
128 }
129
95 .snippet { 130 .snippet {
96 -webkit-box-orient: vertical; 131 -webkit-box-orient: vertical;
97 -webkit-line-clamp: 2; 132 -webkit-line-clamp: 2;
98 -webkit-margin-start: 110px; 133 -webkit-margin-start: 110px;
99 clear: both; 134 clear: both;
100 color: rgb(34, 34, 34); 135 color: rgb(34, 34, 34);
101 display: -webkit-box; 136 display: -webkit-box;
102 line-height: 1.6em; 137 line-height: 1.6em;
103 margin-bottom: 1em; 138 margin-bottom: 1em;
104 overflow: hidden; 139 overflow: hidden;
105 text-overflow: ellipsis; 140 text-overflow: ellipsis;
106 } 141 }
107 142
108 .entry .domain { 143 .entry .domain {
109 color: rgb(151, 156, 160); 144 color: rgb(151, 156, 160);
110 padding-left: 6px; 145 padding-left: 6px;
111 padding-right: 6px; 146 padding-right: 6px;
112 } 147 }
113 148
149 .site-results .domain {
150 display: none;
151 }
152
153 .number-visits {
154 color: rgb(151, 156, 160);
155 }
156
114 .drop-down { 157 .drop-down {
115 -webkit-margin-end: 5px; 158 -webkit-margin-end: 5px;
116 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; 159 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px;
117 border: 1px solid rgb(192, 195, 198); 160 border: 1px solid rgb(192, 195, 198);
118 border-radius: 2px; 161 border-radius: 2px;
119 height: 12px; 162 height: 12px;
120 padding: 0; 163 padding: 0;
121 position: relative; 164 position: relative;
122 top: 2px; 165 top: 2px;
123 width: 12px; 166 width: 12px;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 border-radius: 2px; 228 border-radius: 2px;
186 } 229 }
187 230
188 .entry .title { 231 .entry .title {
189 -webkit-box-flex: 1; 232 -webkit-box-flex: 1;
190 overflow: hidden; 233 overflow: hidden;
191 text-overflow: ellipsis; 234 text-overflow: ellipsis;
192 white-space: nowrap; 235 white-space: nowrap;
193 } 236 }
194 237
195 .entry .title { 238 .day-results > .entry .title,
239 .search-results > .entry .title,
240 .site-domain {
196 /* Make room for the favicon. */ 241 /* Make room for the favicon. */
197 -webkit-padding-start: 20px; 242 -webkit-padding-start: 20px;
198 243
199 /* Control the favicon appearance. */ 244 /* Control the favicon appearance. */
200 background-position-y: 3px; 245 background-position-y: 3px;
201 background-repeat: no-repeat; 246 background-repeat: no-repeat;
247 background-size: 16px;
248 }
249
250 .site-domain-arrow {
251 -webkit-transition: -webkit-transform 300ms linear;
252 color: #8F8F8F;
James Hawkins 2013/01/22 17:27:05 nit: Be consistent: you use rgb() elsewhere and he
253 height: 21px;
254 margin-right: 2px;
255 text-align: center;
256 width: 21px;
257 }
258
259 .site-domain-arrow.collapse {
260 -webkit-transform: rotate(0);
261 }
262
263 .site-domain-arrow.expand {
264 -webkit-transform: rotate(90deg);
202 } 265 }
203 266
204 .entry .starred { 267 .entry .starred {
205 -webkit-margin-start: 4px; 268 -webkit-margin-start: 4px;
206 background: url('../../../../ui/webui/resources/images/star_small.png') no-rep eat; 269 background: url('../../../../ui/webui/resources/images/star_small.png') no-rep eat;
207 display: inline-block; 270 display: inline-block;
208 height: 11px; 271 height: 11px;
209 width: 11px; 272 width: 11px;
210 } 273 }
211 274
(...skipping 16 matching lines...) Expand all
228 } 291 }
229 292
230 .menu-button.drop-down { 293 .menu-button.drop-down {
231 position: relative; 294 position: relative;
232 top: 2px; 295 top: 2px;
233 } 296 }
234 297
235 #action-menu > :not(hr) { 298 #action-menu > :not(hr) {
236 line-height: 29px; 299 line-height: 29px;
237 } 300 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698