Skip to content

A full-featured download manager.

refactor: remove unuse style code

Dr_rOot4f77a8ebdc30
diff --git a/src/renderer/components/Subnav/Index.vue b/src/renderer/components/Subnav/Index.vue
index 22cffb7a..da7d4571 100644
--- a/src/renderer/components/Subnav/Index.vue
+++ b/src/renderer/components/Subnav/Index.vue
@@ -25,49 +25,4 @@
</script>
<style lang="scss">
- .subnav-inner {
- margin-top: 44px;
- padding: 0 16px;
- h3 {
- font-size: 16px;
- color: #071D43;
- font-weight: normal;
- line-height: 24px;
- margin: 0 0 28px;
- }
- ul {
- list-style: none;
- padding: 0;
- margin: 0;
- user-select: none;
- cursor: default;
- li {
- margin-bottom: 8px;
- padding: 8px 10px;
- font-size: 14px;
- line-height: 20px;
- border-radius: 3px;
- cursor: pointer;
- i, span {
- vertical-align: middle;
- display: inline-block;
- }
- &:hover, &.active {
- background-color: #EAECF0;
- i, span, svg {
- color: $--subnav-active-text-color;
- }
- }
- }
- }
- }
- .subnav-icon {
- padding: 2px;
- height: 16px;
- margin-right: 12px;
- svg {
- width: 16px;
- height: 16px;
- }
- }
</style>
diff --git a/src/renderer/components/Theme/Default.scss b/src/renderer/components/Theme/Default.scss
index 1fedd068..25fcf3fa 100644
--- a/src/renderer/components/Theme/Default.scss
+++ b/src/renderer/components/Theme/Default.scss
@@ -41,7 +41,7 @@
h3 {
font-size: 16px;
- color: #071D43;
+ color: $--subnav-title-color;
font-weight: normal;
line-height: 24px;
margin: 0 0 28px;