Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

refactor(frontend:styles): simplify button hover styling and remove redundant modal menu background rule

johavene02a513edb0e
diff --git a/frontend/src/styles/components/_buttons.scss b/frontend/src/styles/components/_buttons.scss
index 576d46cd..c13b049f 100644
--- a/frontend/src/styles/components/_buttons.scss
+++ b/frontend/src/styles/components/_buttons.scss
@@ -8,17 +8,18 @@
box-shadow: none !important;
}
+.btn-secondary {
+ &:hover {
+ background-color: darken($secondary, 10%);
+ border-color: darken($secondary, 10%);
+ }
+}
+
.btn-custom {
- @extend .btn;
+ @extend .btn-secondary;
background-color: $secondary;
- border-color: darken($secondary, 4%);
margin-right: 0.2rem;
- &:hover {
- background-color: darken($secondary, 8%);
- border-color: darken($secondary, 8%);
- }
-
&.active {
background-color: $primary !important;
border-color: $primary !important;
diff --git a/frontend/src/styles/components/_theme_light.scss b/frontend/src/styles/components/_theme_light.scss
index 97dad9ac..08336851 100755
--- a/frontend/src/styles/components/_theme_light.scss
+++ b/frontend/src/styles/components/_theme_light.scss
@@ -443,10 +443,6 @@
.modal-body {
background-color: $body-bg;
-
- .app-top-menu {
- background: transparent;
- }
}
.modal-footer {