Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/skin/filters.css

Issue 29356477: Issue 4510 - Filter preferences: replace the built-in findbar widget by our own look-alike (Closed) Base URL: https://hg.adblockplus.org/adblockplus
Patch Set: Addressed comments Created Oct. 12, 2016, 3:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/locale/en-US/filters.dtd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 { 210 {
211 list-style-image: url(checkbox.png); 211 list-style-image: url(checkbox.png);
212 -moz-image-region: rect(0px 13px 13px 0px); 212 -moz-image-region: rect(0px 13px 13px 0px);
213 } 213 }
214 214
215 treechildren::-moz-tree-image(col-slow, slow-true) 215 treechildren::-moz-tree-image(col-slow, slow-true)
216 { 216 {
217 list-style-image: url(slow.png); 217 list-style-image: url(slow.png);
218 } 218 }
219 219
220 .findbar-highlight 220 /* Findbar */
221
222 #findbar-closebutton
221 { 223 {
222 display: none; 224 list-style-image: url(close.png);
225 -moz-image-region: rect(0px, 14px, 14px, 0px);
223 } 226 }
227
228 #findbar-closebutton:hover
229 {
230 -moz-image-region: rect(0px, 28px, 14px, 14px);
231 }
232
233 #findbar-closebutton:active
234 {
235 -moz-image-region: rect(0px, 42px, 14px, 28px);
236 }
237
238 #findbar[data-status="notFound"] > #findbar-textbox
239 {
240 /* We cannot change background color because of -moz-appearance but a red */
241 /* shadow works. */
242 box-shadow: 0 0 1.5px 1px red;
243 }
244
245 #findbar[data-status="notFound"] > #findbar-textbox[focused="true"]
246 {
247 box-shadow: 0 0 2px 2px rgba(255, 0, 0, 0.4);
248 }
249
250 #findbar[data-os="darwin"] > #findbar-case-sensitive[checked="true"]
251 {
252 /* Firefox on Mac doesn't indicate checked buttons, do it ourselves */
253 filter: brightness(70%);
254 }
255
256 .findbar-status
257 {
258 font-size: 80%;
259 }
260
261 #findbar:not([data-status="wrappedStart"]) #findbar-status-wrappedStart,
262 #findbar:not([data-status="wrappedEnd"]) #findbar-status-wrappedEnd,
263 #findbar:not([data-status="notFound"]) #findbar-status-notFound
264 {
265 visibility: hidden;
266 }
OLDNEW
« no previous file with comments | « chrome/locale/en-US/filters.dtd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld