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

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

Issue 8658006: History: Reduce visual importance of the domain in entries. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Change colors to rgb(...) style, fix typo in js. Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/resources/history.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 #results-separator {
7 border-top: 1px solid rgb(156, 194, 239);
8 background-color: rgb(235, 239, 249);
9 font-weight: bold;
10 padding: 3px;
11 margin-bottom: -8px;
12 margin-top: 12px;
13 }
14
15 #results-separator table {
16 width: 100%;
17 }
18
19 #results-summary {
20 overflow: hidden;
21 text-overflow: ellipsis;
22 white-space: nowrap;
23 width: 50%;
24 }
25
26 #editing-controls button {
27 margin: 18px 0 -8px 0;
28 }
29
30 #results-display {
31 margin: 16px 0 0 0;
32 max-width: 740px;
33 }
34
35 .day {
36 color: rgb(106, 106, 106);
37 font-size: 13px;
38 font-weight: bold;
39 margin: 0 0 4px 0;
40 text-transform: uppercase;
41 }
42
43 .edit-button {
44 -webkit-appearance: none;
45 background: none;
46 border: 0;
47 color: blue; /* -webkit-link makes it purple :'( */
48 cursor: pointer;
49 display: inline-block;
50 font: inherit;
51 text-decoration: underline;
52 padding: 0px 9px;
53 }
54
55 .gap,
56 .entry,
57 .no-entries {
58 list-style: none;
59 margin: 0;
60 padding: 0;
61 }
62 .gap {
63 -webkit-border-end: 1px solid rgb(221, 221, 221);
64 height: 14px;
65 width: 35px;
66 }
67
68 .entry {
69 overflow: auto; /* Make sure it's at least as large as its children. */
70 }
71
72 .entry-box {
73 -webkit-box-orient: horizontal;
74 cursor: default;
75 display: -webkit-box;
76 float: left; /* Box will shrink to fit its content. */
77 line-height: 1.6em;
78
79 /* The box should be no bigger than its parent. */
80 max-width: 100%;
81
82 overflow: hidden;
83 }
84
85 html[dir=rtl] .entry-box {
86 float: right; /* To make the box shrink to fit its content. */
87 }
88
89 .search-results, .day-results {
90 margin: 0 0 24px 0;
91 padding: 0;
92 }
93
94 .snippet {
95 -webkit-margin-start: 90px; /* Align it with .domain. */
96 clear: both;
97 font-size: 12px;
98 line-height: 1.6em;
99 margin-bottom: 12px;
100 }
101
102 .entry .domain {
103 color: rgb(154, 154, 154);
104 padding-left: 6px;
105 padding-right: 6px;
106 }
107
108 .drop-down {
109 -webkit-margin-end: 4px;
110 background: white -webkit-canvas(drop-down-arrow) no-repeat center center;
111 border: 1px solid rgb(182, 212, 252);
112 border-radius: 2px;
113 height: 13px;
114 position: relative;
115 top: 2px;
116 width: 13px;
117 }
118
119 .drop-down:hover {
120 background-image: -webkit-canvas(drop-down-arrow-hover);
121 border-color: rgb(106, 134, 222);
122 }
123
124 .drop-down[menu-shown], .drop-down:focus {
125 background-color: rgb(106, 134, 222);
126 background-image: -webkit-canvas(drop-down-arrow-active);
127 border-color: rgb(106, 134, 222);
128 }
129
130 html[dir='rtl'] .entry .title {
131 /* Put the favicon on the right. */
132 background-position-x: right;
133 }
134
135 .entry .time {
136 color: #9a9a9a;
137 width: 90px;
138 }
139
140 .entry input[type=checkbox] {
141 -webkit-margin-end: 6px;
142 -webkit-margin-start: 4px;
143 height: 13px;
144 line-height: 12px;
145 text-indent: -1px;
146 top: 2px;
147 width: 14px;
148 }
149
150 /* Checkboxes are shown when checked or focused, or when the entry is hovered.
151 Fade in on focus, but not on hover, because it makes the UI feel laggy. */
152 .entry input[type=checkbox]:not(:checked) {
153 opacity: 0;
154 }
155
156 .entry-box:hover input[type=checkbox],
157 .entry-box input[type=checkbox]:focus {
158 opacity: 1;
159 }
160
161 .entry-box input[type=checkbox]:focus {
162 -webkit-transition: opacity 150ms;
163 }
164
165 .entry-box {
166 background-color: none;
167 }
168
169 .entry-box:hover, .entry-box.contains-focus {
170 background-color: rgb(228, 236, 247);
171 border-radius: 2px;
172 }
173
174 .entry .title {
175 -webkit-box-flex: 1;
176 overflow: hidden;
177 text-overflow: ellipsis;
178 white-space: nowrap;
179 }
180
181 .entry .title {
182 /* Make room for the favicon. */
183 -webkit-padding-start: 20px;
184
185 /* Control the favicon appearance. */
186 background-repeat: no-repeat;
187 background-position-y: center;
188 }
189
190 .entry .starred {
191 -webkit-margin-start: 4px;
192 background: url('shared/images/star_small.png') no-repeat;
193 display: inline-block;
194 height: 11px;
195 width: 11px;
196 }
197
198 .entry .title > a {
199 color: rgb(17, 17, 204);
200 text-decoration: none;
201 }
202
203 .entry .title > a.to-be-removed {
204 text-decoration: line-through;
205 }
206
207 .entry .title > a:hover {
208 text-decoration: underline;
209 }
210
211 /* Since all history links are visited, we can make them blue. */
212 .entry .title > a:visted {
213 color: rgb(17, 17, 204);
214 }
215
216 .fade-out {
217 -webkit-transition: opacity 200ms;
218 opacity: 0;
219 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/history.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698