Skip to content

A full-featured download manager.

feat: add background under form-actions

thecodrr72aac9c0c673
diff --git a/src/renderer/components/Preference/Index.vue b/src/renderer/components/Preference/Index.vue
index 3f04af50..a3be2e5b 100644
--- a/src/renderer/components/Preference/Index.vue
+++ b/src/renderer/components/Preference/Index.vue
@@ -57,6 +57,8 @@
bottom: 0;
left: auto;
z-index: 10;
+ width: -webkit-fill-available;
+ margin-right: 20.1rem;
box-sizing: border-box;
padding: 24px 36px 24px 0;
}
diff --git a/src/renderer/components/Theme/Dark.scss b/src/renderer/components/Theme/Dark.scss
index 6b4d3123..e2e7367c 100644
--- a/src/renderer/components/Theme/Dark.scss
+++ b/src/renderer/components/Theme/Dark.scss
@@ -56,7 +56,9 @@
}
}
}
-
+ .form-actions {
+ background: $--dk-form-actions-background;
+ }
.panel {
background-color: $--dk-panel-background;
}
diff --git a/src/renderer/components/Theme/Dark/Variables.scss b/src/renderer/components/Theme/Dark/Variables.scss
index 8cc1e949..b574ad55 100644
--- a/src/renderer/components/Theme/Dark/Variables.scss
+++ b/src/renderer/components/Theme/Dark/Variables.scss
@@ -30,6 +30,10 @@ $--dk-panel-background: #343434 !default;
$--dk-panel-title-color: #fff !default;
$--dk-panel-border-color: #EBECF0 !default;
+/* Form Actions
+-------------------------- */
+$--dk-form-actions-background: #343434 !default;
+
/* Task
-------------------------- */
$--dk-task-action-color: #eee !default;
diff --git a/src/renderer/components/Theme/Default.scss b/src/renderer/components/Theme/Default.scss
index 31d6b7be..5f619a0d 100644
--- a/src/renderer/components/Theme/Default.scss
+++ b/src/renderer/components/Theme/Default.scss
@@ -235,3 +235,7 @@ img {
height: 100%;
}
}
+
+.form-actions {
+ background: $--form-actions-background;
+}
\ No newline at end of file
diff --git a/src/renderer/components/Theme/Light/Variables.scss b/src/renderer/components/Theme/Light/Variables.scss
index 5a3e4042..222931ab 100644
--- a/src/renderer/components/Theme/Light/Variables.scss
+++ b/src/renderer/components/Theme/Light/Variables.scss
@@ -30,6 +30,10 @@ $--panel-background: $--color-white !default;
$--panel-title-color: $--color-text-primary !default;
$--panel-border-color: rgba(0, 0, 0, 0.1) !default;
+/* Form Actions
+-------------------------- */
+$--form-actions-background: $--color-white !default;
+
/* Task
-------------------------- */
$--task-action-color: #4d515a !default;