aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Swage
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-06-12 21:45:16 +0200
committerGravatar GitHub <noreply@github.com> 2024-06-12 21:45:16 +0200
commit35ee123dda654facadf82037675c21ca215d7fec (patch)
tree3639b9a76b005855062e7dc384678d52a5715d3d /p/themes/Swage
parent493d46759eda507190b11206f6c3d668edbd9b40 (diff)
Sticky buttons (#6304)
* make it sticky * Origine theme * fix * config option * i18n * CSS * fix category config * some themes and some fixes * grey behind the buttons * more themes * Revert "config option" This reverts commit b81ae15030979ebfcfdce070ce8b36c4b9444155. * Revert "CSS" This reverts commit a0f4f769f17298f10cc2279c57c0688d47844d83. * css * revert i18n
Diffstat (limited to 'p/themes/Swage')
-rw-r--r--p/themes/Swage/swage.css3
-rw-r--r--p/themes/Swage/swage.rtl.css3
-rw-r--r--p/themes/Swage/swage.scss4
3 files changed, 7 insertions, 3 deletions
diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css
index 7321fac86..c741fbf08 100644
--- a/p/themes/Swage/swage.css
+++ b/p/themes/Swage/swage.css
@@ -17,6 +17,7 @@
--color-border-bad: #b0425b;
--color-background-light: #fcfcfc;
--color-background-light-darker: #e3e3e3;
+ --color-background-light-darker-transparent: rgba(217, 217, 217, 0.7333333333);
--color-background-dark: #181621;
--color-background-nav: #0062be;
--color-background-nav-darker: #00488b;
@@ -181,7 +182,7 @@ form th {
.form-group.form-actions {
margin: 15px 0 25px;
padding: 5px 0;
- background-color: var(--color-background-light-darker);
+ background-color: var(--color-background-light-darker-transparent);
border-top: 3px solid var(--color-border-light-darker);
}
.form-group.form-actions .btn {
diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.css
index c46869e91..3e31a9487 100644
--- a/p/themes/Swage/swage.rtl.css
+++ b/p/themes/Swage/swage.rtl.css
@@ -17,6 +17,7 @@
--color-border-bad: #b0425b;
--color-background-light: #fcfcfc;
--color-background-light-darker: #e3e3e3;
+ --color-background-light-darker-transparent: rgba(217, 217, 217, 0.7333333333);
--color-background-dark: #181621;
--color-background-nav: #0062be;
--color-background-nav-darker: #00488b;
@@ -181,7 +182,7 @@ form th {
.form-group.form-actions {
margin: 15px 0 25px;
padding: 5px 0;
- background-color: var(--color-background-light-darker);
+ background-color: var(--color-background-light-darker-transparent);
border-top: 3px solid var(--color-border-light-darker);
}
.form-group.form-actions .btn {
diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss
index f05bf8ee4..979992659 100644
--- a/p/themes/Swage/swage.scss
+++ b/p/themes/Swage/swage.scss
@@ -11,6 +11,7 @@ $color_alert: #fa8052;
$color_good: #5eaabf;
$color_bad: #b0425b;
$color_grey: #e3e3e3;
+$color_grey_transparent: #d9d9d9bb;
$color_stared: #fff6da;
$color_unread: #fff3ed;
$color_hover: #fff;
@@ -37,6 +38,7 @@ $color_hover: #fff;
--color-background-light: #{$color_light};
--color-background-light-darker: #{color.adjust( $color_light, $lightness: -10%)};
+ --color-background-light-darker-transparent: #{$color_grey_transparent};
--color-background-dark: #{$color_text};
--color-background-nav: #{$color_nav};
--color-background-nav-darker: #{color.adjust( $color_nav, $lightness: -10%)};
@@ -223,7 +225,7 @@ form {
&.form-actions {
margin: 15px 0 25px;
padding: 5px 0;
- background-color: var(--color-background-light-darker);
+ background-color: var(--color-background-light-darker-transparent);
border-top: 3px solid var(--color-border-light-darker);
.btn {