summaryrefslogtreecommitdiffstats
path: root/src/css/common.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 05:50:18 +0000
commit55a5d29a66503248916f249ad2a1d8b37cde5a03 (patch)
treea3beb6a90dd3bdaaf67ecb05d42152a494aff946 /src/css/common.css
parentAdding upstream version 1.55.0+dfsg. (diff)
downloadublock-origin-55a5d29a66503248916f249ad2a1d8b37cde5a03.tar.xz
ublock-origin-55a5d29a66503248916f249ad2a1d8b37cde5a03.zip
Adding upstream version 1.57.0+dfsg.upstream/1.57.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/css/common.css')
-rw-r--r--src/css/common.css40
1 files changed, 37 insertions, 3 deletions
diff --git a/src/css/common.css b/src/css/common.css
index 1a8ba0b..fae4bb5 100644
--- a/src/css/common.css
+++ b/src/css/common.css
@@ -52,11 +52,11 @@ body {
margin: 0;
padding: 0;
}
-a {
+a:not(.fa-icon) {
color: var(--link-ink);
fill: var(--link-ink);
}
-a:hover {
+a:not(.fa-icon):hover {
color: var(--link-hover-ink);
fill: var(--link-hover-ink);
}
@@ -271,6 +271,24 @@ select {
padding: 2px;
}
+.searchfield {
+ align-items: center;
+ column-gap: var(--default-gap-xxsmall);
+ display: inline-flex;
+ position: relative;
+ }
+.searchfield .fa-icon {
+ color: var(--ink-4);
+ fill: var(--ink-4);
+ font-size: 1em !important;
+ left: 2px;
+ position: absolute;
+ transform: none;
+ }
+.searchfield input:not(:placeholder-shown) ~ .fa-icon {
+ display: none;
+ }
+
.hidden {
display: none;
height: 0;
@@ -309,7 +327,7 @@ select {
font-size: 1.2rem;
padding: 0;
}
- button.iconified > [data-i18n] {
+ button.iconified:not(.dontshrink) > [data-i18n] {
display: none;
}
}
@@ -331,6 +349,22 @@ select {
width: 100%;
}
+.wikilink[href=""] {
+ display: none;
+ }
+.wikilink.fa-icon {
+ color: var(--info0-ink);
+ fill: var(--info0-ink);
+ padding: var(--default-gap-xxsmall) var(--default-gap-xsmall);
+ }
+.wikilink.fa-icon:hover {
+ transform: scale(1.2);
+ }
+.wikilink.fa-icon > svg {
+ height: 1.25rem;
+ width: 1.25rem;
+ }
+
/* high dpi devices */
:root.hidpi button {
font-family: Metropolis, sans-serif;