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

Delta Between Two Patch Sets: 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
Left Patch Set: Created Oct. 11, 2016, 8:56 a.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « chrome/locale/en-US/filters.dtd ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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
221 {
222 display: none;
223 }
224
225 /* Findbar */ 220 /* Findbar */
226 221
227 #findbar-closebutton 222 #findbar-closebutton
228 { 223 {
229 list-style-image: url(close.png); 224 list-style-image: url(close.png);
230 -moz-image-region: rect(0px, 14px, 14px, 0px); 225 -moz-image-region: rect(0px, 14px, 14px, 0px);
231 } 226 }
232 227
233 #findbar-closebutton:hover 228 #findbar-closebutton:hover
234 { 229 {
235 -moz-image-region: rect(0px, 28px, 14px, 14px); 230 -moz-image-region: rect(0px, 28px, 14px, 14px);
236 } 231 }
237 232
238 #findbar-closebutton:active 233 #findbar-closebutton:active
239 { 234 {
240 -moz-image-region: rect(0px, 42px, 14px, 28px); 235 -moz-image-region: rect(0px, 42px, 14px, 28px);
241 } 236 }
242 237
243 #findbar-textbox[status="notFound"] 238 #findbar[data-status="notFound"] > #findbar-textbox
244 { 239 {
245 /* We cannot change background color because of -moz-appearance but a red */ 240 /* We cannot change background color because of -moz-appearance but a red */
246 /* shadow works. */ 241 /* shadow works. */
247 filter: drop-shadow(0 0 4px red); 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 } 248 }
249 249
250 #findbar[data-os="darwin"] > #findbar-case-sensitive[checked="true"] 250 #findbar[data-os="darwin"] > #findbar-case-sensitive[checked="true"]
251 { 251 {
252 /* Firefox on Mac doesn't indicate checked buttons, do it ourselves */ 252 /* Firefox on Mac doesn't indicate checked buttons, do it ourselves */
253 filter: brightness(70%); 253 filter: brightness(70%);
254 } 254 }
255 255
256 .findbar-status 256 .findbar-status
257 { 257 {
258 font-size: 80%; 258 font-size: 80%;
259 } 259 }
260 260
261 .findbar-status[hidden="true"] 261 #findbar:not([data-status="wrappedStart"]) #findbar-status-wrappedStart,
262 { 262 #findbar:not([data-status="wrappedEnd"]) #findbar-status-wrappedEnd,
263 /* Make sure these elements always occupy the necessary space */ 263 #findbar:not([data-status="notFound"]) #findbar-status-notFound
264 display: -moz-box; 264 {
265 visibility: hidden; 265 visibility: hidden;
266 } 266 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld