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

Side by Side Diff: chrome/browser/resources/history/history.css

Issue 15969014: History: Update managed user history page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 7 years, 6 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 html[dir='rtl'] body.uber-frame > .page { 5 html[dir='rtl'] body.uber-frame > .page {
6 -webkit-margin-end: 0; 6 -webkit-margin-end: 0;
7 } 7 }
8 8
9 body.uber-frame > .page.big-topbar-page {
10 padding-top: 78px;
11 }
12
9 #top-container { 13 #top-container {
10 margin-top: 16px; 14 margin-top: 16px;
11 overflow: auto; 15 overflow: auto;
12 } 16 }
13 17
14 #editing-controls, 18 #editing-controls,
15 #loading-spinner { 19 #loading-spinner {
16 white-space: nowrap; 20 white-space: nowrap;
17 } 21 }
18 22
(...skipping 25 matching lines...) Expand all
44 } 48 }
45 49
46 #filter-controls, 50 #filter-controls,
47 #top-container, 51 #top-container,
48 #results-display, 52 #results-display,
49 #results-pagination { 53 #results-pagination {
50 max-width: 718px; 54 max-width: 718px;
51 } 55 }
52 56
53 #filter-controls { 57 #filter-controls {
58 margin-bottom: 4px;
59 margin-top: 4px;
54 overflow: auto; 60 overflow: auto;
55 } 61 }
56 62
57 #editing-controls { 63 #editing-controls {
58 -webkit-margin-end: 12px; 64 -webkit-margin-end: 12px;
59 float: left; 65 float: left;
60 } 66 }
61 67
62 html[dir='rtl'] #editing-controls { 68 html[dir='rtl'] #editing-controls {
63 float: right; 69 float: right;
(...skipping 17 matching lines...) Expand all
81 #range-previous img { 87 #range-previous img {
82 position: relative; 88 position: relative;
83 top: 1px; 89 top: 1px;
84 } 90 }
85 91
86 #range-next:disabled img, 92 #range-next:disabled img,
87 #range-previous:disabled img { 93 #range-previous:disabled img {
88 opacity: 0.4; 94 opacity: 0.4;
89 } 95 }
90 96
97 #range-today {
98 margin-right: 10px;
99 }
100
101 #range-today,
102 #range-previous,
103 #range-next {
104 padding-bottom: 4px;
105 padding-top: 4px;
106 }
107
108 #range-next {
109 border-bottom-left-radius: 0;
James Hawkins 2013/06/06 18:58:23 RTL. Essentially any place where you use -left or
Sergiu 2013/06/07 13:20:11 Done, screenshot here: https://docs.google.com/a/g
110 border-left: 1px solid rgba(0, 0, 0, 0.25);
111 border-top-left-radius: 0;
112 margin-left: -1px;
113 }
114
115 #range-previous {
116 border-bottom-right-radius: 0;
117 border-top-right-radius: 0;
118 margin-right: 0;
119 }
120
91 #display-filter-controls { 121 #display-filter-controls {
92 float: right; 122 float: right;
93 } 123 }
94 124
95 #display-filter-controls > * { 125 .display-filter-button {
96 -webkit-margin-start: 8px; 126 float: left;
97 } 127 }
98 128
99 #display-filter-controls > *:not(:last-child) { 129 #display-filter-controls label input[type='radio'] {
100 -webkit-border-end: 1px solid rgb(151, 156, 160); 130 display: none;
101 -webkit-margin-start: 0; 131 }
102 padding: 0 6px 0 6px; 132
133 #display-filter-controls label span {
134 -webkit-align-items: flex-start;
135 -webkit-appearance: none;
136 -webkit-user-select: none;
137 background-color: buttonface;
138 background-image: -webkit-linear-gradient(rgb(237, 237, 237),
139 rgb(237, 237, 237) 38%,
140 rgb(222, 222, 222));
141 border: 1px solid rgba(0, 0, 0, 0.25);
142 border-radius: 0;
143 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08),
144 inset 0 1px 2px rgba(255, 255, 255, 0.75);
145 box-sizing: border-box;
146 color: rgb(68, 68, 68);
147 cursor: default;
148 display: inline-block;
149 letter-spacing: normal;
150 line-height: 2em;
151 margin-left: -1px;
152 margin-right: -1px;
153 min-height: 2em;
154 min-width: 4em;
155 text-align: center;
156 text-indent: 0;
157 text-shadow: 0 1px 0 rgb(240, 240, 240);
158 text-transform: none;
159 vertical-align: middle;
160 word-spacing: normal;
161 }
162
163 #display-filter-controls label span.first-button-component {
164 border-bottom-left-radius: 2px;
165 border-top-left-radius: 2px;
166 margin-left: 0;
167 }
168
169 #display-filter-controls label span.last-button-component {
170 border-bottom-right-radius: 2px;
171 border-top-right-radius: 2px;
172 margin-right: 0;
173 }
174
175 #display-filter-controls input:checked ~ span {
176 background-image: -webkit-linear-gradient(rgb(185, 185, 185),
177 rgb(216, 216, 216) 38%,
178 rgb(167, 167, 167));
179 border-left-color: rgb(173, 173, 173);
180 border-right-color: rgb(173, 173, 173);
103 } 181 }
104 182
105 #results-display { 183 #results-display {
106 margin: 16px 0 0 0; 184 margin: 16px 0 0 0;
107 } 185 }
108 186
109 .edit-button { 187 .edit-button {
110 -webkit-appearance: none; 188 -webkit-appearance: none;
111 background: none; 189 background: none;
112 border: 0; 190 border: 0;
(...skipping 14 matching lines...) Expand all
127 padding: 0; 205 padding: 0;
128 } 206 }
129 207
130 .gap { 208 .gap {
131 -webkit-border-end: 1px solid rgb(192, 195, 198); 209 -webkit-border-end: 1px solid rgb(192, 195, 198);
132 height: 14px; 210 height: 14px;
133 margin: 1px 0; 211 margin: 1px 0;
134 width: 45px; 212 width: 45px;
135 } 213 }
136 214
215 .no-checkboxes .gap {
216 width: 25px;
217 }
218
137 .entry-box, 219 .entry-box,
138 .site-domain-wrapper { 220 .site-domain-wrapper {
139 -webkit-align-items: center; 221 -webkit-align-items: center;
140 cursor: default; 222 cursor: default;
141 display: -webkit-flex; 223 display: -webkit-flex;
142 /* An odd line-height ensures a consistent baseline on all platforms. */ 224 /* An odd line-height ensures a consistent baseline on all platforms. */
143 line-height: 1.75em; 225 line-height: 1.75em;
144 margin-bottom: 6px; 226 margin-bottom: 6px;
145 /* The box should be no bigger than its parent. */ 227 /* The box should be no bigger than its parent. */
146 max-width: 100%; 228 max-width: 100%;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 overflow: hidden; 280 overflow: hidden;
199 padding-left: 6px; 281 padding-left: 6px;
200 padding-right: 6px; 282 padding-right: 6px;
201 white-space: nowrap; 283 white-space: nowrap;
202 } 284 }
203 285
204 .site-results .domain { 286 .site-results .domain {
205 display: none; 287 display: none;
206 } 288 }
207 289
208
209 html[dir='rtl'] .number-visits { 290 html[dir='rtl'] .number-visits {
210 /* This element contains parentheses, which without the unicode-bidi: embed 291 /* This element contains parentheses, which without the unicode-bidi: embed
211 * directive would show up incorrectly (e.g. '(www.google.com (5'). Using 292 * directive would show up incorrectly (e.g. '(www.google.com (5'). Using
212 * 'embed' makes the engine set the text in the parentheses as LTR even 293 * 'embed' makes the engine set the text in the parentheses as LTR even
213 * when the layout is set to RTL, which makes using -webkit-*-start 294 * when the layout is set to RTL, which makes using -webkit-*-start
214 * impossible. So use margins and dir='rtl'. 295 * impossible. So use margins and dir='rtl'.
215 */ 296 */
216 direction: rtl; 297 direction: rtl;
217 unicode-bidi: embed; 298 unicode-bidi: embed;
218 } 299 }
219 300
220 .number-visits { 301 .number-visits {
221 color: rgb(151, 156, 160); 302 color: rgb(151, 156, 160);
222 } 303 }
223 304
224 .drop-down { 305 .drop-down {
225 -webkit-margin-end: 5px; 306 -webkit-margin-end: 5px;
226 margin-top: 1px; 307 margin-top: 1px;
227 } 308 }
228 309
229 html[dir='rtl'] .entry .title, 310 html[dir='rtl'] .entry .title,
230 html[dir='rtl'] .site-domain { 311 html[dir='rtl'] .site-domain {
231 /* Put the favicon on the right. */ 312 /* Put the favicon on the right. */
232 background-position-x: right; 313 background-position-x: right;
233 } 314 }
234 315
316 .no-checkboxes .entry .time {
317 min-width: 68px;
318 width: 68px;
319 }
320
235 .entry .time { 321 .entry .time {
236 color: rgb(151, 156, 160); 322 color: rgb(151, 156, 160);
237 min-width: 90px; 323 min-width: 90px;
238 overflow: hidden; 324 overflow: hidden;
239 text-overflow: ellipsis; 325 text-overflow: ellipsis;
240 white-space: nowrap; 326 white-space: nowrap;
241 width: 90px; 327 width: 90px;
242 } 328 }
243 329
244 .search-results .time, 330 .search-results .time,
245 .month-results .time { 331 .month-results .time {
246 min-width: 110px; 332 min-width: 110px;
247 width: 110px; 333 width: 110px;
248 } 334 }
249 335
336 .no-checkboxes.search-results .time,
337 .no-checkboxes.month-results .time {
338 min-width: 90px;
339 width: 90px;
340 }
341
250 .entry input[type='checkbox'] { 342 .entry input[type='checkbox'] {
251 -webkit-margin-end: 6px; 343 -webkit-margin-end: 6px;
252 -webkit-margin-start: 4px; 344 -webkit-margin-start: 4px;
253 line-height: 1em; 345 line-height: 1em;
254 } 346 }
255 347
256 <if expr="not is_android"> 348 <if expr="not is_android">
257 /* Checkboxes are shown when checked or focused, or when the entry is hovered. 349 /* Checkboxes are shown when checked or focused, or when the entry is hovered.
258 * Fade in on focus, but not on hover, because it makes the UI feel laggy. */ 350 * Fade in on focus, but not on hover, because it makes the UI feel laggy. */
259 .site-domain-wrapper input[type=checkbox]:not(:checked), 351 .site-domain-wrapper input[type=checkbox]:not(:checked),
260 .entry input[type='checkbox']:not(:checked) { 352 .entry input[type='checkbox']:not(:checked) {
261 opacity: 0; 353 opacity: 0;
262 } 354 }
263 355
264 .site-domain-wrapper:hover input[type='checkbox'], 356 .site-domain-wrapper:hover input[type='checkbox'],
265 .site-domain-wrapper input[type='checkbox']:focus, 357 .site-domain-wrapper input[type='checkbox']:focus,
266 .entry-box:hover input[type='checkbox'], 358 .entry-box:hover input[type='checkbox'],
267 .entry-box input[type='checkbox']:focus { 359 .entry-box input[type='checkbox']:focus {
268 opacity: 1; 360 opacity: 1;
269 } 361 }
270 362
271 .site-domain-wrapper input[type='checkbox']:focus, 363 .site-domain-wrapper input[type='checkbox']:focus,
272 .entry-box input[type='checkbox']:focus { 364 .entry-box input[type='checkbox']:focus {
273 -webkit-transition: opacity 150ms; 365 -webkit-transition: opacity 150ms;
274 } 366 }
275 367
276 .filter-status { 368 .filter-status {
277 display: -webkit-flex; 369 -webkit-margin-start: 10px;
278 -webkit-flex: 1 0 auto;
279 -webkit-justify-content: flex-end;
280 } 370 }
281 371
282 .filter-status > div { 372 .filter-status > div {
283 -webkit-flex: 0 0 auto; 373 -webkit-flex: 0 0 auto;
284 -webkit-transition: background-color 500ms ease-in-out; 374 -webkit-transition: background-color 500ms ease-in-out;
285 border-radius: 3px; 375 border-radius: 3px;
286 display: none; 376 display: none;
287 font-size: 11px; 377 font-size: 11px;
288 height: 14px; 378 height: 14px;
289 line-height: 12px; 379 line-height: 12px;
(...skipping 11 matching lines...) Expand all
301 } 391 }
302 392
303 .filter-allowed, 393 .filter-allowed,
304 .in-content-pack-active { 394 .in-content-pack-active {
305 background-color: rgb(141, 240, 127); 395 background-color: rgb(141, 240, 127);
306 border: 1px solid rgb(33, 190, 33); 396 border: 1px solid rgb(33, 190, 33);
307 color: rgb(54, 54, 54); 397 color: rgb(54, 54, 54);
308 } 398 }
309 399
310 .filter-blocked { 400 .filter-blocked {
311 border: 1px solid rgb(211, 0, 0); 401 border: 1px solid rgb(207, 207, 207);
312 background-color: rgb(255, 147, 105); 402 background-color: rgb(231, 231, 231);
313 color: rgb(54, 54, 54); 403 color: rgb(54, 54, 54);
314 } 404 }
315 405
316 .in-content-pack-passive { 406 .in-content-pack-passive {
317 border: 1px solid rgb(155, 224, 163); 407 border: 1px solid rgb(155, 224, 163);
318 background-color: rgb(225, 255, 205); 408 background-color: rgb(225, 255, 205);
319 color: rgb(148, 148, 148); 409 color: rgb(148, 148, 148);
320 } 410 }
321 411
322 /* TODO(sergiu): If this is the final icon replace it with a separate resource. 412 /* TODO(sergiu): If this is the final icon replace it with a separate resource.
(...skipping 19 matching lines...) Expand all
342 .entry-box:hover, 432 .entry-box:hover,
343 .entry-box.contains-focus { 433 .entry-box.contains-focus {
344 background-color: rgb(252, 252, 252); 434 background-color: rgb(252, 252, 252);
345 border-radius: 2px; 435 border-radius: 2px;
346 } 436 }
347 437
348 .entry-box-container { 438 .entry-box-container {
349 display: -webkit-flex; 439 display: -webkit-flex;
350 } 440 }
351 441
352 .entry .title-and-domain { 442 .entry .visit-entry {
353 display: -webkit-flex; 443 display: -webkit-flex;
354 min-width: 0; 444 min-width: 0;
355 } 445 }
356 446
357 .entry .title { 447 .entry .title {
358 min-width: 0; 448 min-width: 0;
359 overflow: hidden; 449 overflow: hidden;
360 text-overflow: ellipsis; 450 text-overflow: ellipsis;
361 white-space: nowrap; 451 white-space: nowrap;
362 } 452 }
363 453
364 .entry .title-and-domain, 454 .entry .visit-entry,
365 .site-domain { 455 .site-domain {
366 /* Make room for the favicon. */ 456 /* Make room for the favicon. */
367 -webkit-padding-start: 20px; 457 -webkit-padding-start: 20px;
368 458
369 /* Control the favicon appearance. */ 459 /* Control the favicon appearance. */
370 background-position-y: center; 460 background-position-y: center;
371 background-repeat: no-repeat; 461 background-repeat: no-repeat;
372 background-size: 16px; 462 background-size: 16px;
373 } 463 }
374 464
375 html[dir='rtl'] .entry .title-and-domain, 465 html[dir='rtl'] .entry .visit-entry,
376 html[dir='rtl'] .site-domain { 466 html[dir='rtl'] .site-domain {
377 background-position-x: right; 467 background-position-x: right;
378 } 468 }
379 469
380 .site-domain button { 470 .site-domain button {
381 color: rgb(48, 57, 66); 471 color: rgb(48, 57, 66);
382 } 472 }
383 473
384 .site-domain button:hover { 474 .site-domain button:hover {
385 text-decoration: none; 475 text-decoration: none;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } 541 }
452 542
453 body:not(.has-results) #results-pagination { 543 body:not(.has-results) #results-pagination {
454 display: none; 544 display: none;
455 } 545 }
456 546
457 #older-button { 547 #older-button {
458 float: right; 548 float: right;
459 } 549 }
460 550
461
462 html[dir='rtl'] #older-button { 551 html[dir='rtl'] #older-button {
463 float: left; 552 float: left;
464 } 553 }
465 554
466 html[dir='ltr'] #newest-button::before { 555 html[dir='ltr'] #newest-button::before {
467 /* Left-pointing double angle quotation mark followed by '&nbsp;'. */ 556 /* Left-pointing double angle quotation mark followed by '&nbsp;'. */
468 content: '\00AB\A0'; 557 content: '\00AB\A0';
469 } 558 }
470 559
471 html[dir='rtl'] #newest-button::after { 560 html[dir='rtl'] #newest-button::after {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 background-image: url(../../../../ui/webui/resources/images/phone_small.png); 617 background-image: url(../../../../ui/webui/resources/images/phone_small.png);
529 background-position: 14px center; 618 background-position: 14px center;
530 padding-left: 43px; 619 padding-left: 43px;
531 } 620 }
532 621
533 #action-menu[data-devicetype='tablet']::before { 622 #action-menu[data-devicetype='tablet']::before {
534 background-image: url(../../../../ui/webui/resources/images/tablet_small.png); 623 background-image: url(../../../../ui/webui/resources/images/tablet_small.png);
535 background-position: 17px center; 624 background-position: 17px center;
536 padding-left: 49px; 625 padding-left: 49px;
537 } 626 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698