OLD | NEW |
---|---|
(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 #9cc2ef; | |
8 background-color: #ebeff9; | |
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: #6a6a6a; | |
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 #ddd; | |
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. NB: For this to work, the | |
Evan Stade
2011/12/01 19:43:32
that's not quite true, you can change the box-sizi
| |
80 * box cannot have padding or a border. */ | |
81 max-width: 100%; | |
82 | |
83 overflow: hidden; | |
84 } | |
85 | |
86 html[dir=rtl] .entry-box { | |
87 float: right; /* To make the box shrink to fit its content. */ | |
88 } | |
89 | |
90 .search-results, .day-results { | |
91 margin: 0 0 24px 0; | |
92 padding: 0; | |
93 } | |
94 | |
95 .snippet { | |
96 -webkit-margin-start: 90px; /* Align it with .domain. */ | |
97 clear: both; | |
98 font-size: 12px; | |
99 line-height: 1.6em; | |
100 margin-bottom: 12px; | |
101 } | |
102 | |
103 .entry .domain { | |
104 color: #9a9a9a; | |
105 padding-left: 6px; | |
106 padding-right: 6px; | |
107 } | |
108 | |
109 .drop-down { | |
110 -webkit-margin-end: 4px; | |
111 background: #fff -webkit-canvas(drop-down-arrow) no-repeat center center; | |
112 border: 1px solid hsl(214, 91%, 85%); | |
Evan Stade
2011/12/01 19:43:32
you should probably read the CSS style guide secti
| |
113 border-radius: 2px; | |
114 height: 13px; | |
115 position: relative; | |
116 top: 2px; | |
117 width: 13px; | |
118 } | |
119 | |
120 .drop-down:hover { | |
121 background-image: -webkit-canvas(drop-down-arrow-hover); | |
122 border-color: #6A86DE; | |
123 } | |
124 | |
125 .drop-down[menu-shown], .drop-down:focus { | |
126 background-color: #6A86DE; | |
127 background-image: -webkit-canvas(drop-down-arrow-active); | |
128 border-color: #6A86DE; | |
129 } | |
130 | |
131 html[dir='rtl'] .entry .title { | |
132 /* Put the favicon on the right. */ | |
133 background-position-x: right; | |
134 } | |
135 | |
136 .entry .time { | |
137 color:#9a9a9a; | |
Evan Stade
2011/12/01 19:43:32
space
| |
138 width: 90px; | |
139 } | |
140 | |
141 .entry input[type=checkbox] { | |
142 -webkit-margin-end: 6px; | |
143 -webkit-margin-start: 4px; | |
144 height: 13px; | |
145 line-height: 12px; | |
146 text-indent: -1px; | |
147 top: 2px; | |
148 width: 14px; | |
149 } | |
150 | |
151 /* Checkboxes are shown when checked or focused, or when the entry is hovered. | |
152 Fade in on focus, but not on hover, because it makes the UI feel laggy. */ | |
153 .entry input[type=checkbox]:not(:checked) { | |
154 opacity: 0; | |
155 } | |
156 | |
157 .entry-box:hover input[type=checkbox], | |
158 .entry-box input[type=checkbox]:focus { | |
159 opacity: 1; | |
160 } | |
161 | |
162 .entry-box input[type=checkbox]:focus { | |
163 -webkit-transition: opacity 150ms; | |
164 } | |
165 | |
166 .entry-box { | |
167 background-color: none; | |
168 } | |
169 | |
170 .entry-box:hover, .entry-box.contains-focus { | |
171 background-color: #e4ecf7; | |
172 border-radius: 2px; | |
173 } | |
Evan Stade
2011/12/01 19:43:32
newline
| |
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: #11c; | |
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: #11c; | |
214 } | |
215 | |
216 .fade-out { | |
217 -webkit-transition: opacity 200ms; | |
218 opacity: 0; | |
219 } | |
OLD | NEW |