aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Swage
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-05-15 00:06:34 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-15 00:06:34 +0200
commit360400b7230e14b4684bebb35ca9b68edf3d7e22 (patch)
tree229851a63d41667567293b383c2720c7fb08ab0b /p/themes/Swage
parentcd004cb97894c3d07c8ab209ab6ec3ce4b7f853b (diff)
CSS: refactor of a.btn (#5401)
Diffstat (limited to 'p/themes/Swage')
-rw-r--r--p/themes/Swage/swage.css12
-rw-r--r--p/themes/Swage/swage.rtl.css12
-rw-r--r--p/themes/Swage/swage.scss14
3 files changed, 9 insertions, 29 deletions
diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css
index 96f38aa87..5e27656aa 100644
--- a/p/themes/Swage/swage.css
+++ b/p/themes/Swage/swage.css
@@ -88,14 +88,6 @@ a {
color: var(--color-text-nav);
outline: none;
}
-a.btn {
- min-height: 25px;
- line-height: 1.5;
- text-decoration: none;
-}
-a.btn .icon {
- filter: brightness(3);
-}
a#btn-subscription {
width: 76%;
}
@@ -218,11 +210,13 @@ form th {
color: var(--color-text-light);
font-size: 0.9rem;
border: none;
- min-height: 35px;
+ min-height: 25px;
min-width: 15px;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
+ line-height: 1.5;
+ text-decoration: none;
}
.btn.active, .btn:active, .btn:hover {
background-color: var(--color-background-nav-darker);
diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css
index 4d3e3a616..656136d59 100644
--- a/p/themes/Swage/swage.rtl.css
+++ b/p/themes/Swage/swage.rtl.css
@@ -88,14 +88,6 @@ a {
color: var(--color-text-nav);
outline: none;
}
-a.btn {
- min-height: 25px;
- line-height: 1.5;
- text-decoration: none;
-}
-a.btn .icon {
- filter: brightness(3);
-}
a#btn-subscription {
width: 76%;
}
@@ -218,11 +210,13 @@ form th {
color: var(--color-text-light);
font-size: 0.9rem;
border: none;
- min-height: 35px;
+ min-height: 25px;
min-width: 15px;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
+ line-height: 1.5;
+ text-decoration: none;
}
.btn.active, .btn:active, .btn:hover {
background-color: var(--color-background-nav-darker);
diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss
index 667203d99..3c4244dc1 100644
--- a/p/themes/Swage/swage.scss
+++ b/p/themes/Swage/swage.scss
@@ -107,16 +107,6 @@ a {
color: var(--color-text-nav);
outline: none;
- &.btn {
- min-height: 25px;
- line-height: 1.5;
- text-decoration: none;
-
- .icon {
- filter: brightness(3);
- }
- }
-
&#btn-subscription {
width: 76%;
}
@@ -280,11 +270,13 @@ form {
color: var(--color-text-light);
font-size: 0.9rem;
border: none;
- min-height: 35px;
+ min-height: 25px;
min-width: 15px;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
+ line-height: 1.5;
+ text-decoration: none;
&.active,
&:active,