123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- /*******************************************************************************
- ηMatrix - a browser extension to black/white list requests.
- Copyright (C) 2019-2022 Alessio Vanni
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see {http://www.gnu.org/licenses/}.
- Home: https://gitlab.com/vannilla/ematrix
- uMatrix Home: https://github.com/gorhill/uMatrix
- */
- @keyframes spin {
- 0% { transform: rotate(0deg); -webkit-transform: rotate(0deg); }
- 12.5% { transform: rotate(45deg); -webkit-transform: rotate(45deg); }
- 25% { transform: rotate(90deg); -webkit-transform: rotate(90deg); }
- 37.5% { transform: rotate(135deg); -webkit-transform: rotate(135deg); }
- 50% { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
- 67.5% { transform: rotate(225deg); -webkit-transform: rotate(225deg); }
- 75% { transform: rotate(270deg); -webkit-transform: rotate(270deg); }
- 87.5% { transform: rotate(315deg); -webkit-transform: rotate(315deg); }
- }
- ul {
- padding: 0;
- list-style-type: none;
- }
- ul#options {
- margin-top: 0;
- }
- ul#options li {
- margin-bottom: 0.5em;
- }
- ul#lists {
- margin: 0.5em 0 0 0;
- padding: 0;
- }
- li.listEntry {
- margin: 0 auto 0 auto;
- padding: 0.2em 0;
- }
- body[dir="ltr"] li.listEntry {
- margin-left: 1em;
- margin-right: 0em;
- }
- body[dir="rtl"] li.listEntry {
- margin-left: 0em;
- margin-right: 1em;
- }
- li.listEntry > * {
- margin-right: 0.5em;
- text-indent: 0;
- unicode-bidi: embed;
- }
- li.listEntry > a:nth-of-type(2) {
- font-size: 13px;
- opacity: 0.5;
- }
- li.listEntry.toRemove > input[type="checkbox"] {
- visibility: hidden;
- }
- li.listEntry.toRemove > a.content {
- text-decoration: line-through;
- }
- li.listEntry > .fa {
- color: inherit;
- display: none;
- font-size: 110%;
- opacity: 0.5;
- vertical-align: baseline;
- }
- li.listEntry > a.fa:hover {
- opacity: 1;
- }
- li.listEntry.support > a.support {
- display: inline-block;
- }
- li.listEntry > a.remove,
- li.listEntry > a.remove:visited {
- color: darkred;
- }
- li.listEntry.external > a.remove {
- display: inline-block;
- }
- li.listEntry.mustread > a.mustread {
- display: inline-block;
- }
- li.listEntry.mustread > a.mustread:hover {
- color: mediumblue;
- }
- li.listEntry > .counts {
- display: none;
- font-size: smaller;
- }
- li.listEntry > input[type="checkbox"]:checked ~ .counts {
- display: inline;
- }
- li.listEntry span.status {
- color: #444;
- cursor: default;
- display: none;
- }
- li.listEntry span.status:hover {
- opacity: 1;
- }
- li.listEntry span.unsecure {
- color: #444;
- }
- li.listEntry.unsecure > input[type="checkbox"]:checked ~ span.unsecure {
- display: inline-block;
- }
- li.listEntry span.failed {
- color: darkred;
- }
- li.listEntry.failed span.failed {
- display: inline-block;
- }
- li.listEntry span.cache {
- cursor: pointer;
- }
- li.listEntry.cached:not(.obsolete) > input[type="checkbox"]:checked ~ span.cache {
- display: inline-block;
- }
- li.listEntry span.obsolete {
- color: hsl(36, 100%, 40%);
- }
- body:not(.updating) li.listEntry.obsolete > input[type="checkbox"]:checked ~ span.obsolete {
- display: inline-block;
- }
- li.listEntry span.updating {
- transform-origin: 50% 46%;
- }
- body.updating li.listEntry.obsolete > input[type="checkbox"]:checked ~ span.updating {
- animation: spin 1s step-start infinite;
- display: inline-block;
- }
- .dim {
- opacity: 0.5;
- }
- #externalLists {
- margin: 2em auto 0 auto;
- }
- body[dir="ltr"] #externalListsDiv {
- margin-left: 1em;
- }
- body[dir="rtl"] #externalListsDiv {
- margin-right: 1em;
- }
- #externalHostsFiles {
- box-sizing: border-box;
- font-size: smaller;
- width: 100%;
- height: 12em;
- white-space: pre;
- }
|