| LEFT | RIGHT |
| 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-2017 eyeo GmbH | 3 * Copyright (C) 2006-present 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
| 13 * | 13 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 24 font-weight: 300; | 24 font-weight: 300; |
| 25 font-style: normal; | 25 font-style: normal; |
| 26 } | 26 } |
| 27 | 27 |
| 28 @font-face | 28 @font-face |
| 29 { | 29 { |
| 30 font-family: "Source Sans Pro"; | 30 font-family: "Source Sans Pro"; |
| 31 src: url(fonts/SourceSansPro-Regular.woff); | 31 src: url(fonts/SourceSansPro-Regular.woff); |
| 32 /* local("Ø") forces using no local font called Source Sans Pro */ | 32 /* local("Ø") forces using no local font called Source Sans Pro */ |
| 33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); | 33 src: local("Ø"), url(fonts/SourceSansPro-Regular.woff) format("woff"); |
| 34 font-weight: 400; | |
| 35 font-style: normal; | 34 font-style: normal; |
| 36 } | 35 } |
| 37 | 36 |
| 38 @font-face | 37 @font-face |
| 39 { | 38 { |
| 40 font-family: "Source Sans Pro"; | 39 font-family: "Source Sans Pro"; |
| 41 src: url(fonts/SourceSansPro-Semibold.woff); | 40 src: url(fonts/SourceSansPro-bold.woff); |
| 42 /* local("Ø") forces using no local font called Source Sans Pro */ | 41 /* local("Ø") forces using no local font called Source Sans Pro */ |
| 43 src: local("Ø"), url(fonts/SourceSansPro-Semibold.woff) format("woff"); | 42 src: local("Ø"), url(fonts/SourceSansPro-bold.woff) format("woff"); |
| 44 font-weight: 600; | 43 font-weight: 700; |
| 45 font-style: normal; | 44 font-style: normal; |
| 46 } | 45 } |
| 47 | 46 |
| 47 html |
| 48 { |
| 49 font-size: 16px; |
| 50 } |
| 51 |
| 48 body | 52 body |
| 49 { | 53 { |
| 50 background-color: #F5F5F5; | 54 background-color: #F3F3F3; |
| 51 display: flex; | 55 display: flex; |
| 52 margin: 20px 10px; | 56 margin: 1.2rem 0.3rem; |
| 53 font-family: "Source Sans Pro", sans-serif; | 57 font-family: "Source Sans Pro", sans-serif; |
| 54 font-size: 14px; | 58 font-size: 1.25rem; |
| 55 color: #494949; | 59 color: #494949; |
| 56 } | 60 } |
| 57 | 61 |
| 58 h1 | 62 h1 |
| 59 { | 63 { |
| 60 font-size: 24px; | 64 font-size: 3rem; |
| 61 line-height: 1em; | |
| 62 font-weight: 300; | 65 font-weight: 300; |
| 63 } | 66 } |
| 64 | 67 |
| 65 h2 | 68 h2 |
| 66 { | 69 { |
| 67 font-size: 16px; | 70 font-size: 1.375rem; |
| 68 font-weight: 600; | 71 font-weight: 700; |
| 69 } | 72 } |
| 70 | 73 |
| 71 p | 74 a |
| 72 { | 75 { |
| 73 font-weight: 300; | 76 color: #099CD0; |
| 74 } | 77 text-decoration: none; |
| 75 | 78 } |
| 76 hr | 79 |
| 77 { | 80 a:hover |
| 78 background-color: #CDCDCD; | 81 { |
| 79 border: 0px; | 82 color: #5CBCE1; |
| 80 height: 1px; | 83 } |
| 81 margin: 0px; | 84 |
| 85 ul |
| 86 { |
| 87 margin: 0rem; |
| 82 } | 88 } |
| 83 | 89 |
| 84 [aria-hidden="true"] | 90 [aria-hidden="true"] |
| 85 { | 91 { |
| 86 display: none !important; | 92 display: none !important; |
| 87 } | 93 } |
| 88 | 94 |
| 89 input[type="search"]::-webkit-search-cancel-button | |
| 90 { | |
| 91 display: none; | |
| 92 } | |
| 93 | |
| 94 input[type="text"], | 95 input[type="text"], |
| 95 input[type="search"], | 96 input[type="url"], |
| 96 textarea | 97 textarea, |
| 98 main |
| 97 { | 99 { |
| 98 -webkit-box-sizing: border-box; | 100 -webkit-box-sizing: border-box; |
| 99 -moz-box-sizing: border-box; | 101 -moz-box-sizing: border-box; |
| 100 box-sizing: border-box; | 102 box-sizing: border-box; |
| 101 } | 103 } |
| 102 | 104 |
| 103 button[role="checkbox"], | 105 /* |
| 104 #dialog-body .table button[role="checkbox"] | 106 Buttons and links |
| 107 */ |
| 108 |
| 109 button, |
| 110 .button |
| 111 { |
| 112 display: block; |
| 113 padding: 0.8rem 1.2rem; |
| 114 background-color: transparent; |
| 115 font-size: 1.125rem; |
| 116 font-weight: 700; |
| 117 text-decoration: none; |
| 118 text-transform: uppercase; |
| 119 cursor: pointer; |
| 120 } |
| 121 |
| 122 button.primary, |
| 123 .button.primary |
| 124 { |
| 125 border: 0px; |
| 126 color: #FFF; |
| 127 background-color: #099CD0; |
| 128 } |
| 129 |
| 130 button.primary:not([disabled]):hover, |
| 131 .button.primary:hover |
| 132 { |
| 133 box-shadow: inset 0 0 0 3px #005D80; |
| 134 } |
| 135 |
| 136 button.primary[disabled] |
| 137 { |
| 138 background-color: #5CBCE1; |
| 139 } |
| 140 |
| 141 button.secondary, |
| 142 .button.secondary |
| 143 { |
| 144 border: 1px solid #099CD0; |
| 145 color: #099CD0; |
| 146 } |
| 147 |
| 148 button.secondary:hover, |
| 149 .button.secondary:hover |
| 150 { |
| 151 box-shadow: inset 0 0 0 2px #099CD0; |
| 152 } |
| 153 |
| 154 button[role="checkbox"] |
| 105 { | 155 { |
| 106 width: 18px; | 156 width: 18px; |
| 107 height: 18px; | 157 height: 18px; |
| 108 margin-top: 0px; | |
| 109 -moz-margin-end: 20px; | |
| 110 -webkit-margin-end: 20px; | |
| 111 padding: 0px; | 158 padding: 0px; |
| 112 border: none; | 159 border: 0px; |
| 113 background-color: transparent; | 160 background-color: transparent; |
| 114 background-position: -51px 0px; | 161 background-position: -51px 0px; |
| 115 } | 162 } |
| 116 | 163 |
| 117 button[role="checkbox"][aria-checked="true"], | 164 button[role="checkbox"][aria-checked="true"]:not(.toggle) |
| 118 #dialog-body .table button[role="checkbox"][aria-checked="true"] | |
| 119 { | 165 { |
| 120 background-position: -68px 0px; | 166 background-position: -68px 0px; |
| 121 } | 167 } |
| 122 | 168 |
| 123 #nav-sidebar | 169 button[role="checkbox"][disabled] |
| 124 { | 170 { |
| 125 min-width: 198px; | 171 border-radius: 2px; |
| 126 } | 172 background-color: #ccc; |
| 127 | 173 } |
| 128 #nav-sidebar .fixed | 174 |
| 129 { | 175 button[role="checkbox"].toggle |
| 130 top: 40px; | 176 { |
| 131 bottom: 2px; | 177 background: url(icons/toggle.svg#on); |
| 178 } |
| 179 |
| 180 button[role="checkbox"][aria-checked="false"].toggle |
| 181 { |
| 182 background: url(icons/toggle.svg#off); |
| 183 } |
| 184 |
| 185 button[role="checkbox"][aria-checked="true"].toggle |
| 186 { |
| 187 background: url(icons/toggle.svg#on); |
| 188 } |
| 189 |
| 190 button[role="checkbox"].toggle |
| 191 { |
| 192 background-position: initial; |
| 193 width: 2.25rem; |
| 194 height: 1.3rem; |
| 195 } |
| 196 |
| 197 button[role="checkbox"][disabled].toggle |
| 198 { |
| 199 background-image: none; |
| 200 } |
| 201 |
| 202 button.delete::before |
| 203 { |
| 204 -webkit-mask: url(icons/trash.svg); |
| 205 mask: url(icons/trash.svg); |
| 206 } |
| 207 |
| 208 button.gear::before |
| 209 { |
| 210 -webkit-mask: url(icons/gear.svg); |
| 211 mask: url(icons/gear.svg); |
| 212 } |
| 213 |
| 214 button.gear, |
| 215 button.delete |
| 216 { |
| 217 border: 0px; |
| 218 padding: 0px; |
| 219 background-color: transparent; |
| 220 } |
| 221 |
| 222 button.gear::before, |
| 223 button.delete::before |
| 224 { |
| 225 content: ""; |
| 226 display: block; |
| 227 height: 1.9rem; |
| 228 width: 1.9rem; |
| 229 background-color: #099DD1; |
| 230 } |
| 231 |
| 232 button.gear:hover::before, |
| 233 button.delete:hover::before |
| 234 { |
| 235 background-color: #5CBCE1; |
| 236 } |
| 237 |
| 238 button.gear:hover, |
| 239 button.delete:hover |
| 240 { |
| 241 background-position: -61px -51px; |
| 242 } |
| 243 |
| 244 button.link, |
| 245 button.list |
| 246 { |
| 247 color: #099CD0; |
| 248 } |
| 249 |
| 250 button.link |
| 251 { |
| 252 border: 0px; |
| 253 background-color: transparent; |
| 254 font-weight: 300; |
| 255 font-family: inherit; |
| 256 text-transform: none; |
| 257 padding: 0.2rem; |
| 258 } |
| 259 |
| 260 button.link:hover |
| 261 { |
| 262 color: #5CBCE1; |
| 263 } |
| 264 |
| 265 button.list |
| 266 { |
| 267 border-style: solid;; |
| 268 border-color: #CDCDCD; |
| 269 border-width: 0px 1px 1px 1px; |
| 270 width: 100%; |
| 271 background-color: #E1F2FA; |
| 272 text-align: initial; |
| 273 } |
| 274 |
| 275 button.list:hover |
| 276 { |
| 277 box-shadow: inset 0 0 0 3px #099CD0; |
| 278 border-color: #099CD0; |
| 279 } |
| 280 |
| 281 .side-controls:not(.wrap) |
| 282 { |
| 283 margin: 0.8rem 0rem; |
| 284 display: flex; |
| 285 justify-content: flex-end; |
| 286 } |
| 287 |
| 288 .side-controls button |
| 289 { |
| 290 margin: 0rem; |
| 291 -moz-margin-start: 1rem; |
| 292 -webkit-margin-start: 1rem; |
| 293 } |
| 294 |
| 295 .side-controls.wrap button |
| 296 { |
| 297 margin: 0.8rem 0rem; |
| 298 -moz-margin-start: auto; |
| 299 -webkit-margin-start: auto; |
| 300 } |
| 301 |
| 302 /* |
| 303 Forms |
| 304 */ |
| 305 |
| 306 .floating-input |
| 307 { |
| 308 position: relative; |
| 309 padding-top: 0.7rem; |
| 310 margin: 1.8rem 0rem 0.5rem 0rem; |
| 311 } |
| 312 |
| 313 .floating-input input |
| 314 { |
| 315 border-color: #CDCDCD; |
| 316 border-width: 0px 0px 1px 0px; |
| 317 outline: none; |
| 318 font-size: 1.3rem; |
| 319 padding: 5px; |
| 320 width: 100%; |
| 321 } |
| 322 |
| 323 .floating-input input:placeholder-shown ~ label, |
| 324 .floating-input input + label, |
| 325 .floating-input input:focus + label |
| 326 { |
| 327 position: absolute; |
| 328 top: 0.9rem; |
| 329 left: 0.3rem; |
| 330 font-size: 1.3rem; |
| 331 } |
| 332 |
| 333 .floating-input input + label, |
| 334 .floating-input input:focus + label |
| 335 { |
| 336 top: -0.5rem; |
| 337 font-size: 0.9rem; |
| 338 } |
| 339 |
| 340 html[dir="rtl"] .floating-input input:placeholder-shown ~ label, |
| 341 html[dir="rtl"] .floating-input input ~ label, |
| 342 html[dir="rtl"] .floating-input input:focus ~ label |
| 343 { |
| 344 right: 0.3rem; |
| 345 left: auto; |
| 346 } |
| 347 |
| 348 [data-validation] .floating-input input:focus:invalid |
| 349 { |
| 350 border-color: #C11D27; |
| 351 } |
| 352 |
| 353 [data-validation] .floating-input input:focus:invalid ~ .attention::before, |
| 354 [data-validation] .floating-input input:focus:valid ~ .attention::before |
| 355 { |
| 356 content: ""; |
| 357 position: absolute; |
| 358 display: block; |
| 359 margin: 0.5rem; |
| 360 height: 1.5rem; |
| 361 width: 1.5rem; |
| 362 border: 0rem; |
| 363 top: 0.5rem; |
| 364 right: 0rem; |
| 365 } |
| 366 |
| 367 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti
on::before, |
| 368 html[dir="rtl"] [data-validation] .floating-input input:focus:valid ~ .attention
::before |
| 369 { |
| 370 left: 0rem; |
| 371 right: auto; |
| 372 } |
| 373 |
| 374 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
| 375 { |
| 376 background-color: #C11D27; |
| 377 -webkit-mask: url(icons/attention.svg); |
| 378 mask: url(icons/attention.svg); |
| 379 } |
| 380 |
| 381 [data-validation] .floating-input input:focus:valid ~ .attention::before |
| 382 { |
| 383 top: 0.8rem; |
| 384 background-color: green; |
| 385 -webkit-mask: url(icons/checkmark.svg); |
| 386 mask: url(icons/checkmark.svg); |
| 387 } |
| 388 |
| 389 [data-validation] .floating-input input ~ .error-msg |
| 390 { |
| 391 margin-top: 0.5rem; |
| 392 color: #C11D27; |
| 393 display: block; |
| 394 visibility: hidden; |
| 395 } |
| 396 |
| 397 [data-validation] .floating-input input:focus:invalid ~ .error-msg |
| 398 { |
| 399 visibility: visible; |
| 400 } |
| 401 |
| 402 /* |
| 403 Sidebar |
| 404 */ |
| 405 |
| 406 #sidebar, |
| 407 #sidebar .fixed, |
| 408 [role="tablist"] |
| 409 { |
| 410 width: 13.2rem; |
| 411 } |
| 412 |
| 413 #sidebar |
| 414 { |
| 415 flex-shrink: 0; |
| 416 } |
| 417 |
| 418 #sidebar .fixed |
| 419 { |
| 420 top: 1.2rem; |
| 421 bottom: 0rem; |
| 132 height: auto; | 422 height: auto; |
| 133 position: fixed; | 423 position: fixed; |
| 134 } | 424 } |
| 135 | 425 |
| 136 #page-title | 426 #sidebar header |
| 137 { | 427 { |
| 138 padding: 0px 20px; | 428 text-align: right; |
| 139 } | 429 margin-right: 2rem; |
| 140 | 430 } |
| 141 #page-title p | 431 |
| 142 { | 432 html[dir="rtl"] #sidebar header |
| 143 margin: 0px; | 433 { |
| 144 font-size: 16px; | 434 margin-left: 2rem; |
| 145 line-height: 1em; | 435 } |
| 146 } | 436 |
| 147 | 437 #sidebar header h1 |
| 148 #page-title h1 | 438 { |
| 149 { | 439 margin: 0rem; |
| 150 margin: 0px; | 440 font-size: 1.5rem; |
| 151 padding: 8px 0px 16px 0px; | 441 } |
| 152 } | 442 |
| 153 | 443 #sidebar header h1 strong |
| 154 .tabs li | 444 { |
| 155 { | 445 font-weight: 700; |
| 156 cursor: pointer; | 446 } |
| 447 |
| 448 #sidebar header p |
| 449 { |
| 450 margin: 0rem; |
| 451 font-size: 2.4rem; |
| 452 } |
| 453 |
| 454 html[dir="rtl"] #sidebar header |
| 455 { |
| 456 text-align: left; |
| 457 } |
| 458 |
| 459 #sidebar-logo |
| 460 { |
| 461 width: 3rem; |
| 462 margin-bottom: 0.7rem; |
| 463 } |
| 464 |
| 465 #sidebar nav, |
| 466 #sidebar footer |
| 467 { |
| 468 margin: 1.4rem 0rem; |
| 469 } |
| 470 |
| 471 [role="tablist"] |
| 472 { |
| 473 list-style: none; |
| 474 margin: 0rem; |
| 475 padding: 0rem; |
| 476 position: relative; |
| 477 font-size: 1.25rem; |
| 478 } |
| 479 |
| 480 [role="tablist"] li a |
| 481 { |
| 157 display: flex; | 482 display: flex; |
| 158 } | |
| 159 | |
| 160 .tabs li a | |
| 161 { | |
| 162 flex: 1; | |
| 163 color: inherit; | |
| 164 text-decoration: none; | |
| 165 } | |
| 166 | |
| 167 .tabs.vertical | |
| 168 { | |
| 169 list-style: none; | |
| 170 margin: 0px; | |
| 171 position: relative; | |
| 172 padding: 0px; | |
| 173 width: 198px; | |
| 174 } | |
| 175 | |
| 176 .tabs.vertical li | |
| 177 { | |
| 178 height: 46px; | |
| 179 margin-top: -1px; | 483 margin-top: -1px; |
| 484 padding: 1rem 0.8rem; |
| 180 -moz-margin-end: -1px; | 485 -moz-margin-end: -1px; |
| 181 -webkit-margin-end: -1px; | 486 -webkit-margin-end: -1px; |
| 182 -moz-margin-start: -1px; | 487 -moz-margin-start: -1px; |
| 183 -webkit-margin-start: -1px; | 488 -webkit-margin-start: -1px; |
| 184 border-color: #CDCDCD transparent; | 489 border-color: #CDCDCD transparent; |
| 185 border-style: solid; | 490 border-style: solid; |
| 186 border-width: 1px; | 491 border-width: 1px; |
| 187 font-size: 16px; | 492 text-decoration: none; |
| 188 font-weight: 300; | 493 color: inherit; |
| 189 line-height: 1em; | 494 cursor: pointer; |
| 190 } | 495 } |
| 191 | 496 |
| 192 .tabs.vertical li a, | 497 [role="tablist"] a[role="tab"]:focus |
| 193 .tabs.vertical li span, | |
| 194 .tabs.vertical li::after | |
| 195 { | |
| 196 margin: auto 20px; | |
| 197 } | |
| 198 | |
| 199 .tabs li[role="tab"]:focus | |
| 200 { | 498 { |
| 201 outline: none; | 499 outline: none; |
| 202 text-shadow: 0px 0px 1px #888; | 500 text-shadow: 0px 0px 1px #888; |
| 203 } | 501 } |
| 204 | 502 |
| 205 .tabs li[role="tab"][aria-selected] | 503 li a[role="tab"][aria-selected] |
| 206 { | 504 { |
| 207 border-radius: 3px 0px 0px 3px; | |
| 208 -moz-border-start-color: #CDCDCD; | 505 -moz-border-start-color: #CDCDCD; |
| 209 -webkit-border-start-color: #CDCDCD; | 506 -webkit-border-start-color: #CDCDCD; |
| 210 font-weight: 600; | 507 font-weight: 700; |
| 211 background-color: #FFF; | 508 background-color: #FFF; |
| 212 } | 509 } |
| 213 | 510 |
| 214 html[dir="rtl"] .tabs li[role="tab"][aria-selected] | 511 #sidebar footer |
| 215 { | |
| 216 border-radius: 0px 3px 3px 0px; | |
| 217 } | |
| 218 | |
| 219 .tabs.vertical.bottom | |
| 220 { | 512 { |
| 221 bottom: 0px; | 513 bottom: 0px; |
| 222 position: absolute; | 514 position: absolute; |
| 223 } | |
| 224 | |
| 225 .tabs.vertical.bottom li:first-child | |
| 226 { | |
| 227 border-top: 0px; | |
| 228 } | |
| 229 | |
| 230 #tab-contribute | |
| 231 { | |
| 232 border-bottom: none; | |
| 233 } | |
| 234 | |
| 235 #nav-sidebar ul li span | |
| 236 { | |
| 237 width: 100%; | 515 width: 100%; |
| 238 } | 516 } |
| 239 | 517 |
| 240 #nav-sidebar ul li::after | 518 #sidebar footer p |
| 241 { | |
| 242 content: ""; | |
| 243 min-width: 14px; | |
| 244 height: 14px; | |
| 245 background-image: url(options-sprite.png); | |
| 246 } | |
| 247 | |
| 248 #tab-general::after | |
| 249 { | |
| 250 background-position: -16px -18px; | |
| 251 } | |
| 252 | |
| 253 #tab-advanced::after | |
| 254 { | |
| 255 background-position: -46px -18px; | |
| 256 } | |
| 257 | |
| 258 #tab-help::after | |
| 259 { | |
| 260 background-position: -1px -18px; | |
| 261 } | |
| 262 | |
| 263 #tab-share::after | |
| 264 { | |
| 265 background-position: -61px -18px; | |
| 266 } | |
| 267 | |
| 268 #tab-contribute::after | |
| 269 { | |
| 270 background-position: -31px -18px; | |
| 271 } | |
| 272 | |
| 273 #tab-share:lang(zh), | |
| 274 #tab-share[hidden] | |
| 275 { | |
| 276 display: none; | |
| 277 } | |
| 278 | |
| 279 #tab-share:lang(zh) + li, | |
| 280 #tab-share[hidden] + li | |
| 281 { | |
| 282 border-top: none; | |
| 283 } | |
| 284 | |
| 285 #content | |
| 286 { | |
| 287 background-color: #FFFFFF; | |
| 288 border: 1px solid #CDCDCD; | |
| 289 border-radius: 8px; | |
| 290 width: 840px; | |
| 291 padding: 0px 60px 40px 60px; | |
| 292 } | |
| 293 | |
| 294 #content h1 | |
| 295 { | |
| 296 border-bottom: 1px solid #CDCDCD; | |
| 297 margin: 0px 0px 24px 0px; | |
| 298 padding: 40px 0px 16px 0px; | |
| 299 } | |
| 300 | |
| 301 #link-version | |
| 302 { | 519 { |
| 303 display: flex; | 520 display: flex; |
| 304 margin: 12px 20px; | 521 justify-content: center; |
| 305 color: #3A7BA6; | 522 margin: 1.2rem 0rem; |
| 306 text-decoration: none; | 523 } |
| 307 } | 524 |
| 308 | 525 /* |
| 309 #abp-version | 526 Main content |
| 310 { | 527 */ |
| 311 -moz-margin-start: 5px; | |
| 312 -webkit-margin-start: 5px; | |
| 313 } | |
| 314 | |
| 315 #content-wrapper | |
| 316 { | |
| 317 position: relative; | |
| 318 } | |
| 319 | |
| 320 #content-wrapper > div | |
| 321 { | |
| 322 display: none; | |
| 323 } | |
| 324 | 528 |
| 325 body[data-tab|="general"] #content-general, | 529 body[data-tab|="general"] #content-general, |
| 326 body[data-tab|="advanced"] #content-advanced, | 530 body[data-tab|="advanced"] #content-advanced, |
| 327 body[data-tab|="whitelist"] #content-whitelist, | 531 body[data-tab|="whitelist"] #content-whitelist, |
| 328 body[data-tab|="help"] #content-help | 532 body[data-tab|="help"] #content-help |
| 329 { | 533 { |
| 330 display: block; | 534 display: block; |
| 331 } | 535 } |
| 332 | 536 |
| 333 div.button | 537 main |
| 334 { | 538 { |
| 335 cursor: pointer; | 539 background-color: #FFFFFF; |
| 540 border: 1px solid #CDCDCD; |
| 541 max-width: 46.3rem; |
| 542 padding: 0px 0rem 1.4rem 0rem; |
| 543 } |
| 544 |
| 545 main > div |
| 546 { |
| 547 display: none; |
| 548 } |
| 549 |
| 550 main p |
| 551 { |
| 552 margin: 0.8rem 0rem; |
| 553 } |
| 554 |
| 555 /* |
| 556 Sections |
| 557 */ |
| 558 |
| 559 [role="tabpanel"] > section, |
| 560 [role="tabpanel"] > .section |
| 561 { |
| 562 padding: 2rem; |
| 563 border-top: 1px solid #CDCDCD; |
| 564 } |
| 565 |
| 566 [role="tabpanel"] > header h1, |
| 567 [role="tabpanel"] > header p |
| 568 { |
| 569 padding: 0rem 2rem; |
| 570 margin: 1.4rem 0rem; |
| 571 } |
| 572 |
| 573 section h2, |
| 574 .section h2 |
| 575 { |
| 576 margin: 0rem; |
| 577 } |
| 578 |
| 579 section, |
| 580 .section |
| 581 { |
| 582 clear: both; |
| 583 } |
| 584 |
| 585 section.cols |
| 586 { |
| 336 display: flex; | 587 display: flex; |
| 337 } | 588 } |
| 338 | 589 |
| 339 .table | 590 section.cols > *:first-child |
| 591 { |
| 592 flex: 1; |
| 593 -moz-margin-end: 2rem; |
| 594 -webkit-margin-end: 2rem; |
| 595 } |
| 596 |
| 597 section.cols > *:last-child |
| 598 { |
| 599 flex: 3; |
| 600 } |
| 601 |
| 602 /* |
| 603 Acceptable ads |
| 604 */ |
| 605 |
| 606 #acceptable-ads |
| 607 { |
| 608 background-color: #F3F3F3; |
| 609 } |
| 610 |
| 611 #acceptable-ads > div |
| 612 { |
| 613 position: relative; |
| 614 padding: 1.5rem; |
| 615 padding-left: 3.3rem; |
| 616 padding-right: 0.9rem; |
| 617 border: 1px solid #CDCDCD; |
| 618 border-width: 0px 1px 1px 1px; |
| 619 } |
| 620 |
| 621 #acceptable-ads > div:first-of-type |
| 622 { |
| 623 border-top: 1px solid #CDCDCD; |
| 624 } |
| 625 |
| 626 #acceptable-ads > div > p:last-of-type |
| 627 { |
| 628 margin-bottom: 0rem; |
| 629 } |
| 630 |
| 631 #acceptable-ads > div input |
| 632 { |
| 633 position: absolute; |
| 634 left: 0rem; |
| 635 margin: 0.25rem 0.9rem; |
| 636 width: 1.3rem; |
| 637 height: 1.3rem; |
| 638 } |
| 639 |
| 640 #acceptable-ads > div label |
| 641 { |
| 642 font-weight: 700; |
| 643 font-size: 1.375rem; |
| 644 } |
| 645 |
| 646 #dnt |
| 647 { |
| 648 padding: 0.8rem; |
| 649 border: 1px solid #099CD0; |
| 650 } |
| 651 |
| 652 /* |
| 653 Tables |
| 654 */ |
| 655 |
| 656 ul.table, |
| 657 ul.list |
| 340 { | 658 { |
| 341 list-style: none; | 659 list-style: none; |
| 342 margin: 0px; | 660 margin: 0rem; |
| 343 padding: 0px; | 661 padding: 0rem; |
| 344 position: relative; | 662 } |
| 345 } | 663 |
| 346 | 664 .table li, |
| 347 .table li | 665 .list li |
| 348 { | 666 { |
| 349 display: flex; | 667 display: flex; |
| 350 align-items: center; | 668 align-items: center; |
| 351 padding: 12px 16px; | 669 } |
| 352 border-radius: 3px; | 670 |
| 353 } | 671 .table li |
| 354 | 672 { |
| 355 .table.list | 673 margin: 0rem; |
| 356 { | 674 border-style: solid; |
| 357 border-bottom: 1px solid #CDCDCD; | 675 border-color: #CDCDCD; |
| 676 border-width: 0px 1px 1px 1px; |
| 677 } |
| 678 |
| 679 .list li |
| 680 { |
| 681 padding: 0rem; |
| 682 margin: 0rem 0rem 1.3rem 0rem; |
| 683 } |
| 684 |
| 685 .table li:first-of-type |
| 686 { |
| 687 border-top: 1px solid #CDCDCD; |
| 688 } |
| 689 |
| 690 .table.list li |
| 691 { |
| 692 padding: 0.5rem 1.1rem; |
| 693 margin: 0rem; |
| 694 } |
| 695 |
| 696 li .display |
| 697 { |
| 698 margin: 0rem 1rem; |
| 358 } | 699 } |
| 359 | 700 |
| 360 .table.list li .display | 701 .table.list li .display |
| 361 { | 702 { |
| 362 flex: 1; | 703 flex: 1; |
| 363 line-height: 16px; | 704 } |
| 364 overflow: hidden; | 705 |
| 365 text-overflow: ellipsis; | 706 .table.list li.empty-placeholder |
| 366 white-space: nowrap; | 707 { |
| 708 padding: 1.3em 1.9em; |
| 709 } |
| 710 |
| 711 .table.list li.empty-placeholder:not(:last-of-type) |
| 712 { |
| 713 border-bottom: 0px; |
| 714 } |
| 715 |
| 716 #blocking-languages-table .display |
| 717 { |
| 718 font-weight: 700; |
| 719 } |
| 720 |
| 721 .table.list button.link |
| 722 { |
| 723 font-weight: 700; |
| 724 text-transform: uppercase; |
| 367 } | 725 } |
| 368 | 726 |
| 369 .table:not(.list):not(.cols) li | 727 .table:not(.list):not(.cols) li |
| 370 { | 728 { |
| 371 padding-top: 0px; | 729 padding-top: 0px; |
| 372 padding-bottom: 6px; | 730 padding-bottom: 6px; |
| 373 } | 731 } |
| 374 | 732 |
| 375 .table li.empty-placeholder | |
| 376 { | |
| 377 background-color: #F5F5F5; | |
| 378 } | |
| 379 | |
| 380 .table li [data-single="visible"], | 733 .table li [data-single="visible"], |
| 381 .table li:first-of-type:last-of-type [data-single="hidden"] | 734 .table li:first-of-type:last-of-type [data-single="hidden"] |
| 382 { | 735 { |
| 383 display: none; | 736 display: none; |
| 384 } | 737 } |
| 385 | 738 |
| 386 .table li:first-of-type:last-of-type [data-single="visible"] | 739 .table li:first-of-type:last-of-type [data-single="visible"] |
| 387 { | 740 { |
| 388 display: block; | 741 display: block; |
| 389 } | 742 } |
| 390 | 743 |
| 391 .table label | 744 .th |
| 392 { | 745 { |
| 393 vertical-align: top; | 746 display: flex; |
| 747 } |
| 748 |
| 749 .col4 > * |
| 750 { |
| 751 display: inline-block; |
| 752 } |
| 753 |
| 754 .col4 |
| 755 { |
| 756 margin: 0rem 0.9rem; |
| 757 } |
| 758 |
| 759 .th .col4:nth-of-type(1), |
| 760 .table .col4:nth-of-type(1) |
| 761 { |
| 762 flex: 2; |
| 763 } |
| 764 |
| 765 .th .col4:nth-of-type(2), |
| 766 .table .col4:nth-of-type(2) |
| 767 { |
| 768 flex: 3; |
| 769 } |
| 770 |
| 771 .th .col4:nth-of-type(3), |
| 772 .table .col4:nth-of-type(3) |
| 773 { |
| 774 flex: 2; |
| 775 } |
| 776 |
| 777 .th .col4:nth-of-type(4), |
| 778 .table .col4:nth-of-type(4) |
| 779 { |
| 780 flex: 1; |
| 394 } | 781 } |
| 395 | 782 |
| 396 .table.cols | 783 .table.cols |
| 397 { | 784 { |
| 398 border-bottom: 1px solid #CDCDCD; | 785 font-size: 1.1rem; |
| 399 border-top: 1px solid #CDCDCD; | 786 } |
| 400 } | 787 |
| 401 | 788 .table.cols .display |
| 402 button[role="checkbox"][disabled] | 789 { |
| 403 { | 790 margin: 0rem; |
| 404 border-radius: 2px; | 791 } |
| 405 background-color: #ccc; | 792 |
| 406 } | 793 .table.cols li |
| 407 | 794 { |
| 408 .table button.delete | 795 padding: 0.9rem 0rem; |
| 409 { | 796 } |
| 410 background-color: transparent; | 797 |
| 411 background-position: -50px -51px; | 798 .table.cols .state |
| 799 { |
| 800 -moz-margin-start: 1.1rem; |
| 801 -webkit-margin-start: 1.1rem; |
| 802 } |
| 803 |
| 804 .table.cols .gear |
| 805 { |
| 806 margin: 0rem |
| 807 } |
| 808 |
| 809 #dialog .table.list li |
| 810 { |
| 811 display: block; |
| 812 border-width: 1px 0px 0px 0px; |
| 813 padding: 0rem; |
| 814 } |
| 815 |
| 816 #dialog .table.list li:first-of-type |
| 817 { |
| 412 border: 0px; | 818 border: 0px; |
| 413 height: 10px; | 819 } |
| 414 padding: 0px; | 820 |
| 415 cursor: pointer; | 821 #dialog .table.list li button |
| 416 width: 10px; | 822 { |
| 417 } | 823 display: flex; |
| 418 | 824 background-image: none; |
| 419 .table button.delete:hover | 825 width: 100%; |
| 420 { | 826 height: auto; |
| 421 background-position: -61px -51px; | 827 padding: 1.1rem 1rem; |
| 422 } | 828 } |
| 423 | 829 |
| 424 .icon, | 830 #dialog .table.list li button:hover, |
| 425 button[role="checkbox"], | 831 #dialog .table.list li button:focus |
| 426 #dialog-body .table button[role="checkbox"], | 832 { |
| 427 .table button.delete, | 833 background-color: #E1F2FA; |
| 428 #content-help a::before, | 834 } |
| 429 #dialog-close::before, | 835 |
| 430 #all-filter-lists-table .arrow, | 836 #dialog .table.list li button[aria-checked="true"] |
| 431 .context-menu .content a::before | 837 { |
| 838 color: #BBB; |
| 839 } |
| 840 |
| 841 #dialog .table.list li button[aria-checked="true"]::before |
| 842 { |
| 843 content: ""; |
| 844 width: 1.3rem; |
| 845 height: 1.3rem; |
| 846 background-color: #BBB; |
| 847 -webkit-mask: url(icons/checkmark.svg); |
| 848 mask: url(icons/checkmark.svg); |
| 849 margin: 0rem; |
| 850 } |
| 851 |
| 852 #dialog .table.list li button .display |
| 853 { |
| 854 flex: none; |
| 855 margin: 0rem 0.8rem; |
| 856 text-transform: none; |
| 857 } |
| 858 |
| 859 /* |
| 860 Tooltips |
| 861 */ |
| 862 |
| 863 .tooltip |
| 864 { |
| 865 display: inline-block; |
| 866 position: relative; |
| 867 margin: 0rem; |
| 868 -moz-margin-end: 1rem; |
| 869 -webkit-margin-end: 1rem; |
| 870 |
| 871 line-height: 1.3rem; |
| 872 text-decoration: none; |
| 873 cursor: default; |
| 874 } |
| 875 |
| 876 .tooltip::before |
| 877 { |
| 878 content: ""; |
| 879 width: 1.3rem; |
| 880 height: 1.3rem; |
| 881 display: block; |
| 882 background-color: #099DD1; |
| 883 -webkit-mask: url(icons/tooltip.svg); |
| 884 mask: url(icons/tooltip.svg); |
| 885 } |
| 886 |
| 887 button[role="checkbox"]:not(.toggle) |
| 432 { | 888 { |
| 433 background-image: url(options-sprite.png); | 889 background-image: url(options-sprite.png); |
| 434 display: inline-block; | 890 display: inline-block; |
| 435 } | 891 } |
| 436 | 892 |
| 437 .icon-add, | 893 /* |
| 438 .icon-update | 894 Used for translatable screen reader only conten. |
| 439 { | 895 e.g.: Use instead of aria-label to avoid complex attribute value translation |
| 440 height: 16px; | 896 */ |
| 441 width: 16px; | 897 .sr-only |
| 442 cursor: pointer; | 898 { |
| 443 } | 899 position: absolute; |
| 444 | 900 overflow: hidden; |
| 445 .icon-add | 901 clip: rect(0, 0, 0, 0); |
| 446 { | 902 width: 1px; |
| 447 background-position: -1px -1px; | 903 height: 1px; |
| 448 } | 904 margin: -1px; |
| 449 | |
| 450 .icon-update | |
| 451 { | |
| 452 background-position: -35px -1px; | |
| 453 } | |
| 454 | |
| 455 .icon-enter | |
| 456 { | |
| 457 height: 8px; | |
| 458 width: 8px; | |
| 459 cursor: pointer; | |
| 460 } | |
| 461 | |
| 462 #dialog-close::before | |
| 463 { | |
| 464 content: ""; | |
| 465 height: 12px; | |
| 466 width: 12px; | |
| 467 } | |
| 468 | |
| 469 #content-help a::before | |
| 470 { | |
| 471 background-position: 0px -42px; | |
| 472 content: ""; | |
| 473 cursor: pointer; | |
| 474 height: 11px; | |
| 475 vertical-align: middle; | |
| 476 width: 7px; | |
| 477 -moz-margin-end: 12px; | |
| 478 -webkit-margin-end: 12px; | |
| 479 } | |
| 480 | |
| 481 .controls | |
| 482 { | |
| 483 padding-top: 14px; | |
| 484 margin-left: 16px; | |
| 485 margin-right: 16px; | |
| 486 } | |
| 487 | |
| 488 .controls.mode-edit | |
| 489 { | |
| 490 -moz-margin-end: 0px; | |
| 491 -webkit-margin-end: 0px; | |
| 492 } | |
| 493 | |
| 494 .controls > div | |
| 495 { | |
| 496 display: flex; | |
| 497 position: relative; | |
| 498 } | |
| 499 | |
| 500 .controls button, | |
| 501 #dialog-close | |
| 502 { | |
| 503 display: flex; | |
| 504 border: none; | |
| 505 padding: 0px; | 905 padding: 0px; |
| 506 align-items: center; | 906 border: 0px; |
| 507 background: none; | |
| 508 cursor: pointer; | |
| 509 } | |
| 510 | |
| 511 .controls button span:not(.icon) | |
| 512 { | |
| 513 -moz-margin-start: 16px; | |
| 514 -webkit-margin-start: 16px; | |
| 515 color: #3A7BA6; | |
| 516 vertical-align: top; | |
| 517 } | 907 } |
| 518 | 908 |
| 519 /* | 909 /* |
| 520 General tab content | 910 General tab content |
| 521 */ | 911 */ |
| 522 | 912 |
| 523 #blocking-languages-dialog-table | 913 #blocking-languages-dialog-table |
| 524 { | 914 { |
| 525 border-bottom: none; | 915 border-bottom: none; |
| 526 } | |
| 527 | |
| 528 #blocking-languages, | |
| 529 #acceptable-ads | |
| 530 { | |
| 531 -moz-margin-end: 40px; | |
| 532 -webkit-margin-end: 40px; | |
| 533 } | |
| 534 | |
| 535 #whitelisting .controls.mode-edit > button, | |
| 536 #whitelisting .controls:not(.mode-edit) > div | |
| 537 { | |
| 538 display: none; | |
| 539 } | |
| 540 | |
| 541 #whitelisting .controls input[type="text"] | |
| 542 { | |
| 543 border: 0px; | |
| 544 border-bottom: 1px solid #A1A1A1; | |
| 545 -moz-padding-end: 25px; | |
| 546 -webkit-padding-end: 25px; | |
| 547 -moz-margin-start: 14px; | |
| 548 -webkit-margin-start: 14px; | |
| 549 outline: 0px; | |
| 550 padding-bottom: 5px; | |
| 551 vertical-align: text-bottom; | |
| 552 width: 100%; | |
| 553 } | |
| 554 | |
| 555 #whitelisting .controls .button-add span | |
| 556 { | |
| 557 -moz-margin-start: 5px; | |
| 558 -webkit-margin-start: 5px; | |
| 559 } | |
| 560 | |
| 561 #whitelisting .button-add | |
| 562 { | |
| 563 -moz-margin-start: 32px; | |
| 564 -webkit-margin-start: 32px; | |
| 565 } | |
| 566 | |
| 567 #whitelisting-add-button + span | |
| 568 { | |
| 569 flex: 1; | |
| 570 } | |
| 571 | |
| 572 .icon-enter | |
| 573 { | |
| 574 background-position: -19px -33px; | |
| 575 position: absolute; | |
| 576 bottom: 9px; | |
| 577 -moz-margin-start: -20px; | |
| 578 -webkit-margin-start: -20px; | |
| 579 } | 916 } |
| 580 | 917 |
| 581 .button-add, .cancel-button | 918 .button-add, .cancel-button |
| 582 { | 919 { |
| 583 background-color: transparent; | 920 background-color: transparent; |
| 584 border: 0px; | 921 border: 0px; |
| 585 color: #3A7BA6; | 922 color: #3A7BA6; |
| 586 cursor: pointer; | 923 cursor: pointer; |
| 924 } |
| 925 |
| 926 /* |
| 927 Whitelist tab |
| 928 */ |
| 929 |
| 930 #content-whitelist form |
| 931 { |
| 932 display: flex; |
| 933 } |
| 934 |
| 935 #content-whitelist form input |
| 936 { |
| 937 flex: 1; |
| 938 padding: 0.5rem 1rem; |
| 939 font-size: 1.25rem; |
| 940 border: 2px solid #099CD0; |
| 941 } |
| 942 |
| 943 #content-whitelist form button |
| 944 { |
| 945 -moz-margin-start: 0.7rem; |
| 946 -webkit-margin-start: 0.7rem; |
| 947 } |
| 948 |
| 949 #whitelisting-table li |
| 950 { |
| 951 border-left: 0rem; |
| 952 border-right: 0rem; |
| 587 } | 953 } |
| 588 | 954 |
| 589 /* | 955 /* |
| 590 Advanced tab content | 956 Advanced tab content |
| 591 */ | 957 */ |
| 592 | 958 |
| 593 #all-filter-lists-table li.show-message .last-update, | 959 #all-filter-lists-table li.show-message .last-update, |
| 594 #all-filter-lists-table li:not(.show-message) .message, | 960 #all-filter-lists-table li:not(.show-message) .message, |
| 595 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, | 961 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, |
| 596 #custom-filters[data-mode="empty"] #custom-filters-raw, | 962 #custom-filters[data-mode="empty"] #custom-filters-raw, |
| 597 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, | 963 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, |
| 598 #custom-filters:not([data-mode="read"]) #custom-filters-edit, | 964 #custom-filters:not([data-mode="read"]) #custom-filters-edit, |
| 599 .state span, | 965 .state span, |
| 600 #acceptable-ads:not(.show-dnt-notification) #dnt | 966 #acceptable-ads:not(.show-dnt-notification) #dnt |
| 601 { | 967 { |
| 602 display: none; | 968 display: none; |
| 603 } | 969 } |
| 604 | 970 |
| 971 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s
tate-active |
| 972 { |
| 973 display: inline; |
| 974 } |
| 975 |
| 976 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state #
state-disabled |
| 977 { |
| 978 display: inline; |
| 979 } |
| 980 |
| 605 #all-filter-lists-table | 981 #all-filter-lists-table |
| 606 { | 982 { |
| 607 display: inline-block; | 983 margin-bottom: 1.5rem; |
| 608 } | 984 } |
| 609 | 985 |
| 610 #all-filter-lists-table | 986 #custom-filters h3 |
| 611 { | 987 { |
| 612 display: inline-block; | 988 margin: 0rem; |
| 613 } | |
| 614 | |
| 615 #all-filter-lists-table li > div | |
| 616 { | |
| 617 display: flex; | |
| 618 width: 330px; | |
| 619 } | |
| 620 | |
| 621 #all-filter-lists-table li span.display | |
| 622 { | |
| 623 cursor: pointer; | |
| 624 } | |
| 625 | |
| 626 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s
tate-active | |
| 627 { | |
| 628 display: inline; | |
| 629 } | |
| 630 | |
| 631 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state #
state-disabled | |
| 632 { | |
| 633 display: inline; | |
| 634 } | |
| 635 | |
| 636 #all-filter-lists-table .controls | |
| 637 { | |
| 638 padding-top: 0px; | |
| 639 border-top: none; | |
| 640 } | |
| 641 | |
| 642 #all-filter-lists-table .controls button | |
| 643 { | |
| 644 margin-top: 14px; | |
| 645 } | |
| 646 | |
| 647 #all-filter-lists-table .arrow | |
| 648 { | |
| 649 width: 6px; | |
| 650 height: 4px; | |
| 651 background-position: -1px -54px; | |
| 652 cursor: pointer; | |
| 653 } | |
| 654 | |
| 655 #all-filter-lists-table li:last-of-type a | |
| 656 { | |
| 657 color: #3A7BA6; | |
| 658 text-decoration: none; | |
| 659 cursor: pointer; | |
| 660 } | |
| 661 | |
| 662 #all-filter-lists-table li:last-of-type > span:last-child | |
| 663 { | |
| 664 -webkit-margin-start: auto; | |
| 665 -moz-margin-start: auto; | |
| 666 } | |
| 667 | |
| 668 #custom-filters-raw-controls | |
| 669 { | |
| 670 justify-content: space-between; | |
| 671 } | 989 } |
| 672 | 990 |
| 673 #custom-filters-raw | 991 #custom-filters-raw |
| 674 { | 992 { |
| 675 width: 100%; | 993 width: 100%; |
| 676 height: 100%; | 994 height: 23.6rem; |
| 677 padding: 2px 16px; | 995 padding: 0.8rem 1.3rem; |
| 678 } | 996 } |
| 679 | 997 |
| 680 /* | 998 #custom-filters-raw:focus |
| 681 Tooltips | 999 { |
| 682 */ | 1000 outline: none; |
| 683 | 1001 border: 2px solid #099CD0; |
| 684 .tooltip | 1002 } |
| 685 { | 1003 |
| 686 display: inline-block; | 1004 #empty-custom-filters |
| 1005 { |
| 1006 padding: 1.5rem; |
| 1007 border: 1px solid #CDCDCD; |
| 1008 } |
| 1009 |
| 1010 /* |
| 1011 Context menu |
| 1012 */ |
| 1013 |
| 1014 li [role="menubar"] |
| 1015 { |
| 687 position: relative; | 1016 position: relative; |
| 688 margin: 0px 4px; | 1017 } |
| 689 border-bottom: dashed 1px; | 1018 |
| 690 height: 15px; | 1019 [role="tooltip"] |
| 691 color: #3A7BA6; | 1020 { |
| 692 font-size: 12px; | 1021 right: -1rem; |
| 693 line-height: 19px; | 1022 margin-top: 1rem; |
| 694 text-decoration: none; | |
| 695 font-weight: 400; | |
| 696 cursor: default; | |
| 697 } | |
| 698 | |
| 699 li [role="menubar"] | |
| 700 { | |
| 701 position: relative; | |
| 702 } | |
| 703 | |
| 704 .context-menu | |
| 705 { | |
| 706 display: inline-block; | |
| 707 position: relative; | |
| 708 border-bottom: none; | |
| 709 } | |
| 710 | |
| 711 .context-menu a | |
| 712 { | |
| 713 vertical-align: middle; | |
| 714 white-space: nowrap; | |
| 715 color: #FFF; | |
| 716 } | |
| 717 | |
| 718 #content-advanced .tooltip | |
| 719 { | |
| 720 -moz-margin-start: 8px; | |
| 721 -webkit-margin-start: 8px; | |
| 722 } | |
| 723 | |
| 724 div[role="tooltip"] | |
| 725 { | |
| 726 background-color: rgba(45, 45, 45, 0.95); | |
| 727 border-radius: 3px; | |
| 728 color: #FFF; | |
| 729 font-size: 14px; | |
| 730 font-weight: 400; | |
| 731 left: -20px; | |
| 732 line-height: 18px; | |
| 733 margin-top: 14px; | |
| 734 opacity: 1; | 1023 opacity: 1; |
| 735 padding: 20px; | 1024 padding: 1.3rem; |
| 736 position: absolute; | 1025 position: absolute; |
| 737 -webkit-transition: opacity 200ms ease-in-out 400ms, | 1026 -webkit-transition: opacity 200ms ease-in-out 400ms, |
| 738 visibility 0ms linear 400ms; | 1027 visibility 0ms linear 400ms; |
| 739 transition: opacity 200ms ease-in-out 400ms, | 1028 transition: opacity 200ms ease-in-out 400ms, |
| 740 visibility 0ms linear 400ms; | 1029 visibility 0ms linear 400ms; |
| 741 visibility: visible; | 1030 visibility: visible; |
| 742 width: 400px; | 1031 width: 15rem; |
| 743 z-index: 1; | 1032 z-index: 1; |
| 744 } | 1033 } |
| 745 | 1034 |
| 746 .tooltip:not(:hover) > div[role="tooltip"], | 1035 html[dir="rtl"] [role="tooltip"] |
| 747 div[role="tooltip"]:hover | 1036 { |
| 1037 right: auto; |
| 1038 left: -1rem; |
| 1039 } |
| 1040 |
| 1041 [role="tooltip"], |
| 1042 .context-menu .content |
| 1043 { |
| 1044 border: 1px solid #099CD0; |
| 1045 border-radius: 3px; |
| 1046 background-color: #FFFFFF; |
| 1047 } |
| 1048 |
| 1049 |
| 1050 .tooltip:not(:hover) > [role="tooltip"], |
| 1051 [role="tooltip"]:hover |
| 748 { | 1052 { |
| 749 visibility: hidden; | 1053 visibility: hidden; |
| 750 opacity: 0; | 1054 opacity: 0; |
| 751 -webkit-transition-delay: 0ms; | 1055 -webkit-transition-delay: 0ms; |
| 752 transition-delay: 0ms; | 1056 transition-delay: 0ms; |
| 753 } | 1057 } |
| 754 | 1058 |
| 755 div[role="tooltip"]::before, | 1059 .context-menu |
| 756 div.context-menu::before | 1060 { |
| 757 { | |
| 758 background-image: url(options-sprite.png); | |
| 759 background-position: -8px -42px; | |
| 760 content: ""; | |
| 761 height: 6px; | |
| 762 position: absolute; | 1061 position: absolute; |
| 763 top: -6px; | 1062 right: 3rem; |
| 764 width: 14px; | 1063 top: -3rem; |
| 765 left: 30px; | |
| 766 } | |
| 767 | |
| 768 div.context-menu | |
| 769 { | |
| 770 position: absolute; | |
| 771 top: 16px; | |
| 772 z-index: 1; | 1064 z-index: 1; |
| 773 visibility: hidden; | 1065 visibility: hidden; |
| 774 } | 1066 } |
| 775 | 1067 |
| 776 div.context-menu::before | 1068 html[dir="rtl"] .context-menu |
| 777 { | 1069 { |
| 778 left: -4px; | 1070 right: auto; |
| 779 } | 1071 left: 3rem; |
| 780 | 1072 } |
| 781 html[dir="rtl"] div.context-menu::before | 1073 |
| 782 { | 1074 .context-menu .content |
| 783 left: inherit; | 1075 { |
| 784 right: -4px; | 1076 padding: 0rem; |
| 785 } | |
| 786 | |
| 787 div.context-menu .content | |
| 788 { | |
| 789 position: relative; | 1077 position: relative; |
| 790 left: calc(-50% + 2px); | |
| 791 border-radius: 3px; | |
| 792 padding: 4px 10px; | |
| 793 background-color: rgba(45, 45, 45, 0.95); | |
| 794 cursor: default; | 1078 cursor: default; |
| 795 } | 1079 } |
| 796 | 1080 |
| 797 html[dir="rtl"] div.context-menu .content | 1081 li.show-context-menu .context-menu |
| 798 { | |
| 799 left: inherit; | |
| 800 right: -50%; | |
| 801 } | |
| 802 | |
| 803 li.show-context-menu div.context-menu | |
| 804 { | 1082 { |
| 805 visibility: visible; | 1083 visibility: visible; |
| 806 } | 1084 } |
| 807 | 1085 |
| 808 div.context-menu > div a::before | 1086 [role="tooltip"]::before, |
| 1087 .context-menu::before |
| 809 { | 1088 { |
| 810 content: ""; | 1089 content: ""; |
| 811 -moz-margin-end: 8px; | 1090 width: 0rem; |
| 812 -webkit-margin-end: 8px; | 1091 height: 0rem; |
| 813 } | 1092 position: absolute; |
| 814 | 1093 } |
| 815 div.context-menu > div a | 1094 |
| 816 { | 1095 [role="tooltip"]::before |
| 817 display: block; | 1096 { |
| 818 padding: 7px 4px; | 1097 border-left: 10px solid transparent; |
| 819 border-bottom: 1px solid #CDCDCD; | 1098 border-right: 10px solid transparent; |
| 820 text-decoration: none; | 1099 border-bottom: 10px solid #099CD0; |
| 1100 top: -10px; |
| 1101 right: 15px; |
| 1102 } |
| 1103 |
| 1104 html[dir="rtl"] [role="tooltip"]::before |
| 1105 { |
| 1106 right: auto; |
| 1107 left: 15px; |
| 1108 } |
| 1109 |
| 1110 .context-menu::before |
| 1111 { |
| 1112 border-left: 10px solid #099CD0; |
| 1113 border-top: 10px solid transparent; |
| 1114 border-bottom: 10px solid transparent; |
| 1115 top: 22px; |
| 1116 right: -0.5rem; |
| 1117 } |
| 1118 |
| 1119 html[dir="rtl"] .context-menu::before |
| 1120 { |
| 1121 border-left: 0rem; |
| 1122 border-right: 10px solid #099CD0; |
| 1123 right: auto; |
| 1124 left: -0.5rem; |
| 1125 } |
| 1126 |
| 1127 .context-menu li[role="menuitem"] |
| 1128 { |
| 1129 width: 12.2rem; |
| 1130 border: 0rem; |
| 1131 padding: 0rem; |
| 1132 } |
| 1133 |
| 1134 .context-menu li[role="menuitem"] > * |
| 1135 { |
| 1136 width: 100%; |
| 1137 display: flex; |
| 1138 border: 0rem; |
| 1139 padding: 1rem 0rem; |
| 1140 color: #099CD0; |
| 1141 font-size: 1.1rem; |
| 1142 text-transform: none; |
| 1143 } |
| 1144 |
| 1145 .context-menu li[role="menuitem"] > *:hover, |
| 1146 .context-menu li[role="menuitem"] > *:focus |
| 1147 { |
| 1148 background-color: #E1F2FA; |
| 821 cursor: pointer; | 1149 cursor: pointer; |
| 822 vertical-align: middle; | 1150 } |
| 823 } | 1151 |
| 824 | 1152 .context-menu li[role="menuitem"] > *::before |
| 825 div.context-menu > div a::before | 1153 { |
| 826 { | 1154 content: ""; |
| 827 vertical-align: middle; | 1155 height: 1.5rem; |
| 828 height: 16px; | 1156 width: 1.5rem; |
| 829 width: 16px; | 1157 background-color: #099DD1; |
| 830 } | 1158 margin: 0rem 1.1rem; |
| 831 | |
| 832 div.context-menu > div a:last-child | |
| 833 { | |
| 834 border: none; | |
| 835 } | 1159 } |
| 836 | 1160 |
| 837 .context-menu .update-subscription::before | 1161 .context-menu .update-subscription::before |
| 838 { | 1162 { |
| 839 background-position: -38px -31px; | 1163 -webkit-mask: url(icons/reload.svg); |
| 1164 mask: url(icons/reload.svg); |
| 840 } | 1165 } |
| 841 | 1166 |
| 842 .context-menu .website::before | 1167 .context-menu .website::before |
| 843 { | 1168 { |
| 844 background-position: -33px -47px; | 1169 -webkit-mask: url(icons/globe.svg); |
| 1170 mask: url(icons/globe.svg); |
| 845 } | 1171 } |
| 846 | 1172 |
| 847 .context-menu .source::before | 1173 .context-menu .source::before |
| 848 { | 1174 { |
| 849 background-position: -53px -34px; | 1175 -webkit-mask: url(icons/code.svg); |
| 1176 mask: url(icons/code.svg); |
| 850 } | 1177 } |
| 851 | 1178 |
| 852 .context-menu .delete::before | 1179 .context-menu .delete::before |
| 853 { | 1180 { |
| 854 background-position: -71px -34px; | 1181 -webkit-mask: url(icons/trash.svg); |
| 855 } | 1182 mask: url(icons/trash.svg); |
| 856 | |
| 857 div[role="tooltip"] img | |
| 858 { | |
| 859 float: left; | |
| 860 height: 64px; | |
| 861 margin-top: -2px; | |
| 862 margin-bottom: 10px; | |
| 863 width: 64px; | |
| 864 -moz-margin-end: 10px; | |
| 865 -webkit-margin-end: 10px; | |
| 866 } | |
| 867 | |
| 868 html[dir="rtl"] div[role="tooltip"] img | |
| 869 { | |
| 870 float: right; | |
| 871 } | |
| 872 | |
| 873 div[role="tooltip"] p | |
| 874 { | |
| 875 font-weight: 400; | |
| 876 margin: 0px; | |
| 877 } | |
| 878 | |
| 879 div[role="tooltip"] p:not(:first-of-type) | |
| 880 { | |
| 881 margin-top: 18px; | |
| 882 } | |
| 883 | |
| 884 div[role="tooltip"] .notes | |
| 885 { | |
| 886 border-top: 1px solid #717171; | |
| 887 font-size: 12px; | |
| 888 margin-top: 14px; | |
| 889 padding-top: 14px; | |
| 890 } | |
| 891 | |
| 892 div[role="tooltip"] .notes p | |
| 893 { | |
| 894 font-weight: 300; | |
| 895 } | 1183 } |
| 896 | 1184 |
| 897 /* | 1185 /* |
| 898 Help tab content | 1186 Help tab content |
| 899 */ | 1187 */ |
| 900 | 1188 |
| 901 #content-help | 1189 html:not([lang="zh"]) #social-chinese, |
| 902 { | 1190 html[lang="zh"] #social-general |
| 903 counter-reset: section; | 1191 { |
| 904 } | 1192 display: none; |
| 905 | 1193 } |
| 906 #content-help h1::before | 1194 |
| 907 { | 1195 #social ul |
| 908 counter-increment: section; | 1196 { |
| 909 content: counter(section) ". "; | 1197 list-style: none; |
| 910 } | 1198 padding: 0px; |
| 911 | 1199 } |
| 912 #content-help a | 1200 |
| 913 { | 1201 #social ul li |
| 914 color: #3A7BA6; | 1202 { |
| 915 display: inline-block; | 1203 display: inline-block; |
| 916 text-decoration: none; | 1204 -moz-margin-end: 1rem; |
| 917 -moz-margin-end: 16px; | 1205 -webkit-margin-end: 1rem; |
| 918 -webkit-margin-end: 16px; | 1206 } |
| 919 vertical-align: top; | 1207 |
| 920 } | 1208 #social ul li a |
| 921 | 1209 { |
| 922 #content-help a::before | 1210 display: block; |
| 923 { | 1211 text-align: center; |
| 924 -moz-margin-end: 6px; | 1212 } |
| 925 -webkit-margin-end: 6px; | 1213 |
| 926 } | 1214 #social ul li a::before |
| 927 | 1215 { |
| 928 #share-general:lang(zh), | 1216 display: block; |
| 929 #share-chinese:not(zh) | 1217 margin: 0em auto; |
| 930 { | 1218 width: 2.5rem; |
| 931 display: none; | 1219 height: 2.5rem; |
| 1220 content: ""; |
| 1221 background-color: #099DD1; |
| 1222 } |
| 1223 |
| 1224 #twitter::before |
| 1225 { |
| 1226 -webkit-mask: url("social/twitter.svg"); |
| 1227 mask: url("social/twitter.svg"); |
| 1228 } |
| 1229 |
| 1230 #facebook::before |
| 1231 { |
| 1232 -webkit-mask: url("social/facebook.svg"); |
| 1233 mask: url("social/facebook.svg"); |
| 1234 } |
| 1235 |
| 1236 #google-plus::before |
| 1237 { |
| 1238 -webkit-mask: url("social/googleplus.svg"); |
| 1239 mask: url("social/googleplus.svg"); |
| 932 } | 1240 } |
| 933 | 1241 |
| 934 /* | 1242 /* |
| 935 Dialog | 1243 Dialog |
| 936 */ | 1244 */ |
| 937 | 1245 |
| 938 #dialog-background | 1246 #dialog-background |
| 939 { | 1247 { |
| 940 display: none; | 1248 display: none; |
| 941 position: fixed; | 1249 position: fixed; |
| 942 top: 0px; | 1250 top: 0px; |
| 943 right: 0px; | 1251 right: 0px; |
| 944 bottom: 0px; | 1252 bottom: 0px; |
| 945 left: 0px; | 1253 left: 0px; |
| 946 z-index: 2; | 1254 z-index: 2; |
| 947 background-color: white; | 1255 background-color: #000; |
| 948 opacity: 0.7; | 1256 opacity: 0.7; |
| 949 } | 1257 } |
| 950 | 1258 |
| 951 body[data-dialog] #dialog-background | 1259 body[data-dialog] #dialog-background |
| 952 { | 1260 { |
| 953 display: block; | 1261 display: block; |
| 954 } | 1262 } |
| 955 | 1263 |
| 956 #dialog | 1264 #dialog |
| 957 { | 1265 { |
| 958 position: fixed; | 1266 position: fixed; |
| 959 top: 100px; | 1267 top: 100px; |
| 960 left: 0px; | 1268 left: 0px; |
| 961 right: 0px; | 1269 right: 0px; |
| 962 z-index: 2; | 1270 z-index: 2; |
| 963 width: 400px; | 1271 width: 50vw; |
| 964 margin: auto; | 1272 margin: auto; |
| 965 border-radius: 3px; | 1273 border-radius: 3px; |
| 966 border: 2px solid #4D9D4B; | |
| 967 background-color: #FFFFFF; | 1274 background-color: #FFFFFF; |
| 968 } | 1275 } |
| 969 | 1276 |
| 970 #dialog header | 1277 #dialog header |
| 971 { | 1278 { |
| 972 display: flex; | 1279 display: flex; |
| 973 min-height: 25px; | 1280 padding: 0.7rem 1.5rem; |
| 974 padding: 10px; | 1281 background-color: #099CD0; |
| 975 background-color: #4D9D4B; | 1282 } |
| 976 } | 1283 |
| 977 | 1284 #dialog header h3 |
| 978 #dialog-close | 1285 { |
| 979 { | 1286 margin: 0rem; |
| 980 -moz-border-start: 1px solid #25612B; | 1287 font-size: 1.375rem; |
| 981 -webkit-border-start: 1px solid #25612B; | 1288 font-weight: 700; |
| 982 color: #0F660F; | 1289 } |
| 983 display: inline-block; | 1290 |
| 984 height: 20px; | 1291 #dialog-close, |
| 985 font-size: 15px; | 1292 #hide-notification |
| 986 -moz-padding-start: 10px; | 1293 { |
| 987 -webkit-padding-start: 10px; | 1294 border: 0rem; |
| 988 } | 1295 padding: 0rem; |
| 989 | 1296 margin: 0rem; |
| 990 #dialog-close::before | 1297 background-color: transparent; |
| 991 { | |
| 992 background-position: -10px -33px; | |
| 993 cursor: pointer; | 1298 cursor: pointer; |
| 994 height: 8px; | 1299 } |
| 995 width: 8px; | 1300 |
| 996 vertical-align: middle; | 1301 #dialog-close::before, |
| 997 -moz-margin-end: 6px; | 1302 #hide-notification::after |
| 998 -webkit-margin-end: 6px; | 1303 { |
| 1304 content: ""; |
| 1305 display: block; |
| 1306 height: 1rem; |
| 1307 width: 1rem; |
| 1308 border: 0rem; |
| 1309 background-color: #FFF; |
| 1310 -webkit-mask: url(icons/delete.svg); |
| 1311 mask: url(icons/delete.svg); |
| 1312 } |
| 1313 |
| 1314 #dialog-close:hover::before |
| 1315 { |
| 1316 background-color: #000; |
| 999 } | 1317 } |
| 1000 | 1318 |
| 1001 #dialog #dialog-body | 1319 #dialog #dialog-body |
| 1002 { | 1320 { |
| 1003 margin: 4px 24px; | 1321 max-height: 60vh; |
| 1004 } | 1322 overflow: auto; |
| 1005 | 1323 } |
| 1006 #dialog h3, | 1324 |
| 1007 #dialog label | 1325 .dialog-content |
| 1008 { | 1326 { |
| 1009 font-size: 14px; | 1327 margin: 1rem 1.8rem; |
| 1010 font-weight: 600; | 1328 } |
| 1011 margin: 0px; | 1329 |
| 1012 } | 1330 [data-dialog="language-change"] .dialog-content, |
| 1013 | 1331 [data-dialog="language-add"] .dialog-content |
| 1014 #dialog input[type="text"], | 1332 { |
| 1015 #dialog input[type="search"] | 1333 margin: 0rem; |
| 1016 { | 1334 } |
| 1017 font-size: 16px; | 1335 |
| 1018 margin-top: 10px; | 1336 [data-dialog="about"] .dialog-content |
| 1019 padding: 5px; | 1337 { |
| 1338 text-align: center; |
| 1339 } |
| 1340 |
| 1341 [data-dialog="about"] button |
| 1342 { |
| 1343 margin: 1.5rem auto 1.8rem auto; |
| 1344 } |
| 1345 |
| 1346 [data-dialog="about"] p, |
| 1347 #tracking-notification p |
| 1348 { |
| 1349 margin: 0.5rem 0rem; |
| 1350 } |
| 1351 |
| 1352 #abp-version |
| 1353 { |
| 1354 margin-bottom: 2rem; |
| 1355 } |
| 1356 |
| 1357 [data-dialog="import"] .side-controls |
| 1358 { |
| 1359 margin-top: 2.45rem; |
| 1360 } |
| 1361 |
| 1362 #dialog .table |
| 1363 { |
| 1020 width: 100%; | 1364 width: 100%; |
| 1021 } | 1365 } |
| 1022 | 1366 |
| 1023 #dialog .table | |
| 1024 { | |
| 1025 width: 100%; | |
| 1026 } | |
| 1027 | |
| 1028 #dialog .section:not(:first-child) | 1367 #dialog .section:not(:first-child) |
| 1029 { | 1368 { |
| 1030 margin-top: 24px; | 1369 margin-top: 24px; |
| 1031 } | 1370 } |
| 1032 | 1371 |
| 1033 #dialog-title | 1372 #dialog-title |
| 1034 { | 1373 { |
| 1035 -moz-margin-start: 16px; | |
| 1036 -webkit-margin-start: 16px; | |
| 1037 flex: 1; | 1374 flex: 1; |
| 1038 font-size: 16px; | 1375 font-size: 16px; |
| 1039 color: #FFFFFF; | 1376 color: #FFFFFF; |
| 1040 } | 1377 } |
| 1041 | 1378 |
| 1042 #dialog-body .dialog-content-block | 1379 #dialog-body .dialog-content-block |
| 1043 { | 1380 { |
| 1044 padding: 12px 0px; | 1381 padding: 12px 0px; |
| 1045 } | 1382 } |
| 1046 | 1383 |
| 1047 #dialog-body button | |
| 1048 { | |
| 1049 background-color: #F5F5F5; | |
| 1050 border: none; | |
| 1051 color: #3A7BA6; | |
| 1052 cursor: pointer; | |
| 1053 display: block; | |
| 1054 font-family: inherit; | |
| 1055 margin-top: 8px; | |
| 1056 padding: 10px 16px; | |
| 1057 text-align: initial; | |
| 1058 width: 100%; | |
| 1059 } | |
| 1060 | |
| 1061 #dialog .url | 1384 #dialog .url |
| 1062 { | 1385 { |
| 1063 margin-top: 10px; | 1386 margin-top: 10px; |
| 1064 margin-bottom: 20px; | 1387 margin-bottom: 20px; |
| 1065 word-wrap: break-word; | 1388 word-wrap: break-word; |
| 1066 } | 1389 } |
| 1067 | 1390 |
| 1068 body:not([data-dialog="custom"]) #dialog-title-custom, | 1391 body:not([data-dialog="about"]) #dialog-title-about, |
| 1069 body:not([data-dialog="custom"]) #dialog-content-custom, | 1392 body:not([data-dialog="about"]) #dialog-content-about, |
| 1393 body:not([data-dialog="import"]) #dialog-title-import, |
| 1394 body:not([data-dialog="import"]) #dialog-content-import, |
| 1070 body:not([data-dialog="language-add"]) #dialog-title-language-add, | 1395 body:not([data-dialog="language-add"]) #dialog-title-language-add, |
| 1071 body:not([data-dialog="language-change"]) #dialog-title-language-change, | 1396 body:not([data-dialog="language-change"]) #dialog-title-language-change, |
| 1072 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia
log-content-language-add, | 1397 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia
log-content-language-add, |
| 1073 body:not([data-dialog="language-add"]) #dialog-body button.add, | 1398 body:not([data-dialog="language-add"]) #dialog-body button.add, |
| 1074 body:not([data-dialog="language-change"]) #dialog-body button.change, | 1399 body:not([data-dialog="language-change"]) #dialog-body button.change, |
| 1075 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1400 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
| 1076 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1401 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
| 1077 body:not([data-dialog="tracking"]) #dialog-title-tracking, | 1402 body:not([data-dialog="tracking"]) #dialog-title-tracking, |
| 1078 body:not([data-dialog="tracking"]) #dialog-content-tracking, | 1403 body:not([data-dialog="tracking"]) #dialog-content-tracking, |
| 1079 body:not([data-dialog]) #dialog | 1404 body:not([data-dialog]) #dialog |
| 1080 { | 1405 { |
| 1081 display: none; | 1406 display: none; |
| 1082 } | 1407 } |
| 1408 |
| 1409 /* |
| 1410 Notification |
| 1411 */ |
| 1412 |
| 1413 #notification |
| 1414 { |
| 1415 position: fixed; |
| 1416 top: 0rem; |
| 1417 left: 0rem; |
| 1418 display: flex; |
| 1419 padding: 1rem 1.9rem; |
| 1420 width: 100%; |
| 1421 box-sizing: border-box; |
| 1422 opacity: 0.8; |
| 1423 font-size: 1rem; |
| 1424 color: #099CD0; |
| 1425 background-color: #E1F2FA; |
| 1426 } |
| 1427 |
| 1428 #notification strong |
| 1429 { |
| 1430 flex: 1; |
| 1431 text-align: center; |
| 1432 } |
| 1433 |
| 1434 #hide-notification |
| 1435 { |
| 1436 margin: 0rem 1rem; |
| 1437 } |
| 1438 |
| 1439 #hide-notification::after |
| 1440 { |
| 1441 background-color: #099DD1; |
| 1442 } |
| 1443 |
| 1444 #hide-notification:hover::after |
| 1445 { |
| 1446 background-color: #5CBCE1; |
| 1447 } |
| LEFT | RIGHT |