| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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-textbox[status="notFound"] | |
| 239 { | |
| 240 /* We cannot change background color because of -moz-appearance but a red */ | |
| 241 /* shadow works. */ | |
| 242 filter: drop-shadow(0 0 4px red); | |
|
Thomas Greiner
2016/10/12 14:03:14
Detail: This looks quite strange due to the border
Wladimir Palant
2016/10/12 15:22:00
I considered just marking the field as invalid ins
Thomas Greiner
2016/10/12 17:18:10
It's a pity that we can't just mark it as invalid,
Wladimir Palant
2016/10/12 17:53:30
Or we simply set `-moz-appearance: none` or drop `
| |
| 243 } | |
| 244 | |
| 245 #findbar[data-os="darwin"] > #findbar-case-sensitive[checked="true"] | |
| 246 { | |
| 247 /* Firefox on Mac doesn't indicate checked buttons, do it ourselves */ | |
| 248 filter: brightness(70%); | |
| 249 } | |
| 250 | |
| 251 .findbar-status | |
| 252 { | |
| 253 font-size: 80%; | |
| 254 } | |
| 255 | |
| 256 .findbar-status[hidden="true"] | |
| 257 { | |
| 258 /* Make sure these elements always occupy the necessary space */ | |
| 259 display: -moz-box; | |
|
Thomas Greiner
2016/10/12 14:03:14
Sounds like it behaves the same way as `flex="1"`
Wladimir Palant
2016/10/12 15:22:00
This is merely overriding display:none that hidden
| |
| 260 visibility: hidden; | |
| 261 } | |
| OLD | NEW |