diff options
Diffstat (limited to 'css/user-rules.css')
-rw-r--r-- | css/user-rules.css | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/css/user-rules.css b/css/user-rules.css index ad02f2f..acdf422 100644 --- a/css/user-rules.css +++ b/css/user-rules.css @@ -1,7 +1,7 @@ /******************************************************************************* ηMatrix - a browser extension to black/white list requests. - Copyright (C) 2019-2020 Alessio Vanni + 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 @@ -16,16 +16,16 @@ 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://libregit.spks.xyz/heckyel/ematrix + Home: https://gitlab.com/vannilla/ematrix uMatrix Home: https://github.com/gorhill/uMatrix */ div > p:first-child { margin-top: 0; -} + } div > p:last-child { margin-bottom: 0; -} + } #diff { border: 0; margin: 0; @@ -42,14 +42,14 @@ div > p:last-child { vertical-align: top; white-space: normal; width: calc(50% - 2px); -} + } #diff > .pane > div { padding: 0 0 1em 0; text-align: center; -} + } #diff > .pane > div > span { float: left; -} + } body[dir="ltr"] #revertButton:after { content: '\2009\f061'; font-family: FontAwesome; @@ -58,7 +58,7 @@ body[dir="ltr"] #revertButton:after { line-height: 1; vertical-align: baseline; display: inline-block; -} + } body[dir="rtl"] #revertButton:after { content: '\2009\f060'; font-family: FontAwesome; @@ -67,7 +67,7 @@ body[dir="rtl"] #revertButton:after { line-height: 1; vertical-align: baseline; display: inline-block; -} + } body[dir="ltr"] #commitButton:before { content: '\f060\2009'; font-family: FontAwesome; @@ -76,7 +76,7 @@ body[dir="ltr"] #commitButton:before { line-height: 1; vertical-align: baseline; display: inline-block; -} + } body[dir="rtl"] #commitButton:before { content: '\f061\2009'; font-family: FontAwesome; @@ -85,30 +85,30 @@ body[dir="rtl"] #commitButton:before { line-height: 1; vertical-align: baseline; display: inline-block; -} + } #revertButton, #commitButton, #diff.edit #editEnterButton { opacity: 0.25; pointer-events: none; -} + } #editStopButton, #editCancelButton { display: none; -} + } #diff.dirty:not(.edit) #revertButton, #diff.dirty:not(.edit) #commitButton { opacity: 1; pointer-events: auto; -} + } #diff.edit #editStopButton, #diff.edit #editCancelButton { display: initial; -} + } #diff.edit #importButton, #diff.edit #exportButton { display: none; -} + } #diff ul { border: 0; border-top: 1px solid #eee; @@ -116,50 +116,50 @@ body[dir="rtl"] #commitButton:before { margin: 0; overflow: hidden; padding: 1em 0 0 0; -} + } #diff ul, #diff textarea { font: 12px/1.8 monospace; -} + } #diff.edit .right ul { visibility: hidden; -} + } #diff .left { padding: 0 0 0 0; -} + } #diff .right > ul { color: #888; -} + } #diff li { background-color: white; direction: ltr; padding: 0; text-align: left; white-space: nowrap; -} + } #diff li:nth-of-type(2n+0) { background-color: #eee; -} + } #diff .right li { cursor: pointer; -} + } #diff .right li:hover { background-color: #ffc; color: #000; -} + } #diff .right li.notLeft { color: #000; -} + } #diff .right li.notLeft:hover { text-decoration: line-through; -} + } #diff .right li.notRight { color: #000; -} + } #diff .right li.toRemove { color: #000; text-decoration: line-through; -} + } #diff textarea { border: 0; border-top: 1px solid #eee; @@ -175,10 +175,10 @@ body[dir="rtl"] #commitButton:before { visibility: hidden; white-space: pre; width: 100%; -} + } #diff.edit textarea { visibility: visible; -} + } .hidden { display: none; -} + } |